components-registry-service-client dependency must be added along with components-registry-service-core dependency if one want to use client. It is totally inconvenient. components-registry-service-core should be an api and not an implementation dependency.
Also it's better to add org.octopusden.octopus.releng:versions-api as and api dependency and enhance rest/api/2/common/version-names to return org.octopusden.releng.versions.VersionNames serialized instance instead of simple map.
https://github.com/octopusden/octopus-components-registry-service/blob/02a14ed2ad4e507fb875e59a0be8a8b998ed17f7/components-registry-service-client/build.gradle#L9
components-registry-service-client
dependency must be added along withcomponents-registry-service-core
dependency if one want to use client. It is totally inconvenient.components-registry-service-core
should be anapi
and not animplementation
dependency.Also it's better to add
org.octopusden.octopus.releng:versions-api
as andapi
dependency and enhancerest/api/2/common/version-names
to return org.octopusden.releng.versions.VersionNames serialized instance instead of simple map.