cancel
Showing results for 
Search instead for 
Did you mean: 

CAP Multitenancy failing on subscription - subscriptionAppName Not Exist

hatrigt
Participant
0 Kudos
184

I have a multitenant CAP application. I deployed it in Provider Subaccount(Cloudfoundry), and the deployment is success. Then tried to subscribe to the Application in Subscriber Subaccount, I am getting subscription failed. Then checked the logs in Service, it says subscriptionAppName Not exist in SubscriptionPayload. 

hatrigt_0-1739987460175.png




 

 

Below is my mta file.

## MTA for Backend

_schema-version: '3.1'
ID: TestFinanceApps
version: 1.0.0
description: "Test Finance Applications API."
parameters:
  enable-parallel-deployments: true
build-parameters:
  before-all:
    - builder: custom
      commands:
      - npm run buildcapfrommta
modules:
  - name: TestFinanceApps-srv
    type: nodejs
    path: ../gen/srv
    parameters:
      buildpack: nodejs_buildpack
      memory: 768M
      disc-quota: 1024M
      stack: cflinuxfs4
      command: node node_modules/@sap/cds/bin/serve.js
    build-parameters:
      ignore:
        - 'node_modules'
        - '*node_modules*'
        - '.env'
        - 'default-*.json'
      builder: npm
    provides:
      - name: mtx-api # required by consumers of CAP services (e.g. approuter)
        properties:
          mtx-url: ${default-url}
    requires:
      - name: uaa-TestFinanceApps
      - name: mtxdb-TestFinanceApps
      - name: destination-TestFinanceApps
      - name: registry-TestFinanceApps
      - name: Test-common-events
      - name: connectivity-TestFinanceApps
      - name: app-api
        properties:
          SUBSCRIPTION_URL: "~{app-protocol}://\\${tenant_subdomain}-~{app-uri}"
  - name: TestFinanceApps-router
    type: approuter.nodejs
    path: ../app/Testfinanceapplicationsrouter/
    build-parameters:
      ignore:
        - 'node_modules'
        - '*node_modules*'
        - '.env'
        - 'default-*.json'
      builder: npm-ci
    properties:
      TENANT_HOST_PATTERN: '^(.*)-${default-uri}'
    parameters:
      keep-existing-routes: true
      stack: cflinuxfs4
      disk-quota: 256M
      memory: 256M
    requires:
      - name: mtx-api
        group: destinations
        properties:
          name: mtx-api # must be used in xs-app.json as well
          url: '~{mtx-url}'
          forwardAuthToken: true
      - name: uaa-TestFinanceApps
    provides:
      - name: app-api
        properties:
          app-protocol: '${protocol}'
          app-uri: '${default-uri}'

resources:
  - name: registry-TestFinanceApps
    type: org.cloudfoundry.managed-service
    requires:
      - name: mtx-api
    parameters:
      service: saas-registry
      service-plan: application
      config:
        xsappname: 'TestFinanceApps-${org}-${space}'
        appName: TestFinanceApps
        displayName: Test(Dev) Platform 3.0 Finance Applications
        description: Test(Dev) The Insurance Operating System
        category: Test-DEV
        appUrls:
          getDependencies: '~{mtx-api/mtx-url}/getDependencies'
          onSubscription: '~{mtx-api/mtx-url}/-/cds/saas-provisioning/tenant/{tenantId}'
          onSubscriptionAsync: false
          onUnSubscriptionAsync: false
          callbackTimeoutMillis: 300000
    parameters-metadata:
      config:
        overwritable: true       
  - name: uaa-TestFinanceApps
    type: org.cloudfoundry.managed-service
    parameters:
      service: xsuaa
      service-plan: application
      path: ./xs-security.json
      config:
        xsappname: 'TestFinanceApps-${org}-${space}'
        tenant-mode: shared
  - name: mtxdb-TestFinanceApps
    type: org.cloudfoundry.managed-service
    parameters:
      service: service-manager
      service-plan: container
  - name: destination-TestFinanceApps
    type: org.cloudfoundry.managed-service
    parameters:
      service: destination
      service-plan: lite
      service-name: destination-TestFinanceApps
      service-keys:
        - name: destination-TestFinanceApps-service-key
      config:
        version: 1.0.0
  - name: Test-common-events
    type: org.cloudfoundry.existing-service
  - name: connectivity-TestFinanceApps
    type: org.cloudfoundry.managed-service
    parameters:
      service: connectivity
      service-plan: lite
      service-name: connectivity-TestFinanceApps
      service-keys:
        - name: connectivity-TestFinanceApps-service-key
      config:
        version: 1.0.0

Below is my mta extension file. 

_schema-version: '3.1'
ID: TestFinanceApps.qa-ext
extends: TestFinanceApps 

resources:
  # ------------------- Registry service for subscription ----------
  - name: registry-TestFinanceApps
    type: org.cloudfoundry.managed-service
    requires:
      - name: mtx-api
    parameters:
      service: saas-registry
      service-plan: application
      config:
        xsappname: 'TestFinanceApps-${org}-${space}'
        appName: Test-apps-financeapps-qa
        displayName: Test(QA) Platform 3.0 Finance Applications
        description: Test(QA) The Insurance Operating System
        category: Test-QA
        appUrls:
          getDependencies: '~{mtx-api/mtx-url}/getDependencies'
          onSubscription: '~{mtx-api/mtx-url}/-/cds/saas-provisioning/tenant/{tenantId}'
          onSubscriptionAsync: false
          onUnSubscriptionAsync: false
          callbackTimeoutMillis: 300000 # Increase if your deployments are taking longer than that


Below is the log on subscription

Retrieving logs for app testFinanceApps-srv in org aqa01-qa / space Quality as a.ran@testdn.com...

   2025-02-19T18:03:28.61+0000 [APP/PROC/WEB/0] OUT {"level":"info","logger":"telemetry","timestamp":"2025-02-19T18:03:28.610Z","layer":"cds","component_type":"application","container_id":"10.0.201.42","component_id":"61694a0f-152a-4409-93d3-4599d7999b52","component_name":"testFinanceApps-srv","component_instance":0,"source_instance":0,"organization_name":"aqa01-qa","organization_id":"862117b4-663d-4e9d-97e6-bca8e467f9dd","space_name":"Quality","space_id":"9b2a1d05-8135-4b80-a1b2-613a85c9d7c8","msg":"db.pool of tenant \"t0\":\n     size | available | pending\n    0/300 |       0/0 |       0","type":"log"}
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT {
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT host: 'aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'user-agent': 'Java/17.0.9',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT accept: 'application/json, application/*+json',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT b3: '1c02ae64bab148ad5541277f461c0bf2-5541277f461c0bf2',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT traceparent: '00-784695ee9fce7683f80f27ef0ee40ca3-6bf49d4a25ddc1b4-01',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT tracestate: 'ac6a3d2a-69d2b3b0@dt=fw4;22;c51948e6;286a8;3;0;0;390;ec74;2h01;3hc51948e6;4h0286a8;5h01',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-b3-spanid': '5541277f461c0bf2',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-b3-traceid': '1c02ae64bab148ad5541277f461c0bf2',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-cf-applicationid': '61694a0f-152a-4409-93d3-4599d7999b52',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-cf-instanceid': '83ce429d-1c79-4ce5-4680-f32f',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-cf-instanceindex': '0',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-correlationid': '1684c96e-c5eb-4a74-72a9-d51b0fbaff1f',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-dynatrace': 'FW4;1775416240;34;-988198682;165544;3;-1402323670;912;ec74;2h01;3hc51948e6;4h0286a8;5h01',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-forwarded-for': '3.67.246.74, 10.0.200.0',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-forwarded-proto': 'https',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-request-start': '1739988247397',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-scp-request-id': '771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D17-1D8E81E',
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT 'x-vcap-request-id': '1c02ae64-bab1-48ad-5541-277f461c0bf2'
   2025-02-19T18:04:07.40+0000 [APP/PROC/WEB/0] OUT }
   2025-02-19T18:04:07.40+0000 [RTR/5] OUT aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com - [2025-02-19T18:04:07.397578723Z] "GET /getDependencies?tenantId=1x12x1ae-4d11-4754-99ec-8be297d9e797 HTTP/1.1" 200 0 173 "-" "Java/17.0.9" "10.0.200.0:41872" "10.0.201.42:61081" x_forwarded_for:"3.67.246.74, 10.0.200.0" x_forwarded_proto:"https" vcap_request_id:"1c02ae64-bab1-48ad-5541-277f461c0bf2" response_time:0.009406 gorouter_time:0.000126 app_id:"61694a0f-152a-4409-93d3-4599d7999b52" app_index:"0" instance_id:"83ce429d-1c79-4ce5-4680-f32f" failed_attempts:0 failed_attempts_time:"-" dns_time:0.000000 dial_time:0.001241 tls_time:0.003462 backend_time:0.009280 x_cf_routererror:"-" x_correlationid:"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f" tenantid:"-" sap_passport:"-" x_scp_request_id:"771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D17-1D8E81E" x_cf_app_instance:"-" x_forwarded_host:"-" x_custom_host:"-" x_ssl_client:"-" x_ssl_client_session_id:"-" x_ssl_client_verify:"-" x_ssl_client_subject_dn:"-" x_ssl_client_subject_cn:"-" x_ssl_client_issuer_dn:"-" x_ssl_client_notbefore:"-" x_ssl_client_notafter:"-" x_cf_forwarded_url:"-" traceparent:"00-784695ee9fce7683f80f27ef0ee40ca3-6bf49d4a25ddc1b4-01" true_client_ip:"-" x_request_id:"-" x_b3_traceid:"1c02ae64bab148ad5541277f461c0bf2" x_b3_spanid:"5541277f461c0bf2" x_b3_parentspanid:"-" b3:"1c02ae64bab148ad5541277f461c0bf2-5541277f461c0bf2"
   2025-02-19T18:04:13.58+0000 [APP/PROC/WEB/0] OUT {"level":"info","logger":"rest","correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","tenant_id":"sap-provisioning","host":"aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com","user_agent":"Java/17.0.9","content_length":"1116","request_size_b":"1116","accept":"text/plain, application/json, application/*+json, */*","authorization":"***","b3":"b81bb04c22534e9669e773f080e2f9ab-69e773f080e2f9ab","content_type":"application/json","sap_passport":"1B54482A0300E6890A736161732D7265676973747279000000000000000000000000000000000000000000612E726176696368616E6472616E4061746F6D646E2E636F6D0000000000000073756273637269626500000000000000000000000000000000000000000000000000000000000000000B736161732D7265676973747279000000000000000000000000000000000000004636444235393131444643303438333438363039444434463146434236423531000000001476967E30F24A4813A4F99A12C3122CF0AC094888B5994420A2098CA9EA65B26B00000001000000001B54482A","traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","w3c_traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","tracestate":"ac6a3d2a-69d2b3b0@dt=fw4;22;c51948e6;286a8;44;0;0;390;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_b3_spanid":"69e773f080e2f9ab","x_b3_traceid":"b81bb04c22534e9669e773f080e2f9ab","x_cf_applicationid":"61694a0f-152a-4409-93d3-4599d7999b52","x_cf_instanceid":"83ce429d-1c79-4ce5-4680-f32f","x_cf_instanceindex":"0","x_correlationid":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","x_dynatrace":"FW4;1775416240;34;-988198682;165544;68;-1402323670;912;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_forwarded_for":"3.67.246.74, 10.0.200.0","x_forwarded_proto":"https","x_request_start":"1739988253569","x_scp_request_id":"771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D1D-1D8F9A9","x_vcap_request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","x_correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","timestamp":"2025-02-19T18:04:13.579Z","layer":"cds","component_type":"application","container_id":"10.0.201.42","component_id":"61694a0f-152a-4409-93d3-4599d7999b52","component_name":"testFinanceApps-srv","component_instance":0,"source_instance":0,"organization_name":"aqa01-qa","organization_id":"862117b4-663d-4e9d-97e6-bca8e467f9dd","space_name":"Quality","space_id":"9b2a1d05-8135-4b80-a1b2-613a85c9d7c8","tenant_subdomain":"sap-provisioning","msg":"PUT /-/cds/saas-provisioning/tenant/1x12x1ae-4d11-4754-99ec-8be297d9e797 ","type":"log"}
   2025-02-19T18:04:13.58+0000 [APP/PROC/WEB/0] ERR {"level":"warn","logger":"cds","correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","tenant_id":"sap-provisioning","host":"aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com","user_agent":"Java/17.0.9","content_length":"1116","request_size_b":"1116","accept":"text/plain, application/json, application/*+json, */*","authorization":"***","b3":"b81bb04c22534e9669e773f080e2f9ab-69e773f080e2f9ab","content_type":"application/json","sap_passport":"1B54482A0300E6890A736161732D7265676973747279000000000000000000000000000000000000000000612E726176696368616E6472616E4061746F6D646E2E636F6D0000000000000073756273637269626500000000000000000000000000000000000000000000000000000000000000000B736161732D7265676973747279000000000000000000000000000000000000004636444235393131444643303438333438363039444434463146434236423531000000001476967E30F24A4813A4F99A12C3122CF0AC094888B5994420A2098CA9EA65B26B00000001000000001B54482A","traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","w3c_traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","tracestate":"ac6a3d2a-69d2b3b0@dt=fw4;22;c51948e6;286a8;44;0;0;390;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_b3_spanid":"69e773f080e2f9ab","x_b3_traceid":"b81bb04c22534e9669e773f080e2f9ab","x_cf_applicationid":"61694a0f-152a-4409-93d3-4599d7999b52","x_cf_instanceid":"83ce429d-1c79-4ce5-4680-f32f","x_cf_instanceindex":"0","x_correlationid":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","x_dynatrace":"FW4;1775416240;34;-988198682;165544;68;-1402323670;912;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_forwarded_for":"3.67.246.74, 10.0.200.0","x_forwarded_proto":"https","x_request_start":"1739988253569","x_scp_request_id":"771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D1D-1D8F9A9","x_vcap_request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","x_correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","timestamp":"2025-02-19T18:04:13.583Z","msg":"Property \"subscriptionAppName\" does not exist in subscriptionPayload","status":400,"layer":"cds","component_type":"application","container_id":"10.0.201.42","component_id":"61694a0f-152a-4409-93d3-4599d7999b52","component_name":"testFinanceApps-srv","component_instance":0,"source_instance":0,"organization_name":"aqa01-qa","organization_id":"862117b4-663d-4e9d-97e6-bca8e467f9dd","space_name":"Quality","space_id":"9b2a1d05-8135-4b80-a1b2-613a85c9d7c8","tenant_subdomain":"sap-provisioning","type":"log"}
   2025-02-19T18:04:13.58+0000 [APP/PROC/WEB/0] ERR {"level":"warn","logger":"error","correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","tenant_id":"sap-provisioning","host":"aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com","user_agent":"Java/17.0.9","content_length":"1116","request_size_b":"1116","accept":"text/plain, application/json, application/*+json, */*","authorization":"***","b3":"b81bb04c22534e9669e773f080e2f9ab-69e773f080e2f9ab","content_type":"application/json","sap_passport":"1B54482A0300E6890A736161732D7265676973747279000000000000000000000000000000000000000000612E726176696368616E6472616E4061746F6D646E2E636F6D0000000000000073756273637269626500000000000000000000000000000000000000000000000000000000000000000B736161732D7265676973747279000000000000000000000000000000000000004636444235393131444643303438333438363039444434463146434236423531000000001476967E30F24A4813A4F99A12C3122CF0AC094888B5994420A2098CA9EA65B26B00000001000000001B54482A","traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","w3c_traceparent":"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01","tracestate":"ac6a3d2a-69d2b3b0@dt=fw4;22;c51948e6;286a8;44;0;0;390;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_b3_spanid":"69e773f080e2f9ab","x_b3_traceid":"b81bb04c22534e9669e773f080e2f9ab","x_cf_applicationid":"61694a0f-152a-4409-93d3-4599d7999b52","x_cf_instanceid":"83ce429d-1c79-4ce5-4680-f32f","x_cf_instanceindex":"0","x_correlationid":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","x_dynatrace":"FW4;1775416240;34;-988198682;165544;68;-1402323670;912;ec74;2h01;3hc51948e6;4h0286a8;5h01","x_forwarded_for":"3.67.246.74, 10.0.200.0","x_forwarded_proto":"https","x_request_start":"1739988253569","x_scp_request_id":"771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D1D-1D8F9A9","x_vcap_request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","request_id":"b81bb04c-2253-4e96-69e7-73f080e2f9ab","x_correlation_id":"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f","timestamp":"2025-02-19T18:04:13.584Z","layer":"cds","component_type":"application","container_id":"10.0.201.42","component_id":"61694a0f-152a-4409-93d3-4599d7999b52","component_name":"testFinanceApps-srv","component_instance":0,"source_instance":0,"organization_name":"aqa01-qa","organization_id":"862117b4-663d-4e9d-97e6-bca8e467f9dd","space_name":"Quality","space_id":"9b2a1d05-8135-4b80-a1b2-613a85c9d7c8","tenant_subdomain":"sap-provisioning","msg":"400 > {\n  code: '400',\n  message: 'Property \"subscriptionAppName\" does not exist in subscriptionPayload'\n}","type":"log"}
   2025-02-19T18:04:13.58+0000 [RTR/4] OUT aqa01-qa-quality-testfinanceapps-srv.cfapps.eu10-004.hana.ondemand.com - [2025-02-19T18:04:13.569315189Z] "PUT /-/cds/saas-provisioning/tenant/1x12x1ae-4d11-4754-99ec-8be297d9e797 HTTP/1.1" 400 1116 107 "-" "Java/17.0.9" "10.0.200.0:34804" "10.0.201.42:61081" x_forwarded_for:"3.67.246.74, 10.0.200.0" x_forwarded_proto:"https" vcap_request_id:"b81bb04c-2253-4e96-69e7-73f080e2f9ab" response_time:0.016296 gorouter_time:0.000086 app_id:"61694a0f-152a-4409-93d3-4599d7999b52" app_index:"0" instance_id:"83ce429d-1c79-4ce5-4680-f32f" failed_attempts:0 failed_attempts_time:"-" dns_time:0.000000 dial_time:0.001171 tls_time:0.003813 backend_time:0.016210 x_cf_routererror:"-" x_correlationid:"1684c96e-c5eb-4a74-72a9-d51b0fbaff1f" tenantid:"-" sap_passport:"1B54482A0300E6890A736161732D7265676973747279000000000000000000000000000000000000000000612E726176696368616E6472616E4061746F6D646E2E636F6D0000000000000073756273637269626500000000000000000000000000000000000000000000000000000000000000000B736161732D7265676973747279000000000000000000000000000000000000004636444235393131444643303438333438363039444434463146434236423531000000001476967E30F24A4813A4F99A12C3122CF0AC094888B5994420A2098CA9EA65B26B00000001000000001B54482A" x_scp_request_id:"771d4b8a-dfd5-4f37-8b2f-50c0d47442a6-67B61D1D-1D8F9A9" x_cf_app_instance:"-" x_forwarded_host:"-" x_custom_host:"-" x_ssl_client:"-" x_ssl_client_session_id:"-" x_ssl_client_verify:"-" x_ssl_client_subject_dn:"-" x_ssl_client_subject_cn:"-" x_ssl_client_issuer_dn:"-" x_ssl_client_notbefore:"-" x_ssl_client_notafter:"-" x_cf_forwarded_url:"-" traceparent:"00-784695ee9fce7683f80f27ef0ee40ca3-4f09cca11bb4d134-01" true_client_ip:"-" x_request_id:"-" x_b3_traceid:"b81bb04c22534e9669e773f080e2f9ab" x_b3_spanid:"69e773f080e2f9ab" x_b3_parentspanid:"-" b3:"b81bb04c22534e9669e773f080e2f9ab-69e773f080e2f9ab"



Package.json

{
  "name": "testFinanceApps",
  "version": "1.0.0",
  "description": "A simple CAP project.",
  "repository": "<Add your repository here>",
  "license": "UNLICENSED",
  "private": true,
  "dependencies": {
    "@cap-js-community/odata-v2-adapter": "^1.13.8",
    "@cap-js/telemetry": "^0.2.2",
    "@sap-cloud-sdk/http-client": "^3.12.1",
    "@sap-cloud-sdk/resilience": "^3.12.1",
    "@sap/cds": "^8.7.1",
    "@sap/cds-hana": "^2",
    "@sap/cds-mtxs": "^1.9",
    "@sap/xb-msg-amqp-v100": "^0.9.58",
    "@sap/xsenv": "^5.2.0",
    "@sap/xssec": "^3.6.0",
    "@ui5/cli": "^3.11.1",
    "cds-caching": "^0.2.1",
    "cds-swagger-ui-express": "^0.10.0",
    "express": "^4",
    "express-mock-server": "^3.4.3"
  },
  "devDependencies": {
    "@cap-js/sqlite": "^1",
    "@sap/cds-dk": "8.6.0",
    "@sap/eslint-plugin-cds": "^3.1.2",
    "@sap/ux-specification": "UI5-1.120",
    "cds-launchpad-plugin": "^2.1.8",
    "cfenv": "^1.2.4",
    "concurrently": "^8.2.2",
    "eslint": "^9.17.0",
    "eslint-plugin-security": "^3.0.1",
    "rimraf": "^5.0.5"
  },
  "scripts": {
    "start": "cds serve",
    "cdsrun": "cds serve"
  },
  "cds": {
    "db": {
      "[development]": {
        "kind": "sql"
      },
      "[production]": {
        "kind": "hana",
        "pool": {
          "acquireTimeoutMillis": 1e4
        }
      },
      "[test]": {
        "kind": "sql"
      }
    },
    "hana": {
      "deploy-format": "hdbtable"
    },
    "requires": {
      "[production]": {
        "messaging-ficacreate-response": {
          "kind": "enterprise-messaging-shared",
          "queue": {
            "name": "test/srv/events/fica-create-response"
          }
        }
      },
      "[hybrid]": {
        "messaging-ficacreate-response": {
          "kind": "enterprise-messaging-shared",
          "queue": {
            "name": "test/srv/events/fica-create-response"
          }
        }
      },
      "[test]": {
        "messaging-ficacreate-response": {
          "kind": "file-based-messaging",
          "queue": {
            "name": "test/srv/events/fica-create-response"
          }
        }
      },
      "approuter": {
        "kind": "cloudfoundry"
      },
      "auth": {
        "[production]": {
          "strategy": "JWT"
        },
        "[hybrid]": {
          "kind": "mock",
          "auth": {
            "kind": "basic-auth"
          },
          "users": {
            "alice": {
              "roles": [
                "test-finance-texting-admin",
                "test-finance-texting-read",
                "test-finance-ficadashboard-user"
              ]
            },
            "*": true
          }
        },
        "[test]": {
          "strategy": "mock",
          "auth": {
            "kind": "basic-auth"
          },
          "users": {
            "test": {
              "roles": [
                "finance-texting-read",
                "finance-texting-maintain",
                "finance-ficadashboard-user"
              ]
            },
            "*": true
          }
        }
      },
      "caching": {
        "impl": "cds-caching",
        "kind": "caching",
        "options": {
          "ttl": 360000
        },
        "namespace": "myCache",
        "compression": "lz4",
        "store": "memory"
      }
    },
    "sapux": [
      "app/textingapplication"
    ]
  }
}

 

Accepted Solutions (0)

Answers (0)