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

feat(recordings): set recording template in label #864

Merged

Conversation

andrewazores
Copy link
Member

Fixes #860

The main feature work is a tiny change in the feat(recordings): set recording template in label commit. The commit before that is some simple refactoring (affecting a lot of call sites, but a minor change in itself) to generalize the RecordingMetadataManager to deal with the Metadata type rather than just the labels map, so that we can more easily extend the Metadata to contain other fields in the future. And the first commit in the series fixes an oversight where GraphQL responses did not include the metadata/labels properties, so there was a discrepancy there vs the standard HTTP API.

@andrewazores andrewazores added the feat New feature or request label Mar 16, 2022
@andrewazores andrewazores force-pushed the metadata-recording-settings branch from 9a9c59b to 3f60c43 Compare March 16, 2022 20:35
@andrewazores andrewazores force-pushed the metadata-recording-settings branch from 68267fc to 1b31e9a Compare March 16, 2022 21:27
@andrewazores andrewazores marked this pull request as ready for review March 17, 2022 14:55
Copy link
Contributor

@jan-law jan-law left a comment

Choose a reason for hiding this comment

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

Graphql queries are working well with the template labels. Refactored code also looks good.

@andrewazores andrewazores merged commit 726467b into cryostatio:main Mar 17, 2022
@andrewazores andrewazores deleted the metadata-recording-settings branch March 17, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recordings should have labels for recording settings
2 participants