-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Orchestrator - Single Action NetApps visibility (#171)
* WIP: refactoring of teh DeploymentService * DONE: finished extracting creational functionality to a new class * Extract linq to extension method * Change deployment order; First collect deployments and then deploy * Add env variable to connect netapps between services * Correct tests and messages when not in k8s * Rename methods, add comments * WIP: tests * Finished tests * Documentation of the network application communication enablement * Added info about future state of teh ROS based communication * Correct compilation erors after merge, remove old comments
- Loading branch information
Showing
24 changed files
with
867 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Network Application Communication | ||
|
||
This document explains how Middleware enables communication between multiple network applications that have to cooperate. | ||
|
||
## Deployment-based communication enablement | ||
|
||
By default, when Middleware deploys Network Applications, it enables basic communication between them. During the deployment, each `Task` is constructed using `Actions`. An `Action` is a singular piece of service, that allows the robot to conduct a specific function, for example, navigation and mapping. | ||
|
||
When Middleware deploys an `Action` that consists of multiple `Instances` each of the instances is informed about the existence of others. By setting the environment variables, the Middleware gives the addresses by which other Network Applications can be accessed. | ||
|
||
The environment variables are named exactly as the Network Applications they reference, but in uppercase and `_` instead of `-`. Each environment variable points to the Kubernetes Service that exposes the deployment. | ||
|
||
When the Network Application is configured by the user not to be exposed by a service, Middleware will create a default Kubernetes Service of type `ClusterIP` to enable communication using default `http` and `https` ports. | ||
|
||
## Communication of ROS-based Network Applications | ||
|
||
To be done with [#158](https://github.com/5G-ERA/middleware/issues/158) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.