Skip to content

Commit

Permalink
Refactored the services layer to use hooks (#4265)
Browse files Browse the repository at this point in the history
* Refactored the services layer to use hooks.  Now using the shared auth service/components.

* Fixed up some test config files.
  • Loading branch information
EricWittmann authored Jan 26, 2024
1 parent be5c41a commit d17b372
Show file tree
Hide file tree
Showing 86 changed files with 2,060 additions and 5,094 deletions.
2 changes: 1 addition & 1 deletion ui/.docker-scripts/create-config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const CONFIG = {
url: AUTH_URL,
redirectUri: AUTH_REDIRECT_URL,
clientId: AUTH_CLIENT_ID,
scopes: AUTH_CLIENT_SCOPES
scope: AUTH_CLIENT_SCOPES
}
},
features: {
Expand Down
7 changes: 3 additions & 4 deletions ui/ui-app/configs/config-3scale.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var ApicurioRegistryConfig = {
artifacts: {
url: "https://apicurio-registry-api-rhaf-apicurio-registry.apps.dev-eng-ocp4-mas.dev.3sca.net/apis/registry/v3"
url: "https://registry-api.dev.apicur.io/apis/registry/v3"
},
ui: {
contextPath: "/",
Expand All @@ -12,10 +12,9 @@ var ApicurioRegistryConfig = {
rbacEnabled: true,
obacEnabled: false,
options: {
url: "https://keycloak-rhaf-apicurio-designer.apps.dev-eng-ocp4-mas.dev.3sca.net/realms/registry",
url: "https://sso.dev.apicur.io/realms/apicurio",
redirectUri: "http://localhost:8888",
clientId: "apicurio-registry",
scopes: "openid profile email offline_token"
clientId: "registry-ui"
}
},
features: {
Expand Down
3 changes: 1 addition & 2 deletions ui/ui-app/configs/config-oidc-rbac.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ var ApicurioRegistryConfig = {
options: {
url: "https://auth.apicur.io/auth/realms/apicurio-local",
redirectUri: "http://localhost:8888",
clientId: "apicurio-registry-ui",
scopes: "openid profile email offline_token"
clientId: "apicurio-registry-ui"
}
},
features: {
Expand Down
3 changes: 1 addition & 2 deletions ui/ui-app/configs/config-oidc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ var ApicurioRegistryConfig = {
options: {
url: "https://auth.apicur.io/auth/realms/apicurio-local",
redirectUri: "http://localhost:8888",
clientId: "apicurio-registry-ui",
scopes: "openid profile email offline_token"
clientId: "apicurio-registry-ui"
}
},
features: {
Expand Down
Loading

0 comments on commit d17b372

Please sign in to comment.