Card 276

Basic functionalities to pull 'publish-gear-endpoint' logic into the platform.
In doing so, we now use 'connection-type' argument to ensure that we check both the connection name and the type.
Merge pull request #2201 from BanzaiMan/dev/hasari/c276

Merged by openshift-bot