arrowhead-f / core-java

Arrowhead Core Framework Implementation in Java
https://forge.soa4d.org/plugins/mediawiki/wiki/arrowhead-f/index.php/Main_Page
Apache License 2.0
4 stars 12 forks source link

Swagger not always working correctly at Gatekeeper #42

Open uzoltan opened 5 years ago

uzoltan commented 5 years ago

Today I've noticed that both http://arrowhead.tmit.bme.hu:8346/api/ and http://arrowhead.tmit.bme.hu:8348/api/ show the same endpoints, but the latter should show different endpoints. The actual webserver has the correct endpoints, this is only a Swagger issue. http://arrowhead2.tmit.bme.hu:8348/api/ shows the correct endpoints.

At first I could replicate the issue in my local development environment. Then I've started the Gatekeeper in the debugger, trying to see what causes the issue in GatekeeperMain. Everything looked allright, and when I checked 8448/api/, now the correct endpoints were showing. The endpoints did not change back after this on my local machine.

When I restarted the arrowhead VM, the issue is still present there. My best guess so far, that this is some kind of caching issue with Swagger, the gatekeeper core system is the only one where 2 webservers are started from the same main method.