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

CXEC-22657 : DataHub Backoffice requires same credentials to be used … #73

Open
wants to merge 4 commits into
base: 2211-datahub
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#% impex.setLocale( Locale.ENGLISH )

# DataHub configurations
INSERT_UPDATE BasicCredential ;id[unique = true] ; userName ; password
"#% beforeEach:
import de.hybris.platform.util.Config;
line.put(2, Config.getString(line.get(2), ""admin""));
line.put(3, Config.getString(line.get(3), ""nimda""));
"
;admin ; datahub.backoffice.rest.client.username.admin ; datahub.backoffice.rest.client.password.admin
;developer ; datahub.backoffice.rest.client.username.developer ; datahub.backoffice.rest.client.password.developer

INSERT_UPDATE DataHubInstanceModel;instanceName[unique = true];instanceLocation
;localhost;http://localhost:8080/datahub-webapp/v1;
;datahub;http://datahub:8080/datahub-webapp/v1;
INSERT_UPDATE DataHubInstanceModel;instanceName[unique = true] ; instanceLocation ; admin(id) ; developer(id)
;datahub ; http://datahub:8080/datahub-webapp/v1 ; admin ; developer


INSERT_UPDATE OAuthClientDetails;clientId[unique=true]; resourceIds; scope; authorizedGrantTypes ; authorities; clientSecret; registeredRedirectUri
Expand Down