Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

[BUG] The usecase json config does not allow real cloudfoundry parameters #544

Closed
2 tasks done
js1972 opened this issue Aug 16, 2023 · 1 comment
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@js1972
Copy link

js1972 commented Aug 16, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest docker image for BTPSA?

  • I'm using the latest docker image for BTPSA.

Which area is mainly impacted

Cloud Foundry setups

Current Behavior

I should be able to choose the following:

    {
      "name": "cloudfoundry",
      "plan": "standard",
      "category": "ENVIRONMENT"
    },
    {
      "name": "APPLICATION_RUNTIME",
      "plan": "MEMORY",
      "category": "SERVICE",
      "amount": 4
    },

However, the json syntax check says plan standard and APPLICATION_RUNTIME are not available. It still works if I use them but seems odd that they aren't allowed options.

Expected Behavior

Add the above cloud foundry options to the usecase.json syntax check.

Steps To Reproduce

Try adding cloud foundry to any usecase file where you do not want to use the free service plan

Logs and configuration files available?

n/a

Anything else?

No response

@js1972 js1972 added the bug Something isn't working label Aug 16, 2023
@lechnerc77 lechnerc77 self-assigned this Aug 20, 2023
@lechnerc77
Copy link
Member

The JSON validation is based on the available metadata exposed by different APIs of the SAP BTP and that is machine readable. You find a complete overview in the repository https://github.com/SAP-samples/btp-service-metadata.
In the case of cloud foundry there is some data missing as you already reported in issue SAP-samples/btp-service-metadata#18.
As soon as this is fixed the generated JSON validation for btpsa will contain the missing values you have mentioned. Please track the issue in the metadata repository mentioned above to track the progress.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants