Skip to content

Conversation

@XunliYang
Copy link
Contributor

What type of PR is this?

Add one of the following kinds:

  • subproject management

What this PR does / why we need it:

Create the initial public release of NetworkSliceBooking API to be included in Fall25 Meta release.

Modify content relevant to subproject management such as updating versions and links, including:

  • CHANGELOG.MD
  • API definition .yaml file
  • Test definition .feature files
  • API Readiness checklist
  • README.MD

Which issue(s) this PR fixes:

Fixes #77

Changelog input

 release-note

Copy link
Collaborator

@tanjadegroot tanjadegroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Team,
quite a few comments, but most are easy to fix, and a number can wait for the next release, so you can create issues for them.

some were discovered by running an AI reviewer that Herbert is testing to help automating the reviews. You were used as a test case, but I thought it is worth including them in the review.

please go ahead and do the needed fixes, but the rest is up to you to do now or later.


## Table of Contents
- [r1.1](#r1.1)
- [r1.2](#r1.2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line should be put before line 4 (most recent at the top)

## network-slice-booking v0.1.0

**network-slice-booking v0.1.0 is first public release version of the network-slice-booking API**

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the 3 links to view the API are missing (see as in r1.1, but links to r1.2, and same as in readme)

CHANGELOG.md Outdated
**network-slice-booking v0.1.0 is first public release version of the network-slice-booking API**

### Changed
* Fix megalinter issues in [#71](https://github.com/camaraproject/NetworkSliceBooking/pull/71)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CAMARA internal "administrative" commits do not need to be captured here (they are still visible in the full changelog), only the functional changes to the API useful for API providers and consumers

README.md Outdated
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/NetworkSliceBooking/r1.2/code/API_definitions/NetworkSliceBooking.yaml)
- OpenAPI [YAML spec file](https://github.com/camaraproject/NetworkSliceBooking/blob/r1.2/code/API_definitions/network-slice-booking.yaml)

<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest -->
The latest public release is available here: https://github.com/camaraproject/NetworkSliceBooking/releases/latest

README.md Outdated
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/NetworkSliceBooking/r1.2/code/API_definitions/NetworkSliceBooking.yaml)
- OpenAPI [YAML spec file](https://github.com/camaraproject/NetworkSliceBooking/blob/r1.2/code/API_definitions/network-slice-booking.yaml)

<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest -->
The latest public release is available here: https://github.com/camaraproject/NetworkSliceBooking/releases/latest

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove 410 GONE from createSession operation (line 90) - per CAMARA standards, 410 is only for callback endpoints
Possibly use the 503 SERVICE_UNAVAILABLE error in case of resource exhaustion (see CAMARA_common.yaml)

Please note that this also implies updating the test file of createSession

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ENUM naming convention:

  • AreaType uses ALL_CAPS (CIRCLE, POLYGON) instead of camelCase per CAMARA guidelines

updateing this would also impact the test files

could be done for next release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tanjadegroot , I'm a little confusing that I see AreaType has used ALL_CAPS (CIRCLE, POLYGON) and only the schemas use camelCase.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @XunliYang, you are right that the CAMARA_common.yaml contains the same. Please ignore this comment.
I will check with the Commonalities team on this point.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the parameter x-correlator is defined, but not used in the API operations
please check the same in QualityOnDemand - quality-on-demand.yaml API on how to do this

corresponding tests on x-correlator parameters can be added in next release.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TimeUnitEnum and RateUnitEnum define enum values.
when using these enum values (in the examples), there should not be any quotes around them.
e.g. line 690: unit: "bps"
should be: unit: bps

same for other enum values used throughout the file and maybe in the test files

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment for future version: add tests for polygon area validation limits (between 3-15 points)

@XunliYang
Copy link
Contributor Author

Hi @tanjadegroot, Thank you for your review and feedback.
We have addressed comments and updated the code accordingly. Here is a summary of the changes. Please take another look when you have a moment.

API definition Yaml

[1]Generic422 rename to "NetworkSlideBooking422"

I noticed that the Generic422 error is actually not generic, but a specific error for network slide booking
To be more explicit, it could be renamed to "NetworkSlideBooking422".

also there are several reasons listed in the example which seem worth having their own 422 error : service area is not supported, resources are insufficient - for better problem understand, rather than having them in the same error.

Could be done for the next release.

FIXED:

[2]API design documentation link

the local reference to the API design documentation in line 6 does not work, as the context is github.io, not the API repository.

FIXED:

[3]Remove 410 GONE from createSession operation

Need to remove 410 GONE from createSession operation (line 90) - per CAMARA standards, 410 is only for callback endpoints
Possibly use the 503 SERVICE_UNAVAILABLE error in case of resource exhaustion (see CAMARA_common.yaml)

Please note that this also implies updating the test file of createSession

FIXED:

[4]ENUM AreaType naming convention

ENUM naming convention:

AreaType uses ALL_CAPS (CIRCLE, POLYGON) instead of camelCase per CAMARA guidelines

updateing this would also impact the test files

could be done for next release.

FIXED:

[5]Parameter x-correlator use in the API operations

the parameter x-correlator is defined, but not used in the API operations
please check the same in QualityOnDemand - quality-on-demand.yaml API on how to do this

corresponding tests on x-correlator parameters can be added in next release.

FIXED:

[6]unit "bps" to bps

TimeUnitEnum and RateUnitEnum define enum values.
when using these enum values (in the examples), there should not be any quotes around them.
e.g. line 690: unit: "bps"
should be: unit: bps

same for other enum values used throughout the file and maybe in the test files

FIXED:

  • Modify enum values "bps""Milliseconds"in yaml
  • No need to modify in test files

Test files

[1]"specifies" to "specified"

FIXED:

  • Fix in three feature file

[2]getSession and deleteSession | line 53: the error should be "OUT_OF_RANGE"

FIXED:

  • "INVALID_ARGUMENT" to "OUT_OF_RANGE"

[3]add tests for polygon area validation limits (between 3-15 points)

FIXED:

CHANGELOG

[1]the position of "[r1.2]" should be put before "[r1.1]"

this line should be put before line 4 (most recent at the top)

FIXED:

  • Move "[r1.2]" to before "[r1.1]"

[2]the 3 links to view the API in r1.2 are missing

the 3 links to view the API are missing (see as in r1.1, but links to r1.2, and same as in readme)

FIXED:

  • Modify all three link: NetworkSliceBooking.yaml to network-slice-booking.yaml
  • Add API review links in r1.2 which linked to r1.2(line 30)

[3]"administrative" commits should not be captured here

CAMARA internal "administrative" commits do not need to be captured here (they are still visible in the full changelog), only the functional changes to the API useful for API providers and consumers

FIXED:

[4]"Release note:" to "Release Notes"

FIXED:

  • line18: "Release note:" to "Release Notes"
  • line41: "Release note:" to "Release Notes"

README

[1]remove the annotations

you have copied the line, but you could just remove the comments as I did for the above sections. so now you can remove this line 31

FIXED:

[2]API view link fix "NetworkSliceBooking.yaml" to "network-slice-booking.yaml"

FIXED:

  • Modify all three link
  • The same in changelog file both in r1.1 and r1.2

Copy link
Collaborator

@tanjadegroot tanjadegroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi team,
thanks very much for all the updates you have done and for registering the future updates in the issues ! excellent result :-)

LGTM from Release Management

Copy link
Collaborator

@chinaunicomyangfan chinaunicomyangfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chinaunicomyangfan chinaunicomyangfan merged commit 3bc5b23 into camaraproject:main Sep 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public release for Fall25 M4 milestone

4 participants