Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies on openjd packages #42

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

ddneilson
Copy link
Contributor

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

Newer versions of the openjd-model and openjd-sessions packages have been released. The changes include some quality-of-life improvements to template input validation, so we want to update the cli to have these changes.

What was the solution? (How)

Update the dependencies, and apply the changes dictated by the breaking changes in both.

  1. The SchemaVersion enum was removed from openjd-model in favour of TemplateSpecificationVersion
  2. The Parameter type was removed from openjd-sessions in favour of the parameter types defined in openjd-model

What is the impact of this change?

Better validation errors for customers.

How was this change tested?

I ran the unit tests, and I've been running the cli with a couple of job templates.

Was this change documented?

N/A

Is this a breaking change?

No


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

@ddneilson ddneilson force-pushed the ddneilson/update_ojd_deps branch 2 times, most recently from afecdd7 to c42f7fd Compare February 12, 2024 19:34
@ddneilson ddneilson changed the title deps: update dependencies on openjd packages chore: update dependencies on openjd packages Feb 12, 2024
@ddneilson ddneilson force-pushed the ddneilson/update_ojd_deps branch 2 times, most recently from fbcb12e to cbd8989 Compare February 12, 2024 19:56
@ddneilson ddneilson marked this pull request as ready for review February 12, 2024 20:00
@ddneilson ddneilson requested a review from a team as a code owner February 12, 2024 20:00
Summary:
Newer versions of the openjd-model and openjd-sessions packages have been
released. The changes include some quality-of-life improvements to template
input validation, so we want to update the cli to have these changes.

This updates the cli dependencies and makes the required changes.

Signed-off-by: Daniel Neilson <[email protected]>
@ddneilson ddneilson force-pushed the ddneilson/update_ojd_deps branch from cbd8989 to a86f88d Compare February 12, 2024 20:02
@ddneilson ddneilson merged commit 30a2faf into mainline Feb 12, 2024
15 checks passed
@ddneilson ddneilson deleted the ddneilson/update_ojd_deps branch February 12, 2024 20:11
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