Skip to content

Commit

Permalink
https://jira.catena-x.net/browse/KA-328 remove unit test reporting. d…
Browse files Browse the repository at this point in the history
…ebug chart yaml
  • Loading branch information
drcgjung committed Aug 22, 2023
1 parent b6aba75 commit 4ee9f7f
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 53 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,4 @@ jobs:
push: ${{ (github.repository == 'catenax-ng/product-agents' || github.repository == 'eclipse-tractusx/knowledge-agents') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
tags: ${{ steps.meta-remote.outputs.tags }}
labels: ${{ steps.meta-remote.outputs.labels }}

# Report unit test output to github job
- if: success() || failure()
name: Java Test Report
uses: dorny/test-reporter@v1
with:
name: Test Report Java
path: '**/surefire-reports/TEST-*.xml'
reporter: java-junit

4 changes: 2 additions & 2 deletions charts/conforming-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ apiVersion: v2
name: conforming-agent
description: |
A Helm chart for the Tractus-X Conforming Agent which is a container to assess the conformity of all other parts of the Agent-Enabled Dataspace.
This chart has no prerequisites.
home: https://github.com/eclipse-tractusx/knowledge-agents/
sources:
- https://github.com/eclipse-tractusx/knowledge-agents/tree/main/conforming
type: application
appVersion: "1.9.5-SNAPSHOT"
version: 1.9.6-SNAPSHOT
maintainers:
maintainers:
- name: 'Tractus-X Knowledge Agents Team'
21 changes: 10 additions & 11 deletions charts/conforming-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image:
repository: tractusx/conforming-agent
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
# -- Overrides the image digest
# -- Overrides the image digest
digest: ""
## Specify an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -45,10 +45,10 @@ image:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: [ ]
pullSecrets: []
## Set to true if you would like to see extra information on logs
##

# -- Overrides the charts name
nameOverride: ""

Expand All @@ -73,7 +73,6 @@ automountServiceAccountToken: false
podAnnotations: {}
# Uncomment this and remove parenthesis if you want to enable apparmor
# container.apparmor.security.beta.kubernetes.io/conforming-agent: runtime/default


# The [pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) defines privilege and access control settings for a Pod within the deployment
podSecurityContext:
Expand All @@ -94,7 +93,7 @@ securityContext:
drop:
- ALL
# -- Specifies which capabilities to add to issue specialized syscalls
add:
add:
- NET_BIND_SERVICE
# -- Whether the root filesystem is mounted in read-only mode
readOnlyRootFilesystem: true
Expand All @@ -112,7 +111,7 @@ livenessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 60
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -122,7 +121,7 @@ readinessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 300
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -134,7 +133,7 @@ startupProbe:
failureThreshold: 18
# -- Number of seconds after the container has started before liveness probes are initiated.
initialDelaySeconds: 60
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 30
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand Down Expand Up @@ -165,7 +164,7 @@ ingresses:
hostname: "conforming-agent.local"
# -- Additional ingress annotations to add, for example when implementing more complex routings you may set { nginx.ingress.kubernetes.io/rewrite-target: /$1, nginx.ingress.kubernetes.io/use-regex: "true" }
annotations:
# Example if you want more complex routings in interplay with the endpoints regex property
# Example if you want more complex routings in interplay with the endpoints regex property
# nginx.ingress.kubernetes.io/rewrite-target: /$1
# nginx.ingress.kubernetes.io/use-regex: "true"
# -- Optional prefix that will be prepended to the paths of the endpoints
Expand All @@ -189,14 +188,14 @@ ingresses:
clusterIssuer: ""

# -- [Resource management](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) applied to the deployed pod
# We recommend 20% of a cpu and 256MB per endpoint
# We recommend 20% of a cpu and 256MB per endpoint
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 400m
memory: 256Mi
memory: 256Mi

autoscaling:
# -- Enables [horizontal pod autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
Expand Down
8 changes: 5 additions & 3 deletions charts/provisioning-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
# This is a YAML-formatted file.
apiVersion: v2
name: provisioning-agent
description: >-
Tractus-X Provisioning Agent - Knowledge-Agents Compatible Data Binding Layer
description: |
A Helm chart for the Tractus-X Provisioning Agent which is a container to Bridge Agent-Enabled Connector and Relational Data Sources.
This chart has no prerequisites.
home: https://github.com/eclipse-tractusx/knowledge-agents/
sources:
- https://github.com/eclipse-tractusx/knowledge-agents/tree/main/provisioning
type: application
appVersion: "1.9.5-SNAPSHOT"
version: 1.9.6-SNAPSHOT
maintainers:
maintainers:
- name: 'Tractus-X Knowledge Agents Team'
30 changes: 15 additions & 15 deletions charts/provisioning-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image:
repository: tractusx/provisioning-agent
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
# -- Overrides the image digest
# -- Overrides the image digest
digest: ""
## Specify an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -45,7 +45,7 @@ image:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: [ ]
pullSecrets: []
## Set to true if you would like to see extra information on logs
##

Expand Down Expand Up @@ -93,7 +93,7 @@ securityContext:
drop:
- ALL
# -- Specifies which capabilities to add to issue specialized syscalls
add:
add:
- NET_BIND_SERVICE
# -- Whether the root filesystem is mounted in read-only mode
readOnlyRootFilesystem: true
Expand All @@ -111,7 +111,7 @@ livenessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 60
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -121,7 +121,7 @@ readinessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 300
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -133,7 +133,7 @@ startupProbe:
failureThreshold: 18
# -- Number of seconds after the container has started before liveness probes are initiated.
initialDelaySeconds: 60
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 30
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -146,13 +146,13 @@ ontologies:
## Endpoints exposed by the provisioning agent
bindings:
# -- Diagnostic trouble codesample endpoint/binding, for disabling, simply put dtc: {} in your values.yaml
dtc:
dtc:
# -- Exposed Service Port for the binding
port: 8080
# -- Potential Ingress Path
path: (/|$)(.*)
# -- Settings for the binding including JDBC backend connections and meta-data directives, you should use secret references when putting passwords here
settings:
settings:
jdbc.url: "jdbc:h2:file:/opt/ontop/database/db;INIT=RUNSCRIPT FROM '/opt/ontop/data/dtc.sql'"
jdbc.driver: "org.h2.Driver"
ontop.cardinalityMode: "LOOSE"
Expand All @@ -167,30 +167,30 @@ bindings:
xsd: http://www.w3.org/2001/XMLSchema#
obda: https://w3id.org/obda/vocabulary#
rdfs: http://www.w3.org/2000/01/rdf-schema#
[MappingDeclaration] @collection [[
mappingId dtc-meta
target cx:BusinessPartner/{bpnl} rdf:type cx:BusinessPartner ; cx:BPNL {bpnl}^^xsd:string .
target cx:BusinessPartner/{bpnl} rdf:type cx:BusinessPartner ; cx:BPNL {bpnl}^^xsd:string .
source SELECT distinct "bpnl" FROM "dtc"."meta"
mappingId dtc-content
target cx-diag:DTC/{id} rdf:type cx-diag:DTC ; cx-diag:Code {code}^^xsd:string ; cx-diag:Description {description}^^xsd:string ; cx-diag:PossibleCauses {possible_causes}^^xsd:string ; cx-diag:Version {lock_version}^^xsd:long .
target cx-diag:DTC/{id} rdf:type cx-diag:DTC ; cx-diag:Code {code}^^xsd:string ; cx-diag:Description {description}^^xsd:string ; cx-diag:PossibleCauses {possible_causes}^^xsd:string ; cx-diag:Version {lock_version}^^xsd:long .
source SELECT * FROM "dtc"."content"
mappingId dtc-meta-content
target cx-diag:DTC/{id} cx:provisionedBy cx:BusinessPartner/{bpnl}.
target cx-diag:DTC/{id} cx:provisionedBy cx:BusinessPartner/{bpnl} .
source SELECT "bpnl","id" FROM "dtc"."content"
mappingId dtc-part
target cx-diag:DiagnosedPart/{entityGuid} rdf:type cx-diag:DTCPart ; cx-diag:EnDenomination {enDenomination}^^xsd:string ; cx-diag:Classification {classification}^^xsd:string ; cx-diag:Category {category}^^xsd:string.
source SELECT * FROM "dtc"."part"
mappingId dtc-part-content
target cx-diag:DTC/{dtc_id} cx-diag:affects cx-diag:DiagnosedPart/{part_entityGuid}.
target cx-diag:DTC/{dtc_id} cx-diag:affects cx-diag:DiagnosedPart/{part_entityGuid} .
source SELECT "part_entityGuid","dtc_id" FROM "dtc"."content_part"
mappingId dtc-meta-part
target cx-diag:DiagnosedPart/{entityGuid} cx:provisionedBy cx:BusinessPartner/{bpnl}.
target cx-diag:DiagnosedPart/{entityGuid} cx:provisionedBy cx:BusinessPartner/{bpnl} .
source SELECT "bpnl","entityGuid" FROM "dtc"."part"
]]
Expand All @@ -206,7 +206,7 @@ ingresses:
hostname: "provisioning-agent.local"
# -- Additional ingress annotations to add, for example when implementing more complex routings you may set { nginx.ingress.kubernetes.io/rewrite-target: /$2, nginx.ingress.kubernetes.io/use-regex: "true" }
annotations:
# Example if you want more complex routings in interplay with the endpoints regex property
# Example if you want more complex routings in interplay with the endpoints regex property
# nginx.ingress.kubernetes.io/rewrite-target: /$2
# nginx.ingress.kubernetes.io/use-regex: "true"
# -- Optional prefix that will be prepended to the paths of the endpoints
Expand Down
8 changes: 5 additions & 3 deletions charts/remoting-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
# This is a YAML-formatted file.
apiVersion: v2
name: remoting-agent
description: >-
Tractus-X Remoting Agent - Knowledge-Agents Compatible API Binding Layer
description: |
A Helm chart for the Tractus-X Remoting Agent which is a container to Bridge Agent-Enabled Connector and REST APIs.
This chart has no prerequisites.
home: https://github.com/eclipse-tractusx/knowledge-agents/
sources:
- https://github.com/eclipse-tractusx/knowledge-agents/tree/main/remoting
type: application
appVersion: "1.9.5-SNAPSHOT"
version: 1.9.6-SNAPSHOT
maintainers:
maintainers:
- name: 'Tractus-X Knowledge Agents Team'
20 changes: 10 additions & 10 deletions charts/remoting-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image:
repository: tractusx/remoting-agent
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
# -- Overrides the image digest
# -- Overrides the image digest
digest: ""
## Specify an imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand All @@ -45,7 +45,7 @@ image:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets: [ ]
pullSecrets: []
## Set to true if you would like to see extra information on logs
##

Expand Down Expand Up @@ -93,7 +93,7 @@ securityContext:
drop:
- ALL
# -- Specifies which capabilities to add to issue specialized syscalls
add:
add:
- NET_BIND_SERVICE
# -- Whether the root filesystem is mounted in read-only mode
readOnlyRootFilesystem: true
Expand All @@ -111,7 +111,7 @@ livenessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 60
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -121,7 +121,7 @@ readinessProbe:
enabled: true
# -- Minimum consecutive failures for the probe to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 300
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand All @@ -133,7 +133,7 @@ startupProbe:
failureThreshold: 18
# -- Number of seconds after the container has started before liveness probes are initiated.
initialDelaySeconds: 60
# -- Number of seconds each period lasts.
# -- Number of seconds each period lasts.
periodSeconds: 30
# -- number of seconds until a timeout is assumed
timeoutSeconds: 5
Expand Down Expand Up @@ -164,7 +164,7 @@ ingresses:
hostname: "remoting-agent.local"
# -- Additional ingress annotations to add, for example when implementing more complex routings you may set { nginx.ingress.kubernetes.io/rewrite-target: /$1, nginx.ingress.kubernetes.io/use-regex: "true" }
annotations:
# Example if you want more complex routings in interplay with the endpoints regex property
# Example if you want more complex routings in interplay with the endpoints regex property
# nginx.ingress.kubernetes.io/rewrite-target: /$1
# nginx.ingress.kubernetes.io/use-regex: "true"
# -- Optional prefix that will be prepended to the paths of the endpoints
Expand All @@ -188,14 +188,14 @@ ingresses:
clusterIssuer: ""

# -- [Resource management](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) applied to the deployed pod
# We recommend 25% of a cpu, 512MB per server and 256MB per endpoint
# We recommend 25% of a cpu, 512MB per server and 256MB per endpoint
resources:
requests:
cpu: 250m
memory: 768Mi
limits:
cpu: 500m
memory: 768Mi
memory: 768Mi

autoscaling:
# -- Enables [horizontal pod autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
Expand Down Expand Up @@ -244,4 +244,4 @@ logging:
</configuration>
# -- A map of repository names to configuration ttl files
repositories: {}
repositories: {}

0 comments on commit 4ee9f7f

Please sign in to comment.