-
Notifications
You must be signed in to change notification settings - Fork 3
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
31 changed files
with
295 additions
and
1,366 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
aws/dome/consumer/connector/blockchain-connector-core/Chart.yaml
This file was deleted.
Oops, something went wrong.
75 changes: 75 additions & 0 deletions
75
aws/dome/consumer/connector/blockchain-connector-core/cm.yaml
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,75 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: dome-consumer-blockchain-connector-core | ||
data: | ||
application.yml: | | ||
dlt-adapter: | ||
domain: http://dome-consumer-dlt-adapter:8080 | ||
blockchain: | ||
rpcAddress: https://red-t.alastria.io/v0/9461d9f4292b41230527d57ee90652a6 | ||
userEthereumAddress: "0xb794f5ea0ba39494ce839613fffba74279579268" | ||
subscription: | ||
active: false | ||
notificationEndpoint: http://dome-consumer-blockchain-connector-core:8080/notifications/blockchain-node | ||
event-type: "catalog" | ||
broker: | ||
externalDomain: https://orion.dome-consumer.fiware.dev | ||
internalDomain: http://dome-consumer-orion-ld:1026 | ||
ngsi-subscription: | ||
notificationEndpoint: http://dome-consumer-blockchain-connector-core:8080/notifications/orion-ld | ||
entityTypes: > | ||
product-offering, | ||
product-order | ||
orion-ld-adapter: | ||
domain: http://dome-consumer-orion-ld-adapter:8080 | ||
spring: | ||
application: | ||
name: Blockchain Connector Core | ||
datasource: | ||
url: jdbc:h2:mem:dbtest | ||
driver-class-name: org.h2.Driver | ||
username: in2admin | ||
password: in2pass | ||
jpa: | ||
database-platform: org.hibernate.dialect.H2Dialect | ||
open-in-view: false | ||
properties: | ||
jakarta.persistence.sharedCache.mode: UNSPECIFIED | ||
hibernate: | ||
ddl-auto: update | ||
show-sql: true | ||
generate-ddl: true | ||
security: | ||
user: | ||
name: in2test | ||
password: in2pass | ||
logging: | ||
level: | ||
ROOT: INFO | ||
es.in2: DEBUG | ||
management: | ||
endpoints: | ||
enabled-by-default: false | ||
web: | ||
exposure: | ||
include: health, info, loggers, metrics | ||
base-path: / | ||
path-mapping: | ||
health: health | ||
info: info | ||
loggers: loggers | ||
metrics: metrics | ||
endpoint: | ||
health: | ||
enabled: true | ||
show-details: always | ||
loggers: | ||
enabled: true | ||
metrics: | ||
enabled: true | ||
server: | ||
port: 8080 | ||
app: | ||
openapi: | ||
dev-url: http://localhost:8080 |
46 changes: 46 additions & 0 deletions
46
aws/dome/consumer/connector/blockchain-connector-core/deployment.yaml
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,46 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: dome-consumer-blockchain-connector-core | ||
labels: | ||
app.kubernetes.io/instance: dome-consumer-blockchain-connector-core | ||
app.kubernetes.io/name: dome-consumer-blockchain-connector-core | ||
spec: | ||
replicas: 1 | ||
revisionHistoryLimit: 3 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/instance: dome-consumer-blockchain-connector-core | ||
app.kubernetes.io/name: dome-consumer-blockchain-connector-core | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 1 | ||
maxUnavailable: 0 | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/instance: dome-consumer-blockchain-connector-core | ||
app.kubernetes.io/name: dome-consumer-blockchain-connector-core | ||
spec: | ||
containers: | ||
- image: quay.io/wi_stefan/blockchain-connector-core:0.0.1 | ||
imagePullPolicy: IfNotPresent | ||
name: blockchain-connector | ||
env: | ||
- name: SPRING_CONFIG_NAME | ||
value: marketplace | ||
- name: SPRING_CONFIG_LOCATION | ||
value: /config/application.yml | ||
- name: SPRING_PROFILES_ACTIVE | ||
value: marketplace | ||
ports: | ||
- containerPort: 8080 | ||
name: http | ||
protocol: TCP | ||
volumeMounts: | ||
- mountPath: /config/ | ||
name: custom-config | ||
volumes: | ||
- configMap: | ||
name: dome-consumer-blockchain-connector-core | ||
name: custom-config |
14 changes: 14 additions & 0 deletions
14
aws/dome/consumer/connector/blockchain-connector-core/service.yaml
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,14 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: dome-consumer-blockchain-connector-core | ||
spec: | ||
type: ClusterIP | ||
ports: | ||
- name: http | ||
port: 8080 | ||
protocol: TCP | ||
targetPort: 8080 | ||
selector: | ||
app.kubernetes.io/instance: dome-consumer-blockchain-connector-core | ||
app.kubernetes.io/name: dome-consumer-blockchain-connector-core |
74 changes: 0 additions & 74 deletions
74
aws/dome/consumer/connector/blockchain-connector-core/templates/_helpers.tpl
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
aws/dome/consumer/connector/blockchain-connector-core/templates/configmap.yml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
aws/dome/consumer/connector/blockchain-connector-core/templates/deployment-hpa.yaml
This file was deleted.
Oops, something went wrong.
92 changes: 0 additions & 92 deletions
92
aws/dome/consumer/connector/blockchain-connector-core/templates/deployment.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.