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

Map schema content types to Connect ones #401

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

mmarchetti
Copy link
Contributor

Intent

Fixes #397

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Created a new type for the Type field in the configuration. The content type inspector now returns this type instead of a Connect-specific apptypes.AppMode. There is a map to translate these into the Connect AppMode when we create the manifest for a Connect deployment.

Automated Tests

The changed code is covered by unit tests, which have been updated to look for the schema-defined types.

Directions for Reviewers

Deploy content to Connect where the internal (schema-defined) type doesn't match the string that Connect uses, e.g. a Jupyter notebook.

@mmarchetti mmarchetti merged commit 211d236 into mm-metadata-schema Nov 29, 2023
18 checks passed
@mmarchetti mmarchetti deleted the mm-map-types branch November 29, 2023 17:18
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.

2 participants