Providing external endpoint for Service Flavors #119
Labels
enhancement
Improvements or request
feature
New feature
low priority
Low priority issue
question
Further information is requested
Milestone
Hi folks.
In the last few releases, the Service Flavor has been implemented and partially tested.
I'm currently skipping all the details that have been already provided by @andreacv98 in several occasions and I will try to summarize the details in schemas.
Current situation
The current design and implementation has the following schema.
Please, bare in your mind that the REAR ends after the colored boxes.
What I want to point out in this issue is that we have two possible scenarios in this implementation that depends on how the Service is consumed (the blue arrows depicted into the schema):
hostingPolicy=Provider
).hostingPolicy=Consumer
).We can differentiate this approach by looking both the type of Liqo Peering and by the way the Service is consumed.
Please note the aterisks:
*Provider-to-Consumer-peering: this is needed when
hostingPolicy=Consumer
.**Consumer-to-Provider-peering: this is needed when
hostingPolicy=Provider
.However, some feedback has been received in order to support an additional scenario.
Extended solution
The scenario that come out from other people feedback is when having services that are hosted on external endpoint, neither on the Provider nor on the Consumer.
One example could be an application that has both a client and a server component, where we would need to install only the client.
So, a schema that follows this idea would be looking like the following shcema
![external_endpoint drawio](https://private-user-images.githubusercontent.com/24370687/378889171-091ab70e-e8f2-4f6d-ae90-44239cc05b18.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzA2MzksIm5iZiI6MTczOTA3MDMzOSwicGF0aCI6Ii8yNDM3MDY4Ny8zNzg4ODkxNzEtMDkxYWI3MGUtZThmMi00ZjZkLWFlOTAtNDQyMzljYzA1YjE4LnN2Zz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAzMDUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4NDNlNjJkNDBhOTVhNGFkODFhY2YwYTZhOGU4NTNmNTQyN2Q0Y2UyMTU0YjAwYzcyNDUwMGU5OGVkMmYwMmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.erdfjmMkfwRvaFjg19-GHAjTswfBtqtD1Oqkxcwhsho)
Please, note that the REAR protocol involves only the Consumer and the Provider.
The External Endpoint is a third actor that is not involved into the protocol and it just provide access to a Service advertised and negotiated by the Provider.
Here, the Provider mainly acts as a broker to a third-party Service.
In this case, we could decide whether is worth it to specify a different hostingPolicy (e.g.
hostingPolicy=External
) or to assume a Service as External when no hostingPolicy is specified.Waiting for any feedback you may have.
Thanks,
Francesco
The text was updated successfully, but these errors were encountered: