Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbt validation error for mta dynamic parameters and parameters #1100

Open
andre68723 opened this issue Nov 16, 2023 · 0 comments
Open

mbt validation error for mta dynamic parameters and parameters #1100

andre68723 opened this issue Nov 16, 2023 · 0 comments

Comments

@andre68723
Copy link

Do you want to request a feature or report a bug?

when using the provides section together with parameters/visibility the mbt will stop working

Please provide the following info:

  • MBT Version: 1.2.27
  • OS Version: mac
  • If possible, provide a link to the project.

Further reference/doc: https://github.com/SAP-samples/cf-mta-examples/pull/78/files

Steps to Reproduce:

git clone https://github.com/vkalapov/cf-mta-examples.git
cd cf-mta-examples/
git checkout add-example-for-dynamic-cross-mta-configs
cd dynamic-parameters/dynamic-parameters-for-cross-mta-configurations/deploy-cross-mta-configuration-provider
cp mtad.yaml mta.yaml
mbt mtad-gen
[2023-11-16 14:37:10]  INFO generating the MTAD file...
[2023-11-16 14:37:10] ERROR could not generate metadata: the "/Users/d031183/Projects/cf-mta-examples/dynamic-parameters/dynamic-parameters-for-cross-mta-configurations/deploy-cross-mta-configuration-provider/mta.yaml" file is not a valid MTA descriptor: yaml: unmarshal errors:
  line 15: field parameters not found in type mta.Provides

PS: there was a older bug with same prob which was closed, but it's obviously not resolved #870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant