servicecatalog / oscm

An Enterprise-ready Cloud Services Management Software.
https://openservicecatalogmanager.org
Apache License 2.0
38 stars 14 forks source link

Web Services End Points in Mock Product does not match with the ones in TomEE #7

Closed DawidCh closed 7 years ago

DawidCh commented 7 years ago

From @victorhrsilva on October 18, 2017 6:55

[Version] OSCM 17.4.0 2017/10/13 Docker image with TomEE

[How to reproduce] Try to use mockproduct app to Trigger Service Approve Action

[Expected result] Mockproduct manage to approve the process trigged via WS

[Observed result] Any operation of mock product receives connection time-out

[Details] Current WebService endpoint of docker images e.g.: http://host:port/oscm-webservices/TriggerService/BASIC

Current implementation of Mock Product: https://github.com/servicecatalog/development/blob/564e66593c9d272b8e04804410b633bc089aa203/oscm-integrationtests-mockproduct/javasrc/org/oscm/integrationtests/mockproduct/PortFactory.java#L39 https://github.com/servicecatalog/development/blob/564e66593c9d272b8e04804410b633bc089aa203/oscm-integrationtests-mockproduct/javasrc/org/oscm/integrationtests/mockproduct/PortFactory.java#L40

Copied from original issue: servicecatalog/development#865

DawidCh commented 7 years ago

From @StavrevaS on October 18, 2017 7:55

Try to use the mock product from the repository https://github.com/servicecatalog/oscm-soap-mock It is available as docker image in dockerhub. If it works, we can delete the project in the development repository.

DawidCh commented 7 years ago

From @victorhrsilva on October 19, 2017 8:27

I have pull and started the docker with docker run -d --name oscm-soap-mock -p 9680:8080 servicecatalog/oscm-soap-mock

Target URL on process trigger: http://hostname:9680/oscm-soap-mock/NotificationService?wsdl Base URL on Mock: http://hostname:8080/

Results: Status Reason
 The external system did not accept the action java.net.ConnectException: Connection timed out (Connection timed out)
DawidCh commented 7 years ago

From @StavrevaS on October 23, 2017 7:1

The docker build file should be extended to expose the necessary ports.

GoebelL commented 7 years ago

The docker build file @StavrevaS mentioned is contained https://github.com/servicecatalog/oscm-soap-mock @DawidCh Please move the issue there.

DawidCh commented 7 years ago

Issue moved to servicecatalog/oscm-soap-mock #1 via ZenHub