-
Notifications
You must be signed in to change notification settings - Fork 61
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
using RequestOperationType.PROMOTE for promoteSchema #1569
Conversation
Hey @Sadaf-A this looks great and works exactly as expected, I noticed one issue which I hadn't included in the original ticket but popped up when I was giving it a quick test. Under mySchemaRequests and under execSchemas (see links to code below) the PROMOTE enum hadn't been used before so the Request Type is missing from the card. This can be changed by altering the html
to
If you aren't comfortable working with the html updates though I am happy to make them. Change looks great though thanks so much for contributing! |
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.
Just added one additional request in another comment
@aindriu-aiven Thanks I'm glad to know that I was of help. I've also made the changes to the html files as requested by you. |
@Sadaf-A Great thanks a million I will give this another test and review today! |
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.
Looks Good To Me.
Tested schema promotion and the correct RequestOperationType is now being used to describe the operation, the schema is being correctly provisioned to the cluster and all of the ids and versions are correctly appearing in the schema view.
Also worth noting that the request type is displaying correctly on the approval and the and myschemaRequests page.
About this change - using PROMOTE REQUEST_OPERATION_TYPE for promoteSchemas instead of CREATE
Resolves: #1546