Giter Site home page Giter Site logo

calculator-ws's Introduction

Calculator JAX-WS container for testing WS clients

Configuration

ADD_TO_RESULT

You can pass -e ADD_TO_RESULT=1 to the container to get a service instance behaving slightly differently. This might be useful when testing multiple clients accessing distinct remote endpoints that implement the same interface.

BASIC_AUTH_USER and BASIC_AUTH_PASSWORD (optional)

You can use these to set the credentials for HTTP BASIC authentication on BasicAuthCalculatorService.

WSS_USER and WSS_PASSWORD

You can use these to set password of WssCalculatorService.

calculator-ws's People

Contributors

balavva-mirji avatar llowinge avatar ppalaga avatar shumonsharif avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

calculator-ws's Issues

File permissions problems when updating /opt/jboss/wildfly/domain/configuration/application-users.properties after we added OpenShift support

This happens in camel Quarkus main 38f4e54e0818d91629c176262111279242b96d05 after #9:

cd integration-test-groups/cxf-soap/cxf-soap-client
mvnd clean test -Dtest=CxfSoapClientTest#basicAuthClient
2023-05-03 11:29:23,200 INFO  [๐Ÿณ .io/.1]] (pool-2-thread-1) Creating container for image: quay.io/l2x6/calculator-ws:1.1
2023-05-03 11:29:23,294 INFO  [๐Ÿณ .io/.1]] (pool-2-thread-1) Container quay.io/l2x6/calculator-ws:1.1 is starting: c8fa87f0c432fda916e340b49b4503d6b50e606de1f00f3f0c5c773d5bc43b7f
2023-05-03 11:29:23,726 INFO  [org.tes.con.wai.str.HttpWaitStrategy] (pool-2-thread-1) /heuristic_kapitsa: Waiting for 60 seconds for URL: http://localhost:32768/calculator-ws/CalculatorService?wsdl (where port 32768 maps to container port 8080)
2023-05-03 11:29:24,470 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT: 
2023-05-03 11:29:24,475 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT:  * Error * 
2023-05-03 11:29:24,476 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT: WFLYDM0106: File permissions problems found while attempting to update /opt/jboss/wildfly/domain/configuration/application-users.properties file.
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT: 
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: Exception in thread "main" org.jboss.as.domain.management.security.adduser.AddUserFailedException: WFLYDM0106: File permissions problems found while attempting to update /opt/jboss/wildfly/domain/configuration/application-users.properties file.
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at [email protected]//org.jboss.as.domain.management.security.adduser.ErrorState.execute(ErrorState.java:72)
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at [email protected]//org.jboss.as.domain.management.security.adduser.AddUser.run(AddUser.java:133)
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at [email protected]//org.jboss.as.domain.management.security.adduser.AddUser.main(AddUser.java:233)
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at org.jboss.modules.Module.run(Module.java:353)
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at org.jboss.modules.Module.run(Module.java:321)
2023-05-03 11:29:24,477 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDERR: 	at org.jboss.modules.Main.main(Main.java:604)
2023-05-03 11:29:24,800 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT: =========================================================================
2023-05-03 11:29:24,805 INFO  [org.apa.cam.qua.com.cxf.soa.cli.it.CxfClientTestResource] (docker-java-stream--834586101) STDOUT: 

It is caused by the recent change #9 in the test container by @llowinge I'll have to revert it.

I am going to reset 1.1 to the state before #9 and will set up 1.2 branch with #9 merged. @llowinge would you please then find a solution for 1.2?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.