ot4i / ace-docker

73 stars 167 forks source link

How to add the datasource.json file to define a connection to a postgres database #162

Closed mariaelisacf closed 1 year ago

mariaelisacf commented 3 years ago

I want to use the LoopbackRequest node to connect to a Postgres database, however, I don't know where to add the datasource.json file and the models.

tdolby-at-uk-ibm-com commented 2 years ago

I think the v12 docs at https://www.ibm.com/docs/en/app-connect/12.0?topic=connectors-configuring-data-source-models-your-loopback-connector should provide the right info, though they're written with integration nodes in mind and therefore talk about "workpath" quite a bit. The container workpath is /home/aceuser/ace-server/config and the search order from the docs should be correct.

trevor-dolby-at-ibm-com commented 1 year ago

@mariaelisacf As well as the docs linked above, Dale Lane has created an example Tekton pipeline at https://github.com/dalelane/app-connect-tekton-pipeline that uses Postgres and creates the right files for that.

IBMRob commented 1 year ago

This repo has been updated to provide a new ACE image. If you think this issue is still applicable please re-open.

For general ACE enquiries please use https://community.ibm.com/community/user/integration/communities/community-home/digestviewer?communitykey=77544459-9fda-40da-ae0b-fc8c76f0ce18