-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic parsing working, also some cleanup
- Loading branch information
Showing
4 changed files
with
59 additions
and
27 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
13 changes: 12 additions & 1 deletion
13
frontend/src/main/scala/edu/berkeley/cs/sdb/Deployment.scala
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 |
---|---|---|
@@ -1,4 +1,15 @@ | ||
package edu.berkeley.cs.sdb | ||
|
||
case class Deployment(entity: String, spawnPointUris: Seq[String], services: Seq[Service], | ||
/** | ||
* A collection of Spawnpoint services that form a cohesive deployment | ||
* @param entity The Bosswave entity to use for container deployment to Spawnpoint instances | ||
* @param spawnPointUris Bosswave base URIs for the Spawnpoints to deploy to. May identify particular | ||
* spawnpoint instances or express a base URI under which multiple Spawnpoints | ||
* reside. | ||
* @param dependencies External services that this deployment requires to function. | ||
* @param services A list of specifications for the services to be deployed. | ||
* @param topology The relationships between the deployment's services, i.e. an expression of | ||
* which services rely upon each other to function properly. | ||
*/ | ||
case class Deployment(entity: String, spawnPointUris: Seq[String], dependencies: Seq[String], services: Seq[Service], | ||
topology: Seq[(String, String)]) |
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