Created
January 25, 2017 18:44
-
-
Save ConnorRigby/977c058bedead647998b08109cacf2ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
// these are the "user accessable" processes. things can only be started if they | |
// are indexed in here. | |
process_info: { | |
events: [ | |
{name: "user friendly tag?", uuid: "1234-asdf-1111", status: "running"}, | |
{name: ":+1:", uuid: "6767-1234-asdf", status: "fuuuuu"} | |
], | |
regimens: [ | |
{name: "water plants @ 4:00 pm", uuid: "1111-aaaa-1234", status: "failed"} | |
], | |
farmwares: [ | |
{name: "herp derp", uuid: "1234-abcd-6789", status: "nothing to see here"} | |
] | |
} | |
} | |
// celery script nodes would be | |
{ | |
kind: "start_process", args: {uuid: "1234-abcd-6789"} | |
} | |
{ | |
kind: "stop_process", args: {uuiid: "1234-asdf-1111"} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment