cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating PostgreSQL OData in BAS.

0 Likes
1,991

How to create PostgreSQL OData in SAP Mobile Development Kit through BAS and How to get as a service in Cloud Foundry.

View Entire Topic
Hai-lin_Wei
Product and Topic Expert
Product and Topic Expert

Hello Dirisinala,
Here we can input a PostgreSQL instance name which is existing in Cloud Foundry, if it hasn't been created yet. Please try to create one in CF.

Please note:

1. if can't find 'PostgreSQL, hyperscaler option' in Service Marketplace of subaccount, Then global account administrator should assign 'PostgreSQL, hyperscaler option | postgresql-db' service firstly in BTP Control Center(https://controlcenter.ondemand.com/index.html), then configure entitlement in BTP cockpit page.

2. service 'PostgreSQL' in Service Marketplace is deprecated now. (avoid using it.)

3. you can find "-bind", "pgsql:<your pgsql instance name>", in the created tasks.json. see more details, please refer https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/getting-started...

4. run csdl-to-war task in BAS will deploy the metadata as odata service finally.

Thanks
Hai-lin.wei

0 Likes

Hi Hai-lin Wei,

I am facing this below error after running Csdl-to-war: