Skip to content

Commit

Permalink
Add TMF for DeployAI marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
dwendland committed Jul 24, 2024
1 parent fd58670 commit 6d4ce31
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 0 deletions.
18 changes: 18 additions & 0 deletions aws/apps/deployai/marketplace/tm-forum-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tm-forum-api-marketplace
namespace: argocd
spec:
destination:
namespace: deployai
server: https://kubernetes.default.svc
project: default
source:
path: aws/deployai/marketplace/tm-forum-api
repoURL: https://github.com/FIWARE-Ops/fiware-gitops
targetRevision: HEAD
syncPolicy:
automated:
prune: true
selfHeal: true
12 changes: 12 additions & 0 deletions aws/deployai/marketplace/tm-forum-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: tm-forum-api
description: Chart holder for argo-cd

type: application
version: 0.1.0
appVersion: "0.4.1"

dependencies:
- name: tm-forum-api
version: 0.2.2
repository: https://fiware.github.io/helm-charts
110 changes: 110 additions & 0 deletions aws/deployai/marketplace/tm-forum-api/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
tm-forum-api:
## openshift specific route definition. Will not work on plain k8s
route:
## -- should the deployment create openshift routes
enabled: false

apiProxy:
enabled: false


## configuration to be used by every api-deployment if nothing specific is provided.
defaultConfig:

# -- configuration to be used for the image of the container
image:
# -- repository to get the container from
repository: quay.io/fiware
# -- tag to be used, most of the time the apis will use the same version
tag: 0.15.0
# -- pull policy to be used
pullPolicy: Always

# -- ngsi-ld broker connection information
ngsiLd:
# -- timeout for requests ot the broker
readTimeout: 30s
# -- base path for the ngsi-ld api
path: ngsi-ld/v1
# -- address of the broker
url: http://scorpio-marketplace:1026

logLevel: DEBUG
contextUrl: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld

additionalEnvVars:
- name: GENERAL_NGSILDORQUERYVALUE
value: ","
- name: GENERAL_NGSILDORQUERYKEY
value: ","
- name: GENERAL_ENCLOSEQUERY
value: "false"

# -- list of apis to be deployed
# -- every api needs to define a name and image. Basepath is required when routes or ingress will be enabled. Beside that, they can overwrite the default-config by using the same keys.
# -- be aware: when you change the image repositrory or the tag for an api, you have to provide both values for the changes to take effect
apis:
- name: party-catalog
image: tmforum-party-catalog
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF632-Party-v4.0.0.swagger.json

- name: customer-bill-management
image: tmforum-customer-bill-management
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF678-CustomerBill-v4.0.0.swagger.json

- name: customer-management
image: tmforum-customer-management
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF629-Customer-v4.0.0.swagger.json

- name: product-catalog
image: tmforum-product-catalog
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.1.0/swagger/TMF620-ProductCatalog-v4.1.0.swagger.json

- name: product-inventory
image: tmforum-product-inventory
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF637-ProductInventory-v4.0.0.swagger.json

- name: product-ordering-management
image: tmforum-product-ordering-management
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF622-ProductOrder-v4.0.0.swagger.json

- name: resource-catalog
image: tmforum-resource-catalog
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.1.0/swagger/TMF634-ResourceCatalog-v4.0.0.swagger.json

- name: resource-function-activation
image: tmforum-resource-function-activation
basePath: /
specUrl: https://raw.githubusercontent.com/wistefan/TMF664_ResourceFunctionActivationConfiguration/master/TMF664-ResourceFunctionActivation-v4.0.0.swagger.json

- name: resource-inventory
image: tmforum-resource-inventory
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF639-ResourceInventory-v4.0.0.swagger.json

- name: service-catalog
image: tmforum-service-catalog
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF633-ServiceCatalog-v4.0.0.swagger.json

- name: account
image: tmforum-account
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF666-Account-v4.0.0.swagger.json

- name: agreement
image: tmforum-agreement
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF651-Agreement-v4.0.0.swagger.json

- name: usage-management
image: tmforum-usage-management
basePath: /
specUrl: https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF635-UsageManagement-v4.0.0.swagger.json

0 comments on commit 6d4ce31

Please sign in to comment.