Skip to content

Compiled jar uses test application.yaml #14

@Mortega5

Description

@Mortega5

Could it be possible that the generated docker image uses the test application.yaml instead of the "main" application.yaml?

Running the following command I see that the application.yaml is identical to the test application.yaml

$: docker run --entrypoint /bin/bash -it quay.io/fiware/contract-management:3.3.0

cat /app/resources/application.yaml
micronaut:
  server:
    port: 8080
  metrics:
    enabled: false
    export:
      prometheus:
        step: PT2s
        descriptions: false

  http:
    services:
      rainbow:
        path: "/"
        url: http://localhost:1234
        read-timeout: 30
      product-order:
        path: "/tmf-api/productOrderingManagement/v4"
        url: http://localhost:8081
        read-timeout: 30
      party:
        path: "/tmf-api/party/v4"
        url: http://localhost:8083
        read-timeout: 30
      product-catalog:
        path: "/tmf-api/productCatalogManagement/v4"
        url: http://localhost:8082
        read-timeout: 30
      service-catalog:
        path: "/tmf-api/serviceCatalogManagement/v4"
        url: http://localhost:8084
        read-timeout: 30
      trusted-issuers-list:
        path: "/"
        url: http://localhost:8085
        read-timeout: 30
      tmforum-agreement-api:
        path: "/tmf-api/agreementManagement/v4"
        url: http://localhost:8086
        read-timeout: 30
      quote:
        path: "/tmf-api/quote/v4"
        url: http://localhost:8087
        read-timeout: 30
      odrl:
        path: ""
        url: http://localhost:8088
        read-timeout: 30
endpoints:
  all:
    port: 9090
  health:
    enabled: true

---
loggers:
  levels:
    ROOT: TRACE
general:
  did: did:web:marketplace.io
  enableCentralMarketplace: false

notification:
  host: local-host
  entities:
    - entityType: "ProductOrder"
      eventTypes: [ "CREATE", "STATE_CHANGE", "DELETE" ]
      apiAddress: "http://localhost:8081/tmf-api/productOrderingManagement/v4"
    - entityType: "ProductOffering"
      eventTypes: [ "CREATE", "STATE_CHANGE", "DELETE" ]
      apiAddress: "http://localhost:8082/tmf-api/productCatalogManagement/v4"
    - entityType: "Catalog"
      eventTypes: [ "CREATE", "DELETE", "STATE_CHANGE" ]
      apiAddress: "http://localhost:8082/tmf-api/productCatalogManagement/v4"
    - entityType: "Quote"
      eventTypes: [ "CREATE", "DELETE", "STATE_CHANGE", "ATTRIBUTE_CHANGE" ]
      apiAddress: "http://localhost:8087/tmf-api/quote/v4"

oid4vp:
  credentialsFolder: "/home/stefanw/git/fiware/contract-management/src/test/resources/oid4vp/credentials"
  trustAnchors:
    - "oid4vp/test-ca.pem"
  holder:
    holderId: "did:key:zDnaehXH4gDLjLeWcACPyQX9TnvsKiQNt6KT7fdsfyW6fhEYA"
    keyType: "EC"
    keyPath: "oid4vp/private-key.pem"
    signatureAlgorithm: "ECDH-ES"
  proxyConfig:
    useProxy: true
    proxyHost: localhost
    proxyPort: 8888

I see that the default notification.host value is local-host instead of contract-management

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions