Skip to content

Conversation

@rkandoi
Copy link
Contributor

@rkandoi rkandoi commented Aug 20, 2025

What type of PR is this?

  • subproject management

What this PR does / why we need it:

Create the initial public release of Dedicated Network APIs to be included in Fall25 Meta release.

Contains (only) changes relevant to subproject management such as updating versions and links.

PeterKovacs2
PeterKovacs2 previously approved these changes Aug 21, 2025
@Kevsy Kevsy changed the title r1.2 for version 0.1.0 r1.2 for version 0.1.0 (Fall'25 M4) Aug 21, 2025
@hdamker
Copy link
Contributor

hdamker commented Sep 2, 2025

@rkandoi Your PR branch is 27 commits behind main and can't be reviewed with that. Please resolve the merge conflicts and update your branch from main. Please set back to "ready for review" if done.

@hdamker hdamker marked this pull request as draft September 2, 2025 13:32
@rkandoi rkandoi force-pushed the r1.2-v0.1.0 branch 2 times, most recently from 7e967ea to e8efea9 Compare September 3, 2025 05:01
@rkandoi rkandoi marked this pull request as ready for review September 3, 2025 05:02
@rkandoi
Copy link
Contributor Author

rkandoi commented Sep 3, 2025

Thanks @hdamker for pointing out. Perhaps some error when I created the working branch. In any case, the PR is now rebased on the lastest main and hence marked as "Ready for review" as suggested.

@hdamker
Copy link
Contributor

hdamker commented Sep 5, 2025

One point in all three API Readiness Checklists: line 13 in the table has no valid link and the status is missing

@hdamker
Copy link
Contributor

hdamker commented Sep 5, 2025

Regarding the content of API definition an observations:

  • dedicated-network.yaml references dedicated-network-profiles.yaml schemas
  • dedicated-network-accesses.yaml references dedicated-network.yaml schemas

We have currently no mechanism in place to resolve these references and create independent bundle API definitions. These references could create challenges for API implementations and API Consumer. So it might be better to copy the definitions for now.

@tlohmar
Copy link
Contributor

tlohmar commented Sep 5, 2025

Regarding the content of API definition an observations:

  • dedicated-network.yaml references dedicated-network-profiles.yaml schemas
  • dedicated-network-accesses.yaml references dedicated-network.yaml schemas

We have currently no mechanism in place to resolve these references and create independent bundle API definitions. These references could create challenges for API implementations and API Consumer. So it might be better to copy the definitions for now.

We have removed all the direct links to API specifications and only reference the top level repository (i.e. https://github.com/camaraproject/DedicatedNetworks/). Thus, this is very similar as to referencing e.g. https://github.com/camaraproject/IdentityAndConsentManagement/

@hdamker
Copy link
Contributor

hdamker commented Sep 5, 2025

Regarding the content of API definition an observations:

  • dedicated-network.yaml references dedicated-network-profiles.yaml schemas
  • dedicated-network-accesses.yaml references dedicated-network.yaml schemas

We have currently no mechanism in place to resolve these references and create independent bundle API definitions. These references could create challenges for API implementations and API Consumer. So it might be better to copy the definitions for now.

We have removed all the direct links to API specifications and only reference the top level repository (i.e. https://github.com/camaraproject/DedicatedNetworks/). Thus, this is very similar as to referencing e.g. https://github.com/camaraproject/IdentityAndConsentManagement/

I meant this kind of reference between the YAMLs:

          schema:
            $ref: 'dedicated-network.yaml#/components/schemas/NetworkId'

@tlohmar
Copy link
Contributor

tlohmar commented Sep 5, 2025

I meant this kind of reference between the YAMLs:

          schema:
            $ref: 'dedicated-network.yaml#/components/schemas/NetworkId'

Is the recommendation to duplicate the data type definition and add some verbal references?

@hdamker hdamker marked this pull request as draft September 5, 2025 13:52
@hdamker
Copy link
Contributor

hdamker commented Sep 5, 2025

Converted to draft due to the two open PRs.

Copy link
Contributor

@tlohmar tlohmar left a comment

Choose a reason for hiding this comment

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

@rkandoi Please sync, as two PullRequests were merged and should be included in this release..

@rkandoi rkandoi marked this pull request as ready for review September 11, 2025 05:00
@rkandoi
Copy link
Contributor Author

rkandoi commented Sep 11, 2025

Highlighted issues have been addressed, specifically:

  • Fixing the version in the test definitions
  • Updating the API Descriptions Wiki link in line 13 of readiness checklist

The suggestion about the schemas has not been addressed and is proposed to be considered for a future release.

The PR is now also rebased on latest main.

Marked PR as ready for review again @hdamker and @tlohmar .

tlohmar
tlohmar previously approved these changes Sep 11, 2025
Copy link
Contributor

@tlohmar tlohmar left a comment

Choose a reason for hiding this comment

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

Looks good. Thx.

@tanjadegroot
Copy link
Contributor

I meant this kind of reference between the YAMLs:

          schema:
            $ref: 'dedicated-network.yaml#/components/schemas/NetworkId'

Is the recommendation to duplicate the data type definition and add some verbal references?

yes, the files should be self contained and hence the schema should be in the local file "schemas" section, and the reference can only look like this: $ref: '#/components/schemas/

I recommend fixing this in the r1.2 release as you have the risk that tools used by API consumers will not be able to load your public API spec file.

Copy link
Contributor

@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.

Some tweeks to update plus a strong recommendation to remove the cross file schema references in the yaml files.
For the rest it looks great !

Some suggestions for the next release as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Line 12, the second sentence could be update to the new Sub Project this API will be part of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it better to wait for a formal approval before this change is made? Also, it seems the name of the WG itself might be evolved. So it seems it may not be possible to achieve this change in this release (although I think it would be great it we could achieve it!)

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, we are now moving into the QoD Sub Project. Renaming this sub project can be seen as an independent activity.
I though, that the sub project structure should only be visible inside of CAMARA. Since the parent sub project is mentioned pretty first in the README it is also well visible outside for developers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in PR: #77

Copy link
Contributor

@hdamker hdamker Sep 16, 2025

Choose a reason for hiding this comment

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

Line 12, the second sentence could be update to the new Sub Project this API will be part of.

As I wrote also in PR #77 - I prefer that this change is only done after formal approval (in TSC) and with that after the release. There is no urgency to get this change into the release.

cc: @tanjadegroot

Copy link
Contributor

Choose a reason for hiding this comment

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

Line 19: change customer -> consumer

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

in all 3 feature files, in the background section change:
And the header "x-correlator" is set to a string value
to
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created PR: #76

@rkandoi
Copy link
Contributor Author

rkandoi commented Sep 15, 2025

I meant this kind of reference between the YAMLs:

          schema:
            $ref: 'dedicated-network.yaml#/components/schemas/NetworkId'

Is the recommendation to duplicate the data type definition and add some verbal references?

yes, the files should be self contained and hence the schema should be in the local file "schemas" section, and the reference can only look like this: $ref: '#/components/schemas/

I recommend fixing this in the r1.2 release as you have the risk that tools used by API consumers will not be able to load your public API spec file.

Updated now in PR: #78

@hdamker
Copy link
Contributor

hdamker commented Sep 16, 2025

Updated now in PR: #78

PR #78 needs to be merged, and the release PR here synced with main for the final review.

Is my assumption correct that you don't plan to correct the order within ErrorInfo schema? That's fine, especially as the API will have significant changes within the next version. I'm just asking as the API most probably will be the only one which will use the order message -> status -> code instead of status -> code -> message.

cc: @tanjadegroot

@tanjadegroot
Copy link
Contributor

Hi Team,
will you do the update to fix the ErrorInfo definition in the 3 yaml files ? it is a quick fix to do.
It should look like this (from CAMARA_common.yaml), only the schema needs to be changed to the below:

ErrorInfo:
  type: object
  required:
    - status
    - code
    - message
  properties:
    status:
      type: integer
      description: HTTP response status code
    code:
      type: string
      description: A human-readable code to describe the error
    message:
      type: string
      description: A human-readable description of what the event represents

@rkandoi
Copy link
Contributor Author

rkandoi commented Sep 17, 2025

Hi Team, will you do the update to fix the ErrorInfo definition in the 3 yaml files ? it is a quick fix to do. It should look like this (from CAMARA_common.yaml), only the schema needs to be changed to the below:

ErrorInfo:
  type: object
  required:
    - status
    - code
    - message
  properties:
    status:
      type: integer
      description: HTTP response status code
    code:
      type: string
      description: A human-readable code to describe the error
    message:
      type: string
      description: A human-readable description of what the event represents

Hi @hdamker, @tanjadegroot , @tlohmar : Fixed in this PR: #79.

This can be seen as a cosmetic/consistency related change and has no functional impact as you know.

@tanjadegroot
Copy link
Contributor

Hi Team, will you do the update to fix the ErrorInfo definition in the 3 yaml files ? it is a quick fix to do. It should look like this (from CAMARA_common.yaml), only the schema needs to be changed to the below:

ErrorInfo:
  type: object
  required:
    - status
    - code
    - message
  properties:
    status:
      type: integer
      description: HTTP response status code
    code:
      type: string
      description: A human-readable code to describe the error
    message:
      type: string
      description: A human-readable description of what the event represents

Hi @hdamker, @tanjadegroot , @tlohmar : Fixed in this PR: #79.

This can be seen as a cosmetic/consistency related change and has no functional impact as you know.

Agreed, but consistency is important for API adoption :-)
Many thanks for making the change !

rkandoi and others added 2 commits September 17, 2025 15:42
Added "public" keyword to the README and marked API Description to "Y" in checklist

Co-authored-by: Tanja de Groot <87864067+tanjadegroot@users.noreply.github.com>
@rkandoi
Copy link
Contributor Author

rkandoi commented Sep 17, 2025

@hdamker @tanjadegroot - Thank you for all your feedback. All changes are now merged and this PR is now rebased on the latest main. Hence ready for approval.

Copy link
Contributor

@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, @rkandoi, all is looking great ! thanks to team for the updates/

LGTM from Release Management

Copy link
Contributor

@tlohmar tlohmar left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@tlohmar tlohmar merged commit 431d9a1 into camaraproject:main Sep 17, 2025
2 checks passed
@tanjadegroot
Copy link
Contributor

Team, we are missing the release creation and the update of the API tracker on the wiki.
If you can please do before the TSC (Sep 18 4PM CEST) that would be great

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.

6 participants