eclipse-researchlabs / scava-deployment

This repository contains the Docker configuration files for the deployment of Scava platform
Eclipse Public License 2.0
2 stars 0 forks source link

acessing various services by name instead of port #2

Open davidediruscio opened 4 years ago

davidediruscio commented 4 years ago

As mentioned in this thread, at some point it would be nice if we provide a normalized way to access the various services by context instead of ports:

Admin UI - https://instance.ltd/admin Prosoul - https://instance.ltd/prosoul APIs - https://instance.ltd/api

Might be implemented as a reverse proxy config...

davidediruscio commented 4 years ago

Might be a task relevant to scava-deployment instead...

davidediruscio commented 4 years ago

Hi @mhow2 the api gateway component has been conceived exactly for that purpose. It should be just a matter of properly configuring it by means of the file

https://github.com/crossminer/scava/blob/dev/api-gateway/org.eclipse.scava.apigateway/application.properties

Il giorno ven 14 dic 2018 alle ore 11:17 mhow2 notifications@github.com ha scritto:

As mentioned in this thread https://www.eclipse.org/lists/scava-dev/msg00042.html, at some point it would be nice if we provide a normalized way to access the various services by context instead of ports:

Admin UI - https://instance.ltd/admin Prosoul - https://instance.ltd/prosoul APIs - https://instance.ltd/api

Might be implemented as a reverse proxy config...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crossminer/scava-deployment/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AB7wEIQWVV9Xk0YlbuuLkLQyNIP03x4_ks5u43qigaJpZM4ZTQCr .

--

Davide Di Ruscio, PhD in Computer Science Assistant Professor Department of Information Engineering Computer Science and Mathematics University of L'Aquila Via Vetoio, Coppito I-67010 L'Aquila (Italy) Email: davide.diruscio@univaq.it WWW: http://www.di.univaq.it/diruscio Skype: davidediruscio Twitter: DDiRuscio

davidediruscio commented 4 years ago

@davidediruscio : here I'm talking about all the public URLs, not especially the APIs which is another layer (to me) : because we would like to have everything served on a single public port, including APIs and various web UIs

We could have https://instance.ltd/api mapped to the API Gateway, then the API Gateway would be able to route https://instance.ltd/api/administration to the good service/endpoint. https://instance.ltd/api/kb to the knowledge base port 8080 Etc.

davidediruscio commented 4 years ago

Yes, good point! Thanks.