Include SSH properties in shared dataSources.xml?

Summary: Any way of storing the SSH config for each datasource inside the project?

Background

As a team we have just started using DataGrip. We have a shared project in a git repo that all developers have read access to.

Inside our shared project, we have a dataSources.xml file that defines our sources (prod, staging, qa, dev, etc) and to connect to each we also have corresponding SSH tunnel configs in sshConfigs.xml.

We would like to have it so that the link between the dataSource and its corresponding SSH config is stored in the project in git, so that any updates or new source/sshconfig pairs can be made centrally and picked up automatically by everyone with read access. However, this info does not seem to be stored in the project, meaning that developers have to manually set the SSH config for each datasource when they check-out or when a change is made.

Request

Is there a way to store not only the dataSources and sshConfigs in the git project, but also store the link between them?

We have attempted to add the correct <ssh-properties> to the <data-source> node manually but it doesn't appear to work (the <ssh-properties> node gets stripped out):

<data-source source="LOCAL" name="Production Server" uuid="...uid...">
   ...other properties...
	<ssh-properties>
		<enabled>true</enabled>
		<ssh-config-id>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/ssh-config-id>
	</ssh-properties>
</data-source>
0

Hi Mark James  

We have created a feature request for linking files: 

https://youtrack.jetbrains.com/issue/DBE-20104/Store-the-link-between-the-dataSources.xml-and-sshConfig-files

Please feel free to follow and upvote so it can get more attention.

0

Hi Mark James  

We have created a feature request for linking files: 

https://youtrack.jetbrains.com/issue/DBE-20104/Store-the-link-between-the-dataSources.xml-and-sshConfig-filesDrift Boss

Please feel free to follow and upvote so it can get more attention.

all right

0

请先登录再写评论。