i want to connect postgres database in inorder to read some data, currently i am connecting to database using application.properties file.
But I need to connect to data base using cumulocity json file.
please provide me with the code or sample springboot project.
This does not make any sense for the following reasons:
- the applications.properties is the properties file for the application
- cumulocity.json is a manifest file only used by the platform and does not contain any properties used by the application
Hi @Stefan_Witschel ,
i i want read the data which is declared in cumulocity.json file. in java springboot application
I have the following data in cumulocity.json file.
i want to read default value using the key. in java springboot microservice.
help me with this
They are persisted on initial deployment in the Tenant Options.
You can read them there as well on startup:
Just to clarify some misassumption: You don’t need to connect to any database, you just need to access the API which is part of the SDK.