Created
December 20, 2012 01:19
-
-
Save itaifrenkel/4342251 to your computer and use it in GitHub Desktop.
servicegrid2 media types for restful task API
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
{ | |
"timestamp" : "1355983011", | |
"ipaddress" : "10.0.0.1", | |
"tasks" : [ "http://broker/tasks/task1.json" ], | |
"executor" : "cloud-executor" | |
} |
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
{ | |
"timestamp" : "1355983013", | |
"ipaddress" : "10.0.0.1", | |
"tasks" : [ "http://broker/tasks/task2.json" ], | |
"executor" : "cloud-executor" | |
} |
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
[ | |
"http://broker/executors/executor1/1355983011.json", | |
"http://broker/executors/executor1/1355983013.json" | |
] |
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
{ | |
"timestamp" : "1355983011", | |
"executor" : "service-executor", | |
"service-state": "starting-machine", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f" | |
} |
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
{ | |
"timestamp" : "1355983012", | |
"executor" : "service-executor", | |
"service-state": "machine-started", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2" | |
} |
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
{ | |
"timestamp" : "1355983013", | |
"ipaddress" : "10.0.0.2", | |
"executor" : "service-executor", | |
"service-state": "starting-executor", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2" | |
} |
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
{ | |
"timestamp" : "1355983014", | |
"ipaddress" : "10.0.0.2", | |
"executor" : "service-executor", | |
"service-state": "executor-started", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2", | |
"executor-pid" : "566" | |
} |
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
{ | |
"timestamp" : "1355983015", | |
"ipaddress" : "10.0.0.2", | |
"tasks" : ["http://broker/tasks/task3.json"], | |
"executor" : "service-executor", | |
"service-state": "installing-service", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2", | |
"executor-pid" : "566", | |
"service-name" : "tomcat" | |
} |
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
{ | |
"timestamp" : "1355983016", | |
"ipaddress" : "10.0.0.2", | |
"tasks" : ["http://broker/tasks/task3.json"], | |
"executor" : "service-executor", | |
"service-state": "service-installed", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2", | |
"executor-pid" : "566", | |
"service-name" : "tomcat" | |
} |
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
{ | |
"timestamp" : "1355983017", | |
"ipaddress" : "10.0.0.2", | |
"tasks" : ["http://broker/tasks/task4.json"], | |
"executor" : "service-executor", | |
"service-state": "starting-service", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2", | |
"executor-pid" : "566", | |
"service-name" : "tomcat" | |
} |
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
{ | |
"timestamp" : "1355983018", | |
"ipaddress" : "10.0.0.2", | |
"tasks" : ["http://broker/tasks/task4.json"], | |
"executor" : "service-executor", | |
"service-state": "service-started", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f", | |
"ipaddress" : "10.0.0.2", | |
"executor-pid" : "566", | |
"service-name" : "tomcat", | |
"service-pids" : ["612"] | |
} |
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
[ | |
"http://broker/executors/executor2/1355983011.json", | |
"http://broker/executors/executor2/1355983012.json", | |
"http://broker/executors/executor2/1355983013.json", | |
"http://broker/executors/executor2/1355983014.json", | |
"http://broker/executors/executor2/1355983015.json", | |
"http://broker/executors/executor2/1355983016.json", | |
"http://broker/executors/executor2/1355983017.json", | |
"http://broker/executors/executor2/1355983018.json" | |
] |
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
{ | |
"source" : "http://broker/orchestrators/orchestrator1", | |
"target" : "http://broker/executors/executor1", | |
"impersonated-target" : "http://broker/executors/executor2", | |
"execute" : "start-cloud-machine", | |
"cloud" : "aws-ec2", | |
"image" : "us-east-1/ami-1624987f" | |
} |
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
{ | |
"source" : "http://broker/orchestrators/orchestrator1", | |
"target" : "http://broker/executors/executor1", | |
"impersonated-target" : "http://broker/executors/executor2", | |
"execute" : "start-executor", | |
"executor-id" : "http://broker/executors/executor2" | |
} |
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
{ | |
"source" : "http://broker/orchestrators/orchestrator1", | |
"target" : "http://broker/executors/executor2", | |
"execute" : "install-service", | |
"service-name" : "tomcat" | |
} |
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
{ | |
"source" : "http://broker/orchestrators/orchestrator1", | |
"target" : "http://broker/executors/executor2", | |
"execute" : "start-service", | |
"service-name" : "tomcat" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment