* { font-size: 13px; font-family: 'MS Pゴシック', sans-serif;}p, ul, ol, blockquote
{ margin: 0;}a { color: #0064c8; text-decoration: none;}a:hover { color:
#0057af; text-decoration: underline;}a:active { color: #004c98;}
Hi all,
I have a question regarding Apache Hop Web Service.
If you happen to have a free moment, I'd be very grateful if you could give me
your comment.
***********************************************************************************************************************
・Environment
Windows 10 Pro 21 H2
Apache Hop 1.2.0
Adopt Open JDK 11.0.11
(I don't use any container.)
・Phenomenon
I'm trying to run the pipeline with the REST API by referring to the following
site.
https://hop.apache.org/manual/latest/hop-server/web-service.html
It seems that REST API can pass some parameters to pipeline according to
Request Example.
However, in my environment, it didn't work correctly.
I'd like to set the parameters of the pipeline using URI, but even if I include
the parameters in the URI, the pipeline is executed with the default values.
The re-procedure is shown below, so please correct me if I'm wrong.
- Launch the Hop GUI by clicking [hop-gui.bat].
- Create and define a pipeline(named [test1]) with a parameter (named
[ValueA]).(the default value is [TestA].)
- Create and define the WebService MetaData by following the above site.
- Launch the HOP Server by clicking [hop-server.bat] with a config that
contains the metadafa folder.
- Launch a command prompt with administrator privileges and execute the
following command.
curl --anyauth --user cluster:cluster -X GET
http://localhost:8083/hop/webService/?service=test1&ValueA=TestB
6.The pipeline runs and finish, but the parameter [ValueA] remains the deafult
value(TestA) , not TestB.
***********************************************************************************************************************
Kind regards,
Light