Could you clarify a bit more what you mean by create DB connections?
Is it about creating DB `connection` entity inside `source` in Ataccama One Web using python?
Or is it about connecting to Ataccama One underlying database where all the metadata is stored?
Or do you want to connect to the database that is specified in Ataccama One Web using the connection of the source in python?
Or something completely different?
Hello, @Maxim Kim, Thanks for your reply.
It is about creating a DB `connection` entity inside `source` in Ataccama One Web using Python.
We have database information, such as the system name, connection name , JDBC, and credentials. So, with the help of these details, we need to create a connection (on-boarding) into Ataccama One.
(Moreover, this is for scanning the DBs.)
I would not give the exact code but the hints and a general answer as: yes it is possible (at least I belive so).
- Ataccama One uses graphql, so you can send REST requests to https://whateveyouroneinstance.com/graphql
- There is a mutation you can send that would add a new db connection to either an existing datasource or you can create a new datasource and a connection within it
- You should also be able to start profiling using the very same graphql endpoint
- python could be easily used to send those requests.
Now to get those graphql mutations would be something non-trivial…