syndesisio / syndesis-rest

The API for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis-staging.b6ff.rh-idev.openshiftapps.com/api/v1/
Apache License 2.0
6 stars 17 forks source link

swagger-ui does not use custom index.html when running in container #1

Closed KurtStam closed 7 years ago

KurtStam commented 7 years ago

Can we upgrade the openjdk version to 1.8.0_111 in the s2i container?

jimmidyson commented 7 years ago

Is that really the problem?

KurtStam commented 7 years ago

Unlikely, but I uploaded my working runtime-swagger.jar into the container, and when I run it there it does not override the swagger index.html, using

java -cp . -jar runtime-swagger.jar

in both places. So all I can think of is the difference in minor version of OpenJDK 1.8.0. I was just wondering how to test that out.

jimmidyson commented 7 years ago

This looks like ipaas runtime jar isn't being included in runtime-swarm.jar properly.

KurtStam commented 7 years ago

Yeah that's what I thought, but you can find it in _bootstrap when you extract the jar. BTW like I said, the SAME EXACT runtime-swarm.jar works fine on my machine, so it can't really be the jar.

On Thu, Dec 8, 2016 at 4:54 PM, Jimmi Dyson notifications@github.com wrote:

This looks like ipaas runtime jar isn't being included in runtime-swarm.jar properly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/redhat-ipaas/ipaas-api-java/issues/1#issuecomment-265867061, or mute the thread https://github.com/notifications/unsubscribe-auth/AACK-MlRwhDCA22L0IGwoVY3W3DszMmrks5rGHyZgaJpZM4LHbvF .

-- Kurt T. Stam

twitter: @KurtStam google+: kurt.stam@gmail.com

jimmidyson commented 7 years ago

Think again... https://github.com/redhat-ipaas/ipaas-api-java/blob/master/runtime/src/main/java/com/redhat/ipaas/runtime/Main.java#L35

Swagger fraction only supports an external jar or dir it seems.