-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added bff * feat: fixed basepath and import/export and indexhtml * Update index.html * fix: helm configuration, changed role names and set default port to 4200 * fix: harmonize sonar config * fix: correct ui test config and import translations --------- Co-authored-by: Henry Taeschner <[email protected]> Co-authored-by: Henry Täschner <[email protected]>
- Loading branch information
1 parent
01d0d07
commit 7ec54cb
Showing
151 changed files
with
2,222 additions
and
9,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"id": "THEME_MFE", | ||
"id": "THEME_UI", | ||
{{- if .Values.app.routing.hostName }} | ||
"remoteEntry": "https://{{ .Values.app.routing.hostName }}{{ .Values.app.routing.path }}remoteEntry.js", | ||
{{- else if .Values.global.hostName }} | ||
|
@@ -11,11 +11,11 @@ | |
{{- else if .Values.global.hostName }} | ||
"remoteBaseUrl": "https://{{ .Values.global.hostName }}{{ .Values.app.routing.path }}", | ||
{{- end }} | ||
"exposedModule": "./ThemeModule", | ||
"displayName": "ThemeModule", | ||
"exposedModule": "./ThemeMgmtModule", | ||
"displayName": "ThemeMgmtModule", | ||
"moduleType": "ANGULAR", | ||
"wcTagName": "UPMF", | ||
"appVersion": "{{ .Chart.Version }}", | ||
"note": "Theme mgmt module auto import via MF operator", | ||
"note": "Theme Mgmt module auto import via MF operator", | ||
"contact": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,34 @@ | ||
app: | ||
name: ui | ||
image: | ||
repository: "onecx/onecx-theme-svc" | ||
repository: 'onecx/onecx-theme-ui' | ||
routing: | ||
enabled: true | ||
operator: | ||
apm: | ||
enabled: false | ||
keycloak: | ||
enabled: true | ||
client: "{ \n \"clientId\": \"theme-mgmt-ui\",\n \"enabled\": true,\n \"description\": \"Keycloak client for theme-mgmt-ui\",\n \"redirectUris\": [\"*\"],\n \"webOrigins\": [\"*\"],\n \"publicClient\": true,\n \"protocol\": \"openid-connect\"\n}" | ||
client: |- | ||
{ | ||
"clientId": "theme-mgmt-ui", | ||
"enabled": true, | ||
"description": "Keycloak client for theme-mgmt-ui", | ||
"redirectUris": ["*"], | ||
"webOrigins": ["*"], | ||
"publicClient": true, | ||
"protocol": "openid-connect" | ||
} | ||
roles: |- | ||
[ | ||
{ | ||
"name": "onecx-portal-admin", | ||
"description": "OneCX portal platform admin" | ||
"name": "onecx-theme-admin", | ||
"description": "OneCX Theme admin" | ||
}, | ||
{ | ||
"name": "onecx-portal-user", | ||
"description": "OneCX portal platform user" | ||
"name": "onecx-theme-user", | ||
"description": "OneCX Theme user" | ||
} | ||
] | ||
# PIPE Config | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
{ | ||
"name": "onecx-theme-ui", | ||
"private": true, | ||
"version": "0.0.0", | ||
"license": "Apache-2.0", | ||
"contributors": [ | ||
"OneCX Development Team <[email protected]>" | ||
], | ||
"config": { | ||
"openapiYaml": "src/assets/api/portal-mgmt-api.yaml", | ||
"openapiYaml": "src/assets/api/themes-bff-api.yaml", | ||
"openapiOutput": "src/app/generated" | ||
}, | ||
"scripts": { | ||
"build": "ng build", | ||
"clean": "npm cache clean --force", | ||
"clean": "npm cache clean --force && npm run clean-angular", | ||
"clean-angular": "ng cache clean", | ||
"start": "ng serve --configuration=development --proxy-config=proxy.conf.js", | ||
"prepare": "husky install", | ||
"lint": "ng lint", | ||
"eslint": "eslint --ext .js,.ts src", | ||
"eslint": "eslint --quiet --ext .js,.ts src/**", | ||
"format": "ng lint --fix", | ||
"browsers": "npx browserslist", | ||
"sonar": "npx sonarqube-scanner -Dproject.settings=sonar-local-project.properties", | ||
"test": "ng test", | ||
"test:ci": "ng test --watch=false --browsers=ChromeHeadless --code-coverage", | ||
"karma": "rm -rf reports && npm run test:ci", | ||
"sonar": "npx sonarqube-scanner -Dproject.settings=sonar-local-project.properties", | ||
"apigen-cleanup": "rm -rf $npm_package_config_openapiOutput", | ||
"apigen-format": "npx prettier $npm_package_config_openapiYaml --write && npx prettier $npm_package_config_openapiOutput/**/* --write", | ||
"apigen-generate": "openapi-generator-cli generate -i $npm_package_config_openapiYaml -g typescript-angular -c apigen.yaml -o $npm_package_config_openapiOutput --type-mappings AnyType=object", | ||
"apigen-generate": "openapi-generator-cli generate -i $npm_package_config_openapiYaml -g typescript-angular -c apigen.yaml -o $npm_package_config_openapiOutput --type-mappings=AnyType=object,set=Array", | ||
"apigen": "npm run apigen-cleanup && npm run apigen-generate && npm run apigen-format" | ||
}, | ||
"private": true, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged" | ||
|
@@ -38,9 +42,7 @@ | |
"tsConfig": "tsconfig.spec.json", | ||
"karmaConfig": "karma.conf.js", | ||
"codeCoverageExclude": [ | ||
"src/app/generated/**/*", | ||
"src/app/**/*.spec.ts", | ||
"src/app/test/**/*" | ||
"src/app/generated/**/*" | ||
] | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.0.1 | ||
7.2.0 |
Oops, something went wrong.