legionio 0.3.2 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +27 -10
- data/.gitignore +1 -0
- data/.rubocop.yml +7 -2
- data/CHANGELOG.md +21 -0
- data/Dockerfile +9 -0
- data/README.md +157 -45
- data/Rakefile +0 -6
- data/bitbucket-pipelines.yml +16 -52
- data/docker_deploy.rb +10 -0
- data/exe/legion +3 -51
- data/exe/legionio +53 -0
- data/exe/lex_gen +5 -0
- data/{legion.gemspec → legionio.gemspec} +25 -20
- data/lib/legion.rb +4 -0
- data/lib/legion/cli.rb +56 -0
- data/lib/legion/cli/chain.rb +35 -0
- data/lib/legion/cli/cohort.rb +10 -0
- data/lib/legion/cli/function.rb +41 -0
- data/lib/legion/cli/lex/actor.rb +31 -0
- data/lib/legion/cli/lex/exchange.rb +32 -0
- data/lib/legion/cli/lex/message.rb +32 -0
- data/lib/legion/cli/lex/queue.rb +45 -0
- data/lib/legion/cli/lex/runner.rb +70 -0
- data/lib/legion/cli/lex/templates/actor.erb +6 -0
- data/{docs/_build/html/_sources/overview.rst.txt → lib/legion/cli/lex/templates/actor_spec.erb} +0 -0
- data/lib/legion/cli/lex/templates/base/bitbucket.yml.erb +69 -0
- data/lib/legion/cli/lex/templates/base/gemfile.erb +3 -0
- data/lib/legion/cli/lex/templates/base/gemspec.erb +26 -0
- data/lib/legion/cli/lex/templates/base/gitignore.erb +11 -0
- data/lib/legion/cli/lex/templates/base/lex.erb +9 -0
- data/lib/legion/cli/lex/templates/base/lex_spec.erb +5 -0
- data/lib/legion/cli/lex/templates/base/lic.erb +21 -0
- data/lib/legion/cli/lex/templates/base/rakefile.erb +6 -0
- data/lib/legion/cli/lex/templates/base/readme.md.erb +2 -0
- data/lib/legion/cli/lex/templates/base/rubocop.yml.erb +15 -0
- data/lib/legion/cli/lex/templates/base/spec_helper.rb.erb +11 -0
- data/lib/legion/cli/lex/templates/base/version.erb +7 -0
- data/lib/legion/cli/lex/templates/exchange.erb +11 -0
- data/lib/legion/cli/lex/templates/exchange_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/message.erb +23 -0
- data/lib/legion/cli/lex/templates/message_spec.erb +0 -0
- data/lib/legion/cli/lex/templates/queue.erb +12 -0
- data/lib/legion/cli/lex/templates/queue_helper.erb +24 -0
- data/lib/legion/cli/lex/templates/queue_spec.erb +11 -0
- data/lib/legion/cli/lex/templates/runner.erb +11 -0
- data/lib/legion/cli/lex/templates/runner_spec.erb +11 -0
- data/lib/legion/cli/relationship.rb +22 -0
- data/lib/legion/cli/task.rb +49 -0
- data/lib/legion/cli/trigger.rb +88 -0
- data/lib/legion/cli/version.rb +5 -0
- data/lib/legion/extensions.rb +35 -1
- data/lib/legion/extensions/actors/base.rb +0 -2
- data/lib/legion/extensions/actors/poll.rb +0 -1
- data/lib/legion/extensions/actors/subscription.rb +1 -0
- data/lib/legion/extensions/core.rb +9 -4
- data/lib/legion/extensions/helpers/base.rb +3 -3
- data/lib/legion/extensions/helpers/logger.rb +3 -6
- data/lib/legion/extensions/helpers/task.rb +1 -1
- data/lib/legion/lex.rb +89 -0
- data/lib/legion/service.rb +34 -3
- data/lib/legion/version.rb +1 -1
- metadata +196 -82
- data/bin/console +0 -16
- data/bin/legion +0 -49
- data/bin/setup +0 -8
- data/bin/test +0 -32
- data/docs/Makefile +0 -20
- data/docs/_build/doctrees/environment.pickle +0 -0
- data/docs/_build/doctrees/index.doctree +0 -0
- data/docs/_build/doctrees/overview.doctree +0 -0
- data/docs/_build/html/.buildinfo +0 -4
- data/docs/_build/html/_sources/index.rst.txt +0 -28
- data/docs/_build/html/_static/alabaster.css +0 -701
- data/docs/_build/html/_static/basic.css +0 -855
- data/docs/_build/html/_static/custom.css +0 -1
- data/docs/_build/html/_static/doctools.js +0 -315
- data/docs/_build/html/_static/documentation_options.js +0 -12
- data/docs/_build/html/_static/file.png +0 -0
- data/docs/_build/html/_static/jquery-3.5.1.js +0 -10872
- data/docs/_build/html/_static/jquery.js +0 -2
- data/docs/_build/html/_static/language_data.js +0 -297
- data/docs/_build/html/_static/minus.png +0 -0
- data/docs/_build/html/_static/plus.png +0 -0
- data/docs/_build/html/_static/pygments.css +0 -82
- data/docs/_build/html/_static/searchtools.js +0 -514
- data/docs/_build/html/_static/underscore-1.3.1.js +0 -999
- data/docs/_build/html/_static/underscore.js +0 -31
- data/docs/_build/html/genindex.html +0 -101
- data/docs/_build/html/index.html +0 -117
- data/docs/_build/html/objects.inv +0 -6
- data/docs/_build/html/overview.html +0 -98
- data/docs/_build/html/search.html +0 -110
- data/docs/_build/html/searchindex.js +0 -1
- data/docs/conf.py +0 -54
- data/docs/index.rst +0 -28
- data/docs/make.bat +0 -35
- data/lib/legion/exceptions/handled_task.rb +0 -6
- data/lib/legion/exceptions/invalidjson.rb +0 -5
- data/lib/legion/exceptions/missingargument.rb +0 -6
- data/lib/legion/exceptions/wrongtype.rb +0 -10
- data/lib/legion/exceptions/wrongtypes/array.rb +0 -8
- data/lib/legion/exceptions/wrongtypes/hash.rb +0 -8
- data/lib/legion/exceptions/wrongtypes/integer.rb +0 -8
- data/lib/legion/exceptions/wrongtypes/string.rb +0 -8
@@ -1,31 +0,0 @@
|
|
1
|
-
// Underscore.js 1.3.1
|
2
|
-
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
|
3
|
-
// Underscore is freely distributable under the MIT license.
|
4
|
-
// Portions of Underscore are inspired or borrowed from Prototype,
|
5
|
-
// Oliver Steele's Functional, and John Resig's Micro-Templating.
|
6
|
-
// For all details and documentation:
|
7
|
-
// http://documentcloud.github.com/underscore
|
8
|
-
(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source==
|
9
|
-
c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,
|
10
|
-
h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each=
|
11
|
-
b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a==
|
12
|
-
null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=
|
13
|
-
function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e=
|
14
|
-
e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck=
|
15
|
-
function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})});
|
16
|
-
return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,
|
17
|
-
c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest=
|
18
|
-
b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]);
|
19
|
-
return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,
|
20
|
-
d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};
|
21
|
-
var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,
|
22
|
-
c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true:
|
23
|
-
a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};
|
24
|
-
b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments,
|
25
|
-
1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};
|
26
|
-
b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};
|
27
|
-
b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.mixin=function(a){j(b.functions(a),
|
28
|
-
function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+
|
29
|
-
u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]=
|
30
|
-
function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=
|
31
|
-
true;return this};m.prototype.value=function(){return this._wrapped}}).call(this);
|
@@ -1,101 +0,0 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
|
4
|
-
<html>
|
5
|
-
<head>
|
6
|
-
<meta charset="utf-8" />
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8
|
-
<title>Index — LegionIO 0.3.1 documentation</title>
|
9
|
-
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
10
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
11
|
-
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
12
|
-
<script src="_static/jquery.js"></script>
|
13
|
-
<script src="_static/underscore.js"></script>
|
14
|
-
<script src="_static/doctools.js"></script>
|
15
|
-
<script src="_static/language_data.js"></script>
|
16
|
-
<link rel="index" title="Index" href="#" />
|
17
|
-
<link rel="search" title="Search" href="search.html" />
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
20
|
-
|
21
|
-
|
22
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
23
|
-
|
24
|
-
</head><body>
|
25
|
-
|
26
|
-
|
27
|
-
<div class="document">
|
28
|
-
<div class="documentwrapper">
|
29
|
-
<div class="bodywrapper">
|
30
|
-
|
31
|
-
|
32
|
-
<div class="body" role="main">
|
33
|
-
|
34
|
-
|
35
|
-
<h1 id="index">Index</h1>
|
36
|
-
|
37
|
-
<div class="genindex-jumpbox">
|
38
|
-
|
39
|
-
</div>
|
40
|
-
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
47
|
-
<div class="sphinxsidebarwrapper">
|
48
|
-
<h1 class="logo"><a href="index.html">LegionIO</a></h1>
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<h3>Navigation</h3>
|
58
|
-
|
59
|
-
<div class="relations">
|
60
|
-
<h3>Related Topics</h3>
|
61
|
-
<ul>
|
62
|
-
<li><a href="index.html">Documentation overview</a><ul>
|
63
|
-
</ul></li>
|
64
|
-
</ul>
|
65
|
-
</div>
|
66
|
-
<div id="searchbox" style="display: none" role="search">
|
67
|
-
<h3 id="searchlabel">Quick search</h3>
|
68
|
-
<div class="searchformwrapper">
|
69
|
-
<form class="search" action="search.html" method="get">
|
70
|
-
<input type="text" name="q" aria-labelledby="searchlabel" />
|
71
|
-
<input type="submit" value="Go" />
|
72
|
-
</form>
|
73
|
-
</div>
|
74
|
-
</div>
|
75
|
-
<script>$('#searchbox').show(0);</script>
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
<div class="clearer"></div>
|
87
|
-
</div>
|
88
|
-
<div class="footer">
|
89
|
-
©2020, Esity.
|
90
|
-
|
91
|
-
|
|
92
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.2.1</a>
|
93
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</body>
|
101
|
-
</html>
|
data/docs/_build/html/index.html
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
|
4
|
-
<html>
|
5
|
-
<head>
|
6
|
-
<meta charset="utf-8" />
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8
|
-
<title>LegionIO Overview — LegionIO 0.3.1 documentation</title>
|
9
|
-
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
10
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
11
|
-
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
12
|
-
<script src="_static/jquery.js"></script>
|
13
|
-
<script src="_static/underscore.js"></script>
|
14
|
-
<script src="_static/doctools.js"></script>
|
15
|
-
<script src="_static/language_data.js"></script>
|
16
|
-
<link rel="index" title="Index" href="genindex.html" />
|
17
|
-
<link rel="search" title="Search" href="search.html" />
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
20
|
-
|
21
|
-
|
22
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
23
|
-
|
24
|
-
</head><body>
|
25
|
-
|
26
|
-
|
27
|
-
<div class="document">
|
28
|
-
<div class="documentwrapper">
|
29
|
-
<div class="bodywrapper">
|
30
|
-
|
31
|
-
|
32
|
-
<div class="body" role="main">
|
33
|
-
|
34
|
-
<div class="section" id="legionio-overview">
|
35
|
-
<h1>LegionIO Overview<a class="headerlink" href="#legionio-overview" title="Permalink to this headline">¶</a></h1>
|
36
|
-
<div class="section" id="about">
|
37
|
-
<h2>About<a class="headerlink" href="#about" title="Permalink to this headline">¶</a></h2>
|
38
|
-
<p>LegionIO is a platform designed for connecting things. You install a LEX(Legion Extension)
|
39
|
-
which adds functionality to your Legion service?project?cluster? Whatever it’s called.</p>
|
40
|
-
<p>A LEX contains 1 or more runners. Think of them as classes
|
41
|
-
A runner contains 1 or more functions. These are the things you can call and make relationships out of
|
42
|
-
Example</p>
|
43
|
-
<ul class="simple">
|
44
|
-
<li><p>Lex: pagerduty</p></li>
|
45
|
-
<li><p>Runners: incident, user, service</p></li>
|
46
|
-
<li><p>Functions within the incident runner: trigger, acknowledge, resolve, merge</p></li>
|
47
|
-
<li><p>Functions within the services runner: create, delete, update, list, get</p></li>
|
48
|
-
</ul>
|
49
|
-
<p>Any function can be a trigger or an action(the input or output in the relationship).</p>
|
50
|
-
<p>Legion works by creating chains of relationships to make make a complex workflow without complex yaml</p>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
60
|
-
<div class="sphinxsidebarwrapper">
|
61
|
-
<h1 class="logo"><a href="#">LegionIO</a></h1>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<h3>Navigation</h3>
|
71
|
-
|
72
|
-
<div class="relations">
|
73
|
-
<h3>Related Topics</h3>
|
74
|
-
<ul>
|
75
|
-
<li><a href="#">Documentation overview</a><ul>
|
76
|
-
</ul></li>
|
77
|
-
</ul>
|
78
|
-
</div>
|
79
|
-
<div id="searchbox" style="display: none" role="search">
|
80
|
-
<h3 id="searchlabel">Quick search</h3>
|
81
|
-
<div class="searchformwrapper">
|
82
|
-
<form class="search" action="search.html" method="get">
|
83
|
-
<input type="text" name="q" aria-labelledby="searchlabel" />
|
84
|
-
<input type="submit" value="Go" />
|
85
|
-
</form>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
<script>$('#searchbox').show(0);</script>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
<div class="clearer"></div>
|
100
|
-
</div>
|
101
|
-
<div class="footer">
|
102
|
-
©2020, Esity.
|
103
|
-
|
104
|
-
|
|
105
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.2.1</a>
|
106
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
107
|
-
|
108
|
-
|
|
109
|
-
<a href="_sources/index.rst.txt"
|
110
|
-
rel="nofollow">Page source</a>
|
111
|
-
</div>
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</body>
|
117
|
-
</html>
|
@@ -1,98 +0,0 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
|
4
|
-
<html>
|
5
|
-
<head>
|
6
|
-
<meta charset="utf-8" />
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8
|
-
<title><no title> — LegionIO 0.3.1 documentation</title>
|
9
|
-
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
10
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
11
|
-
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
12
|
-
<script src="_static/jquery.js"></script>
|
13
|
-
<script src="_static/underscore.js"></script>
|
14
|
-
<script src="_static/doctools.js"></script>
|
15
|
-
<script src="_static/language_data.js"></script>
|
16
|
-
<link rel="index" title="Index" href="genindex.html" />
|
17
|
-
<link rel="search" title="Search" href="search.html" />
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
20
|
-
|
21
|
-
|
22
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
23
|
-
|
24
|
-
</head><body>
|
25
|
-
|
26
|
-
|
27
|
-
<div class="document">
|
28
|
-
<div class="documentwrapper">
|
29
|
-
<div class="bodywrapper">
|
30
|
-
|
31
|
-
|
32
|
-
<div class="body" role="main">
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
</div>
|
37
|
-
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
41
|
-
<div class="sphinxsidebarwrapper">
|
42
|
-
<h1 class="logo"><a href="index.html">LegionIO</a></h1>
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<h3>Navigation</h3>
|
52
|
-
|
53
|
-
<div class="relations">
|
54
|
-
<h3>Related Topics</h3>
|
55
|
-
<ul>
|
56
|
-
<li><a href="index.html">Documentation overview</a><ul>
|
57
|
-
</ul></li>
|
58
|
-
</ul>
|
59
|
-
</div>
|
60
|
-
<div id="searchbox" style="display: none" role="search">
|
61
|
-
<h3 id="searchlabel">Quick search</h3>
|
62
|
-
<div class="searchformwrapper">
|
63
|
-
<form class="search" action="search.html" method="get">
|
64
|
-
<input type="text" name="q" aria-labelledby="searchlabel" />
|
65
|
-
<input type="submit" value="Go" />
|
66
|
-
</form>
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
<script>$('#searchbox').show(0);</script>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
<div class="clearer"></div>
|
81
|
-
</div>
|
82
|
-
<div class="footer">
|
83
|
-
©2020, Esity.
|
84
|
-
|
85
|
-
|
|
86
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.2.1</a>
|
87
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
88
|
-
|
89
|
-
|
|
90
|
-
<a href="_sources/overview.rst.txt"
|
91
|
-
rel="nofollow">Page source</a>
|
92
|
-
</div>
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
</body>
|
98
|
-
</html>
|
@@ -1,110 +0,0 @@
|
|
1
|
-
|
2
|
-
<!DOCTYPE html>
|
3
|
-
|
4
|
-
<html>
|
5
|
-
<head>
|
6
|
-
<meta charset="utf-8" />
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
8
|
-
<title>Search — LegionIO 0.3.1 documentation</title>
|
9
|
-
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
10
|
-
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
11
|
-
|
12
|
-
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
13
|
-
<script src="_static/jquery.js"></script>
|
14
|
-
<script src="_static/underscore.js"></script>
|
15
|
-
<script src="_static/doctools.js"></script>
|
16
|
-
<script src="_static/language_data.js"></script>
|
17
|
-
<script src="_static/searchtools.js"></script>
|
18
|
-
<link rel="index" title="Index" href="genindex.html" />
|
19
|
-
<link rel="search" title="Search" href="#" />
|
20
|
-
<script src="searchindex.js" defer></script>
|
21
|
-
|
22
|
-
|
23
|
-
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
24
|
-
|
25
|
-
|
26
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
27
|
-
|
28
|
-
|
29
|
-
</head><body>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="document">
|
33
|
-
<div class="documentwrapper">
|
34
|
-
<div class="bodywrapper">
|
35
|
-
|
36
|
-
|
37
|
-
<div class="body" role="main">
|
38
|
-
|
39
|
-
<h1 id="search-documentation">Search</h1>
|
40
|
-
<div id="fallback" class="admonition warning">
|
41
|
-
<script>$('#fallback').hide();</script>
|
42
|
-
<p>
|
43
|
-
Please activate JavaScript to enable the search
|
44
|
-
functionality.
|
45
|
-
</p>
|
46
|
-
</div>
|
47
|
-
<p>
|
48
|
-
Searching for multiple words only shows matches that contain
|
49
|
-
all words.
|
50
|
-
</p>
|
51
|
-
<form action="" method="get">
|
52
|
-
<input type="text" name="q" aria-labelledby="search-documentation" value="" />
|
53
|
-
<input type="submit" value="search" />
|
54
|
-
<span id="search-progress" style="padding-left: 10px"></span>
|
55
|
-
</form>
|
56
|
-
|
57
|
-
<div id="search-results">
|
58
|
-
|
59
|
-
</div>
|
60
|
-
|
61
|
-
</div>
|
62
|
-
|
63
|
-
</div>
|
64
|
-
</div>
|
65
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
66
|
-
<div class="sphinxsidebarwrapper">
|
67
|
-
<h1 class="logo"><a href="index.html">LegionIO</a></h1>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<h3>Navigation</h3>
|
77
|
-
|
78
|
-
<div class="relations">
|
79
|
-
<h3>Related Topics</h3>
|
80
|
-
<ul>
|
81
|
-
<li><a href="index.html">Documentation overview</a><ul>
|
82
|
-
</ul></li>
|
83
|
-
</ul>
|
84
|
-
</div>
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
<div class="clearer"></div>
|
96
|
-
</div>
|
97
|
-
<div class="footer">
|
98
|
-
©2020, Esity.
|
99
|
-
|
100
|
-
|
|
101
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.2.1</a>
|
102
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
</body>
|
110
|
-
</html>
|