Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
None
-
None
-
All
-
-
Small
Description
There are two different endpoints for listing components in TCOMP, and only one supports filters.
For example, the following works with filters:
http://localhost:8989/tcomp/definitions/components?executionEngine=BEAM&typology=TRANSFORMER
But the following returns all components and the parameters are quietly ignored:
http://localhost:8989/tcomp/definitions/COMPONENT?executionEngine=BEAM&typology=TRANSFORMER
These should be consistent, and preferably offer one endpoint instead of two that do the same thing.
For both cases, the documentation at https://github.com/Talend/components/wiki/7.-Components-REST-service#list-component-definitions is wrong.