-
Notifications
You must be signed in to change notification settings - Fork 458
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: adds processing logic for bpmetadata to use protobuf #1705
Conversation
In order to make metadata schema definition language independent, bpmetadata now processes metadata content using protobuf. Known issues: - BlueprintVariable.DefaultValue is changed from interface{} to string. This can cause error messages while running bpmetadata on existing blueprints. Solution: run bpmetadata with -f to force creation of proto compliant metadata. - Go docs will most likely have superfluous types and methods not directly related to metadata. Solution: use protos as the source of truth for metadata definition and specs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @g-awmalik! Are there any benefits to checking in the generated files? I was thinking we could generate these at build time and add to gitignore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also remove the generated files?
We can but i'll do that after this goes through because the CFT CLI Tests check will fail since it executes |
In order to make metadata schema definition language independent, bpmetadata now processes metadata content using protobuf.
Known issues: