Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-29964

is not possible to access to the spring-resteasy QS on the OpenShift

XMLWordPrintable

      After successful deploy to OpenShift I see it is done and the POD with the application is ready 

      oc get deployment spring-resteasy
      NAME              READY   UP-TO-DATE   AVAILABLE   AGE
      spring-resteasy   1/1     1            1           61m 

      But when i try to access the application it always return the 404 error code. Same also for integration tests. 

       mvn verify -Pintegration-testing -Dserver.host=https://$(oc get route spring-resteasy --template='{{ .spec.host }}')/spring-resteasy
      .
      .
      .
      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR]   BasicRuntimeIT.testHTTPEndpointIsAvailable:57 expected:<200> but was:<404>
      [ERROR]   ResteasySpringIT.testHelloSpringResource:72 expected:<200> but was:<404>
      [ERROR]   ResteasySpringIT.testLocatingResource:146 expected:<200> but was:<404>
      [INFO] 
      [ERROR] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0
       

              rh-ee-mskaceli Marek Skacelik
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: