cancel
Showing results for 
Search instead for 
Did you mean: 

Cross MTA - how to define dependency of one MTA with hdb module in another MTA with nodeJS module

Shilpakrishna
Participant

Hi All,

I am doing a scenario on Full stack web ide and deploying on Cloud Foundry. I have 2 MTA projects. One MTA with HDB Module with hdbcds and calculation views. Another MTA for NodeJS that has xsodata and xsjs files.

When I try to deploy the application on Cloud Foundry, I get the below error.

Error resolving merged descriptor properties and parameters: No configuration entries were found matching the filter specified in resource "EmployeeHdb-provider"
Unexpected error: No configuration entries were found matching the filter specified in resource "EmployeeHdb-provider"

I have refereed the below SAP help link under the section : Cross-MTA dependencies. I have used "mta-provided" approach.

https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.02/en-US/33548a721e6548688605049792...

What configuration entries should I provide to resolve the error?

I have declared the dependency as below.

----------------------------------------------

HDB_MTA -- mta.yaml:

ID: EmployeeMdl

_schema-version: '3.1'

version: 0.0.1

modules:

- name: EmployeeHdb

type: hdb

path: EmployeeHdb

requires:

- name: hdi_ EmployeeHdb

provides:

- name: EmployeeHdb-provider

public: true

----------------------------------------------

Service_MTA -- mta.yaml:

ID: EmployeeApp

_schema-version: '3.1'

version: 0.0.1

modules:

- name: EmployeeSvc

type: nodejs

path: EmployeeSvc

provides:

- name: EmployeeSvc_api

properties:

url: '${default-url}'

requires:

- name: EmployeeHdb-provider

resources:

- name: EmployeeHdb-provider

type: mta-provided

parameters:

mta-id: EmployeeMdl

mta-version: ">=1.0.0"

mta-provides-dependency: EmployeeHdb-provider

Thanks,

Shilpa

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor

On the provider MTA you have defined a version "0.0.1", but on the consumer side you require a version ">=1.0.0". With that config the provider cannot be found.

Shilpakrishna
Participant
0 Kudos

Hi Florian,

Yes, version was the issue, i changed the version as ">=0.0.0" and it worked.

Thank you,

Shilpa

Answers (0)