Skip to content

Commit 13589b4

Browse files
authored
Merge pull request #2 from catenax-ng/TRACEFOSS-761-prepare-for-repos-move
Tracefoss 761 prepare for repos move
2 parents e6ca074 + 1744b7b commit 13589b4

21 files changed

+49
-53
lines changed

.chglog/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ style: github
22
template: CHANGELOG.tpl.md
33
info:
44
title: CHANGELOG
5-
repository_url: https://github.com/catenax-ng/product-traceability-foss-frontend
5+
repository_url: https://github.com/catenax-ng/tx-traceability-foss-frontend
66
options:
77
commits:
88
filters:

.github/workflows/chart-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Get helm charts current version
3333
id: step2
3434
run: |
35-
chartVersion=helm-charts-$(cat ./charts/product-traceability-foss-frontend/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
35+
chartVersion=helm-charts-$(cat ./charts/tx-traceability-foss-frontend/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
3636
echo "::set-output name=current_version::$chartVersion"
3737
echo "Exported $chartVersion helm charts version"
3838

CHANGELOG.generated.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@
2929
- update documents for release
3030
- added installation file with instructions
3131
- renamed app
32-
- re enable other parts
32+
- reenable other parts
3333
- align fe with be for supplier parts
3434
- generate changelog
3535
- highlight parts if notification active
3636
- added dashboard investigation widget
3737
- added fixes for quality gates and relations
3838
- renamed veracode.yml to .yaml so it complies with checks
39-
- helm chart release ([#76](https://github.com/catenax-ng/product-traceability-foss-frontend/issues/76))
39+
- helm chart release ([1.0.0](https://github.com/eclipse-tractusx/traceability-foss-frontend/releases/tag/helm-charts-1.0.0))
4040
- improve performance throughout appication
4141
- added wip role for notification and role check to table component
4242
- added better test data for local mock
4343
- added close functionality to sidenav button
4444
- create app-scroll-with-shadow
45-
- cleanuo copyright headers
45+
- cleanup copyright headers
4646
- added pagination for parts
4747
- improved quality of life for tree component
4848
- added css to make sidenav more responsive

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2121
- **BoM asBuilt** Fetch parts and supplier parts, display details, display part tree
2222
- **EDC and IRS integration**
2323

24-
[unreleased]: https://github.com/catenax-ng/product-traceability-foss-frontend/compare/0.1.0...HEAD
25-
[1.0.0]: https://github.com/catenax-ng/product-traceability-foss-frontend/compare/1.0.0
26-
[0.1.0]: https://github.com/catenax-ng/product-traceability-foss-frontend/compare/0.1.0
24+
[unreleased]: https://github.com/eclipse-tractusx/traceability-foss-frontend/compare/0.1.0...HEAD
25+
[1.0.0]: https://github.com/eclipse-tractusx/traceability-foss-frontend/compare/1.0.0
26+
[0.1.0]: https://github.com/eclipse-tractusx/traceability-foss-frontend/compare/0.1.0

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ The operator can set any environment variable in the container by using one or m
6464
#### `${dockerImage}`
6565

6666
While not strictly a means of identifying a container, you can specify a version of an image you’d like to run the container with by adding `image[:tag]` to the command. For example, `docker run 002b3c518f5852f7fd5e9e46c0ea1ab4d76b697d33d5022af1a69e1a909645ea`.
67-
Images can be pulled [here](https://github.com/catenax-ng/product-traceability-foss-frontend/pkgs/container/product-traceability-foss-frontend).
67+
Images can be pulled [here](https://github.com/eclipse-tractusx/traceability-foss-frontend/pkgs/container/traceability-foss-frontend).

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<h1 style="margin: 10px 0 0 10px">Traceability FOSS Frontend</h1>
44
</div>
55

6-
[![Apache 2 License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/catenax-ng/product-traceability-foss-frontend/LICENSE)
7-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=catenax-ng_product-traceability-foss-frontend&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=catenax-ng_product-traceability-foss-frontend)
8-
[![Kics](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/kics.yml/badge.svg)](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/kics.yml)
9-
[![Trivy](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/trivy.yml/badge.svg)](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/trivy.yml)
10-
[![VeraCode](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/veracode.yaml/badge.svg)](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/veracode.yaml)
11-
[![Eclipse DASH IP Check](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/eclipse-dash.yml/badge.svg)](https://github.com/catenax-ng/product-traceability-foss-frontend/actions/workflows/eclipse-dash.yml)
6+
[![Apache 2 License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/eclipse-tractusx/traceability-foss-frontend/LICENSE)
7+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=eclipse-tractusx_traceability-foss-frontend&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=eclipse-tractusx_traceability-foss-frontend)
8+
[![Kics](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/kics.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/kics.yml)
9+
[![Trivy](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/trivy.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/trivy.yml)
10+
[![VeraCode](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/veracode.yaml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/veracode.yaml)
11+
[![Eclipse DASH IP Check](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/eclipse-dash.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss-frontend/actions/workflows/eclipse-dash.yml)
1212

1313
<h2>Trace-X is a system for tracking parts along the supply chain.</h2>
1414
<h4>A high level of transparency across the supplier network enables faster intervention based on a recorded event in the supply chain.
@@ -40,7 +40,7 @@ Clone the source locally:
4040

4141
```sh
4242
$ git clone ${path}
43-
$ cd product-traceability-foss-frontend
43+
$ cd tx-traceability-foss-frontend
4444
```
4545

4646
## Configurations
File renamed without changes.

charts/product-traceability-foss-frontend/Chart.yaml renamed to charts/tx-traceability-foss-frontend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: product-traceability-foss-frontend
2+
name: tx-traceability-foss-frontend
33
description: A Helm chart for Traceability frontend application
44

55
# A chart can be either an 'application' or a 'library' chart.

charts/product-traceability-foss-frontend/templates/NOTES.txt renamed to charts/tx-traceability-foss-frontend/templates/NOTES.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
1. Get the application URL by running these commands:
22
{{- if contains "NodePort" .Values.service.type }}
3-
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "product-traceability-foss-frontend.fullname" . }})
3+
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "tx-traceability-foss-frontend.fullname" . }})
44
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
55
echo http://$NODE_IP:$NODE_PORT
66
{{- else if contains "LoadBalancer" .Values.service.type }}
77
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
8-
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "product-traceability-foss-frontend.fullname" . }}'
9-
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "product-traceability-foss-frontend.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
8+
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "tx-traceability-foss-frontend.fullname" . }}'
9+
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "tx-traceability-foss-frontend.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
1010
echo http://$SERVICE_IP:{{ .Values.service.port }}
1111
{{- else if contains "ClusterIP" .Values.service.type }}
12-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "product-traceability-foss-frontend.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
12+
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "tx-traceability-foss-frontend.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
1313
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
1414
echo "Visit http://127.0.0.1:8080 to use your application"
1515
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT

charts/product-traceability-foss-frontend/templates/_helpers.tpl renamed to charts/tx-traceability-foss-frontend/templates/_helpers.tpl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{/*
22
Expand the name of the chart.
33
*/}}
4-
{{- define "product-traceability-foss-frontend.name" -}}
4+
{{- define "tx-traceability-foss-frontend.name" -}}
55
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
66
{{- end }}
77

@@ -10,7 +10,7 @@ Create a default fully qualified app name.
1010
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
1111
If release name contains chart name it will be used as a full name.
1212
*/}}
13-
{{- define "product-traceability-foss-frontend.fullname" -}}
13+
{{- define "tx-traceability-foss-frontend.fullname" -}}
1414
{{- if .Values.fullnameOverride }}
1515
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
1616
{{- else }}
@@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name.
2626
{{/*
2727
Create chart name and version as used by the chart label.
2828
*/}}
29-
{{- define "product-traceability-foss-frontend.chart" -}}
29+
{{- define "tx-traceability-foss-frontend.chart" -}}
3030
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
3131
{{- end }}
3232

3333
{{/*
3434
Common labels
3535
*/}}
36-
{{- define "product-traceability-foss-frontend.labels" -}}
37-
helm.sh/chart: {{ include "product-traceability-foss-frontend.chart" . }}
38-
{{ include "product-traceability-foss-frontend.selectorLabels" . }}
36+
{{- define "tx-traceability-foss-frontend.labels" -}}
37+
helm.sh/chart: {{ include "tx-traceability-foss-frontend.chart" . }}
38+
{{ include "tx-traceability-foss-frontend.selectorLabels" . }}
3939
{{- if .Chart.AppVersion }}
4040
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
4141
{{- end }}
@@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
4545
{{/*
4646
Selector labels
4747
*/}}
48-
{{- define "product-traceability-foss-frontend.selectorLabels" -}}
49-
app.kubernetes.io/name: {{ include "product-traceability-foss-frontend.name" . }}
48+
{{- define "tx-traceability-foss-frontend.selectorLabels" -}}
49+
app.kubernetes.io/name: {{ include "tx-traceability-foss-frontend.name" . }}
5050
app.kubernetes.io/instance: {{ .Release.Name }}
5151
{{- end }}
5252

5353
{{/*
5454
Create the name of the service account to use
5555
*/}}
56-
{{- define "product-traceability-foss-frontend.serviceAccountName" -}}
56+
{{- define "tx-traceability-foss-frontend.serviceAccountName" -}}
5757
{{- if .Values.serviceAccount.create }}
58-
{{- default (include "product-traceability-foss-frontend.fullname" .) .Values.serviceAccount.name }}
58+
{{- default (include "tx-traceability-foss-frontend.fullname" .) .Values.serviceAccount.name }}
5959
{{- else }}
6060
{{- default "default" .Values.serviceAccount.name }}
6161
{{- end }}

0 commit comments

Comments
 (0)