-
Notifications
You must be signed in to change notification settings - Fork 4.8k
provide a specific order for template parameters in the TSB #16416
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
Conversation
|
@jim-minter updated, ptal. |
|
@jim-minter ok now this is ready for review. |
|
/unassign @smarterclayton |
| } | ||
|
|
||
| type ParameterSchema struct { | ||
| Create map[string]interface{} `json:"create,omitempty"` |
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.
you don't want to make Create of type struct {
OpenShiftFormDefinition []string json:"openshift_form_definition,omitempty"
}
?
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.
I guess that would make sense :)
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.
updated.
jim-minter
left a comment
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.
2 nits then lgtm
|
|
||
| noDescriptionProvided = "No description provided." | ||
|
|
||
| openshiftFormDefinitionKey = "openshift_form_definition" |
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.
now superfluous
| Create map[string]*jsschema.Schema `json:"create,omitempty"` | ||
| } | ||
|
|
||
| type ParameterSchemas struct { |
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.
comment that this is an OpenShift extension
|
done.
…On Mon, Sep 18, 2017 at 3:06 PM, Jim Minter ***@***.***> wrote:
***@***.**** commented on this pull request.
2 nits then lgtm
------------------------------
In pkg/templateservicebroker/servicebroker/catalog.go
<#16416 (comment)>:
> @@ -20,6 +20,8 @@ const (
requesterUsernameDescription = "OpenShift user requesting provision/bind"
noDescriptionProvided = "No description provided."
+
+ openshiftFormDefinitionKey = "openshift_form_definition"
now superfluous
------------------------------
In pkg/templateservicebroker/openservicebroker/api/types.go
<#16416 (comment)>:
> @@ -59,6 +59,18 @@ type ServiceBindings struct {
Create map[string]*jsschema.Schema `json:"create,omitempty"`
}
+type ParameterSchemas struct {
comment that this is an OpenShift extension
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16416 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEvl3iPOC-kA0kAmqMQ93UG_b0LfdZuNks5sjr9KgaJpZM4PbOdK>
.
--
Ben Parees | OpenShift
|
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, jim-minter The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
Automatic merge from submit-queue |
|
@gabemontero fyi this PR added another reference to the username parameter that will need to be removed in your PR. |
fixes #16383