-
Work Item
-
Resolution: Done
-
Minor
-
None
-
All
-
GreenHopper Ranking:0|i28jnn:
-
9223372036854775807
-
Small
In TPRUN-1954 we would like to build a rest call to component-server running in the engine (gen 2, ce4d) to fetch the connectors global version (the one of the docker image actually).
Assuming that from the mounted filesystem used to load the components there'll be a CONNECTORS_VERSION file that will contain a string (the version)
Feature: Read the connectors version in an engine Scenario: connectors version is read on Given component-server runs on port 8686 And the /opt/talend/connectors/CONNECTORS_VERSION exists And the /opt/talend/connectors/CONNECTORS_VERSION content is 1.26 When one calls http://component-server:8686/api/v1/environment Then an http 200 should be returned And the body should contain a json object And there should a "connectors" object that contains the version field equals to 1.26
if the file has not been found then the connectors object with "version";"unknown" is ok.
from the consumer side (engine-info service running on TC side) it would be very nice to have something like
{....., "connectors": {"version": "1.26"}....}
- is related to
-
TCOMP-1997 Enable plugins reloading according criteria
- Done
-
TCOMP-2007 connectors as a json object in Environment
- Done