Skip to content

Conversation

@baxeaz
Copy link
Contributor

@baxeaz baxeaz commented May 21, 2025

What was the problem/requirement? (What/Why)

We want a class for representing a specification version and extensions for the purposes of evaluating OpenJD behaviors and capabilities.

What was the solution? (How)

Factor spec_rev and extensions out of ModelParsingContextInterface into a new public RevisionExtensions class which internally ModelParsingContextInterface uses.

What is the impact of this change?

Currently no impact, will use RevisionExtensions in other PRs.

How was this change tested?

Re ran unit tests in openjd-model-for-python, used class in a different in progress PR in openjd-sessions-for-python and ran unit tests.

  • Have you run the unit tests?
    Yes

Was this change documented?

Yes

Is this a breaking change?

No

Does this change impact security?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@baxeaz baxeaz requested a review from a team as a code owner May 21, 2025 00:17
@baxeaz baxeaz changed the title refactor: Factoring specification revision and extensions ut of Model… refactor: Factoring specification revision and extensions out of Model… May 21, 2025
…lParsingContextInterface into a public data class for use in evaluating supported behaviors and capabilities.

Signed-off-by: Brian Axelson <86568017+baxeaz@users.noreply.github.com>
@sonarqubecloud
Copy link

@baxeaz baxeaz merged commit 4073d2d into OpenJobDescription:mainline May 21, 2025
19 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.

3 participants