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

Add bind param data for autofill params #84

Merged
merged 1 commit into from
May 10, 2018
Merged

Conversation

sedroche
Copy link
Contributor

@sedroche sedroche commented May 8, 2018

Ticket: https://issues.jboss.org/browse/AEROGEAR-2413

Adding new property on metadata that will be used to auto-populate binding params form.

Setting a type of path will retrieve the value from the resource.
Setting a type of default will set that value

 '{"name": "CLIENT_ID", "value": "metadata.name", "type": "path"}'
 '{"name": "CLIENT_TYPE", "value": "public", "type": "default"}'

Verification

Use this UI branch -> aerogear-attic/origin-web-console#38

Client binding

client-autofill
Client Id should be filled and keycloak client type of public should be selected.

Service binding

service-autofill

Service Id should be filled and keycloak client type of bearer should be selected.

Copy link
Contributor

@maleck13 maleck13 left a comment

Choose a reason for hiding this comment

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

looks ok to me

Copy link

@dimitraz dimitraz left a comment

Choose a reason for hiding this comment

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

Verified 👍

  • Client ID correctly filled and public client type selected
  • Service Instance ID correctly filled and bearer client type selected

@JameelB
Copy link
Contributor

JameelB commented May 9, 2018

@sedroche Is that value there the service Id? Can we change that bind param description to something like Mobile client/service ID?

@@ -19,7 +19,13 @@ plans:
- name: default
description: Deploy keycloak
free: True
metadata: {}
metadata:
mobileclient_bind_parameters_data:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we delete this line here

default: public
since this value is getting set from the metadata now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is still needed for bindings that are not created through our custom UI. This only takes effect through our integrations UI.

@sedroche
Copy link
Contributor Author

sedroche commented May 9, 2018

@JameelB Mobile client ID or service name -> Mobile client/service ID ?
@dimitraz I think you did that wdyt?

@JameelB
Copy link
Contributor

JameelB commented May 10, 2018

@sedroche Yeah something along those lines since the value there is not the service name anymore. 👍

@dimitraz
Copy link

@sedroche @JameelB Yeah that makes sense 👍

@sedroche sedroche merged commit e59223f into master May 10, 2018
@sedroche sedroche deleted the add-binding-param-data branch May 10, 2018 10:22
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.

None yet

4 participants