on 2024 Jan 03 6:59 PM
Dear SAP BTP & CAP experts,
as the the CF based HANA Cloud DB is now considered as deprecated and existing data bases automatically deleted, I created a new instance of the new mutli environment, de-coupled (of CF space) version of HANA Cloud. I would like to know now how to bind it against my application which previously was bound to the CF HANA Cloud. Is there any concrete guidance based on a real sample application? What changes need to be done to mta.yaml to access the newly created HANA Cloud instance. It worked well with the older version, but now after creation of multi environment version (even if space mapping via ORG ID and space guid provided) is not accessible or listed within BAS.
Can you please support?
Thank you in advance.
BR
Rufat
Request clarification before answering.
Hi rufat
From a CAP perspective: Once you create the instance mapping (I even omitted the space ID), you can create a HDI container via CF CLI. Hence, there should be no difference when deploying via MTA. As before, you'll need to provide a database_id if you have multiple HANA instances available.
Best,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vansyckel,
thank you! It was indeed easier than I thought! I just created a new service instance of "SAP HANA Schemas & HDI Containers" via BTP cockpit manually. Afterwards, I bound my application within BAS via its "SAP HANA Projects" view against the newly created service instance. In my package.json I already have a script for deployment to HANA Cloud: "scripts": { "hana": "cds deploy --to hana: multienv_db --auto-undeploy", and I used it to deploy my artifacts directly to the new HDI container and it worked very well.
BR
Rufat
User | Count |
---|---|
62 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.