-
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.
- Loading branch information
Showing
46 changed files
with
3,949 additions
and
6,510 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
sections: | ||
- title: Major changes | ||
labels: | ||
- "release/super-feature" | ||
- title: Complete changelog | ||
labels: | ||
- "bug" | ||
- "enhancement" | ||
- "dependencies" | ||
template: | | ||
{{ range $section := .Sections }}{{ if $section.Items }}### {{ $section.GetTitle }}{{ range $item := $section.Items }} | ||
* [#{{ $item.GetID }}]({{ $item.GetURL }}) - {{ $item.GetTitle }}{{ end }}{{ end }} | ||
{{ end }} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
labels: | ||
- dependencies |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Build Feature Branch | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
- '!fix/[0-9]+.[0-9]+.x' | ||
|
||
jobs: | ||
branch: | ||
uses: onecx/ci-angular/.github/workflows/build-branch.yml@v1 | ||
secrets: inherit | ||
|
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Build Pull Request | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
pr: | ||
uses: onecx/ci-angular/.github/workflows/build-pr.yml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Build Release | ||
on: | ||
push: | ||
tags: | ||
- '**' | ||
jobs: | ||
release: | ||
uses: onecx/ci-angular/.github/workflows/build-release.yml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'fix/[0-9]+.[0-9]+.x' | ||
paths-ignore: | ||
- '.gitignore' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
- '*.md' | ||
- '*.adoc' | ||
- '*.txt' | ||
- '.all-contributorsrc' | ||
|
||
jobs: | ||
build: | ||
uses: onecx/ci-angular/.github/workflows/build.yml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Create Fix Branch | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
fix: | ||
uses: onecx/ci-common/.github/workflows/create-fix-branch.yml@v1 | ||
secrets: inherit | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Create Release Version | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
release: | ||
uses: onecx/ci-common/.github/workflows/create-release.yml@v1 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Update documentation | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger website update | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.CI_PAT }} | ||
repository: onecx/docs | ||
event-type: dispatch-build-website |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Sonar Pull Request | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build Pull Request"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
pr: | ||
uses: onecx/ci-angular/.github/workflows/angular-pr-sonar.yml@v1 | ||
secrets: inherit |
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
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,23 +1,17 @@ | ||
apiVersion: v2 | ||
name: theme-mgmt-ui | ||
version: ${project.version} | ||
description: Helm chart for theme-mgmt-ui deployment. | ||
home: https://gitlab.com/1000kit/apps/tkit-portal/portal-theme-ui | ||
name: onecx-product-store-ui | ||
version: 0.0.0 | ||
description: OneCX Product Store UI. | ||
home: https://github.com/onecx/onecx-product-store-ui | ||
keywords: | ||
- onecx | ||
- portal | ||
- 1000kit | ||
- menu | ||
- microfrontend | ||
- product-store | ||
sources: | ||
- https://gitlab.com/1000kit/apps/tkit-portal/portal-theme-ui.git | ||
- https://github.com/onecx/onecx-product-store-ui | ||
maintainers: | ||
- name: OneCX Developer Team | ||
email: [email protected] | ||
dependencies: | ||
# https://gitlab.com/1000kit/infra/helm/angular.git | ||
- name: angular | ||
- name: helm-angular-app | ||
version: ^0 | ||
repository: https://harbor.1000kit.org/chartrepo/1000kit/ | ||
# repository: file:///home/mat/projects/tkit/helm/angular | ||
repository: oci://ghcr.io/onecx/charts | ||
alias: app |
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": "ONECX_PRODUCT_STORE_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": "./ProductStoreMgmtModule", | ||
"displayName": "ProductStoreMgmtModule", | ||
"moduleType": "ANGULAR", | ||
"wcTagName": "UPMF", | ||
"appVersion": "{{ .Chart.Version }}", | ||
"note": "Theme mgmt module auto import via MF operator", | ||
"note": "Product Store 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
PERMISSION NAME;PERMISSION_KEY;portal-mgmt-admin;portal-mgmt-user; | ||
Theme create;THEME#CREATE;x;; | ||
Theme delete;THEME#DELETE;x;; | ||
Theme edit;THEME#EDIT;x;; | ||
Theme save;THEME#SAVE;x;; | ||
Theme import;THEME#IMPORT;x;; | ||
Theme export;THEME#EXPORT;x;; | ||
Theme detail page;THEME#VIEW;x;x; | ||
Theme search page;THEME#SEARCH;x;x; | ||
PERMISSION NAME;PERMISSION_KEY;onecx-product-store-admin;onecx-product-store-user | ||
View Product Store;PRODUCT_STORE#VIEW;x;x | ||
View/Search Products in Product Store;PRODUCT#SEARCH;x;x | ||
View Product Details in Product Store;PRODUCT#VIEW;x;x | ||
Edit Product Details in Product Store;PRODUCT#EDIT;x; | ||
Delete Products in Product Store;PRODUCT#DELETE;x; | ||
Edit Microfrontends;MICROFRONTEND#EDIT;x; | ||
Delete Microfrontends;MICROFRONTEND#DELETE;x; |
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,7 +1,7 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: 'theme-mgmt-ui-mf-config' | ||
name: 'product-store-mgmt-ui-mf-config' | ||
data: | ||
microfrontend: |- | ||
{{ tpl (.Files.Get "microfrontend.json") . | indent 4 }} |
Oops, something went wrong.