blob: 3c577b7c072429b9b1c1e42e6940f4fdfea6d80a [file] [log] [blame]
seshukmb3a332a2018-10-05 16:27:16 +08001<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
5 <title>SO Casablanca APIs</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <meta charset="UTF-8" />
9 <script>
10/*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */
11!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,
12r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:X.test(c)?JSON.parse(c):c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),Z(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=Z(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),aa=["Top","Right","Bottom","Left"],ba=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ca=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function da(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&_.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ea={};function fa(a){var b,c=a.ownerDocument,d=a.nodeName,e=ea[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ea[d]=e,e)}function ga(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ba(d)&&(e[f]=fa(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ga(this,!0)},hide:function(){return ga(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ba(this)?r(this).show():r(this).hide()})}});var ha=/^(?:checkbox|radio)$/i,ia=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var na=/<|&#?\w+;/;function oa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(na.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ia.exec(f)||["",""])[1].toLowerCase(),i=ka[h]||ka._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)wa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?r(e,this).index(i)>-1:r.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==va()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===va()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ta:ua,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:ua,isPropagationStopped:ua,isImmediatePropagationStopped:ua,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ta,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ta,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ta,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&qa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ra.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return wa(this,a,b,c,d)},one:function(a,b,c,d){return wa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ua),this.each(function(){r.event.remove(this,a,c,b)})}});var xa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/<script|<style|<link/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/^true\/(.*)/,Ba=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ga(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ha(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,la(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ea),l=0;l<i;l++)j=h[l],ja.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ba,""),k))}return a}function Ia(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(la(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&ma(la(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(xa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);if(b)if(c)for(f=f||la(a),g=g||la(h),d=0,e=f.length;d<e;d++)Fa(f[d],g[d]);else Fa(a,h);return g=la(h,"script"),g.length>0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(la(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(la(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ja=/^margin/,Ka=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),La=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",pa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,pa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Ma(a,b,c){var d,e,f,g,h=a.style;return c=c||La(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ka.test(g)&&Ja.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Na(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Oa=/^(none|table(?!-c[ea]).+)/,Pa={position:"absolute",visibility:"hidden",display:"block"},Qa={letterSpacing:"0",fontWeight:"400"},Ra=["Webkit","Moz","ms"],Sa=d.createElement("div").style;function Ta(a){if(a in Sa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ra.length;while(c--)if(a=Ra[c]+b,a in Sa)return a}function Ua(a,b,c){var d=_.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Va(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+aa[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+aa[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+aa[f]+"Width",!0,e))):(g+=r.css(a,"padding"+aa[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+aa[f]+"Width",!0,e)));return g}function Wa(a,b,c){var d,e=!0,f=La(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Ma(a,b,f),(d<0||null==d)&&(d=a.style[b]),Ka.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Va(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ma(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=_.exec(c))&&e[1]&&(c=da(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ma(a,b,d)),"normal"===e&&b in Qa&&(e=Qa[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Oa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Wa(a,b,d):ca(a,Pa,function(){return Wa(a,b,d)})},set:function(a,c,d){var e,f=d&&La(a),g=d&&Va(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=_.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ua(a,c,g)}}}),r.cssHooks.marginLeft=Na(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ma(a,"marginLeft"))||a.getBoundingClientRect().left-ca(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+aa[d]+b]=f[d]||f[d-2]||f[0];return e}},Ja.test(a)||(r.cssHooks[a+b].set=Ua)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=La(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function eb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ba(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],$a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ga([a],!0),j=a.style.display||j,k=r.css(a,"display"),ga([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ga([a],!0),m.done(function(){p||ga([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=db(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function fb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function gb(a,b,c){var d,e,f=0,g=gb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Ya||bb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ya||bb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(fb(k,j.opts.specialEasing);f<g;f++)if(d=gb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,db,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}r.Animation=r.extend(gb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return da(c.elem,a,_.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],gb.tweeners[c]=gb.tweeners[c]||[],gb.tweeners[c].unshift(b)},prefilters:[eb],prefilter:function(a,b){b?gb.prefilters.unshift(a):gb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:e.duration="number"==typeof e.duration?e.duration:e.duration in r.fx.speeds?r.fx.speeds[e.duration]:r.fx.speeds._default,null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ba).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=gb(this,r.extend({},a),f);(e||V.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&_a.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(cb(b,!0),a,d,e)}}),r.each({slideDown:cb("show"),slideUp:cb("hide"),slideToggle:cb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Ya=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Ya=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){Za||(Za=a.requestAnimationFrame?a.requestAnimationFrame(ab):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame(Za):a.clearInterval(Za),Za=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var hb,ib=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K);
13if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r});
14</script>
15
16 <script>
17!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
18(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a=
19b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])),
20h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&&
21(a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11,
22f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)g(c);c=a.nodeName.toLowerCase();if("br"===c||"li"===c)s[j]="\n",m[j<<1]=x++,m[j++<<1|1]=a}}else if(c==3||c==4)c=a.nodeValue,c.length&&(c=d?c.replace(/\r\n?/g,"\n"):c.replace(/[\t\n\r ]+/g," "),s[j]=c,m[j<<1]=x,x+=c.length,m[j++<<1|1]=
23a)}var b=/(?:^|\s)nocode(?:\s|$)/,s=[],x=0,m=[],j=0;g(a);return{a:s.join("").replace(/\n$/,""),d:m}}function H(a,d,g,b){d&&(a={a:d,e:a},g(a),b.push.apply(b,a.g))}function U(a){for(var d=void 0,g=a.firstChild;g;g=g.nextSibling)var b=g.nodeType,d=b===1?d?a:g:b===3?V.test(g.nodeValue)?a:d:d;return d===a?void 0:d}function C(a,d){function g(a){for(var j=a.e,k=[j,"pln"],c=0,i=a.a.match(s)||[],r={},n=0,e=i.length;n<e;++n){var z=i[n],w=r[z],t=void 0,f;if(typeof w==="string")f=!1;else{var h=b[z.charAt(0)];
24if(h)t=z.match(h[1]),w=h[0];else{for(f=0;f<x;++f)if(h=d[f],t=z.match(h[1])){w=h[0];break}t||(w="pln")}if((f=w.length>=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c<i;++c){var r=
25g[c],n=r[3];if(n)for(var e=n.length;--e>=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
26q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com",
27/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+
28s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,
29q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d=
30c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i<c.length;++i)b(c[i]);d===(d|0)&&c[0].setAttribute("value",d);var r=j.createElement("ol");
31r.className="linenums";for(var d=Math.max(0,d-1|0)||0,i=0,n=c.length;i<n;++i)k=c[i],k.className="L"+(i+d)%10,k.firstChild||k.appendChild(j.createTextNode("\u00a0")),r.appendChild(k);a.appendChild(r)}function p(a,d){for(var g=d.length;--g>=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*</.test(d)?"default-markup":"default-code";return F[a]}function K(a){var d=a.h;try{var g=T(a.c,a.i),b=g.a;
32a.a=b;a.d=g.d;a.e=0;I(d,b)(a);var s=/\bMSIE\s(\d+)/.exec(navigator.userAgent),s=s&&+s[1]<=8,d=/\n/g,x=a.a,m=x.length,g=0,j=a.d,k=j.length,b=0,c=a.g,i=c.length,r=0;c[i]=m;var n,e;for(e=n=0;e<i;)c[e]!==c[e+2]?(c[n++]=c[e++],c[n++]=c[e++]):e+=2;i=n;for(e=n=0;e<i;){for(var p=c[e],w=c[e+1],t=e+2;t+2<=i&&c[t+1]===w;)t+=2;c[n++]=p;c[n++]=w;e=t}c.length=n;var f=a.c,h;if(f)h=f.style.display,f.style.display="none";try{for(;b<k;){var l=j[b+2]||m,B=c[r+2]||m,t=Math.min(l,B),A=j[b+1],G;if(A.nodeType!==1&&(G=x.substring(g,
33t))){s&&(G=G.replace(d,"\r"));A.nodeValue=G;var L=A.ownerDocument,o=L.createElement("span");o.className=c[r+1];var v=A.parentNode;v.replaceChild(o,A);o.appendChild(A);g<l&&(j[b+1]=A=L.createTextNode(x.substring(t,l)),v.insertBefore(A,o.nextSibling))}g=t;g>=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
34"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],
35O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
36Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,
37V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",
38/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],
39["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}),
40["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q,
41hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]);
42p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="<pre>"+a+"</pre>";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1});
43return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeValue;if(o?!/^\??prettify\b/.test(o):m!==3||/\S/.test(k.nodeValue))break;if(o){j={};o.replace(/\b(\w+)=([\w%+\-.:]+)/g,function(a,b,c){j[b]=c});break}}k=d.className;if((j!==h||e.test(k))&&!v.test(k)){m=!1;for(o=d.parentNode;o;o=o.parentNode)if(f.test(o.tagName)&&
44o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaultView,o=(o=o?o.whiteSpace:u&&u.getComputedStyle?u.getComputedStyle(d,q).getPropertyValue("white-space"):0)&&"pre"===o.substring(0,3);u=j.linenums;if(!(u=u==="true"||+u))u=(u=k.match(/\blinenums\b(?::(\d+))?/))?u[1]&&u[1].length?+u[1]:!0:!1;u&&J(d,u,o);r=
45{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.length;++m)for(var j=0,k=b[m].length;j<k;++j)p.push(b[m][j]);var b=q,c=Date;c.now||(c={now:function(){return+new Date}});var i=0,r,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,e=/\bprettyprint\b/,v=/\bprettyprinted\b/,w=/pre|xmp/i,t=/^code$/i,f=/^(?:pre|code|xmp)$/i,
46h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}()
47</script>
48
49 <script>
50/*!
51* Bootstrap.js by @fat & @mdo
52* Copyright 2013 Twitter, Inc.
53* http://www.apache.org/licenses/LICENSE-2.0.txt
54*/
55!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
56</script>
57
58 <script>
59/**
60 * marked - a markdown parser
61 * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)
62 * https://github.com/chjj/marked
63 */
64(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].split(/ *\| */)}this.tokens.push(item);continue}if(cap=this.rules.lheading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[2]==="="?1:2,text:cap[1]});continue}if(cap=this.rules.hr.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"hr"});continue}if(cap=this.rules.blockquote.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"blockquote_start"});cap=cap[0].replace(/^ *> ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i<l;i++){item=cap[i];space=item.length;item=item.replace(/^ *([*+-]|\d+\.) +/,"");if(~item.indexOf("\n ")){space-=item.length;item=!this.options.pedantic?item.replace(new RegExp("^ {1,"+space+"}","gm"),""):item.replace(/^ {1,4}/gm,"")}if(this.options.smartLists&&i!==l-1){b=block.bullet.exec(cap[i+1])[0];if(bull!==b&&!(bull.length>1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */)}this.tokens.push(item);continue}if(top&&(cap=this.rules.paragraph.exec(src))){src=src.substring(cap[0].length);this.tokens.push({type:"paragraph",text:cap[1].charAt(cap[1].length-1)==="\n"?cap[1].slice(0,-1):cap[1]});continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"text",text:cap[0]});continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return this.tokens};var inline={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};inline._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/;inline._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^<a /i.test(cap[0])){this.inLink=true}else if(this.inLink&&/^<\/a>/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i<l;i++){ch=text.charCodeAt(i);if(Math.random()>.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"<pre><code>"+(escaped?code:escape(code,true))+"\n</code></pre>"}return'<pre><code class="'+this.options.langPrefix+escape(lang,true)+'">'+(escaped?code:escape(code,true))+"\n</code></pre>\n"};Renderer.prototype.blockquote=function(quote){return"<blockquote>\n"+quote+"</blockquote>\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"<h"+level+' id="'+this.options.headerPrefix+raw.toLowerCase().replace(/[^\w]+/g,"-")+'">'+text+"</h"+level+">\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"</"+type+">\n"};Renderer.prototype.listitem=function(text){return"<li>"+text+"</li>\n"};Renderer.prototype.paragraph=function(text){return"<p>"+text+"</p>\n"};Renderer.prototype.table=function(header,body){return"<table>\n"+"<thead>\n"+header+"</thead>\n"+"<tbody>\n"+body+"</tbody>\n"+"</table>\n"};Renderer.prototype.tablerow=function(content){return"<tr>\n"+content+"</tr>\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"</"+type+">\n"};Renderer.prototype.strong=function(text){return"<strong>"+text+"</strong>"};Renderer.prototype.em=function(text){return"<em>"+text+"</em>"};Renderer.prototype.codespan=function(text){return"<code>"+text+"</code>"};Renderer.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"};Renderer.prototype.del=function(text){return"<del>"+text+"</del>"};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='<a href="'+href+'"';if(title){out+=' title="'+title+'"'}out+=">"+text+"</a>";return out};Renderer.prototype.image=function(href,title,text){var out='<img src="'+href+'" alt="'+text+'"';if(title){out+=' title="'+title+'"'}out+=this.options.xhtml?"/>":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i<this.token.header.length;i++){flags={header:true,align:this.token.align[i]};cell+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]})}header+=this.renderer.tablerow(cell);for(i=0;i<this.token.cells.length;i++){row=this.token.cells[i];cell="";for(j=0;j<row.length;j++){cell+=this.renderer.tablecell(this.inline.output(row[j]),{header:false,align:this.token.align[j]})}body+=this.renderer.tablerow(cell)}return this.renderer.table(header,body)}case"blockquote_start":{var body="";while(this.next().type!=="blockquote_end"){body+=this.tok()}return this.renderer.blockquote(body)}case"list_start":{var body="",ordered=this.token.ordered;while(this.next().type!=="list_end"){body+=this.tok()}return this.renderer.list(body,ordered)}case"list_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.token.type==="text"?this.parseText():this.tok()}return this.renderer.listitem(body)}case"loose_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.tok()}return this.renderer.listitem(body)}case"html":{var html=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;return this.renderer.html(html)}case"paragraph":{return this.renderer.paragraph(this.inline.output(this.token.text))}case"text":{return this.renderer.paragraph(this.parseText())}}};function escape(html,encode){return html.replace(!encode?/&(?!#?\w+;)/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;i<arguments.length;i++){target=arguments[i];for(key in target){if(Object.prototype.hasOwnProperty.call(target,key)){obj[key]=target[key]}}}return obj}function marked(src,opt,callback){if(callback||typeof opt==="function"){if(!callback){callback=opt;opt=null}opt=merge({},marked.defaults,opt||{});var highlight=opt.highlight,tokens,pending,i=0;try{tokens=Lexer.lex(src,opt)}catch(e){return callback(e)}pending=tokens.length;var done=function(err){if(err){opt.highlight=highlight;return callback(err)}var out;try{out=Parser.parse(tokens,opt)}catch(e){err=e}opt.highlight=highlight;return err?callback(err):callback(null,out)};if(!highlight||highlight.length<3){return done()}delete opt.highlight;if(!pending)return done();for(;i<tokens.length;i++){(function(token){if(token.type!=="code"){return--pending||done()}return highlight(token.text,token.lang,function(err,code){if(err)return done(err);if(code==null||code===token.text){return--pending||done()}token.text=code;token.escaped=true;--pending||done()})})(tokens[i])}return}try{if(opt)opt=merge({},marked.defaults,opt);return Parser.parse(Lexer.lex(src,opt),opt)}catch(e){e.message+="\nPlease report this to https://github.com/chjj/marked.";if((opt||marked.defaults).silent){return"<p>An error occurred:</p><pre>"+escape(e.message+"",true)+"</pre>"}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}());
65</script>
66
67 <script>
68 $( document ).ready(function() {
69 marked.setOptions({
70 renderer: new marked.Renderer(),
71 gfm: true,
72 tables: true,
73 breaks: false,
74 pedantic: false,
75 sanitize: false,
76 smartLists: true,
77 smartypants: false
78 });
79
80 var textFile = null;
81
82 /// Function to be used to download a text json schema
83 function makeTextFile(text) {
84
85 var data = new Blob([text], {type: 'text/plain'});
86
87 // If we are replacing a previously generated file we need to
88 // manually revoke the object URL to avoid memory leaks.
89 if (textFile !== null) {
90 window.URL.revokeObjectURL(textFile);
91 }
92
93 textFile = window.URL.createObjectURL(data);
94
95 var a = document.createElement("a");
96 document.body.appendChild(a);
97 a.style = "display: none";
98 a.href = textFile;
99 a.download = 'schema.txt';
100 a.click();
101
102 return textFile;
103 };
104
105 /// TODO: Implement resizing for expanding within iframe
106 function callResize() {
107 window.parent.postMessage('resize', "*");
108 }
109
110 function processMarked() {
111 $(".marked").each(function() {
112 $(this).html(marked($(this).html()));
113 });
114 }
115
116 // Bootstrap Scrollspy
117 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
118
119 // Content-Scroll on Navigation click.
120 $('.sidenav').find('a').on('click', function(e) {
121 e.preventDefault();
122 var id = $(this).attr('href');
123 if ($(id).length > 0)
124 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 400);
125 window.location.hash = $(this).attr('href');
126 });
127
128 // Quickjump on Pageload to hash position.
129 if(window.location.hash) {
130 var id = window.location.hash;
131 if ($(id).length > 0)
132 $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 0);
133 }
134
135
136 function initDynamic() {
137 // tabs
138 $('.nav-tabs-examples a').click(function (e) {
139 e.preventDefault();
140 $(this).tab('show');
141 });
142
143
144 $('.nav-tabs-examples').find('a:first').tab('show');
145
146 // call scrollspy refresh method
147 $(window).scrollspy('refresh');
148 }
149
150 initDynamic();
151
152 // Pre- / Code-Format
153 prettyPrint();
154
155 //Convert elements with "marked" class to markdown
156 processMarked();
157 });
158 </script>
159 <style type="text/css">
160
161/*!
162 * Bootstrap v2.3.2
163 *
164 * Copyright 2013 Twitter, Inc
165 * Licensed under the Apache License v2.0
166 * http://www.apache.org/licenses/LICENSE-2.0
167 *
168 * Designed and built with all the love in the world by @mdo and @fat.
169 */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover,a:focus{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}[class*="span"].hide,.row-fluid [class*="span"].hide{display:none}[class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right}.container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;line-height:0;content:""}.container:after{clear:both}.container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;line-height:0;content:""}.container-fluid:after{clear:both}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}small{font-size:85%}strong{font-weight:bold}em{font-style:italic}cite{font-style:normal}.muted{color:#999}a.muted:hover,a.muted:focus{color:#808080}.text-warning{color:#c09853}a.text-warning:hover,a.text-warning:focus{color:#a47e3c}.text-error{color:#b94a48}a.text-error:hover,a.text-error:focus{color:#953b39}.text-info{color:#3a87ad}a.text-info:hover,a.text-info:focus{color:#2d6987}.text-success{color:#468847}a.text-success:hover,a.text-success:focus{color:#356635}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{line-height:40px}h1{font-size:38.5px}h2{font-size:31.5px}h3{font-size:24.5px}h4{font-size:17.5px}h5{font-size:14px}h6{font-size:11.9px}h1 small{font-size:24.5px}h2 small{font-size:17.5px}h3 small{font-size:14px}h4 small{font-size:14px}.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}ul,ol{padding:0;margin:0 0 10px 25px}ul ul,ul ol,ol ol,ol ul{margin-bottom:0}li{line-height:20px}ul.unstyled,ol.unstyled{margin-left:0;list-style:none}ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;padding-right:5px;padding-left:5px;*zoom:1}dl{margin-bottom:20px}dt,dd{line-height:20px}dt{font-weight:bold}dd{margin-left:10px}.dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;line-height:0;content:""}.dl-horizontal:after{clear:both}.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:17.5px;font-weight:300;line-height:1.25}blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}code,pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}code{padding:2px 4px;color:#d14;white-space:nowrap;background-color:#f7f7f9;border:1px solid #e1e1e8}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999}label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px}input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}label{display:block;margin-bottom:5px}select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555;vertical-align:middle;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}input,textarea,.uneditable-input{width:206px}textarea{height:auto}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal}input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto}select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px}select{width:220px;background-color:#fff;border:1px solid #ccc}select[multiple],select[size]{height:auto}select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.uneditable-input,.uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.uneditable-input{overflow:hidden;white-space:nowrap}.uneditable-textarea{width:auto;height:auto}input:-moz-placeholder,textarea:-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.radio,.checkbox{min-height:20px;padding-left:20px}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px}.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}.input-mini{width:60px}.input-small{width:90px}.input-medium{width:150px}.input-large{width:210px}.input-xlarge{width:270px}.input-xxlarge{width:530px}input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:926px}input.span11,textarea.span11,.uneditable-input.span11{width:846px}input.span10,textarea.span10,.uneditable-input.span10{width:766px}input.span9,textarea.span9,.uneditable-input.span9{width:686px}input.span8,textarea.span8,.uneditable-input.span8{width:606px}input.span7,textarea.span7,.uneditable-input.span7{width:526px}input.span6,textarea.span6,.uneditable-input.span6{width:446px}input.span5,textarea.span5,.uneditable-input.span5{width:366px}input.span4,textarea.span4,.uneditable-input.span4{width:286px}input.span3,textarea.span3,.uneditable-input.span3{width:206px}input.span2,textarea.span2,.uneditable-input.span2{width:126px}input.span1,textarea.span1,.uneditable-input.span1{width:46px}.controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;line-height:0;content:""}.controls-row:after{clear:both}.controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left}.controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee}input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent}.control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853}.control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853}.control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48}.control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48}.control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847}.control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847}.control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad}.control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad}.control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3}.control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;line-height:0;content:""}.form-actions:after{clear:both}.help-block,.help-inline{color:#595959}.help-block{display:block;margin-bottom:10px}.help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.input-append,.input-prepend{display:inline-block;margin-bottom:10px;font-size:0;white-space:nowrap;vertical-align:middle}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu,.input-append .popover,.input-prepend .popover{font-size:14px}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2}.input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546}.input-prepend .add-on,.input-prepend .btn{margin-right:-1px}.input-prepend .add-on:first-child,.input-prepend .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input,.input-append select,.input-append .uneditable-input{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px}.input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-prepend.input-append .btn-group:first-child{margin-left:0}input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.form-search .input-append .search-query,.form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none}.form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block}.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0}.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.control-group{margin-bottom:10px}legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;line-height:0;content:""}.form-horizontal .control-group:after{clear:both}.form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px}.form-horizontal .help-block{margin-bottom:0}.form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px}.form-horizontal .form-actions{padding-left:180px}table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.table th{font-weight:bold}.table thead th{vertical-align:bottom}.table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed th,.table-condensed td{padding:4px 5px}.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd}.table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0}.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child,.table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child,.table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>th:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tbody:last-child tr:last-child>th:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomleft:0}.table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomright:0}.table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th{background-color:#f5f5f5}table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0}.table td.span1,.table th.span1{float:none;width:44px;margin-left:0}.table td.span2,.table th.span2{float:none;width:124px;margin-left:0}.table td.span3,.table th.span3{float:none;width:204px;margin-left:0}.table td.span4,.table th.span4{float:none;width:284px;margin-left:0}.table td.span5,.table th.span5{float:none;width:364px;margin-left:0}.table td.span6,.table th.span6{float:none;width:444px;margin-left:0}.table td.span7,.table th.span7{float:none;width:524px;margin-left:0}.table td.span8,.table th.span8{float:none;width:604px;margin-left:0}.table td.span9,.table th.span9{float:none;width:684px;margin-left:0}.table td.span10,.table th.span10{float:none;width:764px;margin-left:0}.table td.span11,.table th.span11{float:none;width:844px;margin-left:0}.table td.span12,.table th.span12{float:none;width:924px;margin-left:0}.table tbody tr.success>td{background-color:#dff0d8}.table tbody tr.error>td{background-color:#f2dede}.table tbody tr.warning>td{background-color:#fcf8e3}.table tbody tr.info>td{background-color:#d9edf7}.table-hover tbody tr.success:hover>td{background-color:#d0e9c6}.table-hover tbody tr.error:hover>td{background-color:#ebcccc}.table-hover tbody tr.warning:hover>td{background-color:#faf2cc}.table-hover tbody tr.info:hover>td{background-color:#c4e3f3}[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.icon-glass{background-position:0 0}.icon-music{background-position:-24px 0}.icon-search{background-position:-48px 0}.icon-envelope{background-position:-72px 0}.icon-heart{background-position:-96px 0}.icon-star{background-position:-120px 0}.icon-star-empty{background-position:-144px 0}.icon-user{background-position:-168px 0}.icon-film{background-position:-192px 0}.icon-th-large{background-position:-216px 0}.icon-th{background-position:-240px 0}.icon-th-list{background-position:-264px 0}.icon-ok{background-position:-288px 0}.icon-remove{background-position:-312px 0}.icon-zoom-in{background-position:-336px 0}.icon-zoom-out{background-position:-360px 0}.icon-off{background-position:-384px 0}.icon-signal{background-position:-408px 0}.icon-cog{background-position:-432px 0}.icon-trash{background-position:-456px 0}.icon-home{background-position:0 -24px}.icon-file{background-position:-24px -24px}.icon-time{background-position:-48px -24px}.icon-road{background-position:-72px -24px}.icon-download-alt{background-position:-96px -24px}.icon-download{background-position:-120px -24px}.icon-upload{background-position:-144px -24px}.icon-inbox{background-position:-168px -24px}.icon-play-circle{background-position:-192px -24px}.icon-repeat{background-position:-216px -24px}.icon-refresh{background-position:-240px -24px}.icon-list-alt{background-position:-264px -24px}.icon-lock{background-position:-287px -24px}.icon-flag{background-position:-312px -24px}.icon-headphones{background-position:-336px -24px}.icon-volume-off{background-position:-360px -24px}.icon-volume-down{background-position:-384px -24px}.icon-volume-up{background-position:-408px -24px}.icon-qrcode{background-position:-432px -24px}.icon-barcode{background-position:-456px -24px}.icon-tag{background-position:0 -48px}.icon-tags{background-position:-25px -48px}.icon-book{background-position:-48px -48px}.icon-bookmark{background-position:-72px -48px}.icon-print{background-position:-96px -48px}.icon-camera{background-position:-120px -48px}.icon-font{background-position:-144px -48px}.icon-bold{background-position:-167px -48px}.icon-italic{background-position:-192px -48px}.icon-text-height{background-position:-216px -48px}.icon-text-width{background-position:-240px -48px}.icon-align-left{background-position:-264px -48px}.icon-align-center{background-position:-288px -48px}.icon-align-right{background-position:-312px -48px}.icon-align-justify{background-position:-336px -48px}.icon-list{background-position:-360px -48px}.icon-indent-left{background-position:-384px -48px}.icon-indent-right{background-position:-408px -48px}.icon-facetime-video{background-position:-432px -48px}.icon-picture{background-position:-456px -48px}.icon-pencil{background-position:0 -72px}.icon-map-marker{background-position:-24px -72px}.icon-adjust{background-position:-48px -72px}.icon-tint{background-position:-72px -72px}.icon-edit{background-position:-96px -72px}.icon-share{background-position:-120px -72px}.icon-check{background-position:-144px -72px}.icon-move{background-position:-168px -72px}.icon-step-backward{background-position:-192px -72px}.icon-fast-backward{background-position:-216px -72px}.icon-backward{background-position:-240px -72px}.icon-play{background-position:-264px -72px}.icon-pause{background-position:-288px -72px}.icon-stop{background-position:-312px -72px}.icon-forward{background-position:-336px -72px}.icon-fast-forward{background-position:-360px -72px}.icon-step-forward{background-position:-384px -72px}.icon-eject{background-position:-408px -72px}.icon-chevron-left{background-position:-432px -72px}.icon-chevron-right{background-position:-456px -72px}.icon-plus-sign{background-position:0 -96px}.icon-minus-sign{background-position:-24px -96px}.icon-remove-sign{background-position:-48px -96px}.icon-ok-sign{background-position:-72px -96px}.icon-question-sign{background-position:-96px -96px}.icon-info-sign{background-position:-120px -96px}.icon-screenshot{background-position:-144px -96px}.icon-remove-circle{background-position:-168px -96px}.icon-ok-circle{background-position:-192px -96px}.icon-ban-circle{background-position:-216px -96px}.icon-arrow-left{background-position:-240px -96px}.icon-arrow-right{background-position:-264px -96px}.icon-arrow-up{background-position:-289px -96px}.icon-arrow-down{background-position:-312px -96px}.icon-share-alt{background-position:-336px -96px}.icon-resize-full{background-position:-360px -96px}.icon-resize-small{background-position:-384px -96px}.icon-plus{background-position:-408px -96px}.icon-minus{background-position:-433px -96px}.icon-asterisk{background-position:-456px -96px}.icon-exclamation-sign{background-position:0 -120px}.icon-gift{background-position:-24px -120px}.icon-leaf{background-position:-48px -120px}.icon-fire{background-position:-72px -120px}.icon-eye-open{background-position:-96px -120px}.icon-eye-close{background-position:-120px -120px}.icon-warning-sign{background-position:-144px -120px}.icon-plane{background-position:-168px -120px}.icon-calendar{background-position:-192px -120px}.icon-random{width:16px;background-position:-216px -120px}.icon-comment{background-position:-240px -120px}.icon-magnet{background-position:-264px -120px}.icon-chevron-up{background-position:-288px -120px}.icon-chevron-down{background-position:-313px -119px}.icon-retweet{background-position:-336px -120px}.icon-shopping-cart{background-position:-360px -120px}.icon-folder-close{width:16px;background-position:-384px -120px}.icon-folder-open{width:16px;background-position:-408px -120px}.icon-resize-vertical{background-position:-432px -119px}.icon-resize-horizontal{background-position:-456px -118px}.icon-hdd{background-position:0 -144px}.icon-bullhorn{background-position:-24px -144px}.icon-bell{background-position:-48px -144px}.icon-certificate{background-position:-72px -144px}.icon-thumbs-up{background-position:-96px -144px}.icon-thumbs-down{background-position:-120px -144px}.icon-hand-right{background-position:-144px -144px}.icon-hand-left{background-position:-168px -144px}.icon-hand-up{background-position:-192px -144px}.icon-hand-down{background-position:-216px -144px}.icon-circle-arrow-right{background-position:-240px -144px}.icon-circle-arrow-left{background-position:-264px -144px}.icon-circle-arrow-up{background-position:-288px -144px}.icon-circle-arrow-down{background-position:-312px -144px}.icon-globe{background-position:-336px -144px}.icon-wrench{background-position:-360px -144px}.icon-tasks{background-position:-384px -144px}.icon-filter{background-position:-408px -144px}.icon-briefcase{background-position:-432px -144px}.icon-fullscreen{background-position:-456px -144px}.dropup,.dropdown{position:relative}.dropdown-toggle{*margin-bottom:-3px}.dropdown-toggle:active,.open .dropdown-toggle{outline:0}.caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.dropdown .caret{margin-top:8px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open{*z-index:1000}.open>.dropdown-menu{display:block}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0}.dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto}.close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.btn{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.btn-group:first-child{*margin-left:0}.btn-group+.btn-group{margin-left:5px}.btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px}.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group>.btn+.btn{margin-left:-1px}.btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px}.btn-group>.btn-mini{font-size:10.5px}.btn-group>.btn-small{font-size:11.9px}.btn-group>.btn-large{font-size:17.5px}.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.btn .caret{margin-top:8px;margin-left:0}.btn-large .caret{margin-top:6px}.btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropup .btn-large .caret{border-bottom-width:5px}.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-group-vertical>.btn+.btn{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.btn-group-vertical>.btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.btn-group-vertical>.btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.alert,.alert h4{color:#c09853}.alert h4{margin:0}.alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success h4{color:#468847}.alert-danger,.alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger h4,.alert-error h4{color:#b94a48}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info h4{color:#3a87ad}.alert-block{padding-top:14px;padding-bottom:14px}.alert-block>p,.alert-block>ul{margin-bottom:0}.alert-block p+p{margin-top:5px}.nav{margin-bottom:20px;margin-left:0;list-style:none}.nav>li>a{display:block}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li>a>img{max-width:none}.nav>.pull-right{float:right}.nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.nav li+.nav-header{margin-top:9px}.nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.nav-list>li>a,.nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.nav-list>li>a{padding:3px 15px}.nav-list>.active>a,.nav-list>.active>a:hover,.nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px}.nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;line-height:0;content:""}.nav-tabs:after,.nav-pills:after{clear:both}.nav-tabs>li,.nav-pills>li{float:left}.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{margin-bottom:-1px}.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{border-color:#eee #eee #ddd}.nav-tabs>.active>a,.nav-tabs>.active>a:hover,.nav-tabs>.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.nav-pills>.active>a,.nav-pills>.active>a:hover,.nav-pills>.active>a:focus{color:#fff;background-color:#08c}.nav-stacked>li{float:none}.nav-stacked>li>a{margin-right:0}.nav-tabs.nav-stacked{border-bottom:0}.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.nav-tabs.nav-stacked>li>a:hover,.nav-tabs.nav-stacked>li>a:focus{z-index:2;border-color:#ddd}.nav-pills.nav-stacked>li>a{margin-bottom:3px}.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.nav .dropdown-toggle:hover .caret,.nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580}.nav-tabs .dropdown-toggle .caret{margin-top:8px}.nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.nav>.dropdown.active>a:hover,.nav>.dropdown.active>a:focus{cursor:pointer}.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{color:#fff;background-color:#999;border-color:#999}.nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret,.nav li.dropdown.open a:focus .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.tabs-stacked .open>a:hover,.tabs-stacked .open>a:focus{border-color:#999}.tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;line-height:0;content:""}.tabbable:after{clear:both}.tab-content{overflow:auto}.tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.tabs-below>.nav-tabs{border-top:1px solid #ddd}.tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-top-color:#ddd;border-bottom-color:transparent}.tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover,.tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd}.tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.tabs-left>.nav-tabs>li>a:hover,.tabs-left>.nav-tabs>li>a:focus{border-color:#eee #ddd #eee #eee}.tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover,.tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.tabs-right>.nav-tabs>li>a:hover,.tabs-right>.nav-tabs>li>a:focus{border-color:#eee #eee #eee #ddd}.tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover,.tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.nav>.disabled>a{color:#999}.nav>.disabled>a:hover,.nav>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent}.navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible}.navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.navbar-inner:before,.navbar-inner:after{display:table;line-height:0;content:""}.navbar-inner:after{clear:both}.navbar .container{width:auto}.nav-collapse.collapse{height:auto;overflow:visible}.navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover,.navbar .brand:focus{text-decoration:none}.navbar-text{margin-bottom:0;line-height:40px;color:#777}.navbar-link{color:#777}.navbar-link:hover,.navbar-link:focus{color:#333}.navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.navbar .btn,.navbar .btn-group{margin-top:5px}.navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn,.navbar .input-prepend .btn-group,.navbar .input-append .btn-group{margin-top:0}.navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;line-height:0;content:""}.navbar-form:after{clear:both}.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px}.navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0}.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px}.navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0}.navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.navbar-static-top{position:static;margin-bottom:0}.navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px}.navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.navbar-fixed-top{top:0}.navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,0.1);box-shadow:0 1px 10px rgba(0,0,0,0.1)}.navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,0.1);box-shadow:0 -1px 10px rgba(0,0,0,0.1)}.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.navbar .nav.pull-right{float:right;margin-right:0}.navbar .nav>li{float:left}.navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.navbar .nav .dropdown-toggle .caret{margin-top:8px}.navbar .nav>li>a:focus,.navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:focus,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9}.navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.btn-navbar .icon-bar+.icon-bar{margin-top:3px}.navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.navbar .nav li.dropdown>a:hover .caret,.navbar .nav li.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover,.navbar-inverse .brand:focus,.navbar-inverse .nav>li>a:focus{color:#fff}.navbar-inverse .brand{color:#999}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover,.navbar-inverse .navbar-link:focus{color:#fff}.navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.navbar-inverse .nav li.dropdown>a:hover .caret,.navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-moz-linear-gradient(top,#151515,#040404);background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:focus,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9}.breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb>li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.breadcrumb>li>.divider{padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{margin:20px 0}.pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.pagination ul>li{display:inline}.pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.pagination ul>li>a:hover,.pagination ul>li>a:focus,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5}.pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default}.pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>a:focus{color:#999;cursor:default;background-color:transparent}.pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.pagination-centered{text-align:center}.pagination-right{text-align:right}.pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:17.5px}.pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px}.pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px}.pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.9px}.pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:10.5px}.pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.pager:before,.pager:after{display:table;line-height:0;content:""}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f5f5f5}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:default;background-color:#fff}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;outline:0;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.modal.fade.in{top:10%}.modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px}.modal-header h3{margin:0;line-height:30px}.modal-body{position:relative;max-height:400px;padding:15px;overflow-y:auto}.modal-form{margin-bottom:0}.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.modal-footer:before,.modal-footer:after{display:table;line-height:0;content:""}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.8;filter:alpha(opacity=80)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0}.thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;line-height:0;content:""}.thumbnails:after{clear:both}.row-fluid .thumbnails{margin-left:0}.thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.thumbnail:hover,a.thumbnail:focus{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#555}.media,.media-body{overflow:hidden;*overflow:visible;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{margin-left:0;list-style:none}.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.label{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.badge{padding-right:9px;padding-left:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}.label:empty,.badge:empty{display:none}a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.label-important,.badge-important{background-color:#b94a48}.label-important[href],.badge-important[href]{background-color:#953b39}.label-warning,.badge-warning{background-color:#f89406}.label-warning[href],.badge-warning[href]{background-color:#c67605}.label-success,.badge-success{background-color:#468847}.label-success[href],.badge-success[href]{background-color:#356635}.label-info,.badge-info{background-color:#3a87ad}.label-info[href],.badge-info[href]{background-color:#2d6987}.label-inverse,.badge-inverse{background-color:#333}.label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a}.btn .label,.btn .badge{position:relative;top:-1px}.btn-mini .label,.btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.accordion{margin-bottom:20px}.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.accordion-heading{border-bottom:0}.accordion-heading .accordion-toggle{display:block;padding:8px 15px}.accordion-toggle{cursor:pointer}.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.carousel{position:relative;margin-bottom:20px;line-height:1}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{right:15px;left:auto}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none}.carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255,255,255,0.25);border-radius:5px}.carousel-indicators .active{background-color:#fff}.carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.carousel-caption h4,.carousel-caption p{line-height:20px;color:#fff}.carousel-caption h4{margin:0 0 5px}.carousel-caption p{margin-bottom:0}.hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.hero-unit li{line-height:30px}.pull-right{float:right}.pull-left{float:left}.hide{display:none}.show{display:block}.invisible{visibility:hidden}.affix{position:fixed}
170
171 /* Pretty printing styles. Used with prettify.js. */
172/* Vim sunburst theme by David Leibovic */
173pre .str {
174 color: #65B042;
175}
176/* string - green */
177pre .kwd {
178 color: #E28964;
179}
180/* keyword - dark pink */
181pre .com {
182 color: #AEAEAE;
183 font-style: italic;
184}
185/* comment - gray */
186pre .typ {
187 color: #89bdff;
188}
189/* type - light blue */
190pre .lit {
191 color: #3387CC;
192}
193/* literal - blue */
194pre .pun {
195 color: #fff;
196}
197/* punctuation - white */
198pre .pln {
199 color: #fff;
200}
201/* plaintext - white */
202pre .tag {
203 color: #89bdff;
204}
205/* html/xml tag - light blue */
206pre .atn {
207 color: #bdb76b;
208}
209/* html/xml attribute name - khaki */
210pre .atv {
211 color: #65B042;
212}
213/* html/xml attribute value - green */
214pre .dec {
215 color: #3387CC;
216}
217/* decimal - blue */
218/* Specify class=linenums on a pre to get line numbering */
219ol.linenums {
220 margin-top: 0;
221 margin-bottom: 0;
222 color: #AEAEAE;
223}
224/* IE indents via margin-left */
225li.L0,
226li.L1,
227li.L2,
228li.L3,
229li.L5,
230li.L6,
231li.L7,
232li.L8 {
233 list-style-type: none;
234}
235/* Alternate shading for lines */
236@media print {
237 pre .str {
238 color: #060;
239 }
240 pre .kwd {
241 color: #006;
242 font-weight: bold;
243 }
244 pre .com {
245 color: #600;
246 font-style: italic;
247 }
248 pre .typ {
249 color: #404;
250 font-weight: bold;
251 }
252 pre .lit {
253 color: #044;
254 }
255 pre .pun {
256 color: #440;
257 }
258 pre .pln {
259 color: #000;
260 }
261 pre .tag {
262 color: #006;
263 font-weight: bold;
264 }
265 pre .atn {
266 color: #404;
267 }
268 pre .atv {
269 color: #060;
270 }
271}
272 /* ------------------------------------------------------------------------------------------
273 * Content
274 * ------------------------------------------------------------------------------------------ */
275
276@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
277* {
278 font-family: 'Source Code Pro', sans-serif;
279}
280body {
281 min-width: 980px;
282}
283
284body, p, a, div, th, td {
285 font-family: "Source Sans Pro", sans-serif;
286 font-weight: 400;
287 font-size: 16px;
288 text-shadow: none !important;
289}
290
291td.code {
292 font-size: 14px;
293 font-family: "Source Code Pro", monospace;
294 font-style: normal;
295 font-weight: 400;
296}
297
298#content {
299 padding-top: 16px;
300 z-Index: -1;
301 margin-left: 270px;
302}
303
304p {
305 color: #808080;
306}
307
308h1 {
309 font-family: "Source Sans Pro Semibold", sans-serif;
310 font-weight: normal;
311 font-size: 44px;
312 line-height: 50px;
313 margin: 0 0 10px 0;
314 padding: 0;
315}
316
317h2 {
318 font-family: "Source Sans Pro", sans-serif;
319 font-weight: normal;
320 font-size: 24px;
321 line-height: 40px;
322 margin: 0 0 20px 0;
323 padding: 0;
324}
325
326section {
327 border-top: 1px solid #ebebeb;
328 padding: 30px 0;
329}
330
331section h1 {
332 font-family: "Source Sans Pro", sans-serif;
333 font-weight: 700;
334 font-size: 32px;
335 line-height: 40px;
336 padding-bottom: 14px;
337 margin: 0 0 20px 0;
338 padding: 0;
339}
340
341article {
342 padding: 14px 0 30px 0;
343}
344
345article h1 {
346 font-family: "Source Sans Pro Bold", sans-serif;
347 font-weight: 600;
348 font-size: 24px;
349 line-height: 26px;
350}
351
352article h2 {
353 font-family: "Source Sans Pro", sans-serif;
354 font-weight: 600;
355 font-size: 18px;
356 line-height: 24px;
357 margin: 0 0 10px 0;
358}
359
360article h3 {
361 font-family: "Source Sans Pro", sans-serif;
362 font-weight: 600;
363 font-size: 16px;
364 line-height: 18px;
365 margin: 0 0 10px 0;
366}
367
368article h4 {
369 font-family: "Source Sans Pro", sans-serif;
370 font-weight: 600;
371 font-size: 14px;
372 line-height: 16px;
373 margin: 0 0 8px 0;
374}
375
376table {
377 border-collapse: collapse;
378 width: 100%;
379 margin: 0 0 20px 0;
380}
381
382th {
383 background-color: #f5f5f5;
384 text-align: left;
385 font-family: "Source Sans Pro", sans-serif;
386 font-weight: 700;
387 padding: 4px 8px;
388 border: #e0e0e0 1px solid;
389}
390
391td {
392 vertical-align: top;
393 padding: 2px 8px;
394 border: #e0e0e0 1px solid;
395}
396
397#generator .content {
398 color: #b0b0b0;
399 border-top: 1px solid #ebebeb;
400 padding: 10px 0;
401}
402
403.label-optional {
404 float: right;
405}
406
407.open-left {
408 right: 0;
409 left: auto;
410}
411
412/* ------------------------------------------------------------------------------------------
413 * apidoc - intro
414 * ------------------------------------------------------------------------------------------ */
415
416#apidoc .apidoc {
417 border-top: 1px solid #ebebeb;
418 padding: 30px 0;
419}
420
421#apidoc h1 {
422 font-family: "Source Sans Pro", sans-serif;
423 font-weight: 700;
424 font-size: 32px;
425 line-height: 40px;
426 padding-bottom: 14px;
427 margin: 0 0 20px 0;
428 padding: 0;
429}
430
431#apidoc h2 {
432 font-family: "Source Sans Pro Bold", sans-serif;
433 font-weight: 600;
434 font-size: 22px;
435 line-height: 26px;
436 padding-top: 14px;
437}
438
439/* ------------------------------------------------------------------------------------------
440 * pre / code
441 * ------------------------------------------------------------------------------------------ */
442pre {
443 background-color: #292b36;
444 color: #ffffff;
445 padding: 10px;
446 border-radius: 6px;
447 position: relative;
448 margin: 10px 0 20px 0;
449}
450
451code.language-text {
452 word-wrap: break-word;
453}
454
455pre.language-json {
456 overflow: auto;
457}
458
459pre.language-html {
460 margin: 40px 0 20px 0;
461}
462
463pre.language-html:before {
464 content: attr(data-type);
465 position: absolute;
466 top: -30px;
467 left: 0;
468 font-family: "Source Sans Pro", sans-serif;
469 font-weight: 600;
470 font-size: 15px;
471 display: inline-block;
472 padding: 2px 5px;
473 border-radius: 6px;
474 text-transform: uppercase;
475 background-color: #3387CC;
476 color: #ffffff;
477}
478
479pre.language-html[data-type="get"]:before {
480 background-color: green;
481}
482
483pre.language-html[data-type="put"]:before {
484 background-color: #e5c500;
485}
486
487pre.language-html[data-type="post"]:before {
488 background-color: #4070ec;
489}
490
491pre.language-html[data-type="delete"]:before {
492 background-color: #ed0039;
493}
494
495pre.language-api .str {
496 color: #ffffff;
497}
498
499pre.language-api .pln,
500pre.language-api .pun {
501 color: #65B042;
502}
503
504pre code {
505 display: block;
506 font-size: 14px;
507 font-family: "Source Code Pro", monospace;
508 font-style: normal;
509 font-weight: 400;
510}
511
512pre code.sample-request-response-json {
513 white-space: pre-wrap;
514 max-height: 500px;
515 overflow: auto;
516}
517
518/* ------------------------------------------------------------------------------------------
519 * Sidenav
520 * ------------------------------------------------------------------------------------------ */
521.sidenav {
522 width: 228px;
523 margin: 0;
524 padding: 20px;
525 position: fixed;
526 top: 0;
527 left: 0;
528 bottom: 0;
529 overflow-x: hidden;
530 overflow-y: auto;
531 background-color: #f5f5f5;
532 z-index: 10;
533}
534
535.sidenav > li > a {
536 display: block;
537 width: 192px;
538 margin: 0;
539 padding: 2px 11px;
540 border: 0;
541 border-left: transparent 4px solid;
542 border-right: transparent 4px solid;
543 font-family: "Source Sans Pro", sans-serif;
544 font-weight: 400;
545 font-size: 14px;
546}
547
548.sidenav > li.nav-header > a {
549 padding: 5px 15px;
550 border: 1px solid #e5e5e5;
551 width: 190px;
552 font-family: "Source Sans Pro", sans-serif;
553 font-weight: 700;
554 font-size: 16px;
555 background-color: #4c8eca;
556 color: #fff;
557}
558
559.sidenav > li.nav-header.active > a {
560 background-color: #4c8eca;
561 color: #fff;
562}
563
564
56500427D
566
567.sidenav > .active > a {
568 position: relative;
569 z-index: 2;
570}
571
572.sidenav > li > a:hover {
573 background-color: #ffffff;
574}
575
576.sidenav > li.has-modifications a {
577 border-right: #60d060 4px solid;
578}
579
580.sidenav > li.is-new a {
581 border-left: #e5e5e5 4px solid;
582}
583
584
585
586/* ------------------------------------------------------------------------------------------
587 * Tabs
588 * ------------------------------------------------------------------------------------------ */
589ul.nav-tabs {
590 margin: 0;
591}
592
593/* ------------------------------------------------------------------------------------------
594 * Print
595 * ------------------------------------------------------------------------------------------ */
596
597@media print {
598
599 #sidenav,
600 #version,
601 #versions,
602 section .version,
603 section .versions {
604 display: none;
605 }
606
607 #content {
608 margin-left: 0;
609 }
610
611 a {
612 text-decoration: none;
613 color: inherit;
614 }
615
616 a:after {
617 content: " [" attr(href) "] ";
618 }
619
620 p {
621 color: #000000
622 }
623
624 pre {
625 background-color: #ffffff;
626 color: #000000;
627 padding: 10px;
628 border: #808080 1px solid;
629 border-radius: 6px;
630 position: relative;
631 margin: 10px 0 20px 0;
632 }
633
634} /* /@media print */
635
636
637.doc-chapter
638{
639display:none;
640background-color: #eee;
641border-radius: 1px;
642padding: 10px;
643margin-bottom: 20px;
644}
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676/*!
677 * json-schema-view-js
678 * https://github.com/mohsen1/json-schema-view-js#readme
679 * Version: 0.4.1 - 2015-11-12T17:19:27.615Z
680 * License: MIT
681 */.json-schema-view .toggle-handle:after,.json-schema-view.json-schema-view-dark .toggle-handle:after,json-schema-view .toggle-handle:after,json-schema-view[json-schema-view-dark] .toggle-handle:after{content:"\25BC"}.json-schema-view .title,.json-schema-view.json-schema-view-dark .title,json-schema-view .title,json-schema-view[json-schema-view-dark] .title{font-weight:700;cursor:pointer}.json-schema-view,json-schema-view{font-family:monospace;font-size:0;display:table-cell}.json-schema-view>*,json-schema-view>*{font-size:14px}.json-schema-view .toggle-handle,json-schema-view .toggle-handle{cursor:pointer;margin:auto .3em;font-size:10px;display:inline-block;transform-origin:50% 40%;transition:transform 150ms ease-in}.json-schema-view .toggle-handle,.json-schema-view .toggle-handle:hover,json-schema-view .toggle-handle,json-schema-view .toggle-handle:hover{text-decoration:none;color:#333}.json-schema-view .description,json-schema-view .description{color:gray;font-style:italic}
682 .pattern {
683 color: blue;
684 }
685 .default {
686 color: black;
687 }
688 .required {
689 color:black;
690 }
691 .json-schema-view .title,.json-schema-view .title:hover,json-schema-view .title,json-schema-view .title:hover{text-decoration:none;color:#333}.json-schema-view .brace,.json-schema-view .bracket,.json-schema-view .title,json-schema-view .brace,json-schema-view .bracket,json-schema-view .title{color:#333}.json-schema-view .property,json-schema-view .property{font-size:0;display:table-row}.json-schema-view .property>*,json-schema-view .property>*{font-size:14px;padding:.2em}.json-schema-view .name,json-schema-view .name{color:#00f;display:table-cell;vertical-align:top}.json-schema-view .type,json-schema-view .type{color:green}.json-schema-view .type-any,json-schema-view .type-any{color:#33f}.json-schema-view .required,json-schema-view .required{color:red}.json-schema-view .inner,json-schema-view .inner{padding-left:18px}.json-schema-view.collapsed .description,.json-schema-view.collapsed .property,json-schema-view.collapsed .description,json-schema-view.collapsed .property{display:none}.json-schema-view.collapsed .closeing.brace,json-schema-view.collapsed .closeing.brace{display:inline-block}.json-schema-view.collapsed .toggle-handle,json-schema-view.collapsed .toggle-handle{transform:rotate(-90deg)}.json-schema-view.json-schema-view-dark,json-schema-view[json-schema-view-dark]{font-family:monospace;font-size:0;display:table-cell}.json-schema-view.json-schema-view-dark>*,json-schema-view[json-schema-view-dark]>*{font-size:14px}.json-schema-view.json-schema-view-dark .toggle-handle,json-schema-view[json-schema-view-dark] .toggle-handle{cursor:pointer;margin:auto .3em;font-size:10px;display:inline-block;transform-origin:50% 40%;transition:transform 150ms ease-in}.json-schema-view.json-schema-view-dark .toggle-handle,.json-schema-view.json-schema-view-dark .toggle-handle:hover,json-schema-view[json-schema-view-dark] .toggle-handle,json-schema-view[json-schema-view-dark] .toggle-handle:hover{text-decoration:none;color:#eee}.json-schema-view.json-schema-view-dark .description,json-schema-view[json-schema-view-dark] .description{color:gray;font-style:italic}.json-schema-view.json-schema-view-dark .title,.json-schema-view.json-schema-view-dark .title:hover,json-schema-view[json-schema-view-dark] .title,json-schema-view[json-schema-view-dark] .title:hover{text-decoration:none;color:#eee}.json-schema-view.json-schema-view-dark .brace,.json-schema-view.json-schema-view-dark .bracket,.json-schema-view.json-schema-view-dark .title,json-schema-view[json-schema-view-dark] .brace,json-schema-view[json-schema-view-dark] .bracket,json-schema-view[json-schema-view-dark] .title{color:#eee}.json-schema-view.json-schema-view-dark .property,json-schema-view[json-schema-view-dark] .property{font-size:0;display:table-row}.json-schema-view.json-schema-view-dark .property>*,json-schema-view[json-schema-view-dark] .property>*{font-size:14px;padding:.2em}.json-schema-view.json-schema-view-dark .name,json-schema-view[json-schema-view-dark] .name{color:#add8e6;display:table-cell;vertical-align:top}.json-schema-view.json-schema-view-dark .type,json-schema-view[json-schema-view-dark] .type{color:#90ee90}.json-schema-view.json-schema-view-dark .type-any,json-schema-view[json-schema-view-dark] .type-any{color:#d4ebf2}.json-schema-view.json-schema-view-dark .required,json-schema-view[json-schema-view-dark] .required{color:#fe0000}.json-schema-view.json-schema-view-dark .inner,json-schema-view[json-schema-view-dark] .inner{padding-left:18px}.json-schema-view.json-schema-view-dark.collapsed .description,.json-schema-view.json-schema-view-dark.collapsed .property,json-schema-view[json-schema-view-dark].collapsed .description,json-schema-view[json-schema-view-dark].collapsed .property{display:none}.json-schema-view.json-schema-view-dark.collapsed .closeing.brace,json-schema-view[json-schema-view-dark].collapsed .closeing.brace{display:inline-block}.json-schema-view.json-schema-view-dark.collapsed .toggle-handle,json-schema-view[json-schema-view-dark].collapsed .toggle-handle{transform:rotate(-90deg)}
692
693 </style>
694</head>
695<body>
696 <script>
697 // Script section to load models into a JS Var
698 var defs = {}
699 </script>
700
701 <div class="container-fluid">
702 <div class="row-fluid">
703 <div id="sidenav" class="span2">
704 <nav id="scrollingNav">
705 <ul class="sidenav nav nav-list">
706 <!-- Logo Area -->
707 <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; ">
708
709 API Docs 2
710
711 </div>
712 -->
713 <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li>
714
715 <li class="nav-header" data-group="E2eServiceInstances"><a href="#api-E2eServiceInstances">API Methods - E2eServiceInstances</a></li>
716 <li data-group="E2eServiceInstances" data-name="compareModelwithTargetVersion" class="">
717 <a href="#api-E2eServiceInstances-compareModelwithTargetVersion">compareModelwithTargetVersion</a>
718 </li>
719 <li data-group="E2eServiceInstances" data-name="createE2EServiceInstance" class="">
720 <a href="#api-E2eServiceInstances-createE2EServiceInstance">createE2EServiceInstance</a>
721 </li>
722 <li data-group="E2eServiceInstances" data-name="deleteE2EServiceInstance" class="">
723 <a href="#api-E2eServiceInstances-deleteE2EServiceInstance">deleteE2EServiceInstance</a>
724 </li>
725 <li data-group="E2eServiceInstances" data-name="getE2EServiceInstances" class="">
726 <a href="#api-E2eServiceInstances-getE2EServiceInstances">getE2EServiceInstances</a>
727 </li>
728 <li data-group="E2eServiceInstances" data-name="scaleE2EServiceInstance" class="">
729 <a href="#api-E2eServiceInstances-scaleE2EServiceInstance">scaleE2EServiceInstance</a>
730 </li>
731 <li data-group="E2eServiceInstances" data-name="updateE2EServiceInstance" class="">
732 <a href="#api-E2eServiceInstances-updateE2EServiceInstance">updateE2EServiceInstance</a>
733 </li>
734 <li class="nav-header" data-group="Globalhealthcheck"><a href="#api-Globalhealthcheck">API Methods - Globalhealthcheck</a></li>
735 <li data-group="Globalhealthcheck" data-name="globalHealthcheck" class="">
736 <a href="#api-Globalhealthcheck-globalHealthcheck">globalHealthcheck</a>
737 </li>
738 <li class="nav-header" data-group="Nodehealthcheck"><a href="#api-Nodehealthcheck">API Methods - Nodehealthcheck</a></li>
739 <li data-group="Nodehealthcheck" data-name="nodeHealthcheck" class="">
740 <a href="#api-Nodehealthcheck-nodeHealthcheck">nodeHealthcheck</a>
741 </li>
742 <li class="nav-header" data-group="OnapsoinfracloudResources"><a href="#api-OnapsoinfracloudResources">API Methods - OnapsoinfracloudResources</a></li>
743 <li data-group="OnapsoinfracloudResources" data-name="activateOperationEnvironment" class="">
744 <a href="#api-OnapsoinfracloudResources-activateOperationEnvironment">activateOperationEnvironment</a>
745 </li>
746 <li data-group="OnapsoinfracloudResources" data-name="createOperationEnvironment" class="">
747 <a href="#api-OnapsoinfracloudResources-createOperationEnvironment">createOperationEnvironment</a>
748 </li>
749 <li data-group="OnapsoinfracloudResources" data-name="deactivateOperationEnvironment" class="">
750 <a href="#api-OnapsoinfracloudResources-deactivateOperationEnvironment">deactivateOperationEnvironment</a>
751 </li>
752 <li class="nav-header" data-group="OnapsoinfracloudResourcesRequests"><a href="#api-OnapsoinfracloudResourcesRequests">API Methods - OnapsoinfracloudResourcesRequests</a></li>
753 <li data-group="OnapsoinfracloudResourcesRequests" data-name="getOperationEnvironmentStatusFilter" class="">
754 <a href="#api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">getOperationEnvironmentStatusFilter</a>
755 </li>
756 <li data-group="OnapsoinfracloudResourcesRequests" data-name="unlockOrchestrationRequestForReqId" class="">
757 <a href="#api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">unlockOrchestrationRequestForReqId</a>
758 </li>
759 <li class="nav-header" data-group="OnapsoinframodelDistributions"><a href="#api-OnapsoinframodelDistributions">API Methods - OnapsoinframodelDistributions</a></li>
760 <li data-group="OnapsoinframodelDistributions" data-name="updateModelDistributionStatus" class="">
761 <a href="#api-OnapsoinframodelDistributions-updateModelDistributionStatus">updateModelDistributionStatus</a>
762 </li>
763 <li class="nav-header" data-group="OnapsoinfraorchestrationRequests"><a href="#api-OnapsoinfraorchestrationRequests">API Methods - OnapsoinfraorchestrationRequests</a></li>
764 <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequest" class="">
765 <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">getOrchestrationRequest</a>
766 </li>
767 <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequestForReqId" class="">
768 <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">getOrchestrationRequestForReqId</a>
769 </li>
770 <li data-group="OnapsoinfraorchestrationRequests" data-name="unlockOrchestrationRequest" class="">
771 <a href="#api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">unlockOrchestrationRequest</a>
772 </li>
773 <li class="nav-header" data-group="OnapsoinfraserviceInstantiation"><a href="#api-OnapsoinfraserviceInstantiation">API Methods - OnapsoinfraserviceInstantiation</a></li>
774 <li data-group="OnapsoinfraserviceInstantiation" data-name="activatePort" class="">
775 <a href="#api-OnapsoinfraserviceInstantiation-activatePort">activatePort</a>
776 </li>
777 <li data-group="OnapsoinfraserviceInstantiation" data-name="activateServiceInstance" class="">
778 <a href="#api-OnapsoinfraserviceInstantiation-activateServiceInstance">activateServiceInstance</a>
779 </li>
780 <li data-group="OnapsoinfraserviceInstantiation" data-name="addRelationships" class="">
781 <a href="#api-OnapsoinfraserviceInstantiation-addRelationships">addRelationships</a>
782 </li>
783 <li data-group="OnapsoinfraserviceInstantiation" data-name="applyUpdatedConfig" class="">
784 <a href="#api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">applyUpdatedConfig</a>
785 </li>
786 <li data-group="OnapsoinfraserviceInstantiation" data-name="assignServiceInstance" class="">
787 <a href="#api-OnapsoinfraserviceInstantiation-assignServiceInstance">assignServiceInstance</a>
788 </li>
789 <li data-group="OnapsoinfraserviceInstantiation" data-name="createNetworkInstance" class="">
790 <a href="#api-OnapsoinfraserviceInstantiation-createNetworkInstance">createNetworkInstance</a>
791 </li>
792 <li data-group="OnapsoinfraserviceInstantiation" data-name="createPortConfiguration" class="">
793 <a href="#api-OnapsoinfraserviceInstantiation-createPortConfiguration">createPortConfiguration</a>
794 </li>
795 <li data-group="OnapsoinfraserviceInstantiation" data-name="createServiceInstance" class="">
796 <a href="#api-OnapsoinfraserviceInstantiation-createServiceInstance">createServiceInstance</a>
797 </li>
798 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVfModuleInstance" class="">
799 <a href="#api-OnapsoinfraserviceInstantiation-createVfModuleInstance">createVfModuleInstance</a>
800 </li>
801 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVnfInstance" class="">
802 <a href="#api-OnapsoinfraserviceInstantiation-createVnfInstance">createVnfInstance</a>
803 </li>
804 <li data-group="OnapsoinfraserviceInstantiation" data-name="createVolumeGroupInstance" class="">
805 <a href="#api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">createVolumeGroupInstance</a>
806 </li>
807 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateAndCloudDeleteVfModuleInstance" class="">
808 <a href="#api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">deactivateAndCloudDeleteVfModuleInstance</a>
809 </li>
810 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivatePort" class="">
811 <a href="#api-OnapsoinfraserviceInstantiation-deactivatePort">deactivatePort</a>
812 </li>
813 <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateServiceInstance" class="">
814 <a href="#api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">deactivateServiceInstance</a>
815 </li>
816 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteNetworkInstance" class="">
817 <a href="#api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">deleteNetworkInstance</a>
818 </li>
819 <li data-group="OnapsoinfraserviceInstantiation" data-name="deletePortConfiguration" class="">
820 <a href="#api-OnapsoinfraserviceInstantiation-deletePortConfiguration">deletePortConfiguration</a>
821 </li>
822 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteServiceInstance" class="">
823 <a href="#api-OnapsoinfraserviceInstantiation-deleteServiceInstance">deleteServiceInstance</a>
824 </li>
825 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVfModuleInstance" class="">
826 <a href="#api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">deleteVfModuleInstance</a>
827 </li>
828 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVnfInstance" class="">
829 <a href="#api-OnapsoinfraserviceInstantiation-deleteVnfInstance">deleteVnfInstance</a>
830 </li>
831 <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVolumeGroupInstance" class="">
832 <a href="#api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">deleteVolumeGroupInstance</a>
833 </li>
834 <li data-group="OnapsoinfraserviceInstantiation" data-name="disablePort" class="">
835 <a href="#api-OnapsoinfraserviceInstantiation-disablePort">disablePort</a>
836 </li>
837 <li data-group="OnapsoinfraserviceInstantiation" data-name="enablePort" class="">
838 <a href="#api-OnapsoinfraserviceInstantiation-enablePort">enablePort</a>
839 </li>
840 <li data-group="OnapsoinfraserviceInstantiation" data-name="inPlaceSoftwareUpdate" class="">
841 <a href="#api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">inPlaceSoftwareUpdate</a>
842 </li>
843 <li data-group="OnapsoinfraserviceInstantiation" data-name="removeRelationships" class="">
844 <a href="#api-OnapsoinfraserviceInstantiation-removeRelationships">removeRelationships</a>
845 </li>
846 <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVfModuleInstance" class="">
847 <a href="#api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">replaceVfModuleInstance</a>
848 </li>
849 <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVnfInstance" class="">
850 <a href="#api-OnapsoinfraserviceInstantiation-replaceVnfInstance">replaceVnfInstance</a>
851 </li>
852 <li data-group="OnapsoinfraserviceInstantiation" data-name="scaleOutVfModule" class="">
853 <a href="#api-OnapsoinfraserviceInstantiation-scaleOutVfModule">scaleOutVfModule</a>
854 </li>
855 <li data-group="OnapsoinfraserviceInstantiation" data-name="unassignServiceInstance" class="">
856 <a href="#api-OnapsoinfraserviceInstantiation-unassignServiceInstance">unassignServiceInstance</a>
857 </li>
858 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateNetworkInstance" class="">
859 <a href="#api-OnapsoinfraserviceInstantiation-updateNetworkInstance">updateNetworkInstance</a>
860 </li>
861 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVfModuleInstance" class="">
862 <a href="#api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">updateVfModuleInstance</a>
863 </li>
864 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVnfInstance" class="">
865 <a href="#api-OnapsoinfraserviceInstantiation-updateVnfInstance">updateVnfInstance</a>
866 </li>
867 <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVolumeGroupInstance" class="">
868 <a href="#api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">updateVolumeGroupInstance</a>
869 </li>
870 <li class="nav-header" data-group="Onapsoinfratasks"><a href="#api-Onapsoinfratasks">API Methods - Onapsoinfratasks</a></li>
871 <li data-group="Onapsoinfratasks" data-name="queryFilters" class="">
872 <a href="#api-Onapsoinfratasks-queryFilters">queryFilters</a>
873 </li>
874 </ul>
875 </nav>
876 </div>
877 <div id="content">
878 <div id="project">
879 <div class="pull-left">
880 <h1>SO Casablanca APIs</h1>
881 </div>
882 <div class="clearfix"></div>
883 </div>
884 <div id="header">
885 <div id="api-_">
886 <h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
887 <div class="app-desc">Version: 3.1.2</div>
888 <hr>
889 <div>No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)</div>
890 </div>
891 </div>
892 <div id="sections">
893 <section id="api-E2eServiceInstances">
894 <h1>E2eServiceInstances</h1>
895 <div id="api-E2eServiceInstances-compareModelwithTargetVersion">
896 <article id="api-E2eServiceInstances-compareModelwithTargetVersion-0" data-group="User" data-name="compareModelwithTargetVersion" data-version="0">
897 <div class="pull-left">
898 <h1>compareModelwithTargetVersion</h1>
899 <p>Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId </p>
900 </div>
901 <div class="pull-right"></div>
902 <div class="clearfix"></div>
903 <p></p>
904 <p class="marked"></p>
905 <p></p>
906 <br />
907 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences</span></code></pre>
908 <p>
909 <h3>Usage and SDK Samples</h3>
910 </p>
911 <ul class="nav nav-tabs nav-tabs-examples">
912 <li class="active"><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">Curl</a></li>
913 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">Java</a></li>
914 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">Android</a></li>
915 <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">Groovy</a></li>-->
916 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">Obj-C</a></li>
917 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">JavaScript</a></li>
918 <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">Angular</a></li>-->
919 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">C#</a></li>
920 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">PHP</a></li>
921 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">Perl</a></li>
922 <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">Python</a></li>
923 </ul>
924
925 <div class="tab-content">
926 <div class="tab-pane active" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +0530927 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +0800928 </div>
929 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">
930 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
931import io.swagger.client.auth.*;
932import io.swagger.client.model.*;
933import io.swagger.client.api.E2eServiceInstancesApi;
934
935import java.io.File;
936import java.util.*;
937
938public class E2eServiceInstancesApiExample {
939
940 public static void main(String[] args) {
941
942 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
943 String serviceId = serviceId_example; // String |
944 String version = version_example; // String |
945 String body = body_example; // String |
946 try {
947 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
948 } catch (ApiException e) {
949 System.err.println("Exception when calling E2eServiceInstancesApi#compareModelwithTargetVersion");
950 e.printStackTrace();
951 }
952 }
953}</code></pre>
954 </div>
955
956 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">
957 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
958
959public class E2eServiceInstancesApiExample {
960
961 public static void main(String[] args) {
962 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
963 String serviceId = serviceId_example; // String |
964 String version = version_example; // String |
965 String body = body_example; // String |
966 try {
967 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
968 } catch (ApiException e) {
969 System.err.println("Exception when calling E2eServiceInstancesApi#compareModelwithTargetVersion");
970 e.printStackTrace();
971 }
972 }
973}</code></pre>
974 </div>
975 <!--
976 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">
977 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
978 </div> -->
979 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">
980 <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; //
981String *version = version_example; //
982String *body = body_example; // (optional)
983
984E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
985
986// Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
987[apiInstance compareModelwithTargetVersionWith:serviceId
988 version:version
989 body:body
990 completionHandler: ^(NSError* error) {
991 if (error) {
992 NSLog(@"Error: %@", error);
993 }
994 }];
995</code></pre>
996 </div>
997
998 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">
999 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
1000
1001var api = new SoCasablancaApIs.E2eServiceInstancesApi()
1002
1003var serviceId = serviceId_example; // {String}
1004
1005var version = version_example; // {String}
1006
1007var opts = {
1008 'body': body_example // {String}
1009};
1010
1011var callback = function(error, data, response) {
1012 if (error) {
1013 console.error(error);
1014 } else {
1015 console.log('API called successfully.');
1016 }
1017};
1018api.compareModelwithTargetVersion(serviceId, version, opts, callback);
1019</code></pre>
1020 </div>
1021
1022 <!--<div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">
1023 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1024 </div>-->
1025 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">
1026 <pre class="prettyprint"><code class="language-cs">using System;
1027using System.Diagnostics;
1028using IO.Swagger.Api;
1029using IO.Swagger.Client;
1030using IO.Swagger.Model;
1031
1032namespace Example
1033{
1034 public class compareModelwithTargetVersionExample
1035 {
1036 public void main()
1037 {
1038
1039 var apiInstance = new E2eServiceInstancesApi();
1040 var serviceId = serviceId_example; // String |
1041 var version = version_example; // String |
1042 var body = body_example; // String | (optional)
1043
1044 try
1045 {
1046 // Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
1047 apiInstance.compareModelwithTargetVersion(serviceId, version, body);
1048 }
1049 catch (Exception e)
1050 {
1051 Debug.Print("Exception when calling E2eServiceInstancesApi.compareModelwithTargetVersion: " + e.Message );
1052 }
1053 }
1054 }
1055}
1056</code></pre>
1057 </div>
1058
1059 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">
1060 <pre class="prettyprint"><code class="language-php"><&#63;php
1061require_once(__DIR__ . '/vendor/autoload.php');
1062
1063$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
1064$serviceId = serviceId_example; // String |
1065$version = version_example; // String |
1066$body = body_example; // String |
1067
1068try {
1069 $api_instance->compareModelwithTargetVersion($serviceId, $version, $body);
1070} catch (Exception $e) {
1071 echo 'Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: ', $e->getMessage(), PHP_EOL;
1072}
1073?></code></pre>
1074 </div>
1075
1076 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">
1077 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1078use WWW::SwaggerClient::Configuration;
1079use WWW::SwaggerClient::E2eServiceInstancesApi;
1080
1081my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
1082my $serviceId = serviceId_example; # String |
1083my $version = version_example; # String |
1084my $body = WWW::SwaggerClient::Object::String->new(); # String |
1085
1086eval {
1087 $api_instance->compareModelwithTargetVersion(serviceId => $serviceId, version => $version, body => $body);
1088};
1089if ($@) {
1090 warn "Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: $@\n";
1091}</code></pre>
1092 </div>
1093
1094 <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">
1095 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1096import time
1097import swagger_client
1098from swagger_client.rest import ApiException
1099from pprint import pprint
1100
1101# create an instance of the API class
1102api_instance = swagger_client.E2eServiceInstancesApi()
1103serviceId = serviceId_example # String |
1104version = version_example # String |
1105body = body_example # String | (optional)
1106
1107try:
1108 # Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId
1109 api_instance.compare_modelwith_target_version(serviceId, version, body=body)
1110except ApiException as e:
1111 print("Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: %s\n" % e)</code></pre>
1112 </div>
1113 </div>
1114
1115 <h2>Parameters</h2>
1116
1117 <div class="methodsubtabletitle">Path parameters</div>
1118 <table id="methodsubtable">
1119 <tr>
1120 <th width="150px">Name</th>
1121 <th>Description</th>
1122 </tr>
1123 <tr><td style="width:150px;">serviceId*</td>
1124<td>
1125
1126
1127 <div id="d2e199_compareModelwithTargetVersion_serviceId">
1128 <div class="json-schema-view">
1129 <div class="primitive">
1130 <span class="type">
1131 String
1132 </span>
1133
1134 </div>
1135 <div class="inner required">
1136 Required
1137 </div>
1138 </div>
1139 </div>
1140</td>
1141</tr>
1142
1143 <tr><td style="width:150px;">version*</td>
1144<td>
1145
1146
1147 <div id="d2e199_compareModelwithTargetVersion_version">
1148 <div class="json-schema-view">
1149 <div class="primitive">
1150 <span class="type">
1151 String
1152 </span>
1153
1154 </div>
1155 <div class="inner required">
1156 Required
1157 </div>
1158 </div>
1159 </div>
1160</td>
1161</tr>
1162
1163 </table>
1164
1165
1166 <div class="methodsubtabletitle">Body parameters</div>
1167 <table id="methodsubtable">
1168 <tr>
1169 <th width="150px">Name</th>
1170 <th>Description</th>
1171 </tr>
1172 <tr><td style="width:150px;">body </td>
1173<td>
1174
1175
1176<script>
1177$(document).ready(function() {
1178 var schemaWrapper = {
1179 "in" : "body",
1180 "name" : "body",
1181 "required" : false,
1182 "schema" : {
1183 "type" : "string"
1184 }
1185};
1186 var schema = schemaWrapper.schema;
1187 if (schema.$ref != null) {
1188 schema = defsParser.$refs.get(schema.$ref);
1189 } else {
1190 schemaWrapper.definitions = Object.assign({}, defs);
1191 $RefParser.dereference(schemaWrapper).catch(function(err) {
1192 console.log(err);
1193 });
1194 }
1195
1196 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
1197 var result = $('#d2e199_compareModelwithTargetVersion_body');
1198 result.empty();
1199 result.append(view.render());
1200});
1201</script>
1202<div id="d2e199_compareModelwithTargetVersion_body"></div>
1203</td>
1204</tr>
1205
1206 </table>
1207
1208
1209
1210 <h2>Responses</h2>
1211 <h3> Status: default - successful operation </h3>
1212
1213 <ul class="nav nav-tabs nav-tabs-examples" >
1214 </ul>
1215
1216 <div class="tab-content" style='margin-bottom: 10px;'>
1217 </div>
1218
1219 </article>
1220 </div>
1221 <hr>
1222 <div id="api-E2eServiceInstances-createE2EServiceInstance">
1223 <article id="api-E2eServiceInstances-createE2EServiceInstance-0" data-group="User" data-name="createE2EServiceInstance" data-version="0">
1224 <div class="pull-left">
1225 <h1>createE2EServiceInstance</h1>
1226 <p>Create an E2E Service Instance on a version provided</p>
1227 </div>
1228 <div class="pull-right"></div>
1229 <div class="clearfix"></div>
1230 <p></p>
1231 <p class="marked"></p>
1232 <p></p>
1233 <br />
1234 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}</span></code></pre>
1235 <p>
1236 <h3>Usage and SDK Samples</h3>
1237 </p>
1238 <ul class="nav nav-tabs nav-tabs-examples">
1239 <li class="active"><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-curl">Curl</a></li>
1240 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-java">Java</a></li>
1241 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-android">Android</a></li>
1242 <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">Groovy</a></li>-->
1243 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-objc">Obj-C</a></li>
1244 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">JavaScript</a></li>
1245 <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-angular">Angular</a></li>-->
1246 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">C#</a></li>
1247 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-php">PHP</a></li>
1248 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-perl">Perl</a></li>
1249 <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-python">Python</a></li>
1250 </ul>
1251
1252 <div class="tab-content">
1253 <div class="tab-pane active" id="examples-E2eServiceInstances-createE2EServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05301254 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08001255 </div>
1256 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-java">
1257 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
1258import io.swagger.client.auth.*;
1259import io.swagger.client.model.*;
1260import io.swagger.client.api.E2eServiceInstancesApi;
1261
1262import java.io.File;
1263import java.util.*;
1264
1265public class E2eServiceInstancesApiExample {
1266
1267 public static void main(String[] args) {
1268
1269 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1270 String version = version_example; // String |
1271 String body = body_example; // String |
1272 try {
1273 apiInstance.createE2EServiceInstance(version, body);
1274 } catch (ApiException e) {
1275 System.err.println("Exception when calling E2eServiceInstancesApi#createE2EServiceInstance");
1276 e.printStackTrace();
1277 }
1278 }
1279}</code></pre>
1280 </div>
1281
1282 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-android">
1283 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
1284
1285public class E2eServiceInstancesApiExample {
1286
1287 public static void main(String[] args) {
1288 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1289 String version = version_example; // String |
1290 String body = body_example; // String |
1291 try {
1292 apiInstance.createE2EServiceInstance(version, body);
1293 } catch (ApiException e) {
1294 System.err.println("Exception when calling E2eServiceInstancesApi#createE2EServiceInstance");
1295 e.printStackTrace();
1296 }
1297 }
1298}</code></pre>
1299 </div>
1300 <!--
1301 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">
1302 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1303 </div> -->
1304 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-objc">
1305 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
1306String *body = body_example; // (optional)
1307
1308E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
1309
1310// Create an E2E Service Instance on a version provided
1311[apiInstance createE2EServiceInstanceWith:version
1312 body:body
1313 completionHandler: ^(NSError* error) {
1314 if (error) {
1315 NSLog(@"Error: %@", error);
1316 }
1317 }];
1318</code></pre>
1319 </div>
1320
1321 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">
1322 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
1323
1324var api = new SoCasablancaApIs.E2eServiceInstancesApi()
1325
1326var version = version_example; // {String}
1327
1328var opts = {
1329 'body': body_example // {String}
1330};
1331
1332var callback = function(error, data, response) {
1333 if (error) {
1334 console.error(error);
1335 } else {
1336 console.log('API called successfully.');
1337 }
1338};
1339api.createE2EServiceInstance(version, opts, callback);
1340</code></pre>
1341 </div>
1342
1343 <!--<div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-angular">
1344 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1345 </div>-->
1346 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">
1347 <pre class="prettyprint"><code class="language-cs">using System;
1348using System.Diagnostics;
1349using IO.Swagger.Api;
1350using IO.Swagger.Client;
1351using IO.Swagger.Model;
1352
1353namespace Example
1354{
1355 public class createE2EServiceInstanceExample
1356 {
1357 public void main()
1358 {
1359
1360 var apiInstance = new E2eServiceInstancesApi();
1361 var version = version_example; // String |
1362 var body = body_example; // String | (optional)
1363
1364 try
1365 {
1366 // Create an E2E Service Instance on a version provided
1367 apiInstance.createE2EServiceInstance(version, body);
1368 }
1369 catch (Exception e)
1370 {
1371 Debug.Print("Exception when calling E2eServiceInstancesApi.createE2EServiceInstance: " + e.Message );
1372 }
1373 }
1374 }
1375}
1376</code></pre>
1377 </div>
1378
1379 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-php">
1380 <pre class="prettyprint"><code class="language-php"><&#63;php
1381require_once(__DIR__ . '/vendor/autoload.php');
1382
1383$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
1384$version = version_example; // String |
1385$body = body_example; // String |
1386
1387try {
1388 $api_instance->createE2EServiceInstance($version, $body);
1389} catch (Exception $e) {
1390 echo 'Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
1391}
1392?></code></pre>
1393 </div>
1394
1395 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-perl">
1396 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1397use WWW::SwaggerClient::Configuration;
1398use WWW::SwaggerClient::E2eServiceInstancesApi;
1399
1400my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
1401my $version = version_example; # String |
1402my $body = WWW::SwaggerClient::Object::String->new(); # String |
1403
1404eval {
1405 $api_instance->createE2EServiceInstance(version => $version, body => $body);
1406};
1407if ($@) {
1408 warn "Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: $@\n";
1409}</code></pre>
1410 </div>
1411
1412 <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-python">
1413 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1414import time
1415import swagger_client
1416from swagger_client.rest import ApiException
1417from pprint import pprint
1418
1419# create an instance of the API class
1420api_instance = swagger_client.E2eServiceInstancesApi()
1421version = version_example # String |
1422body = body_example # String | (optional)
1423
1424try:
1425 # Create an E2E Service Instance on a version provided
1426 api_instance.create_e2_e_service_instance(version, body=body)
1427except ApiException as e:
1428 print("Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: %s\n" % e)</code></pre>
1429 </div>
1430 </div>
1431
1432 <h2>Parameters</h2>
1433
1434 <div class="methodsubtabletitle">Path parameters</div>
1435 <table id="methodsubtable">
1436 <tr>
1437 <th width="150px">Name</th>
1438 <th>Description</th>
1439 </tr>
1440 <tr><td style="width:150px;">version*</td>
1441<td>
1442
1443
1444 <div id="d2e199_createE2EServiceInstance_version">
1445 <div class="json-schema-view">
1446 <div class="primitive">
1447 <span class="type">
1448 String
1449 </span>
1450
1451 </div>
1452 <div class="inner required">
1453 Required
1454 </div>
1455 </div>
1456 </div>
1457</td>
1458</tr>
1459
1460 </table>
1461
1462
1463 <div class="methodsubtabletitle">Body parameters</div>
1464 <table id="methodsubtable">
1465 <tr>
1466 <th width="150px">Name</th>
1467 <th>Description</th>
1468 </tr>
1469 <tr><td style="width:150px;">body </td>
1470<td>
1471
1472
1473<script>
1474$(document).ready(function() {
1475 var schemaWrapper = {
1476 "in" : "body",
1477 "name" : "body",
1478 "required" : false,
1479 "schema" : {
1480 "type" : "string"
1481 }
1482};
1483 var schema = schemaWrapper.schema;
1484 if (schema.$ref != null) {
1485 schema = defsParser.$refs.get(schema.$ref);
1486 } else {
1487 schemaWrapper.definitions = Object.assign({}, defs);
1488 $RefParser.dereference(schemaWrapper).catch(function(err) {
1489 console.log(err);
1490 });
1491 }
1492
1493 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
1494 var result = $('#d2e199_createE2EServiceInstance_body');
1495 result.empty();
1496 result.append(view.render());
1497});
1498</script>
1499<div id="d2e199_createE2EServiceInstance_body"></div>
1500</td>
1501</tr>
1502
1503 </table>
1504
1505
1506
1507 <h2>Responses</h2>
1508 <h3> Status: default - successful operation </h3>
1509
1510 <ul class="nav nav-tabs nav-tabs-examples" >
1511 </ul>
1512
1513 <div class="tab-content" style='margin-bottom: 10px;'>
1514 </div>
1515
1516 </article>
1517 </div>
1518 <hr>
1519 <div id="api-E2eServiceInstances-deleteE2EServiceInstance">
1520 <article id="api-E2eServiceInstances-deleteE2EServiceInstance-0" data-group="User" data-name="deleteE2EServiceInstance" data-version="0">
1521 <div class="pull-left">
1522 <h1>deleteE2EServiceInstance</h1>
1523 <p>Delete E2E Service Instance on a specified version and serviceId</p>
1524 </div>
1525 <div class="pull-right"></div>
1526 <div class="clearfix"></div>
1527 <p></p>
1528 <p class="marked"></p>
1529 <p></p>
1530 <br />
1531 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre>
1532 <p>
1533 <h3>Usage and SDK Samples</h3>
1534 </p>
1535 <ul class="nav nav-tabs nav-tabs-examples">
1536 <li class="active"><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">Curl</a></li>
1537 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">Java</a></li>
1538 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">Android</a></li>
1539 <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">Groovy</a></li>-->
1540 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">Obj-C</a></li>
1541 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">JavaScript</a></li>
1542 <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">Angular</a></li>-->
1543 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">C#</a></li>
1544 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">PHP</a></li>
1545 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">Perl</a></li>
1546 <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">Python</a></li>
1547 </ul>
1548
1549 <div class="tab-content">
1550 <div class="tab-pane active" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05301551 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08001552 </div>
1553 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">
1554 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
1555import io.swagger.client.auth.*;
1556import io.swagger.client.model.*;
1557import io.swagger.client.api.E2eServiceInstancesApi;
1558
1559import java.io.File;
1560import java.util.*;
1561
1562public class E2eServiceInstancesApiExample {
1563
1564 public static void main(String[] args) {
1565
1566 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1567 String version = version_example; // String |
1568 String serviceId = serviceId_example; // String |
1569 String body = body_example; // String |
1570 try {
1571 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
1572 } catch (ApiException e) {
1573 System.err.println("Exception when calling E2eServiceInstancesApi#deleteE2EServiceInstance");
1574 e.printStackTrace();
1575 }
1576 }
1577}</code></pre>
1578 </div>
1579
1580 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">
1581 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
1582
1583public class E2eServiceInstancesApiExample {
1584
1585 public static void main(String[] args) {
1586 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1587 String version = version_example; // String |
1588 String serviceId = serviceId_example; // String |
1589 String body = body_example; // String |
1590 try {
1591 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
1592 } catch (ApiException e) {
1593 System.err.println("Exception when calling E2eServiceInstancesApi#deleteE2EServiceInstance");
1594 e.printStackTrace();
1595 }
1596 }
1597}</code></pre>
1598 </div>
1599 <!--
1600 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">
1601 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1602 </div> -->
1603 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">
1604 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
1605String *serviceId = serviceId_example; //
1606String *body = body_example; // (optional)
1607
1608E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
1609
1610// Delete E2E Service Instance on a specified version and serviceId
1611[apiInstance deleteE2EServiceInstanceWith:version
1612 serviceId:serviceId
1613 body:body
1614 completionHandler: ^(NSError* error) {
1615 if (error) {
1616 NSLog(@"Error: %@", error);
1617 }
1618 }];
1619</code></pre>
1620 </div>
1621
1622 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">
1623 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
1624
1625var api = new SoCasablancaApIs.E2eServiceInstancesApi()
1626
1627var version = version_example; // {String}
1628
1629var serviceId = serviceId_example; // {String}
1630
1631var opts = {
1632 'body': body_example // {String}
1633};
1634
1635var callback = function(error, data, response) {
1636 if (error) {
1637 console.error(error);
1638 } else {
1639 console.log('API called successfully.');
1640 }
1641};
1642api.deleteE2EServiceInstance(version, serviceId, opts, callback);
1643</code></pre>
1644 </div>
1645
1646 <!--<div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">
1647 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1648 </div>-->
1649 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">
1650 <pre class="prettyprint"><code class="language-cs">using System;
1651using System.Diagnostics;
1652using IO.Swagger.Api;
1653using IO.Swagger.Client;
1654using IO.Swagger.Model;
1655
1656namespace Example
1657{
1658 public class deleteE2EServiceInstanceExample
1659 {
1660 public void main()
1661 {
1662
1663 var apiInstance = new E2eServiceInstancesApi();
1664 var version = version_example; // String |
1665 var serviceId = serviceId_example; // String |
1666 var body = body_example; // String | (optional)
1667
1668 try
1669 {
1670 // Delete E2E Service Instance on a specified version and serviceId
1671 apiInstance.deleteE2EServiceInstance(version, serviceId, body);
1672 }
1673 catch (Exception e)
1674 {
1675 Debug.Print("Exception when calling E2eServiceInstancesApi.deleteE2EServiceInstance: " + e.Message );
1676 }
1677 }
1678 }
1679}
1680</code></pre>
1681 </div>
1682
1683 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">
1684 <pre class="prettyprint"><code class="language-php"><&#63;php
1685require_once(__DIR__ . '/vendor/autoload.php');
1686
1687$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
1688$version = version_example; // String |
1689$serviceId = serviceId_example; // String |
1690$body = body_example; // String |
1691
1692try {
1693 $api_instance->deleteE2EServiceInstance($version, $serviceId, $body);
1694} catch (Exception $e) {
1695 echo 'Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
1696}
1697?></code></pre>
1698 </div>
1699
1700 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">
1701 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
1702use WWW::SwaggerClient::Configuration;
1703use WWW::SwaggerClient::E2eServiceInstancesApi;
1704
1705my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
1706my $version = version_example; # String |
1707my $serviceId = serviceId_example; # String |
1708my $body = WWW::SwaggerClient::Object::String->new(); # String |
1709
1710eval {
1711 $api_instance->deleteE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
1712};
1713if ($@) {
1714 warn "Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: $@\n";
1715}</code></pre>
1716 </div>
1717
1718 <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">
1719 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
1720import time
1721import swagger_client
1722from swagger_client.rest import ApiException
1723from pprint import pprint
1724
1725# create an instance of the API class
1726api_instance = swagger_client.E2eServiceInstancesApi()
1727version = version_example # String |
1728serviceId = serviceId_example # String |
1729body = body_example # String | (optional)
1730
1731try:
1732 # Delete E2E Service Instance on a specified version and serviceId
1733 api_instance.delete_e2_e_service_instance(version, serviceId, body=body)
1734except ApiException as e:
1735 print("Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: %s\n" % e)</code></pre>
1736 </div>
1737 </div>
1738
1739 <h2>Parameters</h2>
1740
1741 <div class="methodsubtabletitle">Path parameters</div>
1742 <table id="methodsubtable">
1743 <tr>
1744 <th width="150px">Name</th>
1745 <th>Description</th>
1746 </tr>
1747 <tr><td style="width:150px;">version*</td>
1748<td>
1749
1750
1751 <div id="d2e199_deleteE2EServiceInstance_version">
1752 <div class="json-schema-view">
1753 <div class="primitive">
1754 <span class="type">
1755 String
1756 </span>
1757
1758 </div>
1759 <div class="inner required">
1760 Required
1761 </div>
1762 </div>
1763 </div>
1764</td>
1765</tr>
1766
1767 <tr><td style="width:150px;">serviceId*</td>
1768<td>
1769
1770
1771 <div id="d2e199_deleteE2EServiceInstance_serviceId">
1772 <div class="json-schema-view">
1773 <div class="primitive">
1774 <span class="type">
1775 String
1776 </span>
1777
1778 </div>
1779 <div class="inner required">
1780 Required
1781 </div>
1782 </div>
1783 </div>
1784</td>
1785</tr>
1786
1787 </table>
1788
1789
1790 <div class="methodsubtabletitle">Body parameters</div>
1791 <table id="methodsubtable">
1792 <tr>
1793 <th width="150px">Name</th>
1794 <th>Description</th>
1795 </tr>
1796 <tr><td style="width:150px;">body </td>
1797<td>
1798
1799
1800<script>
1801$(document).ready(function() {
1802 var schemaWrapper = {
1803 "in" : "body",
1804 "name" : "body",
1805 "required" : false,
1806 "schema" : {
1807 "type" : "string"
1808 }
1809};
1810 var schema = schemaWrapper.schema;
1811 if (schema.$ref != null) {
1812 schema = defsParser.$refs.get(schema.$ref);
1813 } else {
1814 schemaWrapper.definitions = Object.assign({}, defs);
1815 $RefParser.dereference(schemaWrapper).catch(function(err) {
1816 console.log(err);
1817 });
1818 }
1819
1820 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
1821 var result = $('#d2e199_deleteE2EServiceInstance_body');
1822 result.empty();
1823 result.append(view.render());
1824});
1825</script>
1826<div id="d2e199_deleteE2EServiceInstance_body"></div>
1827</td>
1828</tr>
1829
1830 </table>
1831
1832
1833
1834 <h2>Responses</h2>
1835 <h3> Status: default - successful operation </h3>
1836
1837 <ul class="nav nav-tabs nav-tabs-examples" >
1838 </ul>
1839
1840 <div class="tab-content" style='margin-bottom: 10px;'>
1841 </div>
1842
1843 </article>
1844 </div>
1845 <hr>
1846 <div id="api-E2eServiceInstances-getE2EServiceInstances">
1847 <article id="api-E2eServiceInstances-getE2EServiceInstances-0" data-group="User" data-name="getE2EServiceInstances" data-version="0">
1848 <div class="pull-left">
1849 <h1>getE2EServiceInstances</h1>
1850 <p>Find e2eServiceInstances Requests for a given serviceId and operationId</p>
1851 </div>
1852 <div class="pull-right"></div>
1853 <div class="clearfix"></div>
1854 <p></p>
1855 <p class="marked"></p>
1856 <p></p>
1857 <br />
1858 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}</span></code></pre>
1859 <p>
1860 <h3>Usage and SDK Samples</h3>
1861 </p>
1862 <ul class="nav nav-tabs nav-tabs-examples">
1863 <li class="active"><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-curl">Curl</a></li>
1864 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-java">Java</a></li>
1865 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-android">Android</a></li>
1866 <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">Groovy</a></li>-->
1867 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-objc">Obj-C</a></li>
1868 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">JavaScript</a></li>
1869 <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-angular">Angular</a></li>-->
1870 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">C#</a></li>
1871 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-php">PHP</a></li>
1872 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-perl">Perl</a></li>
1873 <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-python">Python</a></li>
1874 </ul>
1875
1876 <div class="tab-content">
1877 <div class="tab-pane active" id="examples-E2eServiceInstances-getE2EServiceInstances-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05301878 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08001879 </div>
1880 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-java">
1881 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
1882import io.swagger.client.auth.*;
1883import io.swagger.client.model.*;
1884import io.swagger.client.api.E2eServiceInstancesApi;
1885
1886import java.io.File;
1887import java.util.*;
1888
1889public class E2eServiceInstancesApiExample {
1890
1891 public static void main(String[] args) {
1892
1893 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1894 String serviceId = serviceId_example; // String |
1895 String version = version_example; // String |
1896 String operationId = operationId_example; // String |
1897 try {
1898 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
1899 } catch (ApiException e) {
1900 System.err.println("Exception when calling E2eServiceInstancesApi#getE2EServiceInstances");
1901 e.printStackTrace();
1902 }
1903 }
1904}</code></pre>
1905 </div>
1906
1907 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-android">
1908 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
1909
1910public class E2eServiceInstancesApiExample {
1911
1912 public static void main(String[] args) {
1913 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
1914 String serviceId = serviceId_example; // String |
1915 String version = version_example; // String |
1916 String operationId = operationId_example; // String |
1917 try {
1918 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
1919 } catch (ApiException e) {
1920 System.err.println("Exception when calling E2eServiceInstancesApi#getE2EServiceInstances");
1921 e.printStackTrace();
1922 }
1923 }
1924}</code></pre>
1925 </div>
1926 <!--
1927 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">
1928 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1929 </div> -->
1930 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-objc">
1931 <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; //
1932String *version = version_example; //
1933String *operationId = operationId_example; //
1934
1935E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
1936
1937// Find e2eServiceInstances Requests for a given serviceId and operationId
1938[apiInstance getE2EServiceInstancesWith:serviceId
1939 version:version
1940 operationId:operationId
1941 completionHandler: ^(NSError* error) {
1942 if (error) {
1943 NSLog(@"Error: %@", error);
1944 }
1945 }];
1946</code></pre>
1947 </div>
1948
1949 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">
1950 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
1951
1952var api = new SoCasablancaApIs.E2eServiceInstancesApi()
1953
1954var serviceId = serviceId_example; // {String}
1955
1956var version = version_example; // {String}
1957
1958var operationId = operationId_example; // {String}
1959
1960
1961var callback = function(error, data, response) {
1962 if (error) {
1963 console.error(error);
1964 } else {
1965 console.log('API called successfully.');
1966 }
1967};
1968api.getE2EServiceInstances(serviceId, version, operationId, callback);
1969</code></pre>
1970 </div>
1971
1972 <!--<div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-angular">
1973 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
1974 </div>-->
1975 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">
1976 <pre class="prettyprint"><code class="language-cs">using System;
1977using System.Diagnostics;
1978using IO.Swagger.Api;
1979using IO.Swagger.Client;
1980using IO.Swagger.Model;
1981
1982namespace Example
1983{
1984 public class getE2EServiceInstancesExample
1985 {
1986 public void main()
1987 {
1988
1989 var apiInstance = new E2eServiceInstancesApi();
1990 var serviceId = serviceId_example; // String |
1991 var version = version_example; // String |
1992 var operationId = operationId_example; // String |
1993
1994 try
1995 {
1996 // Find e2eServiceInstances Requests for a given serviceId and operationId
1997 apiInstance.getE2EServiceInstances(serviceId, version, operationId);
1998 }
1999 catch (Exception e)
2000 {
2001 Debug.Print("Exception when calling E2eServiceInstancesApi.getE2EServiceInstances: " + e.Message );
2002 }
2003 }
2004 }
2005}
2006</code></pre>
2007 </div>
2008
2009 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-php">
2010 <pre class="prettyprint"><code class="language-php"><&#63;php
2011require_once(__DIR__ . '/vendor/autoload.php');
2012
2013$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
2014$serviceId = serviceId_example; // String |
2015$version = version_example; // String |
2016$operationId = operationId_example; // String |
2017
2018try {
2019 $api_instance->getE2EServiceInstances($serviceId, $version, $operationId);
2020} catch (Exception $e) {
2021 echo 'Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: ', $e->getMessage(), PHP_EOL;
2022}
2023?></code></pre>
2024 </div>
2025
2026 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-perl">
2027 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2028use WWW::SwaggerClient::Configuration;
2029use WWW::SwaggerClient::E2eServiceInstancesApi;
2030
2031my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
2032my $serviceId = serviceId_example; # String |
2033my $version = version_example; # String |
2034my $operationId = operationId_example; # String |
2035
2036eval {
2037 $api_instance->getE2EServiceInstances(serviceId => $serviceId, version => $version, operationId => $operationId);
2038};
2039if ($@) {
2040 warn "Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: $@\n";
2041}</code></pre>
2042 </div>
2043
2044 <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-python">
2045 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2046import time
2047import swagger_client
2048from swagger_client.rest import ApiException
2049from pprint import pprint
2050
2051# create an instance of the API class
2052api_instance = swagger_client.E2eServiceInstancesApi()
2053serviceId = serviceId_example # String |
2054version = version_example # String |
2055operationId = operationId_example # String |
2056
2057try:
2058 # Find e2eServiceInstances Requests for a given serviceId and operationId
2059 api_instance.get_e2_e_service_instances(serviceId, version, operationId)
2060except ApiException as e:
2061 print("Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: %s\n" % e)</code></pre>
2062 </div>
2063 </div>
2064
2065 <h2>Parameters</h2>
2066
2067 <div class="methodsubtabletitle">Path parameters</div>
2068 <table id="methodsubtable">
2069 <tr>
2070 <th width="150px">Name</th>
2071 <th>Description</th>
2072 </tr>
2073 <tr><td style="width:150px;">serviceId*</td>
2074<td>
2075
2076
2077 <div id="d2e199_getE2EServiceInstances_serviceId">
2078 <div class="json-schema-view">
2079 <div class="primitive">
2080 <span class="type">
2081 String
2082 </span>
2083
2084 </div>
2085 <div class="inner required">
2086 Required
2087 </div>
2088 </div>
2089 </div>
2090</td>
2091</tr>
2092
2093 <tr><td style="width:150px;">version*</td>
2094<td>
2095
2096
2097 <div id="d2e199_getE2EServiceInstances_version">
2098 <div class="json-schema-view">
2099 <div class="primitive">
2100 <span class="type">
2101 String
2102 </span>
2103
2104 </div>
2105 <div class="inner required">
2106 Required
2107 </div>
2108 </div>
2109 </div>
2110</td>
2111</tr>
2112
2113 <tr><td style="width:150px;">operationId*</td>
2114<td>
2115
2116
2117 <div id="d2e199_getE2EServiceInstances_operationId">
2118 <div class="json-schema-view">
2119 <div class="primitive">
2120 <span class="type">
2121 String
2122 </span>
2123
2124 </div>
2125 <div class="inner required">
2126 Required
2127 </div>
2128 </div>
2129 </div>
2130</td>
2131</tr>
2132
2133 </table>
2134
2135
2136
2137
2138
2139 <h2>Responses</h2>
2140 <h3> Status: default - successful operation </h3>
2141
2142 <ul class="nav nav-tabs nav-tabs-examples" >
2143 </ul>
2144
2145 <div class="tab-content" style='margin-bottom: 10px;'>
2146 </div>
2147
2148 </article>
2149 </div>
2150 <hr>
2151 <div id="api-E2eServiceInstances-scaleE2EServiceInstance">
2152 <article id="api-E2eServiceInstances-scaleE2EServiceInstance-0" data-group="User" data-name="scaleE2EServiceInstance" data-version="0">
2153 <div class="pull-left">
2154 <h1>scaleE2EServiceInstance</h1>
2155 <p>Scale E2E Service Instance on a specified version</p>
2156 </div>
2157 <div class="pull-right"></div>
2158 <div class="clearfix"></div>
2159 <p></p>
2160 <p class="marked"></p>
2161 <p></p>
2162 <br />
2163 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale</span></code></pre>
2164 <p>
2165 <h3>Usage and SDK Samples</h3>
2166 </p>
2167 <ul class="nav nav-tabs nav-tabs-examples">
2168 <li class="active"><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">Curl</a></li>
2169 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">Java</a></li>
2170 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">Android</a></li>
2171 <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">Groovy</a></li>-->
2172 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">Obj-C</a></li>
2173 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">JavaScript</a></li>
2174 <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">Angular</a></li>-->
2175 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">C#</a></li>
2176 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">PHP</a></li>
2177 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">Perl</a></li>
2178 <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">Python</a></li>
2179 </ul>
2180
2181 <div class="tab-content">
2182 <div class="tab-pane active" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05302183 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08002184 </div>
2185 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">
2186 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2187import io.swagger.client.auth.*;
2188import io.swagger.client.model.*;
2189import io.swagger.client.api.E2eServiceInstancesApi;
2190
2191import java.io.File;
2192import java.util.*;
2193
2194public class E2eServiceInstancesApiExample {
2195
2196 public static void main(String[] args) {
2197
2198 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
2199 String version = version_example; // String |
2200 String serviceId = serviceId_example; // String |
2201 String body = body_example; // String |
2202 try {
2203 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
2204 } catch (ApiException e) {
2205 System.err.println("Exception when calling E2eServiceInstancesApi#scaleE2EServiceInstance");
2206 e.printStackTrace();
2207 }
2208 }
2209}</code></pre>
2210 </div>
2211
2212 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">
2213 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2214
2215public class E2eServiceInstancesApiExample {
2216
2217 public static void main(String[] args) {
2218 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
2219 String version = version_example; // String |
2220 String serviceId = serviceId_example; // String |
2221 String body = body_example; // String |
2222 try {
2223 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
2224 } catch (ApiException e) {
2225 System.err.println("Exception when calling E2eServiceInstancesApi#scaleE2EServiceInstance");
2226 e.printStackTrace();
2227 }
2228 }
2229}</code></pre>
2230 </div>
2231 <!--
2232 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">
2233 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2234 </div> -->
2235 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">
2236 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
2237String *serviceId = serviceId_example; //
2238String *body = body_example; // (optional)
2239
2240E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
2241
2242// Scale E2E Service Instance on a specified version
2243[apiInstance scaleE2EServiceInstanceWith:version
2244 serviceId:serviceId
2245 body:body
2246 completionHandler: ^(NSError* error) {
2247 if (error) {
2248 NSLog(@"Error: %@", error);
2249 }
2250 }];
2251</code></pre>
2252 </div>
2253
2254 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">
2255 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
2256
2257var api = new SoCasablancaApIs.E2eServiceInstancesApi()
2258
2259var version = version_example; // {String}
2260
2261var serviceId = serviceId_example; // {String}
2262
2263var opts = {
2264 'body': body_example // {String}
2265};
2266
2267var callback = function(error, data, response) {
2268 if (error) {
2269 console.error(error);
2270 } else {
2271 console.log('API called successfully.');
2272 }
2273};
2274api.scaleE2EServiceInstance(version, serviceId, opts, callback);
2275</code></pre>
2276 </div>
2277
2278 <!--<div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">
2279 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2280 </div>-->
2281 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">
2282 <pre class="prettyprint"><code class="language-cs">using System;
2283using System.Diagnostics;
2284using IO.Swagger.Api;
2285using IO.Swagger.Client;
2286using IO.Swagger.Model;
2287
2288namespace Example
2289{
2290 public class scaleE2EServiceInstanceExample
2291 {
2292 public void main()
2293 {
2294
2295 var apiInstance = new E2eServiceInstancesApi();
2296 var version = version_example; // String |
2297 var serviceId = serviceId_example; // String |
2298 var body = body_example; // String | (optional)
2299
2300 try
2301 {
2302 // Scale E2E Service Instance on a specified version
2303 apiInstance.scaleE2EServiceInstance(version, serviceId, body);
2304 }
2305 catch (Exception e)
2306 {
2307 Debug.Print("Exception when calling E2eServiceInstancesApi.scaleE2EServiceInstance: " + e.Message );
2308 }
2309 }
2310 }
2311}
2312</code></pre>
2313 </div>
2314
2315 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">
2316 <pre class="prettyprint"><code class="language-php"><&#63;php
2317require_once(__DIR__ . '/vendor/autoload.php');
2318
2319$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
2320$version = version_example; // String |
2321$serviceId = serviceId_example; // String |
2322$body = body_example; // String |
2323
2324try {
2325 $api_instance->scaleE2EServiceInstance($version, $serviceId, $body);
2326} catch (Exception $e) {
2327 echo 'Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
2328}
2329?></code></pre>
2330 </div>
2331
2332 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">
2333 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2334use WWW::SwaggerClient::Configuration;
2335use WWW::SwaggerClient::E2eServiceInstancesApi;
2336
2337my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
2338my $version = version_example; # String |
2339my $serviceId = serviceId_example; # String |
2340my $body = WWW::SwaggerClient::Object::String->new(); # String |
2341
2342eval {
2343 $api_instance->scaleE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
2344};
2345if ($@) {
2346 warn "Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: $@\n";
2347}</code></pre>
2348 </div>
2349
2350 <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">
2351 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2352import time
2353import swagger_client
2354from swagger_client.rest import ApiException
2355from pprint import pprint
2356
2357# create an instance of the API class
2358api_instance = swagger_client.E2eServiceInstancesApi()
2359version = version_example # String |
2360serviceId = serviceId_example # String |
2361body = body_example # String | (optional)
2362
2363try:
2364 # Scale E2E Service Instance on a specified version
2365 api_instance.scale_e2_e_service_instance(version, serviceId, body=body)
2366except ApiException as e:
2367 print("Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: %s\n" % e)</code></pre>
2368 </div>
2369 </div>
2370
2371 <h2>Parameters</h2>
2372
2373 <div class="methodsubtabletitle">Path parameters</div>
2374 <table id="methodsubtable">
2375 <tr>
2376 <th width="150px">Name</th>
2377 <th>Description</th>
2378 </tr>
2379 <tr><td style="width:150px;">version*</td>
2380<td>
2381
2382
2383 <div id="d2e199_scaleE2EServiceInstance_version">
2384 <div class="json-schema-view">
2385 <div class="primitive">
2386 <span class="type">
2387 String
2388 </span>
2389
2390 </div>
2391 <div class="inner required">
2392 Required
2393 </div>
2394 </div>
2395 </div>
2396</td>
2397</tr>
2398
2399 <tr><td style="width:150px;">serviceId*</td>
2400<td>
2401
2402
2403 <div id="d2e199_scaleE2EServiceInstance_serviceId">
2404 <div class="json-schema-view">
2405 <div class="primitive">
2406 <span class="type">
2407 String
2408 </span>
2409
2410 </div>
2411 <div class="inner required">
2412 Required
2413 </div>
2414 </div>
2415 </div>
2416</td>
2417</tr>
2418
2419 </table>
2420
2421
2422 <div class="methodsubtabletitle">Body parameters</div>
2423 <table id="methodsubtable">
2424 <tr>
2425 <th width="150px">Name</th>
2426 <th>Description</th>
2427 </tr>
2428 <tr><td style="width:150px;">body </td>
2429<td>
2430
2431
2432<script>
2433$(document).ready(function() {
2434 var schemaWrapper = {
2435 "in" : "body",
2436 "name" : "body",
2437 "required" : false,
2438 "schema" : {
2439 "type" : "string"
2440 }
2441};
2442 var schema = schemaWrapper.schema;
2443 if (schema.$ref != null) {
2444 schema = defsParser.$refs.get(schema.$ref);
2445 } else {
2446 schemaWrapper.definitions = Object.assign({}, defs);
2447 $RefParser.dereference(schemaWrapper).catch(function(err) {
2448 console.log(err);
2449 });
2450 }
2451
2452 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
2453 var result = $('#d2e199_scaleE2EServiceInstance_body');
2454 result.empty();
2455 result.append(view.render());
2456});
2457</script>
2458<div id="d2e199_scaleE2EServiceInstance_body"></div>
2459</td>
2460</tr>
2461
2462 </table>
2463
2464
2465
2466 <h2>Responses</h2>
2467 <h3> Status: default - successful operation </h3>
2468
2469 <ul class="nav nav-tabs nav-tabs-examples" >
2470 </ul>
2471
2472 <div class="tab-content" style='margin-bottom: 10px;'>
2473 </div>
2474
2475 </article>
2476 </div>
2477 <hr>
2478 <div id="api-E2eServiceInstances-updateE2EServiceInstance">
2479 <article id="api-E2eServiceInstances-updateE2EServiceInstance-0" data-group="User" data-name="updateE2EServiceInstance" data-version="0">
2480 <div class="pull-left">
2481 <h1>updateE2EServiceInstance</h1>
2482 <p>Update an E2E Service Instance on a version provided and serviceId</p>
2483 </div>
2484 <div class="pull-right"></div>
2485 <div class="clearfix"></div>
2486 <p></p>
2487 <p class="marked"></p>
2488 <p></p>
2489 <br />
2490 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre>
2491 <p>
2492 <h3>Usage and SDK Samples</h3>
2493 </p>
2494 <ul class="nav nav-tabs nav-tabs-examples">
2495 <li class="active"><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">Curl</a></li>
2496 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-java">Java</a></li>
2497 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-android">Android</a></li>
2498 <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">Groovy</a></li>-->
2499 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">Obj-C</a></li>
2500 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">JavaScript</a></li>
2501 <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">Angular</a></li>-->
2502 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">C#</a></li>
2503 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-php">PHP</a></li>
2504 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">Perl</a></li>
2505 <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-python">Python</a></li>
2506 </ul>
2507
2508 <div class="tab-content">
2509 <div class="tab-pane active" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05302510 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08002511 </div>
2512 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-java">
2513 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2514import io.swagger.client.auth.*;
2515import io.swagger.client.model.*;
2516import io.swagger.client.api.E2eServiceInstancesApi;
2517
2518import java.io.File;
2519import java.util.*;
2520
2521public class E2eServiceInstancesApiExample {
2522
2523 public static void main(String[] args) {
2524
2525 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
2526 String version = version_example; // String |
2527 String serviceId = serviceId_example; // String |
2528 String body = body_example; // String |
2529 try {
2530 apiInstance.updateE2EServiceInstance(version, serviceId, body);
2531 } catch (ApiException e) {
2532 System.err.println("Exception when calling E2eServiceInstancesApi#updateE2EServiceInstance");
2533 e.printStackTrace();
2534 }
2535 }
2536}</code></pre>
2537 </div>
2538
2539 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-android">
2540 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi;
2541
2542public class E2eServiceInstancesApiExample {
2543
2544 public static void main(String[] args) {
2545 E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi();
2546 String version = version_example; // String |
2547 String serviceId = serviceId_example; // String |
2548 String body = body_example; // String |
2549 try {
2550 apiInstance.updateE2EServiceInstance(version, serviceId, body);
2551 } catch (ApiException e) {
2552 System.err.println("Exception when calling E2eServiceInstancesApi#updateE2EServiceInstance");
2553 e.printStackTrace();
2554 }
2555 }
2556}</code></pre>
2557 </div>
2558 <!--
2559 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">
2560 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2561 </div> -->
2562 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">
2563 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
2564String *serviceId = serviceId_example; //
2565String *body = body_example; // (optional)
2566
2567E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init];
2568
2569// Update an E2E Service Instance on a version provided and serviceId
2570[apiInstance updateE2EServiceInstanceWith:version
2571 serviceId:serviceId
2572 body:body
2573 completionHandler: ^(NSError* error) {
2574 if (error) {
2575 NSLog(@"Error: %@", error);
2576 }
2577 }];
2578</code></pre>
2579 </div>
2580
2581 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">
2582 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
2583
2584var api = new SoCasablancaApIs.E2eServiceInstancesApi()
2585
2586var version = version_example; // {String}
2587
2588var serviceId = serviceId_example; // {String}
2589
2590var opts = {
2591 'body': body_example // {String}
2592};
2593
2594var callback = function(error, data, response) {
2595 if (error) {
2596 console.error(error);
2597 } else {
2598 console.log('API called successfully.');
2599 }
2600};
2601api.updateE2EServiceInstance(version, serviceId, opts, callback);
2602</code></pre>
2603 </div>
2604
2605 <!--<div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">
2606 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2607 </div>-->
2608 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">
2609 <pre class="prettyprint"><code class="language-cs">using System;
2610using System.Diagnostics;
2611using IO.Swagger.Api;
2612using IO.Swagger.Client;
2613using IO.Swagger.Model;
2614
2615namespace Example
2616{
2617 public class updateE2EServiceInstanceExample
2618 {
2619 public void main()
2620 {
2621
2622 var apiInstance = new E2eServiceInstancesApi();
2623 var version = version_example; // String |
2624 var serviceId = serviceId_example; // String |
2625 var body = body_example; // String | (optional)
2626
2627 try
2628 {
2629 // Update an E2E Service Instance on a version provided and serviceId
2630 apiInstance.updateE2EServiceInstance(version, serviceId, body);
2631 }
2632 catch (Exception e)
2633 {
2634 Debug.Print("Exception when calling E2eServiceInstancesApi.updateE2EServiceInstance: " + e.Message );
2635 }
2636 }
2637 }
2638}
2639</code></pre>
2640 </div>
2641
2642 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-php">
2643 <pre class="prettyprint"><code class="language-php"><&#63;php
2644require_once(__DIR__ . '/vendor/autoload.php');
2645
2646$api_instance = new Swagger\Client\Api\E2eServiceInstancesApi();
2647$version = version_example; // String |
2648$serviceId = serviceId_example; // String |
2649$body = body_example; // String |
2650
2651try {
2652 $api_instance->updateE2EServiceInstance($version, $serviceId, $body);
2653} catch (Exception $e) {
2654 echo 'Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: ', $e->getMessage(), PHP_EOL;
2655}
2656?></code></pre>
2657 </div>
2658
2659 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">
2660 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2661use WWW::SwaggerClient::Configuration;
2662use WWW::SwaggerClient::E2eServiceInstancesApi;
2663
2664my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new();
2665my $version = version_example; # String |
2666my $serviceId = serviceId_example; # String |
2667my $body = WWW::SwaggerClient::Object::String->new(); # String |
2668
2669eval {
2670 $api_instance->updateE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body);
2671};
2672if ($@) {
2673 warn "Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: $@\n";
2674}</code></pre>
2675 </div>
2676
2677 <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-python">
2678 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2679import time
2680import swagger_client
2681from swagger_client.rest import ApiException
2682from pprint import pprint
2683
2684# create an instance of the API class
2685api_instance = swagger_client.E2eServiceInstancesApi()
2686version = version_example # String |
2687serviceId = serviceId_example # String |
2688body = body_example # String | (optional)
2689
2690try:
2691 # Update an E2E Service Instance on a version provided and serviceId
2692 api_instance.update_e2_e_service_instance(version, serviceId, body=body)
2693except ApiException as e:
2694 print("Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: %s\n" % e)</code></pre>
2695 </div>
2696 </div>
2697
2698 <h2>Parameters</h2>
2699
2700 <div class="methodsubtabletitle">Path parameters</div>
2701 <table id="methodsubtable">
2702 <tr>
2703 <th width="150px">Name</th>
2704 <th>Description</th>
2705 </tr>
2706 <tr><td style="width:150px;">version*</td>
2707<td>
2708
2709
2710 <div id="d2e199_updateE2EServiceInstance_version">
2711 <div class="json-schema-view">
2712 <div class="primitive">
2713 <span class="type">
2714 String
2715 </span>
2716
2717 </div>
2718 <div class="inner required">
2719 Required
2720 </div>
2721 </div>
2722 </div>
2723</td>
2724</tr>
2725
2726 <tr><td style="width:150px;">serviceId*</td>
2727<td>
2728
2729
2730 <div id="d2e199_updateE2EServiceInstance_serviceId">
2731 <div class="json-schema-view">
2732 <div class="primitive">
2733 <span class="type">
2734 String
2735 </span>
2736
2737 </div>
2738 <div class="inner required">
2739 Required
2740 </div>
2741 </div>
2742 </div>
2743</td>
2744</tr>
2745
2746 </table>
2747
2748
2749 <div class="methodsubtabletitle">Body parameters</div>
2750 <table id="methodsubtable">
2751 <tr>
2752 <th width="150px">Name</th>
2753 <th>Description</th>
2754 </tr>
2755 <tr><td style="width:150px;">body </td>
2756<td>
2757
2758
2759<script>
2760$(document).ready(function() {
2761 var schemaWrapper = {
2762 "in" : "body",
2763 "name" : "body",
2764 "required" : false,
2765 "schema" : {
2766 "type" : "string"
2767 }
2768};
2769 var schema = schemaWrapper.schema;
2770 if (schema.$ref != null) {
2771 schema = defsParser.$refs.get(schema.$ref);
2772 } else {
2773 schemaWrapper.definitions = Object.assign({}, defs);
2774 $RefParser.dereference(schemaWrapper).catch(function(err) {
2775 console.log(err);
2776 });
2777 }
2778
2779 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
2780 var result = $('#d2e199_updateE2EServiceInstance_body');
2781 result.empty();
2782 result.append(view.render());
2783});
2784</script>
2785<div id="d2e199_updateE2EServiceInstance_body"></div>
2786</td>
2787</tr>
2788
2789 </table>
2790
2791
2792
2793 <h2>Responses</h2>
2794 <h3> Status: default - successful operation </h3>
2795
2796 <ul class="nav nav-tabs nav-tabs-examples" >
2797 </ul>
2798
2799 <div class="tab-content" style='margin-bottom: 10px;'>
2800 </div>
2801
2802 </article>
2803 </div>
2804 <hr>
2805 </section>
2806 <section id="api-Globalhealthcheck">
2807 <h1>Globalhealthcheck</h1>
2808 <div id="api-Globalhealthcheck-globalHealthcheck">
2809 <article id="api-Globalhealthcheck-globalHealthcheck-0" data-group="User" data-name="globalHealthcheck" data-version="0">
2810 <div class="pull-left">
2811 <h1>globalHealthcheck</h1>
2812 <p>Performing global health check</p>
2813 </div>
2814 <div class="pull-right"></div>
2815 <div class="clearfix"></div>
2816 <p></p>
2817 <p class="marked"></p>
2818 <p></p>
2819 <br />
2820 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/globalhealthcheck</span></code></pre>
2821 <p>
2822 <h3>Usage and SDK Samples</h3>
2823 </p>
2824 <ul class="nav nav-tabs nav-tabs-examples">
2825 <li class="active"><a href="#examples-Globalhealthcheck-globalHealthcheck-0-curl">Curl</a></li>
2826 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-java">Java</a></li>
2827 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-android">Android</a></li>
2828 <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-groovy">Groovy</a></li>-->
2829 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-objc">Obj-C</a></li>
2830 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-javascript">JavaScript</a></li>
2831 <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-angular">Angular</a></li>-->
2832 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-csharp">C#</a></li>
2833 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-php">PHP</a></li>
2834 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-perl">Perl</a></li>
2835 <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-python">Python</a></li>
2836 </ul>
2837
2838 <div class="tab-content">
2839 <div class="tab-pane active" id="examples-Globalhealthcheck-globalHealthcheck-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05302840 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/globalhealthcheck?enableBpmn="</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08002841 </div>
2842 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-java">
2843 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
2844import io.swagger.client.auth.*;
2845import io.swagger.client.model.*;
2846import io.swagger.client.api.GlobalhealthcheckApi;
2847
2848import java.io.File;
2849import java.util.*;
2850
2851public class GlobalhealthcheckApiExample {
2852
2853 public static void main(String[] args) {
2854
2855 GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi();
2856 Boolean enableBpmn = true; // Boolean |
2857 try {
2858 apiInstance.globalHealthcheck(enableBpmn);
2859 } catch (ApiException e) {
2860 System.err.println("Exception when calling GlobalhealthcheckApi#globalHealthcheck");
2861 e.printStackTrace();
2862 }
2863 }
2864}</code></pre>
2865 </div>
2866
2867 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-android">
2868 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.GlobalhealthcheckApi;
2869
2870public class GlobalhealthcheckApiExample {
2871
2872 public static void main(String[] args) {
2873 GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi();
2874 Boolean enableBpmn = true; // Boolean |
2875 try {
2876 apiInstance.globalHealthcheck(enableBpmn);
2877 } catch (ApiException e) {
2878 System.err.println("Exception when calling GlobalhealthcheckApi#globalHealthcheck");
2879 e.printStackTrace();
2880 }
2881 }
2882}</code></pre>
2883 </div>
2884 <!--
2885 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-groovy">
2886 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2887 </div> -->
2888 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-objc">
2889 <pre class="prettyprint"><code class="language-cpp">Boolean *enableBpmn = true; // (optional) (default to true)
2890
2891GlobalhealthcheckApi *apiInstance = [[GlobalhealthcheckApi alloc] init];
2892
2893// Performing global health check
2894[apiInstance globalHealthcheckWith:enableBpmn
2895 completionHandler: ^(NSError* error) {
2896 if (error) {
2897 NSLog(@"Error: %@", error);
2898 }
2899 }];
2900</code></pre>
2901 </div>
2902
2903 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-javascript">
2904 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
2905
2906var api = new SoCasablancaApIs.GlobalhealthcheckApi()
2907
2908var opts = {
2909 'enableBpmn': true // {Boolean}
2910};
2911
2912var callback = function(error, data, response) {
2913 if (error) {
2914 console.error(error);
2915 } else {
2916 console.log('API called successfully.');
2917 }
2918};
2919api.globalHealthcheck(opts, callback);
2920</code></pre>
2921 </div>
2922
2923 <!--<div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-angular">
2924 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
2925 </div>-->
2926 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-csharp">
2927 <pre class="prettyprint"><code class="language-cs">using System;
2928using System.Diagnostics;
2929using IO.Swagger.Api;
2930using IO.Swagger.Client;
2931using IO.Swagger.Model;
2932
2933namespace Example
2934{
2935 public class globalHealthcheckExample
2936 {
2937 public void main()
2938 {
2939
2940 var apiInstance = new GlobalhealthcheckApi();
2941 var enableBpmn = true; // Boolean | (optional) (default to true)
2942
2943 try
2944 {
2945 // Performing global health check
2946 apiInstance.globalHealthcheck(enableBpmn);
2947 }
2948 catch (Exception e)
2949 {
2950 Debug.Print("Exception when calling GlobalhealthcheckApi.globalHealthcheck: " + e.Message );
2951 }
2952 }
2953 }
2954}
2955</code></pre>
2956 </div>
2957
2958 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-php">
2959 <pre class="prettyprint"><code class="language-php"><&#63;php
2960require_once(__DIR__ . '/vendor/autoload.php');
2961
2962$api_instance = new Swagger\Client\Api\GlobalhealthcheckApi();
2963$enableBpmn = true; // Boolean |
2964
2965try {
2966 $api_instance->globalHealthcheck($enableBpmn);
2967} catch (Exception $e) {
2968 echo 'Exception when calling GlobalhealthcheckApi->globalHealthcheck: ', $e->getMessage(), PHP_EOL;
2969}
2970?></code></pre>
2971 </div>
2972
2973 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-perl">
2974 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
2975use WWW::SwaggerClient::Configuration;
2976use WWW::SwaggerClient::GlobalhealthcheckApi;
2977
2978my $api_instance = WWW::SwaggerClient::GlobalhealthcheckApi->new();
2979my $enableBpmn = true; # Boolean |
2980
2981eval {
2982 $api_instance->globalHealthcheck(enableBpmn => $enableBpmn);
2983};
2984if ($@) {
2985 warn "Exception when calling GlobalhealthcheckApi->globalHealthcheck: $@\n";
2986}</code></pre>
2987 </div>
2988
2989 <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-python">
2990 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
2991import time
2992import swagger_client
2993from swagger_client.rest import ApiException
2994from pprint import pprint
2995
2996# create an instance of the API class
2997api_instance = swagger_client.GlobalhealthcheckApi()
2998enableBpmn = true # Boolean | (optional) (default to true)
2999
3000try:
3001 # Performing global health check
3002 api_instance.global_healthcheck(enableBpmn=enableBpmn)
3003except ApiException as e:
3004 print("Exception when calling GlobalhealthcheckApi->globalHealthcheck: %s\n" % e)</code></pre>
3005 </div>
3006 </div>
3007
3008 <h2>Parameters</h2>
3009
3010
3011
3012
3013
3014 <div class="methodsubtabletitle">Query parameters</div>
3015 <table id="methodsubtable">
3016 <tr>
3017 <th width="150px">Name</th>
3018 <th>Description</th>
3019 </tr>
3020 <tr><td style="width:150px;">enableBpmn</td>
3021<td>
3022
3023
3024 <div id="d2e199_globalHealthcheck_enableBpmn">
3025 <div class="json-schema-view">
3026 <div class="primitive">
3027 <span class="type">
3028 Boolean
3029 </span>
3030
3031 </div>
3032 </div>
3033 </div>
3034</td>
3035</tr>
3036
3037 </table>
3038
3039 <h2>Responses</h2>
3040 <h3> Status: default - successful operation </h3>
3041
3042 <ul class="nav nav-tabs nav-tabs-examples" >
3043 </ul>
3044
3045 <div class="tab-content" style='margin-bottom: 10px;'>
3046 </div>
3047
3048 </article>
3049 </div>
3050 <hr>
3051 </section>
3052 <section id="api-Nodehealthcheck">
3053 <h1>Nodehealthcheck</h1>
3054 <div id="api-Nodehealthcheck-nodeHealthcheck">
3055 <article id="api-Nodehealthcheck-nodeHealthcheck-0" data-group="User" data-name="nodeHealthcheck" data-version="0">
3056 <div class="pull-left">
3057 <h1>nodeHealthcheck</h1>
3058 <p>Performing node health check</p>
3059 </div>
3060 <div class="pull-right"></div>
3061 <div class="clearfix"></div>
3062 <p></p>
3063 <p class="marked"></p>
3064 <p></p>
3065 <br />
3066 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/nodehealthcheck</span></code></pre>
3067 <p>
3068 <h3>Usage and SDK Samples</h3>
3069 </p>
3070 <ul class="nav nav-tabs nav-tabs-examples">
3071 <li class="active"><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-curl">Curl</a></li>
3072 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-java">Java</a></li>
3073 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-android">Android</a></li>
3074 <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-groovy">Groovy</a></li>-->
3075 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-objc">Obj-C</a></li>
3076 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-javascript">JavaScript</a></li>
3077 <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-angular">Angular</a></li>-->
3078 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-csharp">C#</a></li>
3079 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-php">PHP</a></li>
3080 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-perl">Perl</a></li>
3081 <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-python">Python</a></li>
3082 </ul>
3083
3084 <div class="tab-content">
3085 <div class="tab-pane active" id="examples-Nodehealthcheck-nodeHealthcheck-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05303086 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/nodehealthcheck"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08003087 </div>
3088 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-java">
3089 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3090import io.swagger.client.auth.*;
3091import io.swagger.client.model.*;
3092import io.swagger.client.api.NodehealthcheckApi;
3093
3094import java.io.File;
3095import java.util.*;
3096
3097public class NodehealthcheckApiExample {
3098
3099 public static void main(String[] args) {
3100
3101 NodehealthcheckApi apiInstance = new NodehealthcheckApi();
3102 try {
3103 apiInstance.nodeHealthcheck();
3104 } catch (ApiException e) {
3105 System.err.println("Exception when calling NodehealthcheckApi#nodeHealthcheck");
3106 e.printStackTrace();
3107 }
3108 }
3109}</code></pre>
3110 </div>
3111
3112 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-android">
3113 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.NodehealthcheckApi;
3114
3115public class NodehealthcheckApiExample {
3116
3117 public static void main(String[] args) {
3118 NodehealthcheckApi apiInstance = new NodehealthcheckApi();
3119 try {
3120 apiInstance.nodeHealthcheck();
3121 } catch (ApiException e) {
3122 System.err.println("Exception when calling NodehealthcheckApi#nodeHealthcheck");
3123 e.printStackTrace();
3124 }
3125 }
3126}</code></pre>
3127 </div>
3128 <!--
3129 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-groovy">
3130 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3131 </div> -->
3132 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-objc">
3133 <pre class="prettyprint"><code class="language-cpp">
3134NodehealthcheckApi *apiInstance = [[NodehealthcheckApi alloc] init];
3135
3136// Performing node health check
3137[apiInstance nodeHealthcheckWithCompletionHandler:
3138 ^(NSError* error) {
3139 if (error) {
3140 NSLog(@"Error: %@", error);
3141 }
3142 }];
3143</code></pre>
3144 </div>
3145
3146 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-javascript">
3147 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
3148
3149var api = new SoCasablancaApIs.NodehealthcheckApi()
3150
3151var callback = function(error, data, response) {
3152 if (error) {
3153 console.error(error);
3154 } else {
3155 console.log('API called successfully.');
3156 }
3157};
3158api.nodeHealthcheck(callback);
3159</code></pre>
3160 </div>
3161
3162 <!--<div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-angular">
3163 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3164 </div>-->
3165 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-csharp">
3166 <pre class="prettyprint"><code class="language-cs">using System;
3167using System.Diagnostics;
3168using IO.Swagger.Api;
3169using IO.Swagger.Client;
3170using IO.Swagger.Model;
3171
3172namespace Example
3173{
3174 public class nodeHealthcheckExample
3175 {
3176 public void main()
3177 {
3178
3179 var apiInstance = new NodehealthcheckApi();
3180
3181 try
3182 {
3183 // Performing node health check
3184 apiInstance.nodeHealthcheck();
3185 }
3186 catch (Exception e)
3187 {
3188 Debug.Print("Exception when calling NodehealthcheckApi.nodeHealthcheck: " + e.Message );
3189 }
3190 }
3191 }
3192}
3193</code></pre>
3194 </div>
3195
3196 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-php">
3197 <pre class="prettyprint"><code class="language-php"><&#63;php
3198require_once(__DIR__ . '/vendor/autoload.php');
3199
3200$api_instance = new Swagger\Client\Api\NodehealthcheckApi();
3201
3202try {
3203 $api_instance->nodeHealthcheck();
3204} catch (Exception $e) {
3205 echo 'Exception when calling NodehealthcheckApi->nodeHealthcheck: ', $e->getMessage(), PHP_EOL;
3206}
3207?></code></pre>
3208 </div>
3209
3210 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-perl">
3211 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3212use WWW::SwaggerClient::Configuration;
3213use WWW::SwaggerClient::NodehealthcheckApi;
3214
3215my $api_instance = WWW::SwaggerClient::NodehealthcheckApi->new();
3216
3217eval {
3218 $api_instance->nodeHealthcheck();
3219};
3220if ($@) {
3221 warn "Exception when calling NodehealthcheckApi->nodeHealthcheck: $@\n";
3222}</code></pre>
3223 </div>
3224
3225 <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-python">
3226 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3227import time
3228import swagger_client
3229from swagger_client.rest import ApiException
3230from pprint import pprint
3231
3232# create an instance of the API class
3233api_instance = swagger_client.NodehealthcheckApi()
3234
3235try:
3236 # Performing node health check
3237 api_instance.node_healthcheck()
3238except ApiException as e:
3239 print("Exception when calling NodehealthcheckApi->nodeHealthcheck: %s\n" % e)</code></pre>
3240 </div>
3241 </div>
3242
3243 <h2>Parameters</h2>
3244
3245
3246
3247
3248
3249
3250 <h2>Responses</h2>
3251 <h3> Status: default - successful operation </h3>
3252
3253 <ul class="nav nav-tabs nav-tabs-examples" >
3254 </ul>
3255
3256 <div class="tab-content" style='margin-bottom: 10px;'>
3257 </div>
3258
3259 </article>
3260 </div>
3261 <hr>
3262 </section>
3263 <section id="api-OnapsoinfracloudResources">
3264 <h1>OnapsoinfracloudResources</h1>
3265 <div id="api-OnapsoinfracloudResources-activateOperationEnvironment">
3266 <article id="api-OnapsoinfracloudResources-activateOperationEnvironment-0" data-group="User" data-name="activateOperationEnvironment" data-version="0">
3267 <div class="pull-left">
3268 <h1>activateOperationEnvironment</h1>
3269 <p>Activate an Operational Environment</p>
3270 </div>
3271 <div class="pull-right"></div>
3272 <div class="clearfix"></div>
3273 <p></p>
3274 <p class="marked"></p>
3275 <p></p>
3276 <br />
3277 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate</span></code></pre>
3278 <p>
3279 <h3>Usage and SDK Samples</h3>
3280 </p>
3281 <ul class="nav nav-tabs nav-tabs-examples">
3282 <li class="active"><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">Curl</a></li>
3283 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">Java</a></li>
3284 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">Android</a></li>
3285 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">Groovy</a></li>-->
3286 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">Obj-C</a></li>
3287 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">JavaScript</a></li>
3288 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">Angular</a></li>-->
3289 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">C#</a></li>
3290 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">PHP</a></li>
3291 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">Perl</a></li>
3292 <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">Python</a></li>
3293 </ul>
3294
3295 <div class="tab-content">
3296 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05303297 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08003298 </div>
3299 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">
3300 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3301import io.swagger.client.auth.*;
3302import io.swagger.client.model.*;
3303import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3304
3305import java.io.File;
3306import java.util.*;
3307
3308public class OnapsoinfracloudResourcesApiExample {
3309
3310 public static void main(String[] args) {
3311
3312 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3313 String version = version_example; // String |
3314 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
3315 String body = body_example; // String |
3316 try {
3317 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
3318 } catch (ApiException e) {
3319 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#activateOperationEnvironment");
3320 e.printStackTrace();
3321 }
3322 }
3323}</code></pre>
3324 </div>
3325
3326 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">
3327 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3328
3329public class OnapsoinfracloudResourcesApiExample {
3330
3331 public static void main(String[] args) {
3332 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3333 String version = version_example; // String |
3334 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
3335 String body = body_example; // String |
3336 try {
3337 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
3338 } catch (ApiException e) {
3339 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#activateOperationEnvironment");
3340 e.printStackTrace();
3341 }
3342 }
3343}</code></pre>
3344 </div>
3345 <!--
3346 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">
3347 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3348 </div> -->
3349 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">
3350 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
3351String *operationalEnvironmentId = operationalEnvironmentId_example; //
3352String *body = body_example; // (optional)
3353
3354OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
3355
3356// Activate an Operational Environment
3357[apiInstance activateOperationEnvironmentWith:version
3358 operationalEnvironmentId:operationalEnvironmentId
3359 body:body
3360 completionHandler: ^(NSError* error) {
3361 if (error) {
3362 NSLog(@"Error: %@", error);
3363 }
3364 }];
3365</code></pre>
3366 </div>
3367
3368 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">
3369 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
3370
3371var api = new SoCasablancaApIs.OnapsoinfracloudResourcesApi()
3372
3373var version = version_example; // {String}
3374
3375var operationalEnvironmentId = operationalEnvironmentId_example; // {String}
3376
3377var opts = {
3378 'body': body_example // {String}
3379};
3380
3381var callback = function(error, data, response) {
3382 if (error) {
3383 console.error(error);
3384 } else {
3385 console.log('API called successfully.');
3386 }
3387};
3388api.activateOperationEnvironment(version, operationalEnvironmentId, opts, callback);
3389</code></pre>
3390 </div>
3391
3392 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">
3393 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3394 </div>-->
3395 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">
3396 <pre class="prettyprint"><code class="language-cs">using System;
3397using System.Diagnostics;
3398using IO.Swagger.Api;
3399using IO.Swagger.Client;
3400using IO.Swagger.Model;
3401
3402namespace Example
3403{
3404 public class activateOperationEnvironmentExample
3405 {
3406 public void main()
3407 {
3408
3409 var apiInstance = new OnapsoinfracloudResourcesApi();
3410 var version = version_example; // String |
3411 var operationalEnvironmentId = operationalEnvironmentId_example; // String |
3412 var body = body_example; // String | (optional)
3413
3414 try
3415 {
3416 // Activate an Operational Environment
3417 apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body);
3418 }
3419 catch (Exception e)
3420 {
3421 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.activateOperationEnvironment: " + e.Message );
3422 }
3423 }
3424 }
3425}
3426</code></pre>
3427 </div>
3428
3429 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">
3430 <pre class="prettyprint"><code class="language-php"><&#63;php
3431require_once(__DIR__ . '/vendor/autoload.php');
3432
3433$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
3434$version = version_example; // String |
3435$operationalEnvironmentId = operationalEnvironmentId_example; // String |
3436$body = body_example; // String |
3437
3438try {
3439 $api_instance->activateOperationEnvironment($version, $operationalEnvironmentId, $body);
3440} catch (Exception $e) {
3441 echo 'Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: ', $e->getMessage(), PHP_EOL;
3442}
3443?></code></pre>
3444 </div>
3445
3446 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">
3447 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3448use WWW::SwaggerClient::Configuration;
3449use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
3450
3451my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
3452my $version = version_example; # String |
3453my $operationalEnvironmentId = operationalEnvironmentId_example; # String |
3454my $body = WWW::SwaggerClient::Object::String->new(); # String |
3455
3456eval {
3457 $api_instance->activateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body);
3458};
3459if ($@) {
3460 warn "Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: $@\n";
3461}</code></pre>
3462 </div>
3463
3464 <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">
3465 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3466import time
3467import swagger_client
3468from swagger_client.rest import ApiException
3469from pprint import pprint
3470
3471# create an instance of the API class
3472api_instance = swagger_client.OnapsoinfracloudResourcesApi()
3473version = version_example # String |
3474operationalEnvironmentId = operationalEnvironmentId_example # String |
3475body = body_example # String | (optional)
3476
3477try:
3478 # Activate an Operational Environment
3479 api_instance.activate_operation_environment(version, operationalEnvironmentId, body=body)
3480except ApiException as e:
3481 print("Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: %s\n" % e)</code></pre>
3482 </div>
3483 </div>
3484
3485 <h2>Parameters</h2>
3486
3487 <div class="methodsubtabletitle">Path parameters</div>
3488 <table id="methodsubtable">
3489 <tr>
3490 <th width="150px">Name</th>
3491 <th>Description</th>
3492 </tr>
3493 <tr><td style="width:150px;">version*</td>
3494<td>
3495
3496
3497 <div id="d2e199_activateOperationEnvironment_version">
3498 <div class="json-schema-view">
3499 <div class="primitive">
3500 <span class="type">
3501 String
3502 </span>
3503
3504 </div>
3505 <div class="inner required">
3506 Required
3507 </div>
3508 </div>
3509 </div>
3510</td>
3511</tr>
3512
3513 <tr><td style="width:150px;">operationalEnvironmentId*</td>
3514<td>
3515
3516
3517 <div id="d2e199_activateOperationEnvironment_operationalEnvironmentId">
3518 <div class="json-schema-view">
3519 <div class="primitive">
3520 <span class="type">
3521 String
3522 </span>
3523
3524 </div>
3525 <div class="inner required">
3526 Required
3527 </div>
3528 </div>
3529 </div>
3530</td>
3531</tr>
3532
3533 </table>
3534
3535
3536 <div class="methodsubtabletitle">Body parameters</div>
3537 <table id="methodsubtable">
3538 <tr>
3539 <th width="150px">Name</th>
3540 <th>Description</th>
3541 </tr>
3542 <tr><td style="width:150px;">body </td>
3543<td>
3544
3545
3546<script>
3547$(document).ready(function() {
3548 var schemaWrapper = {
3549 "in" : "body",
3550 "name" : "body",
3551 "required" : false,
3552 "schema" : {
3553 "type" : "string"
3554 }
3555};
3556 var schema = schemaWrapper.schema;
3557 if (schema.$ref != null) {
3558 schema = defsParser.$refs.get(schema.$ref);
3559 } else {
3560 schemaWrapper.definitions = Object.assign({}, defs);
3561 $RefParser.dereference(schemaWrapper).catch(function(err) {
3562 console.log(err);
3563 });
3564 }
3565
3566 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
3567 var result = $('#d2e199_activateOperationEnvironment_body');
3568 result.empty();
3569 result.append(view.render());
3570});
3571</script>
3572<div id="d2e199_activateOperationEnvironment_body"></div>
3573</td>
3574</tr>
3575
3576 </table>
3577
3578
3579
3580 <h2>Responses</h2>
3581 <h3> Status: default - successful operation </h3>
3582
3583 <ul class="nav nav-tabs nav-tabs-examples" >
3584 </ul>
3585
3586 <div class="tab-content" style='margin-bottom: 10px;'>
3587 </div>
3588
3589 </article>
3590 </div>
3591 <hr>
3592 <div id="api-OnapsoinfracloudResources-createOperationEnvironment">
3593 <article id="api-OnapsoinfracloudResources-createOperationEnvironment-0" data-group="User" data-name="createOperationEnvironment" data-version="0">
3594 <div class="pull-left">
3595 <h1>createOperationEnvironment</h1>
3596 <p>Create an Operational Environment</p>
3597 </div>
3598 <div class="pull-right"></div>
3599 <div class="clearfix"></div>
3600 <p></p>
3601 <p class="marked"></p>
3602 <p></p>
3603 <br />
3604 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments</span></code></pre>
3605 <p>
3606 <h3>Usage and SDK Samples</h3>
3607 </p>
3608 <ul class="nav nav-tabs nav-tabs-examples">
3609 <li class="active"><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">Curl</a></li>
3610 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">Java</a></li>
3611 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">Android</a></li>
3612 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">Groovy</a></li>-->
3613 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">Obj-C</a></li>
3614 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">JavaScript</a></li>
3615 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">Angular</a></li>-->
3616 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">C#</a></li>
3617 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">PHP</a></li>
3618 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">Perl</a></li>
3619 <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">Python</a></li>
3620 </ul>
3621
3622 <div class="tab-content">
3623 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05303624 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08003625 </div>
3626 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">
3627 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3628import io.swagger.client.auth.*;
3629import io.swagger.client.model.*;
3630import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3631
3632import java.io.File;
3633import java.util.*;
3634
3635public class OnapsoinfracloudResourcesApiExample {
3636
3637 public static void main(String[] args) {
3638
3639 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3640 String version = version_example; // String |
3641 String body = body_example; // String |
3642 try {
3643 apiInstance.createOperationEnvironment(version, body);
3644 } catch (ApiException e) {
3645 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#createOperationEnvironment");
3646 e.printStackTrace();
3647 }
3648 }
3649}</code></pre>
3650 </div>
3651
3652 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">
3653 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3654
3655public class OnapsoinfracloudResourcesApiExample {
3656
3657 public static void main(String[] args) {
3658 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3659 String version = version_example; // String |
3660 String body = body_example; // String |
3661 try {
3662 apiInstance.createOperationEnvironment(version, body);
3663 } catch (ApiException e) {
3664 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#createOperationEnvironment");
3665 e.printStackTrace();
3666 }
3667 }
3668}</code></pre>
3669 </div>
3670 <!--
3671 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">
3672 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3673 </div> -->
3674 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">
3675 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
3676String *body = body_example; // (optional)
3677
3678OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
3679
3680// Create an Operational Environment
3681[apiInstance createOperationEnvironmentWith:version
3682 body:body
3683 completionHandler: ^(NSError* error) {
3684 if (error) {
3685 NSLog(@"Error: %@", error);
3686 }
3687 }];
3688</code></pre>
3689 </div>
3690
3691 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">
3692 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
3693
3694var api = new SoCasablancaApIs.OnapsoinfracloudResourcesApi()
3695
3696var version = version_example; // {String}
3697
3698var opts = {
3699 'body': body_example // {String}
3700};
3701
3702var callback = function(error, data, response) {
3703 if (error) {
3704 console.error(error);
3705 } else {
3706 console.log('API called successfully.');
3707 }
3708};
3709api.createOperationEnvironment(version, opts, callback);
3710</code></pre>
3711 </div>
3712
3713 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">
3714 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3715 </div>-->
3716 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">
3717 <pre class="prettyprint"><code class="language-cs">using System;
3718using System.Diagnostics;
3719using IO.Swagger.Api;
3720using IO.Swagger.Client;
3721using IO.Swagger.Model;
3722
3723namespace Example
3724{
3725 public class createOperationEnvironmentExample
3726 {
3727 public void main()
3728 {
3729
3730 var apiInstance = new OnapsoinfracloudResourcesApi();
3731 var version = version_example; // String |
3732 var body = body_example; // String | (optional)
3733
3734 try
3735 {
3736 // Create an Operational Environment
3737 apiInstance.createOperationEnvironment(version, body);
3738 }
3739 catch (Exception e)
3740 {
3741 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.createOperationEnvironment: " + e.Message );
3742 }
3743 }
3744 }
3745}
3746</code></pre>
3747 </div>
3748
3749 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">
3750 <pre class="prettyprint"><code class="language-php"><&#63;php
3751require_once(__DIR__ . '/vendor/autoload.php');
3752
3753$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
3754$version = version_example; // String |
3755$body = body_example; // String |
3756
3757try {
3758 $api_instance->createOperationEnvironment($version, $body);
3759} catch (Exception $e) {
3760 echo 'Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: ', $e->getMessage(), PHP_EOL;
3761}
3762?></code></pre>
3763 </div>
3764
3765 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">
3766 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
3767use WWW::SwaggerClient::Configuration;
3768use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
3769
3770my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
3771my $version = version_example; # String |
3772my $body = WWW::SwaggerClient::Object::String->new(); # String |
3773
3774eval {
3775 $api_instance->createOperationEnvironment(version => $version, body => $body);
3776};
3777if ($@) {
3778 warn "Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: $@\n";
3779}</code></pre>
3780 </div>
3781
3782 <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">
3783 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
3784import time
3785import swagger_client
3786from swagger_client.rest import ApiException
3787from pprint import pprint
3788
3789# create an instance of the API class
3790api_instance = swagger_client.OnapsoinfracloudResourcesApi()
3791version = version_example # String |
3792body = body_example # String | (optional)
3793
3794try:
3795 # Create an Operational Environment
3796 api_instance.create_operation_environment(version, body=body)
3797except ApiException as e:
3798 print("Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: %s\n" % e)</code></pre>
3799 </div>
3800 </div>
3801
3802 <h2>Parameters</h2>
3803
3804 <div class="methodsubtabletitle">Path parameters</div>
3805 <table id="methodsubtable">
3806 <tr>
3807 <th width="150px">Name</th>
3808 <th>Description</th>
3809 </tr>
3810 <tr><td style="width:150px;">version*</td>
3811<td>
3812
3813
3814 <div id="d2e199_createOperationEnvironment_version">
3815 <div class="json-schema-view">
3816 <div class="primitive">
3817 <span class="type">
3818 String
3819 </span>
3820
3821 </div>
3822 <div class="inner required">
3823 Required
3824 </div>
3825 </div>
3826 </div>
3827</td>
3828</tr>
3829
3830 </table>
3831
3832
3833 <div class="methodsubtabletitle">Body parameters</div>
3834 <table id="methodsubtable">
3835 <tr>
3836 <th width="150px">Name</th>
3837 <th>Description</th>
3838 </tr>
3839 <tr><td style="width:150px;">body </td>
3840<td>
3841
3842
3843<script>
3844$(document).ready(function() {
3845 var schemaWrapper = {
3846 "in" : "body",
3847 "name" : "body",
3848 "required" : false,
3849 "schema" : {
3850 "type" : "string"
3851 }
3852};
3853 var schema = schemaWrapper.schema;
3854 if (schema.$ref != null) {
3855 schema = defsParser.$refs.get(schema.$ref);
3856 } else {
3857 schemaWrapper.definitions = Object.assign({}, defs);
3858 $RefParser.dereference(schemaWrapper).catch(function(err) {
3859 console.log(err);
3860 });
3861 }
3862
3863 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
3864 var result = $('#d2e199_createOperationEnvironment_body');
3865 result.empty();
3866 result.append(view.render());
3867});
3868</script>
3869<div id="d2e199_createOperationEnvironment_body"></div>
3870</td>
3871</tr>
3872
3873 </table>
3874
3875
3876
3877 <h2>Responses</h2>
3878 <h3> Status: default - successful operation </h3>
3879
3880 <ul class="nav nav-tabs nav-tabs-examples" >
3881 </ul>
3882
3883 <div class="tab-content" style='margin-bottom: 10px;'>
3884 </div>
3885
3886 </article>
3887 </div>
3888 <hr>
3889 <div id="api-OnapsoinfracloudResources-deactivateOperationEnvironment">
3890 <article id="api-OnapsoinfracloudResources-deactivateOperationEnvironment-0" data-group="User" data-name="deactivateOperationEnvironment" data-version="0">
3891 <div class="pull-left">
3892 <h1>deactivateOperationEnvironment</h1>
3893 <p>Deactivate an Operational Environment</p>
3894 </div>
3895 <div class="pull-right"></div>
3896 <div class="clearfix"></div>
3897 <p></p>
3898 <p class="marked"></p>
3899 <p></p>
3900 <br />
3901 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate</span></code></pre>
3902 <p>
3903 <h3>Usage and SDK Samples</h3>
3904 </p>
3905 <ul class="nav nav-tabs nav-tabs-examples">
3906 <li class="active"><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">Curl</a></li>
3907 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">Java</a></li>
3908 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">Android</a></li>
3909 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">Groovy</a></li>-->
3910 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">Obj-C</a></li>
3911 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">JavaScript</a></li>
3912 <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">Angular</a></li>-->
3913 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">C#</a></li>
3914 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">PHP</a></li>
3915 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">Perl</a></li>
3916 <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">Python</a></li>
3917 </ul>
3918
3919 <div class="tab-content">
3920 <div class="tab-pane active" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05303921 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08003922 </div>
3923 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">
3924 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
3925import io.swagger.client.auth.*;
3926import io.swagger.client.model.*;
3927import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3928
3929import java.io.File;
3930import java.util.*;
3931
3932public class OnapsoinfracloudResourcesApiExample {
3933
3934 public static void main(String[] args) {
3935
3936 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3937 String version = version_example; // String |
3938 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
3939 String body = body_example; // String |
3940 try {
3941 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
3942 } catch (ApiException e) {
3943 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#deactivateOperationEnvironment");
3944 e.printStackTrace();
3945 }
3946 }
3947}</code></pre>
3948 </div>
3949
3950 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">
3951 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi;
3952
3953public class OnapsoinfracloudResourcesApiExample {
3954
3955 public static void main(String[] args) {
3956 OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi();
3957 String version = version_example; // String |
3958 String operationalEnvironmentId = operationalEnvironmentId_example; // String |
3959 String body = body_example; // String |
3960 try {
3961 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
3962 } catch (ApiException e) {
3963 System.err.println("Exception when calling OnapsoinfracloudResourcesApi#deactivateOperationEnvironment");
3964 e.printStackTrace();
3965 }
3966 }
3967}</code></pre>
3968 </div>
3969 <!--
3970 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">
3971 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
3972 </div> -->
3973 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">
3974 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
3975String *operationalEnvironmentId = operationalEnvironmentId_example; //
3976String *body = body_example; // (optional)
3977
3978OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init];
3979
3980// Deactivate an Operational Environment
3981[apiInstance deactivateOperationEnvironmentWith:version
3982 operationalEnvironmentId:operationalEnvironmentId
3983 body:body
3984 completionHandler: ^(NSError* error) {
3985 if (error) {
3986 NSLog(@"Error: %@", error);
3987 }
3988 }];
3989</code></pre>
3990 </div>
3991
3992 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">
3993 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
3994
3995var api = new SoCasablancaApIs.OnapsoinfracloudResourcesApi()
3996
3997var version = version_example; // {String}
3998
3999var operationalEnvironmentId = operationalEnvironmentId_example; // {String}
4000
4001var opts = {
4002 'body': body_example // {String}
4003};
4004
4005var callback = function(error, data, response) {
4006 if (error) {
4007 console.error(error);
4008 } else {
4009 console.log('API called successfully.');
4010 }
4011};
4012api.deactivateOperationEnvironment(version, operationalEnvironmentId, opts, callback);
4013</code></pre>
4014 </div>
4015
4016 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">
4017 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4018 </div>-->
4019 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">
4020 <pre class="prettyprint"><code class="language-cs">using System;
4021using System.Diagnostics;
4022using IO.Swagger.Api;
4023using IO.Swagger.Client;
4024using IO.Swagger.Model;
4025
4026namespace Example
4027{
4028 public class deactivateOperationEnvironmentExample
4029 {
4030 public void main()
4031 {
4032
4033 var apiInstance = new OnapsoinfracloudResourcesApi();
4034 var version = version_example; // String |
4035 var operationalEnvironmentId = operationalEnvironmentId_example; // String |
4036 var body = body_example; // String | (optional)
4037
4038 try
4039 {
4040 // Deactivate an Operational Environment
4041 apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body);
4042 }
4043 catch (Exception e)
4044 {
4045 Debug.Print("Exception when calling OnapsoinfracloudResourcesApi.deactivateOperationEnvironment: " + e.Message );
4046 }
4047 }
4048 }
4049}
4050</code></pre>
4051 </div>
4052
4053 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">
4054 <pre class="prettyprint"><code class="language-php"><&#63;php
4055require_once(__DIR__ . '/vendor/autoload.php');
4056
4057$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi();
4058$version = version_example; // String |
4059$operationalEnvironmentId = operationalEnvironmentId_example; // String |
4060$body = body_example; // String |
4061
4062try {
4063 $api_instance->deactivateOperationEnvironment($version, $operationalEnvironmentId, $body);
4064} catch (Exception $e) {
4065 echo 'Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: ', $e->getMessage(), PHP_EOL;
4066}
4067?></code></pre>
4068 </div>
4069
4070 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">
4071 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4072use WWW::SwaggerClient::Configuration;
4073use WWW::SwaggerClient::OnapsoinfracloudResourcesApi;
4074
4075my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new();
4076my $version = version_example; # String |
4077my $operationalEnvironmentId = operationalEnvironmentId_example; # String |
4078my $body = WWW::SwaggerClient::Object::String->new(); # String |
4079
4080eval {
4081 $api_instance->deactivateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body);
4082};
4083if ($@) {
4084 warn "Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: $@\n";
4085}</code></pre>
4086 </div>
4087
4088 <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">
4089 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4090import time
4091import swagger_client
4092from swagger_client.rest import ApiException
4093from pprint import pprint
4094
4095# create an instance of the API class
4096api_instance = swagger_client.OnapsoinfracloudResourcesApi()
4097version = version_example # String |
4098operationalEnvironmentId = operationalEnvironmentId_example # String |
4099body = body_example # String | (optional)
4100
4101try:
4102 # Deactivate an Operational Environment
4103 api_instance.deactivate_operation_environment(version, operationalEnvironmentId, body=body)
4104except ApiException as e:
4105 print("Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: %s\n" % e)</code></pre>
4106 </div>
4107 </div>
4108
4109 <h2>Parameters</h2>
4110
4111 <div class="methodsubtabletitle">Path parameters</div>
4112 <table id="methodsubtable">
4113 <tr>
4114 <th width="150px">Name</th>
4115 <th>Description</th>
4116 </tr>
4117 <tr><td style="width:150px;">version*</td>
4118<td>
4119
4120
4121 <div id="d2e199_deactivateOperationEnvironment_version">
4122 <div class="json-schema-view">
4123 <div class="primitive">
4124 <span class="type">
4125 String
4126 </span>
4127
4128 </div>
4129 <div class="inner required">
4130 Required
4131 </div>
4132 </div>
4133 </div>
4134</td>
4135</tr>
4136
4137 <tr><td style="width:150px;">operationalEnvironmentId*</td>
4138<td>
4139
4140
4141 <div id="d2e199_deactivateOperationEnvironment_operationalEnvironmentId">
4142 <div class="json-schema-view">
4143 <div class="primitive">
4144 <span class="type">
4145 String
4146 </span>
4147
4148 </div>
4149 <div class="inner required">
4150 Required
4151 </div>
4152 </div>
4153 </div>
4154</td>
4155</tr>
4156
4157 </table>
4158
4159
4160 <div class="methodsubtabletitle">Body parameters</div>
4161 <table id="methodsubtable">
4162 <tr>
4163 <th width="150px">Name</th>
4164 <th>Description</th>
4165 </tr>
4166 <tr><td style="width:150px;">body </td>
4167<td>
4168
4169
4170<script>
4171$(document).ready(function() {
4172 var schemaWrapper = {
4173 "in" : "body",
4174 "name" : "body",
4175 "required" : false,
4176 "schema" : {
4177 "type" : "string"
4178 }
4179};
4180 var schema = schemaWrapper.schema;
4181 if (schema.$ref != null) {
4182 schema = defsParser.$refs.get(schema.$ref);
4183 } else {
4184 schemaWrapper.definitions = Object.assign({}, defs);
4185 $RefParser.dereference(schemaWrapper).catch(function(err) {
4186 console.log(err);
4187 });
4188 }
4189
4190 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4191 var result = $('#d2e199_deactivateOperationEnvironment_body');
4192 result.empty();
4193 result.append(view.render());
4194});
4195</script>
4196<div id="d2e199_deactivateOperationEnvironment_body"></div>
4197</td>
4198</tr>
4199
4200 </table>
4201
4202
4203
4204 <h2>Responses</h2>
4205 <h3> Status: default - successful operation </h3>
4206
4207 <ul class="nav nav-tabs nav-tabs-examples" >
4208 </ul>
4209
4210 <div class="tab-content" style='margin-bottom: 10px;'>
4211 </div>
4212
4213 </article>
4214 </div>
4215 <hr>
4216 </section>
4217 <section id="api-OnapsoinfracloudResourcesRequests">
4218 <h1>OnapsoinfracloudResourcesRequests</h1>
4219 <div id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">
4220 <article id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0" data-group="User" data-name="getOperationEnvironmentStatusFilter" data-version="0">
4221 <div class="pull-left">
4222 <h1>getOperationEnvironmentStatusFilter</h1>
4223 <p>Get status of an Operational Environment based on filter criteria</p>
4224 </div>
4225 <div class="pull-right"></div>
4226 <div class="clearfix"></div>
4227 <p></p>
4228 <p class="marked"></p>
4229 <p></p>
4230 <br />
4231 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}</span></code></pre>
4232 <p>
4233 <h3>Usage and SDK Samples</h3>
4234 </p>
4235 <ul class="nav nav-tabs nav-tabs-examples">
4236 <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">Curl</a></li>
4237 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">Java</a></li>
4238 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">Android</a></li>
4239 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">Groovy</a></li>-->
4240 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">Obj-C</a></li>
4241 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">JavaScript</a></li>
4242 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">Angular</a></li>-->
4243 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">C#</a></li>
4244 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">PHP</a></li>
4245 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">Perl</a></li>
4246 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">Python</a></li>
4247 </ul>
4248
4249 <div class="tab-content">
4250 <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05304251 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/cloudResourcesRequests/{version}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08004252 </div>
4253 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">
4254 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4255import io.swagger.client.auth.*;
4256import io.swagger.client.model.*;
4257import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
4258
4259import java.io.File;
4260import java.util.*;
4261
4262public class OnapsoinfracloudResourcesRequestsApiExample {
4263
4264 public static void main(String[] args) {
4265
4266 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4267 String version = version_example; // String |
4268 try {
4269 apiInstance.getOperationEnvironmentStatusFilter(version);
4270 } catch (ApiException e) {
4271 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#getOperationEnvironmentStatusFilter");
4272 e.printStackTrace();
4273 }
4274 }
4275}</code></pre>
4276 </div>
4277
4278 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">
4279 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
4280
4281public class OnapsoinfracloudResourcesRequestsApiExample {
4282
4283 public static void main(String[] args) {
4284 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4285 String version = version_example; // String |
4286 try {
4287 apiInstance.getOperationEnvironmentStatusFilter(version);
4288 } catch (ApiException e) {
4289 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#getOperationEnvironmentStatusFilter");
4290 e.printStackTrace();
4291 }
4292 }
4293}</code></pre>
4294 </div>
4295 <!--
4296 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">
4297 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4298 </div> -->
4299 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">
4300 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
4301
4302OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init];
4303
4304// Get status of an Operational Environment based on filter criteria
4305[apiInstance getOperationEnvironmentStatusFilterWith:version
4306 completionHandler: ^(NSError* error) {
4307 if (error) {
4308 NSLog(@"Error: %@", error);
4309 }
4310 }];
4311</code></pre>
4312 </div>
4313
4314 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">
4315 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
4316
4317var api = new SoCasablancaApIs.OnapsoinfracloudResourcesRequestsApi()
4318
4319var version = version_example; // {String}
4320
4321
4322var callback = function(error, data, response) {
4323 if (error) {
4324 console.error(error);
4325 } else {
4326 console.log('API called successfully.');
4327 }
4328};
4329api.getOperationEnvironmentStatusFilter(version, callback);
4330</code></pre>
4331 </div>
4332
4333 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">
4334 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4335 </div>-->
4336 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">
4337 <pre class="prettyprint"><code class="language-cs">using System;
4338using System.Diagnostics;
4339using IO.Swagger.Api;
4340using IO.Swagger.Client;
4341using IO.Swagger.Model;
4342
4343namespace Example
4344{
4345 public class getOperationEnvironmentStatusFilterExample
4346 {
4347 public void main()
4348 {
4349
4350 var apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4351 var version = version_example; // String |
4352
4353 try
4354 {
4355 // Get status of an Operational Environment based on filter criteria
4356 apiInstance.getOperationEnvironmentStatusFilter(version);
4357 }
4358 catch (Exception e)
4359 {
4360 Debug.Print("Exception when calling OnapsoinfracloudResourcesRequestsApi.getOperationEnvironmentStatusFilter: " + e.Message );
4361 }
4362 }
4363 }
4364}
4365</code></pre>
4366 </div>
4367
4368 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">
4369 <pre class="prettyprint"><code class="language-php"><&#63;php
4370require_once(__DIR__ . '/vendor/autoload.php');
4371
4372$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi();
4373$version = version_example; // String |
4374
4375try {
4376 $api_instance->getOperationEnvironmentStatusFilter($version);
4377} catch (Exception $e) {
4378 echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: ', $e->getMessage(), PHP_EOL;
4379}
4380?></code></pre>
4381 </div>
4382
4383 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">
4384 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4385use WWW::SwaggerClient::Configuration;
4386use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi;
4387
4388my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new();
4389my $version = version_example; # String |
4390
4391eval {
4392 $api_instance->getOperationEnvironmentStatusFilter(version => $version);
4393};
4394if ($@) {
4395 warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: $@\n";
4396}</code></pre>
4397 </div>
4398
4399 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">
4400 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4401import time
4402import swagger_client
4403from swagger_client.rest import ApiException
4404from pprint import pprint
4405
4406# create an instance of the API class
4407api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi()
4408version = version_example # String |
4409
4410try:
4411 # Get status of an Operational Environment based on filter criteria
4412 api_instance.get_operation_environment_status_filter(version)
4413except ApiException as e:
4414 print("Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: %s\n" % e)</code></pre>
4415 </div>
4416 </div>
4417
4418 <h2>Parameters</h2>
4419
4420 <div class="methodsubtabletitle">Path parameters</div>
4421 <table id="methodsubtable">
4422 <tr>
4423 <th width="150px">Name</th>
4424 <th>Description</th>
4425 </tr>
4426 <tr><td style="width:150px;">version*</td>
4427<td>
4428
4429
4430 <div id="d2e199_getOperationEnvironmentStatusFilter_version">
4431 <div class="json-schema-view">
4432 <div class="primitive">
4433 <span class="type">
4434 String
4435 </span>
4436
4437 </div>
4438 <div class="inner required">
4439 Required
4440 </div>
4441 </div>
4442 </div>
4443</td>
4444</tr>
4445
4446 </table>
4447
4448
4449
4450
4451
4452 <h2>Responses</h2>
4453 <h3> Status: default - successful operation </h3>
4454
4455 <ul class="nav nav-tabs nav-tabs-examples" >
4456 </ul>
4457
4458 <div class="tab-content" style='margin-bottom: 10px;'>
4459 </div>
4460
4461 </article>
4462 </div>
4463 <hr>
4464 <div id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">
4465 <article id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0" data-group="User" data-name="unlockOrchestrationRequestForReqId" data-version="0">
4466 <div class="pull-left">
4467 <h1>unlockOrchestrationRequestForReqId</h1>
4468 <p>Unlock CloudOrchestration requests for a specified requestId</p>
4469 </div>
4470 <div class="pull-right"></div>
4471 <div class="clearfix"></div>
4472 <p></p>
4473 <p class="marked"></p>
4474 <p></p>
4475 <br />
4476 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock</span></code></pre>
4477 <p>
4478 <h3>Usage and SDK Samples</h3>
4479 </p>
4480 <ul class="nav nav-tabs nav-tabs-examples">
4481 <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">Curl</a></li>
4482 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">Java</a></li>
4483 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">Android</a></li>
4484 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">Groovy</a></li>-->
4485 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">Obj-C</a></li>
4486 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">JavaScript</a></li>
4487 <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">Angular</a></li>-->
4488 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">C#</a></li>
4489 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">PHP</a></li>
4490 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">Perl</a></li>
4491 <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">Python</a></li>
4492 </ul>
4493
4494 <div class="tab-content">
4495 <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05304496 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08004497 </div>
4498 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">
4499 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4500import io.swagger.client.auth.*;
4501import io.swagger.client.model.*;
4502import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
4503
4504import java.io.File;
4505import java.util.*;
4506
4507public class OnapsoinfracloudResourcesRequestsApiExample {
4508
4509 public static void main(String[] args) {
4510
4511 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4512 String requestId = requestId_example; // String |
4513 String version = version_example; // String |
4514 String body = body_example; // String |
4515 try {
4516 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
4517 } catch (ApiException e) {
4518 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#unlockOrchestrationRequestForReqId");
4519 e.printStackTrace();
4520 }
4521 }
4522}</code></pre>
4523 </div>
4524
4525 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">
4526 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi;
4527
4528public class OnapsoinfracloudResourcesRequestsApiExample {
4529
4530 public static void main(String[] args) {
4531 OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4532 String requestId = requestId_example; // String |
4533 String version = version_example; // String |
4534 String body = body_example; // String |
4535 try {
4536 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
4537 } catch (ApiException e) {
4538 System.err.println("Exception when calling OnapsoinfracloudResourcesRequestsApi#unlockOrchestrationRequestForReqId");
4539 e.printStackTrace();
4540 }
4541 }
4542}</code></pre>
4543 </div>
4544 <!--
4545 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">
4546 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4547 </div> -->
4548 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">
4549 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
4550String *version = version_example; //
4551String *body = body_example; // (optional)
4552
4553OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init];
4554
4555// Unlock CloudOrchestration requests for a specified requestId
4556[apiInstance unlockOrchestrationRequestForReqIdWith:requestId
4557 version:version
4558 body:body
4559 completionHandler: ^(NSError* error) {
4560 if (error) {
4561 NSLog(@"Error: %@", error);
4562 }
4563 }];
4564</code></pre>
4565 </div>
4566
4567 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">
4568 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
4569
4570var api = new SoCasablancaApIs.OnapsoinfracloudResourcesRequestsApi()
4571
4572var requestId = requestId_example; // {String}
4573
4574var version = version_example; // {String}
4575
4576var opts = {
4577 'body': body_example // {String}
4578};
4579
4580var callback = function(error, data, response) {
4581 if (error) {
4582 console.error(error);
4583 } else {
4584 console.log('API called successfully.');
4585 }
4586};
4587api.unlockOrchestrationRequestForReqId(requestId, version, opts, callback);
4588</code></pre>
4589 </div>
4590
4591 <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">
4592 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4593 </div>-->
4594 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">
4595 <pre class="prettyprint"><code class="language-cs">using System;
4596using System.Diagnostics;
4597using IO.Swagger.Api;
4598using IO.Swagger.Client;
4599using IO.Swagger.Model;
4600
4601namespace Example
4602{
4603 public class unlockOrchestrationRequestForReqIdExample
4604 {
4605 public void main()
4606 {
4607
4608 var apiInstance = new OnapsoinfracloudResourcesRequestsApi();
4609 var requestId = requestId_example; // String |
4610 var version = version_example; // String |
4611 var body = body_example; // String | (optional)
4612
4613 try
4614 {
4615 // Unlock CloudOrchestration requests for a specified requestId
4616 apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body);
4617 }
4618 catch (Exception e)
4619 {
4620 Debug.Print("Exception when calling OnapsoinfracloudResourcesRequestsApi.unlockOrchestrationRequestForReqId: " + e.Message );
4621 }
4622 }
4623 }
4624}
4625</code></pre>
4626 </div>
4627
4628 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">
4629 <pre class="prettyprint"><code class="language-php"><&#63;php
4630require_once(__DIR__ . '/vendor/autoload.php');
4631
4632$api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi();
4633$requestId = requestId_example; // String |
4634$version = version_example; // String |
4635$body = body_example; // String |
4636
4637try {
4638 $api_instance->unlockOrchestrationRequestForReqId($requestId, $version, $body);
4639} catch (Exception $e) {
4640 echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL;
4641}
4642?></code></pre>
4643 </div>
4644
4645 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">
4646 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4647use WWW::SwaggerClient::Configuration;
4648use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi;
4649
4650my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new();
4651my $requestId = requestId_example; # String |
4652my $version = version_example; # String |
4653my $body = WWW::SwaggerClient::Object::String->new(); # String |
4654
4655eval {
4656 $api_instance->unlockOrchestrationRequestForReqId(requestId => $requestId, version => $version, body => $body);
4657};
4658if ($@) {
4659 warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: $@\n";
4660}</code></pre>
4661 </div>
4662
4663 <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">
4664 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4665import time
4666import swagger_client
4667from swagger_client.rest import ApiException
4668from pprint import pprint
4669
4670# create an instance of the API class
4671api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi()
4672requestId = requestId_example # String |
4673version = version_example # String |
4674body = body_example # String | (optional)
4675
4676try:
4677 # Unlock CloudOrchestration requests for a specified requestId
4678 api_instance.unlock_orchestration_request_for_req_id(requestId, version, body=body)
4679except ApiException as e:
4680 print("Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: %s\n" % e)</code></pre>
4681 </div>
4682 </div>
4683
4684 <h2>Parameters</h2>
4685
4686 <div class="methodsubtabletitle">Path parameters</div>
4687 <table id="methodsubtable">
4688 <tr>
4689 <th width="150px">Name</th>
4690 <th>Description</th>
4691 </tr>
4692 <tr><td style="width:150px;">requestId*</td>
4693<td>
4694
4695
4696 <div id="d2e199_unlockOrchestrationRequestForReqId_requestId">
4697 <div class="json-schema-view">
4698 <div class="primitive">
4699 <span class="type">
4700 String
4701 </span>
4702
4703 </div>
4704 <div class="inner required">
4705 Required
4706 </div>
4707 </div>
4708 </div>
4709</td>
4710</tr>
4711
4712 <tr><td style="width:150px;">version*</td>
4713<td>
4714
4715
4716 <div id="d2e199_unlockOrchestrationRequestForReqId_version">
4717 <div class="json-schema-view">
4718 <div class="primitive">
4719 <span class="type">
4720 String
4721 </span>
4722
4723 </div>
4724 <div class="inner required">
4725 Required
4726 </div>
4727 </div>
4728 </div>
4729</td>
4730</tr>
4731
4732 </table>
4733
4734
4735 <div class="methodsubtabletitle">Body parameters</div>
4736 <table id="methodsubtable">
4737 <tr>
4738 <th width="150px">Name</th>
4739 <th>Description</th>
4740 </tr>
4741 <tr><td style="width:150px;">body </td>
4742<td>
4743
4744
4745<script>
4746$(document).ready(function() {
4747 var schemaWrapper = {
4748 "in" : "body",
4749 "name" : "body",
4750 "required" : false,
4751 "schema" : {
4752 "type" : "string"
4753 }
4754};
4755 var schema = schemaWrapper.schema;
4756 if (schema.$ref != null) {
4757 schema = defsParser.$refs.get(schema.$ref);
4758 } else {
4759 schemaWrapper.definitions = Object.assign({}, defs);
4760 $RefParser.dereference(schemaWrapper).catch(function(err) {
4761 console.log(err);
4762 });
4763 }
4764
4765 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
4766 var result = $('#d2e199_unlockOrchestrationRequestForReqId_body');
4767 result.empty();
4768 result.append(view.render());
4769});
4770</script>
4771<div id="d2e199_unlockOrchestrationRequestForReqId_body"></div>
4772</td>
4773</tr>
4774
4775 </table>
4776
4777
4778
4779 <h2>Responses</h2>
4780 <h3> Status: default - successful operation </h3>
4781
4782 <ul class="nav nav-tabs nav-tabs-examples" >
4783 </ul>
4784
4785 <div class="tab-content" style='margin-bottom: 10px;'>
4786 </div>
4787
4788 </article>
4789 </div>
4790 <hr>
4791 </section>
4792 <section id="api-OnapsoinframodelDistributions">
4793 <h1>OnapsoinframodelDistributions</h1>
4794 <div id="api-OnapsoinframodelDistributions-updateModelDistributionStatus">
4795 <article id="api-OnapsoinframodelDistributions-updateModelDistributionStatus-0" data-group="User" data-name="updateModelDistributionStatus" data-version="0">
4796 <div class="pull-left">
4797 <h1>updateModelDistributionStatus</h1>
4798 <p>Update model distribution status</p>
4799 </div>
4800 <div class="pull-right"></div>
4801 <div class="clearfix"></div>
4802 <p></p>
4803 <p class="marked"></p>
4804 <p></p>
4805 <br />
4806 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}</span></code></pre>
4807 <p>
4808 <h3>Usage and SDK Samples</h3>
4809 </p>
4810 <ul class="nav nav-tabs nav-tabs-examples">
4811 <li class="active"><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">Curl</a></li>
4812 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">Java</a></li>
4813 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">Android</a></li>
4814 <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">Groovy</a></li>-->
4815 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">Obj-C</a></li>
4816 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">JavaScript</a></li>
4817 <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">Angular</a></li>-->
4818 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">C#</a></li>
4819 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">PHP</a></li>
4820 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">Perl</a></li>
4821 <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">Python</a></li>
4822 </ul>
4823
4824 <div class="tab-content">
4825 <div class="tab-pane active" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05304826 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08004827 </div>
4828 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">
4829 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
4830import io.swagger.client.auth.*;
4831import io.swagger.client.model.*;
4832import io.swagger.client.api.OnapsoinframodelDistributionsApi;
4833
4834import java.io.File;
4835import java.util.*;
4836
4837public class OnapsoinframodelDistributionsApiExample {
4838
4839 public static void main(String[] args) {
4840
4841 OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi();
4842 String version = version_example; // String |
4843 String distributionId = distributionId_example; // String |
4844 String body = body_example; // String |
4845 try {
4846 apiInstance.updateModelDistributionStatus(version, distributionId, body);
4847 } catch (ApiException e) {
4848 System.err.println("Exception when calling OnapsoinframodelDistributionsApi#updateModelDistributionStatus");
4849 e.printStackTrace();
4850 }
4851 }
4852}</code></pre>
4853 </div>
4854
4855 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">
4856 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinframodelDistributionsApi;
4857
4858public class OnapsoinframodelDistributionsApiExample {
4859
4860 public static void main(String[] args) {
4861 OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi();
4862 String version = version_example; // String |
4863 String distributionId = distributionId_example; // String |
4864 String body = body_example; // String |
4865 try {
4866 apiInstance.updateModelDistributionStatus(version, distributionId, body);
4867 } catch (ApiException e) {
4868 System.err.println("Exception when calling OnapsoinframodelDistributionsApi#updateModelDistributionStatus");
4869 e.printStackTrace();
4870 }
4871 }
4872}</code></pre>
4873 </div>
4874 <!--
4875 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">
4876 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4877 </div> -->
4878 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">
4879 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
4880String *distributionId = distributionId_example; //
4881String *body = body_example; // (optional)
4882
4883OnapsoinframodelDistributionsApi *apiInstance = [[OnapsoinframodelDistributionsApi alloc] init];
4884
4885// Update model distribution status
4886[apiInstance updateModelDistributionStatusWith:version
4887 distributionId:distributionId
4888 body:body
4889 completionHandler: ^(NSError* error) {
4890 if (error) {
4891 NSLog(@"Error: %@", error);
4892 }
4893 }];
4894</code></pre>
4895 </div>
4896
4897 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">
4898 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
4899
4900var api = new SoCasablancaApIs.OnapsoinframodelDistributionsApi()
4901
4902var version = version_example; // {String}
4903
4904var distributionId = distributionId_example; // {String}
4905
4906var opts = {
4907 'body': body_example // {String}
4908};
4909
4910var callback = function(error, data, response) {
4911 if (error) {
4912 console.error(error);
4913 } else {
4914 console.log('API called successfully.');
4915 }
4916};
4917api.updateModelDistributionStatus(version, distributionId, opts, callback);
4918</code></pre>
4919 </div>
4920
4921 <!--<div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">
4922 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
4923 </div>-->
4924 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">
4925 <pre class="prettyprint"><code class="language-cs">using System;
4926using System.Diagnostics;
4927using IO.Swagger.Api;
4928using IO.Swagger.Client;
4929using IO.Swagger.Model;
4930
4931namespace Example
4932{
4933 public class updateModelDistributionStatusExample
4934 {
4935 public void main()
4936 {
4937
4938 var apiInstance = new OnapsoinframodelDistributionsApi();
4939 var version = version_example; // String |
4940 var distributionId = distributionId_example; // String |
4941 var body = body_example; // String | (optional)
4942
4943 try
4944 {
4945 // Update model distribution status
4946 apiInstance.updateModelDistributionStatus(version, distributionId, body);
4947 }
4948 catch (Exception e)
4949 {
4950 Debug.Print("Exception when calling OnapsoinframodelDistributionsApi.updateModelDistributionStatus: " + e.Message );
4951 }
4952 }
4953 }
4954}
4955</code></pre>
4956 </div>
4957
4958 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">
4959 <pre class="prettyprint"><code class="language-php"><&#63;php
4960require_once(__DIR__ . '/vendor/autoload.php');
4961
4962$api_instance = new Swagger\Client\Api\OnapsoinframodelDistributionsApi();
4963$version = version_example; // String |
4964$distributionId = distributionId_example; // String |
4965$body = body_example; // String |
4966
4967try {
4968 $api_instance->updateModelDistributionStatus($version, $distributionId, $body);
4969} catch (Exception $e) {
4970 echo 'Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: ', $e->getMessage(), PHP_EOL;
4971}
4972?></code></pre>
4973 </div>
4974
4975 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">
4976 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
4977use WWW::SwaggerClient::Configuration;
4978use WWW::SwaggerClient::OnapsoinframodelDistributionsApi;
4979
4980my $api_instance = WWW::SwaggerClient::OnapsoinframodelDistributionsApi->new();
4981my $version = version_example; # String |
4982my $distributionId = distributionId_example; # String |
4983my $body = WWW::SwaggerClient::Object::String->new(); # String |
4984
4985eval {
4986 $api_instance->updateModelDistributionStatus(version => $version, distributionId => $distributionId, body => $body);
4987};
4988if ($@) {
4989 warn "Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: $@\n";
4990}</code></pre>
4991 </div>
4992
4993 <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">
4994 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
4995import time
4996import swagger_client
4997from swagger_client.rest import ApiException
4998from pprint import pprint
4999
5000# create an instance of the API class
5001api_instance = swagger_client.OnapsoinframodelDistributionsApi()
5002version = version_example # String |
5003distributionId = distributionId_example # String |
5004body = body_example # String | (optional)
5005
5006try:
5007 # Update model distribution status
5008 api_instance.update_model_distribution_status(version, distributionId, body=body)
5009except ApiException as e:
5010 print("Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: %s\n" % e)</code></pre>
5011 </div>
5012 </div>
5013
5014 <h2>Parameters</h2>
5015
5016 <div class="methodsubtabletitle">Path parameters</div>
5017 <table id="methodsubtable">
5018 <tr>
5019 <th width="150px">Name</th>
5020 <th>Description</th>
5021 </tr>
5022 <tr><td style="width:150px;">version*</td>
5023<td>
5024
5025
5026 <div id="d2e199_updateModelDistributionStatus_version">
5027 <div class="json-schema-view">
5028 <div class="primitive">
5029 <span class="type">
5030 String
5031 </span>
5032
5033 </div>
5034 <div class="inner required">
5035 Required
5036 </div>
5037 </div>
5038 </div>
5039</td>
5040</tr>
5041
5042 <tr><td style="width:150px;">distributionId*</td>
5043<td>
5044
5045
5046 <div id="d2e199_updateModelDistributionStatus_distributionId">
5047 <div class="json-schema-view">
5048 <div class="primitive">
5049 <span class="type">
5050 String
5051 </span>
5052
5053 </div>
5054 <div class="inner required">
5055 Required
5056 </div>
5057 </div>
5058 </div>
5059</td>
5060</tr>
5061
5062 </table>
5063
5064
5065 <div class="methodsubtabletitle">Body parameters</div>
5066 <table id="methodsubtable">
5067 <tr>
5068 <th width="150px">Name</th>
5069 <th>Description</th>
5070 </tr>
5071 <tr><td style="width:150px;">body </td>
5072<td>
5073
5074
5075<script>
5076$(document).ready(function() {
5077 var schemaWrapper = {
5078 "in" : "body",
5079 "name" : "body",
5080 "required" : false,
5081 "schema" : {
5082 "type" : "string"
5083 }
5084};
5085 var schema = schemaWrapper.schema;
5086 if (schema.$ref != null) {
5087 schema = defsParser.$refs.get(schema.$ref);
5088 } else {
5089 schemaWrapper.definitions = Object.assign({}, defs);
5090 $RefParser.dereference(schemaWrapper).catch(function(err) {
5091 console.log(err);
5092 });
5093 }
5094
5095 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
5096 var result = $('#d2e199_updateModelDistributionStatus_body');
5097 result.empty();
5098 result.append(view.render());
5099});
5100</script>
5101<div id="d2e199_updateModelDistributionStatus_body"></div>
5102</td>
5103</tr>
5104
5105 </table>
5106
5107
5108
5109 <h2>Responses</h2>
5110 <h3> Status: default - successful operation </h3>
5111
5112 <ul class="nav nav-tabs nav-tabs-examples" >
5113 </ul>
5114
5115 <div class="tab-content" style='margin-bottom: 10px;'>
5116 </div>
5117
5118 </article>
5119 </div>
5120 <hr>
5121 </section>
5122 <section id="api-OnapsoinfraorchestrationRequests">
5123 <h1>OnapsoinfraorchestrationRequests</h1>
5124 <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">
5125 <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0" data-group="User" data-name="getOrchestrationRequest" data-version="0">
5126 <div class="pull-left">
5127 <h1>getOrchestrationRequest</h1>
5128 <p>Find Orchestrated Requests for a URI Information</p>
5129 </div>
5130 <div class="pull-right"></div>
5131 <div class="clearfix"></div>
5132 <p></p>
5133 <p class="marked"></p>
5134 <p></p>
5135 <br />
5136 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}</span></code></pre>
5137 <p>
5138 <h3>Usage and SDK Samples</h3>
5139 </p>
5140 <ul class="nav nav-tabs nav-tabs-examples">
5141 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">Curl</a></li>
5142 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">Java</a></li>
5143 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">Android</a></li>
5144 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">Groovy</a></li>-->
5145 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">Obj-C</a></li>
5146 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">JavaScript</a></li>
5147 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">Angular</a></li>-->
5148 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">C#</a></li>
5149 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">PHP</a></li>
5150 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">Perl</a></li>
5151 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">Python</a></li>
5152 </ul>
5153
5154 <div class="tab-content">
5155 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05305156 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08005157 </div>
5158 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">
5159 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5160import io.swagger.client.auth.*;
5161import io.swagger.client.model.*;
5162import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5163
5164import java.io.File;
5165import java.util.*;
5166
5167public class OnapsoinfraorchestrationRequestsApiExample {
5168
5169 public static void main(String[] args) {
5170
5171 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5172 String version = version_example; // String |
5173 try {
5174 apiInstance.getOrchestrationRequest(version);
5175 } catch (ApiException e) {
5176 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequest");
5177 e.printStackTrace();
5178 }
5179 }
5180}</code></pre>
5181 </div>
5182
5183 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">
5184 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5185
5186public class OnapsoinfraorchestrationRequestsApiExample {
5187
5188 public static void main(String[] args) {
5189 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5190 String version = version_example; // String |
5191 try {
5192 apiInstance.getOrchestrationRequest(version);
5193 } catch (ApiException e) {
5194 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequest");
5195 e.printStackTrace();
5196 }
5197 }
5198}</code></pre>
5199 </div>
5200 <!--
5201 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">
5202 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5203 </div> -->
5204 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">
5205 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
5206
5207OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
5208
5209// Find Orchestrated Requests for a URI Information
5210[apiInstance getOrchestrationRequestWith:version
5211 completionHandler: ^(NSError* error) {
5212 if (error) {
5213 NSLog(@"Error: %@", error);
5214 }
5215 }];
5216</code></pre>
5217 </div>
5218
5219 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">
5220 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
5221
5222var api = new SoCasablancaApIs.OnapsoinfraorchestrationRequestsApi()
5223
5224var version = version_example; // {String}
5225
5226
5227var callback = function(error, data, response) {
5228 if (error) {
5229 console.error(error);
5230 } else {
5231 console.log('API called successfully.');
5232 }
5233};
5234api.getOrchestrationRequest(version, callback);
5235</code></pre>
5236 </div>
5237
5238 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">
5239 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5240 </div>-->
5241 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">
5242 <pre class="prettyprint"><code class="language-cs">using System;
5243using System.Diagnostics;
5244using IO.Swagger.Api;
5245using IO.Swagger.Client;
5246using IO.Swagger.Model;
5247
5248namespace Example
5249{
5250 public class getOrchestrationRequestExample
5251 {
5252 public void main()
5253 {
5254
5255 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
5256 var version = version_example; // String |
5257
5258 try
5259 {
5260 // Find Orchestrated Requests for a URI Information
5261 apiInstance.getOrchestrationRequest(version);
5262 }
5263 catch (Exception e)
5264 {
5265 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.getOrchestrationRequest: " + e.Message );
5266 }
5267 }
5268 }
5269}
5270</code></pre>
5271 </div>
5272
5273 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">
5274 <pre class="prettyprint"><code class="language-php"><&#63;php
5275require_once(__DIR__ . '/vendor/autoload.php');
5276
5277$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
5278$version = version_example; // String |
5279
5280try {
5281 $api_instance->getOrchestrationRequest($version);
5282} catch (Exception $e) {
5283 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: ', $e->getMessage(), PHP_EOL;
5284}
5285?></code></pre>
5286 </div>
5287
5288 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">
5289 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5290use WWW::SwaggerClient::Configuration;
5291use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
5292
5293my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
5294my $version = version_example; # String |
5295
5296eval {
5297 $api_instance->getOrchestrationRequest(version => $version);
5298};
5299if ($@) {
5300 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: $@\n";
5301}</code></pre>
5302 </div>
5303
5304 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">
5305 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5306import time
5307import swagger_client
5308from swagger_client.rest import ApiException
5309from pprint import pprint
5310
5311# create an instance of the API class
5312api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
5313version = version_example # String |
5314
5315try:
5316 # Find Orchestrated Requests for a URI Information
5317 api_instance.get_orchestration_request(version)
5318except ApiException as e:
5319 print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: %s\n" % e)</code></pre>
5320 </div>
5321 </div>
5322
5323 <h2>Parameters</h2>
5324
5325 <div class="methodsubtabletitle">Path parameters</div>
5326 <table id="methodsubtable">
5327 <tr>
5328 <th width="150px">Name</th>
5329 <th>Description</th>
5330 </tr>
5331 <tr><td style="width:150px;">version*</td>
5332<td>
5333
5334
5335 <div id="d2e199_getOrchestrationRequest_version">
5336 <div class="json-schema-view">
5337 <div class="primitive">
5338 <span class="type">
5339 String
5340 </span>
5341
5342 </div>
5343 <div class="inner required">
5344 Required
5345 </div>
5346 </div>
5347 </div>
5348</td>
5349</tr>
5350
5351 </table>
5352
5353
5354
5355
5356
5357 <h2>Responses</h2>
5358 <h3> Status: default - successful operation </h3>
5359
5360 <ul class="nav nav-tabs nav-tabs-examples" >
5361 </ul>
5362
5363 <div class="tab-content" style='margin-bottom: 10px;'>
5364 </div>
5365
5366 </article>
5367 </div>
5368 <hr>
5369 <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">
5370 <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0" data-group="User" data-name="getOrchestrationRequestForReqId" data-version="0">
5371 <div class="pull-left">
5372 <h1>getOrchestrationRequestForReqId</h1>
5373 <p>Find Orchestrated Requests for a given requestId</p>
5374 </div>
5375 <div class="pull-right"></div>
5376 <div class="clearfix"></div>
5377 <p></p>
5378 <p class="marked"></p>
5379 <p></p>
5380 <br />
5381 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}</span></code></pre>
5382 <p>
5383 <h3>Usage and SDK Samples</h3>
5384 </p>
5385 <ul class="nav nav-tabs nav-tabs-examples">
5386 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">Curl</a></li>
5387 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">Java</a></li>
5388 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">Android</a></li>
5389 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">Groovy</a></li>-->
5390 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">Obj-C</a></li>
5391 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">JavaScript</a></li>
5392 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">Angular</a></li>-->
5393 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">C#</a></li>
5394 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">PHP</a></li>
5395 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">Perl</a></li>
5396 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">Python</a></li>
5397 </ul>
5398
5399 <div class="tab-content">
5400 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05305401 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08005402 </div>
5403 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">
5404 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5405import io.swagger.client.auth.*;
5406import io.swagger.client.model.*;
5407import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5408
5409import java.io.File;
5410import java.util.*;
5411
5412public class OnapsoinfraorchestrationRequestsApiExample {
5413
5414 public static void main(String[] args) {
5415
5416 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5417 String requestId = requestId_example; // String |
5418 String version = version_example; // String |
5419 try {
5420 apiInstance.getOrchestrationRequestForReqId(requestId, version);
5421 } catch (ApiException e) {
5422 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequestForReqId");
5423 e.printStackTrace();
5424 }
5425 }
5426}</code></pre>
5427 </div>
5428
5429 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">
5430 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5431
5432public class OnapsoinfraorchestrationRequestsApiExample {
5433
5434 public static void main(String[] args) {
5435 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5436 String requestId = requestId_example; // String |
5437 String version = version_example; // String |
5438 try {
5439 apiInstance.getOrchestrationRequestForReqId(requestId, version);
5440 } catch (ApiException e) {
5441 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#getOrchestrationRequestForReqId");
5442 e.printStackTrace();
5443 }
5444 }
5445}</code></pre>
5446 </div>
5447 <!--
5448 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">
5449 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5450 </div> -->
5451 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">
5452 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
5453String *version = version_example; //
5454
5455OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
5456
5457// Find Orchestrated Requests for a given requestId
5458[apiInstance getOrchestrationRequestForReqIdWith:requestId
5459 version:version
5460 completionHandler: ^(NSError* error) {
5461 if (error) {
5462 NSLog(@"Error: %@", error);
5463 }
5464 }];
5465</code></pre>
5466 </div>
5467
5468 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">
5469 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
5470
5471var api = new SoCasablancaApIs.OnapsoinfraorchestrationRequestsApi()
5472
5473var requestId = requestId_example; // {String}
5474
5475var version = version_example; // {String}
5476
5477
5478var callback = function(error, data, response) {
5479 if (error) {
5480 console.error(error);
5481 } else {
5482 console.log('API called successfully.');
5483 }
5484};
5485api.getOrchestrationRequestForReqId(requestId, version, callback);
5486</code></pre>
5487 </div>
5488
5489 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">
5490 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5491 </div>-->
5492 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">
5493 <pre class="prettyprint"><code class="language-cs">using System;
5494using System.Diagnostics;
5495using IO.Swagger.Api;
5496using IO.Swagger.Client;
5497using IO.Swagger.Model;
5498
5499namespace Example
5500{
5501 public class getOrchestrationRequestForReqIdExample
5502 {
5503 public void main()
5504 {
5505
5506 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
5507 var requestId = requestId_example; // String |
5508 var version = version_example; // String |
5509
5510 try
5511 {
5512 // Find Orchestrated Requests for a given requestId
5513 apiInstance.getOrchestrationRequestForReqId(requestId, version);
5514 }
5515 catch (Exception e)
5516 {
5517 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.getOrchestrationRequestForReqId: " + e.Message );
5518 }
5519 }
5520 }
5521}
5522</code></pre>
5523 </div>
5524
5525 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">
5526 <pre class="prettyprint"><code class="language-php"><&#63;php
5527require_once(__DIR__ . '/vendor/autoload.php');
5528
5529$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
5530$requestId = requestId_example; // String |
5531$version = version_example; // String |
5532
5533try {
5534 $api_instance->getOrchestrationRequestForReqId($requestId, $version);
5535} catch (Exception $e) {
5536 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL;
5537}
5538?></code></pre>
5539 </div>
5540
5541 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">
5542 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5543use WWW::SwaggerClient::Configuration;
5544use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
5545
5546my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
5547my $requestId = requestId_example; # String |
5548my $version = version_example; # String |
5549
5550eval {
5551 $api_instance->getOrchestrationRequestForReqId(requestId => $requestId, version => $version);
5552};
5553if ($@) {
5554 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: $@\n";
5555}</code></pre>
5556 </div>
5557
5558 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">
5559 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5560import time
5561import swagger_client
5562from swagger_client.rest import ApiException
5563from pprint import pprint
5564
5565# create an instance of the API class
5566api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
5567requestId = requestId_example # String |
5568version = version_example # String |
5569
5570try:
5571 # Find Orchestrated Requests for a given requestId
5572 api_instance.get_orchestration_request_for_req_id(requestId, version)
5573except ApiException as e:
5574 print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: %s\n" % e)</code></pre>
5575 </div>
5576 </div>
5577
5578 <h2>Parameters</h2>
5579
5580 <div class="methodsubtabletitle">Path parameters</div>
5581 <table id="methodsubtable">
5582 <tr>
5583 <th width="150px">Name</th>
5584 <th>Description</th>
5585 </tr>
5586 <tr><td style="width:150px;">requestId*</td>
5587<td>
5588
5589
5590 <div id="d2e199_getOrchestrationRequestForReqId_requestId">
5591 <div class="json-schema-view">
5592 <div class="primitive">
5593 <span class="type">
5594 String
5595 </span>
5596
5597 </div>
5598 <div class="inner required">
5599 Required
5600 </div>
5601 </div>
5602 </div>
5603</td>
5604</tr>
5605
5606 <tr><td style="width:150px;">version*</td>
5607<td>
5608
5609
5610 <div id="d2e199_getOrchestrationRequestForReqId_version">
5611 <div class="json-schema-view">
5612 <div class="primitive">
5613 <span class="type">
5614 String
5615 </span>
5616
5617 </div>
5618 <div class="inner required">
5619 Required
5620 </div>
5621 </div>
5622 </div>
5623</td>
5624</tr>
5625
5626 </table>
5627
5628
5629
5630
5631
5632 <h2>Responses</h2>
5633 <h3> Status: default - successful operation </h3>
5634
5635 <ul class="nav nav-tabs nav-tabs-examples" >
5636 </ul>
5637
5638 <div class="tab-content" style='margin-bottom: 10px;'>
5639 </div>
5640
5641 </article>
5642 </div>
5643 <hr>
5644 <div id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">
5645 <article id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0" data-group="User" data-name="unlockOrchestrationRequest" data-version="0">
5646 <div class="pull-left">
5647 <h1>unlockOrchestrationRequest</h1>
5648 <p>Unlock Orchestrated Requests for a given requestId</p>
5649 </div>
5650 <div class="pull-right"></div>
5651 <div class="clearfix"></div>
5652 <p></p>
5653 <p class="marked"></p>
5654 <p></p>
5655 <br />
5656 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock</span></code></pre>
5657 <p>
5658 <h3>Usage and SDK Samples</h3>
5659 </p>
5660 <ul class="nav nav-tabs nav-tabs-examples">
5661 <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">Curl</a></li>
5662 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">Java</a></li>
5663 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">Android</a></li>
5664 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">Groovy</a></li>-->
5665 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">Obj-C</a></li>
5666 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">JavaScript</a></li>
5667 <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">Angular</a></li>-->
5668 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">C#</a></li>
5669 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">PHP</a></li>
5670 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">Perl</a></li>
5671 <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">Python</a></li>
5672 </ul>
5673
5674 <div class="tab-content">
5675 <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05305676 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08005677 </div>
5678 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">
5679 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
5680import io.swagger.client.auth.*;
5681import io.swagger.client.model.*;
5682import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5683
5684import java.io.File;
5685import java.util.*;
5686
5687public class OnapsoinfraorchestrationRequestsApiExample {
5688
5689 public static void main(String[] args) {
5690
5691 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5692 String requestId = requestId_example; // String |
5693 String version = version_example; // String |
5694 String body = body_example; // String |
5695 try {
5696 apiInstance.unlockOrchestrationRequest(requestId, version, body);
5697 } catch (ApiException e) {
5698 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#unlockOrchestrationRequest");
5699 e.printStackTrace();
5700 }
5701 }
5702}</code></pre>
5703 </div>
5704
5705 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">
5706 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi;
5707
5708public class OnapsoinfraorchestrationRequestsApiExample {
5709
5710 public static void main(String[] args) {
5711 OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi();
5712 String requestId = requestId_example; // String |
5713 String version = version_example; // String |
5714 String body = body_example; // String |
5715 try {
5716 apiInstance.unlockOrchestrationRequest(requestId, version, body);
5717 } catch (ApiException e) {
5718 System.err.println("Exception when calling OnapsoinfraorchestrationRequestsApi#unlockOrchestrationRequest");
5719 e.printStackTrace();
5720 }
5721 }
5722}</code></pre>
5723 </div>
5724 <!--
5725 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">
5726 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5727 </div> -->
5728 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">
5729 <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; //
5730String *version = version_example; //
5731String *body = body_example; // (optional)
5732
5733OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init];
5734
5735// Unlock Orchestrated Requests for a given requestId
5736[apiInstance unlockOrchestrationRequestWith:requestId
5737 version:version
5738 body:body
5739 completionHandler: ^(NSError* error) {
5740 if (error) {
5741 NSLog(@"Error: %@", error);
5742 }
5743 }];
5744</code></pre>
5745 </div>
5746
5747 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">
5748 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
5749
5750var api = new SoCasablancaApIs.OnapsoinfraorchestrationRequestsApi()
5751
5752var requestId = requestId_example; // {String}
5753
5754var version = version_example; // {String}
5755
5756var opts = {
5757 'body': body_example // {String}
5758};
5759
5760var callback = function(error, data, response) {
5761 if (error) {
5762 console.error(error);
5763 } else {
5764 console.log('API called successfully.');
5765 }
5766};
5767api.unlockOrchestrationRequest(requestId, version, opts, callback);
5768</code></pre>
5769 </div>
5770
5771 <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">
5772 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
5773 </div>-->
5774 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">
5775 <pre class="prettyprint"><code class="language-cs">using System;
5776using System.Diagnostics;
5777using IO.Swagger.Api;
5778using IO.Swagger.Client;
5779using IO.Swagger.Model;
5780
5781namespace Example
5782{
5783 public class unlockOrchestrationRequestExample
5784 {
5785 public void main()
5786 {
5787
5788 var apiInstance = new OnapsoinfraorchestrationRequestsApi();
5789 var requestId = requestId_example; // String |
5790 var version = version_example; // String |
5791 var body = body_example; // String | (optional)
5792
5793 try
5794 {
5795 // Unlock Orchestrated Requests for a given requestId
5796 apiInstance.unlockOrchestrationRequest(requestId, version, body);
5797 }
5798 catch (Exception e)
5799 {
5800 Debug.Print("Exception when calling OnapsoinfraorchestrationRequestsApi.unlockOrchestrationRequest: " + e.Message );
5801 }
5802 }
5803 }
5804}
5805</code></pre>
5806 </div>
5807
5808 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">
5809 <pre class="prettyprint"><code class="language-php"><&#63;php
5810require_once(__DIR__ . '/vendor/autoload.php');
5811
5812$api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi();
5813$requestId = requestId_example; // String |
5814$version = version_example; // String |
5815$body = body_example; // String |
5816
5817try {
5818 $api_instance->unlockOrchestrationRequest($requestId, $version, $body);
5819} catch (Exception $e) {
5820 echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: ', $e->getMessage(), PHP_EOL;
5821}
5822?></code></pre>
5823 </div>
5824
5825 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">
5826 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
5827use WWW::SwaggerClient::Configuration;
5828use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi;
5829
5830my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new();
5831my $requestId = requestId_example; # String |
5832my $version = version_example; # String |
5833my $body = WWW::SwaggerClient::Object::String->new(); # String |
5834
5835eval {
5836 $api_instance->unlockOrchestrationRequest(requestId => $requestId, version => $version, body => $body);
5837};
5838if ($@) {
5839 warn "Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: $@\n";
5840}</code></pre>
5841 </div>
5842
5843 <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">
5844 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
5845import time
5846import swagger_client
5847from swagger_client.rest import ApiException
5848from pprint import pprint
5849
5850# create an instance of the API class
5851api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi()
5852requestId = requestId_example # String |
5853version = version_example # String |
5854body = body_example # String | (optional)
5855
5856try:
5857 # Unlock Orchestrated Requests for a given requestId
5858 api_instance.unlock_orchestration_request(requestId, version, body=body)
5859except ApiException as e:
5860 print("Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: %s\n" % e)</code></pre>
5861 </div>
5862 </div>
5863
5864 <h2>Parameters</h2>
5865
5866 <div class="methodsubtabletitle">Path parameters</div>
5867 <table id="methodsubtable">
5868 <tr>
5869 <th width="150px">Name</th>
5870 <th>Description</th>
5871 </tr>
5872 <tr><td style="width:150px;">requestId*</td>
5873<td>
5874
5875
5876 <div id="d2e199_unlockOrchestrationRequest_requestId">
5877 <div class="json-schema-view">
5878 <div class="primitive">
5879 <span class="type">
5880 String
5881 </span>
5882
5883 </div>
5884 <div class="inner required">
5885 Required
5886 </div>
5887 </div>
5888 </div>
5889</td>
5890</tr>
5891
5892 <tr><td style="width:150px;">version*</td>
5893<td>
5894
5895
5896 <div id="d2e199_unlockOrchestrationRequest_version">
5897 <div class="json-schema-view">
5898 <div class="primitive">
5899 <span class="type">
5900 String
5901 </span>
5902
5903 </div>
5904 <div class="inner required">
5905 Required
5906 </div>
5907 </div>
5908 </div>
5909</td>
5910</tr>
5911
5912 </table>
5913
5914
5915 <div class="methodsubtabletitle">Body parameters</div>
5916 <table id="methodsubtable">
5917 <tr>
5918 <th width="150px">Name</th>
5919 <th>Description</th>
5920 </tr>
5921 <tr><td style="width:150px;">body </td>
5922<td>
5923
5924
5925<script>
5926$(document).ready(function() {
5927 var schemaWrapper = {
5928 "in" : "body",
5929 "name" : "body",
5930 "required" : false,
5931 "schema" : {
5932 "type" : "string"
5933 }
5934};
5935 var schema = schemaWrapper.schema;
5936 if (schema.$ref != null) {
5937 schema = defsParser.$refs.get(schema.$ref);
5938 } else {
5939 schemaWrapper.definitions = Object.assign({}, defs);
5940 $RefParser.dereference(schemaWrapper).catch(function(err) {
5941 console.log(err);
5942 });
5943 }
5944
5945 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
5946 var result = $('#d2e199_unlockOrchestrationRequest_body');
5947 result.empty();
5948 result.append(view.render());
5949});
5950</script>
5951<div id="d2e199_unlockOrchestrationRequest_body"></div>
5952</td>
5953</tr>
5954
5955 </table>
5956
5957
5958
5959 <h2>Responses</h2>
5960 <h3> Status: default - successful operation </h3>
5961
5962 <ul class="nav nav-tabs nav-tabs-examples" >
5963 </ul>
5964
5965 <div class="tab-content" style='margin-bottom: 10px;'>
5966 </div>
5967
5968 </article>
5969 </div>
5970 <hr>
5971 </section>
5972 <section id="api-OnapsoinfraserviceInstantiation">
5973 <h1>OnapsoinfraserviceInstantiation</h1>
5974 <div id="api-OnapsoinfraserviceInstantiation-activatePort">
5975 <article id="api-OnapsoinfraserviceInstantiation-activatePort-0" data-group="User" data-name="activatePort" data-version="0">
5976 <div class="pull-left">
5977 <h1>activatePort</h1>
5978 <p>Activate Port Mirroring</p>
5979 </div>
5980 <div class="pull-right"></div>
5981 <div class="clearfix"></div>
5982 <p></p>
5983 <p class="marked"></p>
5984 <p></p>
5985 <br />
5986 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate</span></code></pre>
5987 <p>
5988 <h3>Usage and SDK Samples</h3>
5989 </p>
5990 <ul class="nav nav-tabs nav-tabs-examples">
5991 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">Curl</a></li>
5992 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-java">Java</a></li>
5993 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-android">Android</a></li>
5994 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">Groovy</a></li>-->
5995 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">Obj-C</a></li>
5996 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">JavaScript</a></li>
5997 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">Angular</a></li>-->
5998 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">C#</a></li>
5999 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-php">PHP</a></li>
6000 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">Perl</a></li>
6001 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-python">Python</a></li>
6002 </ul>
6003
6004 <div class="tab-content">
6005 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05306006 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08006007 </div>
6008 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-java">
6009 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6010import io.swagger.client.auth.*;
6011import io.swagger.client.model.*;
6012import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6013
6014import java.io.File;
6015import java.util.*;
6016
6017public class OnapsoinfraserviceInstantiationApiExample {
6018
6019 public static void main(String[] args) {
6020
6021 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6022 String version = version_example; // String |
6023 String serviceInstanceId = serviceInstanceId_example; // String |
6024 String configurationInstanceId = configurationInstanceId_example; // String |
6025 String body = body_example; // String |
6026 try {
6027 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
6028 } catch (ApiException e) {
6029 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activatePort");
6030 e.printStackTrace();
6031 }
6032 }
6033}</code></pre>
6034 </div>
6035
6036 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-android">
6037 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6038
6039public class OnapsoinfraserviceInstantiationApiExample {
6040
6041 public static void main(String[] args) {
6042 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6043 String version = version_example; // String |
6044 String serviceInstanceId = serviceInstanceId_example; // String |
6045 String configurationInstanceId = configurationInstanceId_example; // String |
6046 String body = body_example; // String |
6047 try {
6048 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
6049 } catch (ApiException e) {
6050 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activatePort");
6051 e.printStackTrace();
6052 }
6053 }
6054}</code></pre>
6055 </div>
6056 <!--
6057 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">
6058 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6059 </div> -->
6060 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">
6061 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
6062String *serviceInstanceId = serviceInstanceId_example; //
6063String *configurationInstanceId = configurationInstanceId_example; //
6064String *body = body_example; // (optional)
6065
6066OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
6067
6068// Activate Port Mirroring
6069[apiInstance activatePortWith:version
6070 serviceInstanceId:serviceInstanceId
6071 configurationInstanceId:configurationInstanceId
6072 body:body
6073 completionHandler: ^(NSError* error) {
6074 if (error) {
6075 NSLog(@"Error: %@", error);
6076 }
6077 }];
6078</code></pre>
6079 </div>
6080
6081 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">
6082 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
6083
6084var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
6085
6086var version = version_example; // {String}
6087
6088var serviceInstanceId = serviceInstanceId_example; // {String}
6089
6090var configurationInstanceId = configurationInstanceId_example; // {String}
6091
6092var opts = {
6093 'body': body_example // {String}
6094};
6095
6096var callback = function(error, data, response) {
6097 if (error) {
6098 console.error(error);
6099 } else {
6100 console.log('API called successfully.');
6101 }
6102};
6103api.activatePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
6104</code></pre>
6105 </div>
6106
6107 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">
6108 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6109 </div>-->
6110 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">
6111 <pre class="prettyprint"><code class="language-cs">using System;
6112using System.Diagnostics;
6113using IO.Swagger.Api;
6114using IO.Swagger.Client;
6115using IO.Swagger.Model;
6116
6117namespace Example
6118{
6119 public class activatePortExample
6120 {
6121 public void main()
6122 {
6123
6124 var apiInstance = new OnapsoinfraserviceInstantiationApi();
6125 var version = version_example; // String |
6126 var serviceInstanceId = serviceInstanceId_example; // String |
6127 var configurationInstanceId = configurationInstanceId_example; // String |
6128 var body = body_example; // String | (optional)
6129
6130 try
6131 {
6132 // Activate Port Mirroring
6133 apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body);
6134 }
6135 catch (Exception e)
6136 {
6137 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.activatePort: " + e.Message );
6138 }
6139 }
6140 }
6141}
6142</code></pre>
6143 </div>
6144
6145 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-php">
6146 <pre class="prettyprint"><code class="language-php"><&#63;php
6147require_once(__DIR__ . '/vendor/autoload.php');
6148
6149$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
6150$version = version_example; // String |
6151$serviceInstanceId = serviceInstanceId_example; // String |
6152$configurationInstanceId = configurationInstanceId_example; // String |
6153$body = body_example; // String |
6154
6155try {
6156 $api_instance->activatePort($version, $serviceInstanceId, $configurationInstanceId, $body);
6157} catch (Exception $e) {
6158 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: ', $e->getMessage(), PHP_EOL;
6159}
6160?></code></pre>
6161 </div>
6162
6163 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">
6164 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6165use WWW::SwaggerClient::Configuration;
6166use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
6167
6168my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
6169my $version = version_example; # String |
6170my $serviceInstanceId = serviceInstanceId_example; # String |
6171my $configurationInstanceId = configurationInstanceId_example; # String |
6172my $body = WWW::SwaggerClient::Object::String->new(); # String |
6173
6174eval {
6175 $api_instance->activatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
6176};
6177if ($@) {
6178 warn "Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: $@\n";
6179}</code></pre>
6180 </div>
6181
6182 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-python">
6183 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6184import time
6185import swagger_client
6186from swagger_client.rest import ApiException
6187from pprint import pprint
6188
6189# create an instance of the API class
6190api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
6191version = version_example # String |
6192serviceInstanceId = serviceInstanceId_example # String |
6193configurationInstanceId = configurationInstanceId_example # String |
6194body = body_example # String | (optional)
6195
6196try:
6197 # Activate Port Mirroring
6198 api_instance.activate_port(version, serviceInstanceId, configurationInstanceId, body=body)
6199except ApiException as e:
6200 print("Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: %s\n" % e)</code></pre>
6201 </div>
6202 </div>
6203
6204 <h2>Parameters</h2>
6205
6206 <div class="methodsubtabletitle">Path parameters</div>
6207 <table id="methodsubtable">
6208 <tr>
6209 <th width="150px">Name</th>
6210 <th>Description</th>
6211 </tr>
6212 <tr><td style="width:150px;">version*</td>
6213<td>
6214
6215
6216 <div id="d2e199_activatePort_version">
6217 <div class="json-schema-view">
6218 <div class="primitive">
6219 <span class="type">
6220 String
6221 </span>
6222
6223 </div>
6224 <div class="inner required">
6225 Required
6226 </div>
6227 </div>
6228 </div>
6229</td>
6230</tr>
6231
6232 <tr><td style="width:150px;">serviceInstanceId*</td>
6233<td>
6234
6235
6236 <div id="d2e199_activatePort_serviceInstanceId">
6237 <div class="json-schema-view">
6238 <div class="primitive">
6239 <span class="type">
6240 String
6241 </span>
6242
6243 </div>
6244 <div class="inner required">
6245 Required
6246 </div>
6247 </div>
6248 </div>
6249</td>
6250</tr>
6251
6252 <tr><td style="width:150px;">configurationInstanceId*</td>
6253<td>
6254
6255
6256 <div id="d2e199_activatePort_configurationInstanceId">
6257 <div class="json-schema-view">
6258 <div class="primitive">
6259 <span class="type">
6260 String
6261 </span>
6262
6263 </div>
6264 <div class="inner required">
6265 Required
6266 </div>
6267 </div>
6268 </div>
6269</td>
6270</tr>
6271
6272 </table>
6273
6274
6275 <div class="methodsubtabletitle">Body parameters</div>
6276 <table id="methodsubtable">
6277 <tr>
6278 <th width="150px">Name</th>
6279 <th>Description</th>
6280 </tr>
6281 <tr><td style="width:150px;">body </td>
6282<td>
6283
6284
6285<script>
6286$(document).ready(function() {
6287 var schemaWrapper = {
6288 "in" : "body",
6289 "name" : "body",
6290 "required" : false,
6291 "schema" : {
6292 "type" : "string"
6293 }
6294};
6295 var schema = schemaWrapper.schema;
6296 if (schema.$ref != null) {
6297 schema = defsParser.$refs.get(schema.$ref);
6298 } else {
6299 schemaWrapper.definitions = Object.assign({}, defs);
6300 $RefParser.dereference(schemaWrapper).catch(function(err) {
6301 console.log(err);
6302 });
6303 }
6304
6305 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6306 var result = $('#d2e199_activatePort_body');
6307 result.empty();
6308 result.append(view.render());
6309});
6310</script>
6311<div id="d2e199_activatePort_body"></div>
6312</td>
6313</tr>
6314
6315 </table>
6316
6317
6318
6319 <h2>Responses</h2>
6320 <h3> Status: default - successful operation </h3>
6321
6322 <ul class="nav nav-tabs nav-tabs-examples" >
6323 </ul>
6324
6325 <div class="tab-content" style='margin-bottom: 10px;'>
6326 </div>
6327
6328 </article>
6329 </div>
6330 <hr>
6331 <div id="api-OnapsoinfraserviceInstantiation-activateServiceInstance">
6332 <article id="api-OnapsoinfraserviceInstantiation-activateServiceInstance-0" data-group="User" data-name="activateServiceInstance" data-version="0">
6333 <div class="pull-left">
6334 <h1>activateServiceInstance</h1>
6335 <p>Activate provided Service Instance</p>
6336 </div>
6337 <div class="pull-right"></div>
6338 <div class="clearfix"></div>
6339 <p></p>
6340 <p class="marked"></p>
6341 <p></p>
6342 <br />
6343 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate</span></code></pre>
6344 <p>
6345 <h3>Usage and SDK Samples</h3>
6346 </p>
6347 <ul class="nav nav-tabs nav-tabs-examples">
6348 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">Curl</a></li>
6349 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">Java</a></li>
6350 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">Android</a></li>
6351 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">Groovy</a></li>-->
6352 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">Obj-C</a></li>
6353 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">JavaScript</a></li>
6354 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">Angular</a></li>-->
6355 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">C#</a></li>
6356 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">PHP</a></li>
6357 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">Perl</a></li>
6358 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">Python</a></li>
6359 </ul>
6360
6361 <div class="tab-content">
6362 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05306363 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08006364 </div>
6365 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">
6366 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6367import io.swagger.client.auth.*;
6368import io.swagger.client.model.*;
6369import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6370
6371import java.io.File;
6372import java.util.*;
6373
6374public class OnapsoinfraserviceInstantiationApiExample {
6375
6376 public static void main(String[] args) {
6377
6378 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6379 String version = version_example; // String |
6380 String serviceInstanceId = serviceInstanceId_example; // String |
6381 String body = body_example; // String |
6382 try {
6383 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
6384 } catch (ApiException e) {
6385 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activateServiceInstance");
6386 e.printStackTrace();
6387 }
6388 }
6389}</code></pre>
6390 </div>
6391
6392 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">
6393 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6394
6395public class OnapsoinfraserviceInstantiationApiExample {
6396
6397 public static void main(String[] args) {
6398 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6399 String version = version_example; // String |
6400 String serviceInstanceId = serviceInstanceId_example; // String |
6401 String body = body_example; // String |
6402 try {
6403 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
6404 } catch (ApiException e) {
6405 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#activateServiceInstance");
6406 e.printStackTrace();
6407 }
6408 }
6409}</code></pre>
6410 </div>
6411 <!--
6412 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">
6413 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6414 </div> -->
6415 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">
6416 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
6417String *serviceInstanceId = serviceInstanceId_example; //
6418String *body = body_example; // (optional)
6419
6420OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
6421
6422// Activate provided Service Instance
6423[apiInstance activateServiceInstanceWith:version
6424 serviceInstanceId:serviceInstanceId
6425 body:body
6426 completionHandler: ^(NSError* error) {
6427 if (error) {
6428 NSLog(@"Error: %@", error);
6429 }
6430 }];
6431</code></pre>
6432 </div>
6433
6434 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">
6435 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
6436
6437var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
6438
6439var version = version_example; // {String}
6440
6441var serviceInstanceId = serviceInstanceId_example; // {String}
6442
6443var opts = {
6444 'body': body_example // {String}
6445};
6446
6447var callback = function(error, data, response) {
6448 if (error) {
6449 console.error(error);
6450 } else {
6451 console.log('API called successfully.');
6452 }
6453};
6454api.activateServiceInstance(version, serviceInstanceId, opts, callback);
6455</code></pre>
6456 </div>
6457
6458 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">
6459 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6460 </div>-->
6461 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">
6462 <pre class="prettyprint"><code class="language-cs">using System;
6463using System.Diagnostics;
6464using IO.Swagger.Api;
6465using IO.Swagger.Client;
6466using IO.Swagger.Model;
6467
6468namespace Example
6469{
6470 public class activateServiceInstanceExample
6471 {
6472 public void main()
6473 {
6474
6475 var apiInstance = new OnapsoinfraserviceInstantiationApi();
6476 var version = version_example; // String |
6477 var serviceInstanceId = serviceInstanceId_example; // String |
6478 var body = body_example; // String | (optional)
6479
6480 try
6481 {
6482 // Activate provided Service Instance
6483 apiInstance.activateServiceInstance(version, serviceInstanceId, body);
6484 }
6485 catch (Exception e)
6486 {
6487 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.activateServiceInstance: " + e.Message );
6488 }
6489 }
6490 }
6491}
6492</code></pre>
6493 </div>
6494
6495 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">
6496 <pre class="prettyprint"><code class="language-php"><&#63;php
6497require_once(__DIR__ . '/vendor/autoload.php');
6498
6499$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
6500$version = version_example; // String |
6501$serviceInstanceId = serviceInstanceId_example; // String |
6502$body = body_example; // String |
6503
6504try {
6505 $api_instance->activateServiceInstance($version, $serviceInstanceId, $body);
6506} catch (Exception $e) {
6507 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: ', $e->getMessage(), PHP_EOL;
6508}
6509?></code></pre>
6510 </div>
6511
6512 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">
6513 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6514use WWW::SwaggerClient::Configuration;
6515use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
6516
6517my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
6518my $version = version_example; # String |
6519my $serviceInstanceId = serviceInstanceId_example; # String |
6520my $body = WWW::SwaggerClient::Object::String->new(); # String |
6521
6522eval {
6523 $api_instance->activateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
6524};
6525if ($@) {
6526 warn "Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: $@\n";
6527}</code></pre>
6528 </div>
6529
6530 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">
6531 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6532import time
6533import swagger_client
6534from swagger_client.rest import ApiException
6535from pprint import pprint
6536
6537# create an instance of the API class
6538api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
6539version = version_example # String |
6540serviceInstanceId = serviceInstanceId_example # String |
6541body = body_example # String | (optional)
6542
6543try:
6544 # Activate provided Service Instance
6545 api_instance.activate_service_instance(version, serviceInstanceId, body=body)
6546except ApiException as e:
6547 print("Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: %s\n" % e)</code></pre>
6548 </div>
6549 </div>
6550
6551 <h2>Parameters</h2>
6552
6553 <div class="methodsubtabletitle">Path parameters</div>
6554 <table id="methodsubtable">
6555 <tr>
6556 <th width="150px">Name</th>
6557 <th>Description</th>
6558 </tr>
6559 <tr><td style="width:150px;">version*</td>
6560<td>
6561
6562
6563 <div id="d2e199_activateServiceInstance_version">
6564 <div class="json-schema-view">
6565 <div class="primitive">
6566 <span class="type">
6567 String
6568 </span>
6569
6570 </div>
6571 <div class="inner required">
6572 Required
6573 </div>
6574 </div>
6575 </div>
6576</td>
6577</tr>
6578
6579 <tr><td style="width:150px;">serviceInstanceId*</td>
6580<td>
6581
6582
6583 <div id="d2e199_activateServiceInstance_serviceInstanceId">
6584 <div class="json-schema-view">
6585 <div class="primitive">
6586 <span class="type">
6587 String
6588 </span>
6589
6590 </div>
6591 <div class="inner required">
6592 Required
6593 </div>
6594 </div>
6595 </div>
6596</td>
6597</tr>
6598
6599 </table>
6600
6601
6602 <div class="methodsubtabletitle">Body parameters</div>
6603 <table id="methodsubtable">
6604 <tr>
6605 <th width="150px">Name</th>
6606 <th>Description</th>
6607 </tr>
6608 <tr><td style="width:150px;">body </td>
6609<td>
6610
6611
6612<script>
6613$(document).ready(function() {
6614 var schemaWrapper = {
6615 "in" : "body",
6616 "name" : "body",
6617 "required" : false,
6618 "schema" : {
6619 "type" : "string"
6620 }
6621};
6622 var schema = schemaWrapper.schema;
6623 if (schema.$ref != null) {
6624 schema = defsParser.$refs.get(schema.$ref);
6625 } else {
6626 schemaWrapper.definitions = Object.assign({}, defs);
6627 $RefParser.dereference(schemaWrapper).catch(function(err) {
6628 console.log(err);
6629 });
6630 }
6631
6632 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6633 var result = $('#d2e199_activateServiceInstance_body');
6634 result.empty();
6635 result.append(view.render());
6636});
6637</script>
6638<div id="d2e199_activateServiceInstance_body"></div>
6639</td>
6640</tr>
6641
6642 </table>
6643
6644
6645
6646 <h2>Responses</h2>
6647 <h3> Status: default - successful operation </h3>
6648
6649 <ul class="nav nav-tabs nav-tabs-examples" >
6650 </ul>
6651
6652 <div class="tab-content" style='margin-bottom: 10px;'>
6653 </div>
6654
6655 </article>
6656 </div>
6657 <hr>
6658 <div id="api-OnapsoinfraserviceInstantiation-addRelationships">
6659 <article id="api-OnapsoinfraserviceInstantiation-addRelationships-0" data-group="User" data-name="addRelationships" data-version="0">
6660 <div class="pull-left">
6661 <h1>addRelationships</h1>
6662 <p>Add Relationships to a Service Instance</p>
6663 </div>
6664 <div class="pull-right"></div>
6665 <div class="clearfix"></div>
6666 <p></p>
6667 <p class="marked"></p>
6668 <p></p>
6669 <br />
6670 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships</span></code></pre>
6671 <p>
6672 <h3>Usage and SDK Samples</h3>
6673 </p>
6674 <ul class="nav nav-tabs nav-tabs-examples">
6675 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">Curl</a></li>
6676 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">Java</a></li>
6677 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">Android</a></li>
6678 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">Groovy</a></li>-->
6679 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">Obj-C</a></li>
6680 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">JavaScript</a></li>
6681 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">Angular</a></li>-->
6682 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">C#</a></li>
6683 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">PHP</a></li>
6684 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">Perl</a></li>
6685 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">Python</a></li>
6686 </ul>
6687
6688 <div class="tab-content">
6689 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05306690 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08006691 </div>
6692 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">
6693 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
6694import io.swagger.client.auth.*;
6695import io.swagger.client.model.*;
6696import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6697
6698import java.io.File;
6699import java.util.*;
6700
6701public class OnapsoinfraserviceInstantiationApiExample {
6702
6703 public static void main(String[] args) {
6704
6705 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6706 String version = version_example; // String |
6707 String serviceInstanceId = serviceInstanceId_example; // String |
6708 String body = body_example; // String |
6709 try {
6710 apiInstance.addRelationships(version, serviceInstanceId, body);
6711 } catch (ApiException e) {
6712 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#addRelationships");
6713 e.printStackTrace();
6714 }
6715 }
6716}</code></pre>
6717 </div>
6718
6719 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">
6720 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
6721
6722public class OnapsoinfraserviceInstantiationApiExample {
6723
6724 public static void main(String[] args) {
6725 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
6726 String version = version_example; // String |
6727 String serviceInstanceId = serviceInstanceId_example; // String |
6728 String body = body_example; // String |
6729 try {
6730 apiInstance.addRelationships(version, serviceInstanceId, body);
6731 } catch (ApiException e) {
6732 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#addRelationships");
6733 e.printStackTrace();
6734 }
6735 }
6736}</code></pre>
6737 </div>
6738 <!--
6739 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">
6740 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6741 </div> -->
6742 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">
6743 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
6744String *serviceInstanceId = serviceInstanceId_example; //
6745String *body = body_example; // (optional)
6746
6747OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
6748
6749// Add Relationships to a Service Instance
6750[apiInstance addRelationshipsWith:version
6751 serviceInstanceId:serviceInstanceId
6752 body:body
6753 completionHandler: ^(NSError* error) {
6754 if (error) {
6755 NSLog(@"Error: %@", error);
6756 }
6757 }];
6758</code></pre>
6759 </div>
6760
6761 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">
6762 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
6763
6764var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
6765
6766var version = version_example; // {String}
6767
6768var serviceInstanceId = serviceInstanceId_example; // {String}
6769
6770var opts = {
6771 'body': body_example // {String}
6772};
6773
6774var callback = function(error, data, response) {
6775 if (error) {
6776 console.error(error);
6777 } else {
6778 console.log('API called successfully.');
6779 }
6780};
6781api.addRelationships(version, serviceInstanceId, opts, callback);
6782</code></pre>
6783 </div>
6784
6785 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">
6786 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
6787 </div>-->
6788 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">
6789 <pre class="prettyprint"><code class="language-cs">using System;
6790using System.Diagnostics;
6791using IO.Swagger.Api;
6792using IO.Swagger.Client;
6793using IO.Swagger.Model;
6794
6795namespace Example
6796{
6797 public class addRelationshipsExample
6798 {
6799 public void main()
6800 {
6801
6802 var apiInstance = new OnapsoinfraserviceInstantiationApi();
6803 var version = version_example; // String |
6804 var serviceInstanceId = serviceInstanceId_example; // String |
6805 var body = body_example; // String | (optional)
6806
6807 try
6808 {
6809 // Add Relationships to a Service Instance
6810 apiInstance.addRelationships(version, serviceInstanceId, body);
6811 }
6812 catch (Exception e)
6813 {
6814 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.addRelationships: " + e.Message );
6815 }
6816 }
6817 }
6818}
6819</code></pre>
6820 </div>
6821
6822 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">
6823 <pre class="prettyprint"><code class="language-php"><&#63;php
6824require_once(__DIR__ . '/vendor/autoload.php');
6825
6826$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
6827$version = version_example; // String |
6828$serviceInstanceId = serviceInstanceId_example; // String |
6829$body = body_example; // String |
6830
6831try {
6832 $api_instance->addRelationships($version, $serviceInstanceId, $body);
6833} catch (Exception $e) {
6834 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: ', $e->getMessage(), PHP_EOL;
6835}
6836?></code></pre>
6837 </div>
6838
6839 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">
6840 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
6841use WWW::SwaggerClient::Configuration;
6842use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
6843
6844my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
6845my $version = version_example; # String |
6846my $serviceInstanceId = serviceInstanceId_example; # String |
6847my $body = WWW::SwaggerClient::Object::String->new(); # String |
6848
6849eval {
6850 $api_instance->addRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
6851};
6852if ($@) {
6853 warn "Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: $@\n";
6854}</code></pre>
6855 </div>
6856
6857 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">
6858 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
6859import time
6860import swagger_client
6861from swagger_client.rest import ApiException
6862from pprint import pprint
6863
6864# create an instance of the API class
6865api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
6866version = version_example # String |
6867serviceInstanceId = serviceInstanceId_example # String |
6868body = body_example # String | (optional)
6869
6870try:
6871 # Add Relationships to a Service Instance
6872 api_instance.add_relationships(version, serviceInstanceId, body=body)
6873except ApiException as e:
6874 print("Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: %s\n" % e)</code></pre>
6875 </div>
6876 </div>
6877
6878 <h2>Parameters</h2>
6879
6880 <div class="methodsubtabletitle">Path parameters</div>
6881 <table id="methodsubtable">
6882 <tr>
6883 <th width="150px">Name</th>
6884 <th>Description</th>
6885 </tr>
6886 <tr><td style="width:150px;">version*</td>
6887<td>
6888
6889
6890 <div id="d2e199_addRelationships_version">
6891 <div class="json-schema-view">
6892 <div class="primitive">
6893 <span class="type">
6894 String
6895 </span>
6896
6897 </div>
6898 <div class="inner required">
6899 Required
6900 </div>
6901 </div>
6902 </div>
6903</td>
6904</tr>
6905
6906 <tr><td style="width:150px;">serviceInstanceId*</td>
6907<td>
6908
6909
6910 <div id="d2e199_addRelationships_serviceInstanceId">
6911 <div class="json-schema-view">
6912 <div class="primitive">
6913 <span class="type">
6914 String
6915 </span>
6916
6917 </div>
6918 <div class="inner required">
6919 Required
6920 </div>
6921 </div>
6922 </div>
6923</td>
6924</tr>
6925
6926 </table>
6927
6928
6929 <div class="methodsubtabletitle">Body parameters</div>
6930 <table id="methodsubtable">
6931 <tr>
6932 <th width="150px">Name</th>
6933 <th>Description</th>
6934 </tr>
6935 <tr><td style="width:150px;">body </td>
6936<td>
6937
6938
6939<script>
6940$(document).ready(function() {
6941 var schemaWrapper = {
6942 "in" : "body",
6943 "name" : "body",
6944 "required" : false,
6945 "schema" : {
6946 "type" : "string"
6947 }
6948};
6949 var schema = schemaWrapper.schema;
6950 if (schema.$ref != null) {
6951 schema = defsParser.$refs.get(schema.$ref);
6952 } else {
6953 schemaWrapper.definitions = Object.assign({}, defs);
6954 $RefParser.dereference(schemaWrapper).catch(function(err) {
6955 console.log(err);
6956 });
6957 }
6958
6959 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
6960 var result = $('#d2e199_addRelationships_body');
6961 result.empty();
6962 result.append(view.render());
6963});
6964</script>
6965<div id="d2e199_addRelationships_body"></div>
6966</td>
6967</tr>
6968
6969 </table>
6970
6971
6972
6973 <h2>Responses</h2>
6974 <h3> Status: default - successful operation </h3>
6975
6976 <ul class="nav nav-tabs nav-tabs-examples" >
6977 </ul>
6978
6979 <div class="tab-content" style='margin-bottom: 10px;'>
6980 </div>
6981
6982 </article>
6983 </div>
6984 <hr>
6985 <div id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">
6986 <article id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0" data-group="User" data-name="applyUpdatedConfig" data-version="0">
6987 <div class="pull-left">
6988 <h1>applyUpdatedConfig</h1>
6989 <p>Apply updated configuration</p>
6990 </div>
6991 <div class="pull-right"></div>
6992 <div class="clearfix"></div>
6993 <p></p>
6994 <p class="marked"></p>
6995 <p></p>
6996 <br />
6997 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig</span></code></pre>
6998 <p>
6999 <h3>Usage and SDK Samples</h3>
7000 </p>
7001 <ul class="nav nav-tabs nav-tabs-examples">
7002 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">Curl</a></li>
7003 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">Java</a></li>
7004 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">Android</a></li>
7005 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">Groovy</a></li>-->
7006 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">Obj-C</a></li>
7007 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">JavaScript</a></li>
7008 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">Angular</a></li>-->
7009 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">C#</a></li>
7010 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">PHP</a></li>
7011 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">Perl</a></li>
7012 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">Python</a></li>
7013 </ul>
7014
7015 <div class="tab-content">
7016 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05307017 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08007018 </div>
7019 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">
7020 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7021import io.swagger.client.auth.*;
7022import io.swagger.client.model.*;
7023import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7024
7025import java.io.File;
7026import java.util.*;
7027
7028public class OnapsoinfraserviceInstantiationApiExample {
7029
7030 public static void main(String[] args) {
7031
7032 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7033 String version = version_example; // String |
7034 String serviceInstanceId = serviceInstanceId_example; // String |
7035 String vnfInstanceId = vnfInstanceId_example; // String |
7036 String body = body_example; // String |
7037 try {
7038 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
7039 } catch (ApiException e) {
7040 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#applyUpdatedConfig");
7041 e.printStackTrace();
7042 }
7043 }
7044}</code></pre>
7045 </div>
7046
7047 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">
7048 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7049
7050public class OnapsoinfraserviceInstantiationApiExample {
7051
7052 public static void main(String[] args) {
7053 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7054 String version = version_example; // String |
7055 String serviceInstanceId = serviceInstanceId_example; // String |
7056 String vnfInstanceId = vnfInstanceId_example; // String |
7057 String body = body_example; // String |
7058 try {
7059 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
7060 } catch (ApiException e) {
7061 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#applyUpdatedConfig");
7062 e.printStackTrace();
7063 }
7064 }
7065}</code></pre>
7066 </div>
7067 <!--
7068 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">
7069 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7070 </div> -->
7071 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">
7072 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
7073String *serviceInstanceId = serviceInstanceId_example; //
7074String *vnfInstanceId = vnfInstanceId_example; //
7075String *body = body_example; // (optional)
7076
7077OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
7078
7079// Apply updated configuration
7080[apiInstance applyUpdatedConfigWith:version
7081 serviceInstanceId:serviceInstanceId
7082 vnfInstanceId:vnfInstanceId
7083 body:body
7084 completionHandler: ^(NSError* error) {
7085 if (error) {
7086 NSLog(@"Error: %@", error);
7087 }
7088 }];
7089</code></pre>
7090 </div>
7091
7092 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">
7093 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
7094
7095var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
7096
7097var version = version_example; // {String}
7098
7099var serviceInstanceId = serviceInstanceId_example; // {String}
7100
7101var vnfInstanceId = vnfInstanceId_example; // {String}
7102
7103var opts = {
7104 'body': body_example // {String}
7105};
7106
7107var callback = function(error, data, response) {
7108 if (error) {
7109 console.error(error);
7110 } else {
7111 console.log('API called successfully.');
7112 }
7113};
7114api.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, opts, callback);
7115</code></pre>
7116 </div>
7117
7118 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">
7119 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7120 </div>-->
7121 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">
7122 <pre class="prettyprint"><code class="language-cs">using System;
7123using System.Diagnostics;
7124using IO.Swagger.Api;
7125using IO.Swagger.Client;
7126using IO.Swagger.Model;
7127
7128namespace Example
7129{
7130 public class applyUpdatedConfigExample
7131 {
7132 public void main()
7133 {
7134
7135 var apiInstance = new OnapsoinfraserviceInstantiationApi();
7136 var version = version_example; // String |
7137 var serviceInstanceId = serviceInstanceId_example; // String |
7138 var vnfInstanceId = vnfInstanceId_example; // String |
7139 var body = body_example; // String | (optional)
7140
7141 try
7142 {
7143 // Apply updated configuration
7144 apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body);
7145 }
7146 catch (Exception e)
7147 {
7148 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.applyUpdatedConfig: " + e.Message );
7149 }
7150 }
7151 }
7152}
7153</code></pre>
7154 </div>
7155
7156 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">
7157 <pre class="prettyprint"><code class="language-php"><&#63;php
7158require_once(__DIR__ . '/vendor/autoload.php');
7159
7160$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
7161$version = version_example; // String |
7162$serviceInstanceId = serviceInstanceId_example; // String |
7163$vnfInstanceId = vnfInstanceId_example; // String |
7164$body = body_example; // String |
7165
7166try {
7167 $api_instance->applyUpdatedConfig($version, $serviceInstanceId, $vnfInstanceId, $body);
7168} catch (Exception $e) {
7169 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: ', $e->getMessage(), PHP_EOL;
7170}
7171?></code></pre>
7172 </div>
7173
7174 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">
7175 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7176use WWW::SwaggerClient::Configuration;
7177use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
7178
7179my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
7180my $version = version_example; # String |
7181my $serviceInstanceId = serviceInstanceId_example; # String |
7182my $vnfInstanceId = vnfInstanceId_example; # String |
7183my $body = WWW::SwaggerClient::Object::String->new(); # String |
7184
7185eval {
7186 $api_instance->applyUpdatedConfig(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
7187};
7188if ($@) {
7189 warn "Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: $@\n";
7190}</code></pre>
7191 </div>
7192
7193 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">
7194 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7195import time
7196import swagger_client
7197from swagger_client.rest import ApiException
7198from pprint import pprint
7199
7200# create an instance of the API class
7201api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
7202version = version_example # String |
7203serviceInstanceId = serviceInstanceId_example # String |
7204vnfInstanceId = vnfInstanceId_example # String |
7205body = body_example # String | (optional)
7206
7207try:
7208 # Apply updated configuration
7209 api_instance.apply_updated_config(version, serviceInstanceId, vnfInstanceId, body=body)
7210except ApiException as e:
7211 print("Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: %s\n" % e)</code></pre>
7212 </div>
7213 </div>
7214
7215 <h2>Parameters</h2>
7216
7217 <div class="methodsubtabletitle">Path parameters</div>
7218 <table id="methodsubtable">
7219 <tr>
7220 <th width="150px">Name</th>
7221 <th>Description</th>
7222 </tr>
7223 <tr><td style="width:150px;">version*</td>
7224<td>
7225
7226
7227 <div id="d2e199_applyUpdatedConfig_version">
7228 <div class="json-schema-view">
7229 <div class="primitive">
7230 <span class="type">
7231 String
7232 </span>
7233
7234 </div>
7235 <div class="inner required">
7236 Required
7237 </div>
7238 </div>
7239 </div>
7240</td>
7241</tr>
7242
7243 <tr><td style="width:150px;">serviceInstanceId*</td>
7244<td>
7245
7246
7247 <div id="d2e199_applyUpdatedConfig_serviceInstanceId">
7248 <div class="json-schema-view">
7249 <div class="primitive">
7250 <span class="type">
7251 String
7252 </span>
7253
7254 </div>
7255 <div class="inner required">
7256 Required
7257 </div>
7258 </div>
7259 </div>
7260</td>
7261</tr>
7262
7263 <tr><td style="width:150px;">vnfInstanceId*</td>
7264<td>
7265
7266
7267 <div id="d2e199_applyUpdatedConfig_vnfInstanceId">
7268 <div class="json-schema-view">
7269 <div class="primitive">
7270 <span class="type">
7271 String
7272 </span>
7273
7274 </div>
7275 <div class="inner required">
7276 Required
7277 </div>
7278 </div>
7279 </div>
7280</td>
7281</tr>
7282
7283 </table>
7284
7285
7286 <div class="methodsubtabletitle">Body parameters</div>
7287 <table id="methodsubtable">
7288 <tr>
7289 <th width="150px">Name</th>
7290 <th>Description</th>
7291 </tr>
7292 <tr><td style="width:150px;">body </td>
7293<td>
7294
7295
7296<script>
7297$(document).ready(function() {
7298 var schemaWrapper = {
7299 "in" : "body",
7300 "name" : "body",
7301 "required" : false,
7302 "schema" : {
7303 "type" : "string"
7304 }
7305};
7306 var schema = schemaWrapper.schema;
7307 if (schema.$ref != null) {
7308 schema = defsParser.$refs.get(schema.$ref);
7309 } else {
7310 schemaWrapper.definitions = Object.assign({}, defs);
7311 $RefParser.dereference(schemaWrapper).catch(function(err) {
7312 console.log(err);
7313 });
7314 }
7315
7316 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7317 var result = $('#d2e199_applyUpdatedConfig_body');
7318 result.empty();
7319 result.append(view.render());
7320});
7321</script>
7322<div id="d2e199_applyUpdatedConfig_body"></div>
7323</td>
7324</tr>
7325
7326 </table>
7327
7328
7329
7330 <h2>Responses</h2>
7331 <h3> Status: default - successful operation </h3>
7332
7333 <ul class="nav nav-tabs nav-tabs-examples" >
7334 </ul>
7335
7336 <div class="tab-content" style='margin-bottom: 10px;'>
7337 </div>
7338
7339 </article>
7340 </div>
7341 <hr>
7342 <div id="api-OnapsoinfraserviceInstantiation-assignServiceInstance">
7343 <article id="api-OnapsoinfraserviceInstantiation-assignServiceInstance-0" data-group="User" data-name="assignServiceInstance" data-version="0">
7344 <div class="pull-left">
7345 <h1>assignServiceInstance</h1>
7346 <p>Assign Service Instance</p>
7347 </div>
7348 <div class="pull-right"></div>
7349 <div class="clearfix"></div>
7350 <p></p>
7351 <p class="marked"></p>
7352 <p></p>
7353 <br />
7354 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign</span></code></pre>
7355 <p>
7356 <h3>Usage and SDK Samples</h3>
7357 </p>
7358 <ul class="nav nav-tabs nav-tabs-examples">
7359 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">Curl</a></li>
7360 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">Java</a></li>
7361 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">Android</a></li>
7362 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">Groovy</a></li>-->
7363 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">Obj-C</a></li>
7364 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">JavaScript</a></li>
7365 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">Angular</a></li>-->
7366 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">C#</a></li>
7367 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">PHP</a></li>
7368 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">Perl</a></li>
7369 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">Python</a></li>
7370 </ul>
7371
7372 <div class="tab-content">
7373 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05307374 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08007375 </div>
7376 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">
7377 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7378import io.swagger.client.auth.*;
7379import io.swagger.client.model.*;
7380import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7381
7382import java.io.File;
7383import java.util.*;
7384
7385public class OnapsoinfraserviceInstantiationApiExample {
7386
7387 public static void main(String[] args) {
7388
7389 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7390 String version = version_example; // String |
7391 String body = body_example; // String |
7392 try {
7393 apiInstance.assignServiceInstance(version, body);
7394 } catch (ApiException e) {
7395 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#assignServiceInstance");
7396 e.printStackTrace();
7397 }
7398 }
7399}</code></pre>
7400 </div>
7401
7402 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">
7403 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7404
7405public class OnapsoinfraserviceInstantiationApiExample {
7406
7407 public static void main(String[] args) {
7408 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7409 String version = version_example; // String |
7410 String body = body_example; // String |
7411 try {
7412 apiInstance.assignServiceInstance(version, body);
7413 } catch (ApiException e) {
7414 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#assignServiceInstance");
7415 e.printStackTrace();
7416 }
7417 }
7418}</code></pre>
7419 </div>
7420 <!--
7421 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">
7422 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7423 </div> -->
7424 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">
7425 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
7426String *body = body_example; // (optional)
7427
7428OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
7429
7430// Assign Service Instance
7431[apiInstance assignServiceInstanceWith:version
7432 body:body
7433 completionHandler: ^(NSError* error) {
7434 if (error) {
7435 NSLog(@"Error: %@", error);
7436 }
7437 }];
7438</code></pre>
7439 </div>
7440
7441 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">
7442 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
7443
7444var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
7445
7446var version = version_example; // {String}
7447
7448var opts = {
7449 'body': body_example // {String}
7450};
7451
7452var callback = function(error, data, response) {
7453 if (error) {
7454 console.error(error);
7455 } else {
7456 console.log('API called successfully.');
7457 }
7458};
7459api.assignServiceInstance(version, opts, callback);
7460</code></pre>
7461 </div>
7462
7463 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">
7464 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7465 </div>-->
7466 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">
7467 <pre class="prettyprint"><code class="language-cs">using System;
7468using System.Diagnostics;
7469using IO.Swagger.Api;
7470using IO.Swagger.Client;
7471using IO.Swagger.Model;
7472
7473namespace Example
7474{
7475 public class assignServiceInstanceExample
7476 {
7477 public void main()
7478 {
7479
7480 var apiInstance = new OnapsoinfraserviceInstantiationApi();
7481 var version = version_example; // String |
7482 var body = body_example; // String | (optional)
7483
7484 try
7485 {
7486 // Assign Service Instance
7487 apiInstance.assignServiceInstance(version, body);
7488 }
7489 catch (Exception e)
7490 {
7491 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.assignServiceInstance: " + e.Message );
7492 }
7493 }
7494 }
7495}
7496</code></pre>
7497 </div>
7498
7499 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">
7500 <pre class="prettyprint"><code class="language-php"><&#63;php
7501require_once(__DIR__ . '/vendor/autoload.php');
7502
7503$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
7504$version = version_example; // String |
7505$body = body_example; // String |
7506
7507try {
7508 $api_instance->assignServiceInstance($version, $body);
7509} catch (Exception $e) {
7510 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: ', $e->getMessage(), PHP_EOL;
7511}
7512?></code></pre>
7513 </div>
7514
7515 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">
7516 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7517use WWW::SwaggerClient::Configuration;
7518use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
7519
7520my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
7521my $version = version_example; # String |
7522my $body = WWW::SwaggerClient::Object::String->new(); # String |
7523
7524eval {
7525 $api_instance->assignServiceInstance(version => $version, body => $body);
7526};
7527if ($@) {
7528 warn "Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: $@\n";
7529}</code></pre>
7530 </div>
7531
7532 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">
7533 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7534import time
7535import swagger_client
7536from swagger_client.rest import ApiException
7537from pprint import pprint
7538
7539# create an instance of the API class
7540api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
7541version = version_example # String |
7542body = body_example # String | (optional)
7543
7544try:
7545 # Assign Service Instance
7546 api_instance.assign_service_instance(version, body=body)
7547except ApiException as e:
7548 print("Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: %s\n" % e)</code></pre>
7549 </div>
7550 </div>
7551
7552 <h2>Parameters</h2>
7553
7554 <div class="methodsubtabletitle">Path parameters</div>
7555 <table id="methodsubtable">
7556 <tr>
7557 <th width="150px">Name</th>
7558 <th>Description</th>
7559 </tr>
7560 <tr><td style="width:150px;">version*</td>
7561<td>
7562
7563
7564 <div id="d2e199_assignServiceInstance_version">
7565 <div class="json-schema-view">
7566 <div class="primitive">
7567 <span class="type">
7568 String
7569 </span>
7570
7571 </div>
7572 <div class="inner required">
7573 Required
7574 </div>
7575 </div>
7576 </div>
7577</td>
7578</tr>
7579
7580 </table>
7581
7582
7583 <div class="methodsubtabletitle">Body parameters</div>
7584 <table id="methodsubtable">
7585 <tr>
7586 <th width="150px">Name</th>
7587 <th>Description</th>
7588 </tr>
7589 <tr><td style="width:150px;">body </td>
7590<td>
7591
7592
7593<script>
7594$(document).ready(function() {
7595 var schemaWrapper = {
7596 "in" : "body",
7597 "name" : "body",
7598 "required" : false,
7599 "schema" : {
7600 "type" : "string"
7601 }
7602};
7603 var schema = schemaWrapper.schema;
7604 if (schema.$ref != null) {
7605 schema = defsParser.$refs.get(schema.$ref);
7606 } else {
7607 schemaWrapper.definitions = Object.assign({}, defs);
7608 $RefParser.dereference(schemaWrapper).catch(function(err) {
7609 console.log(err);
7610 });
7611 }
7612
7613 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7614 var result = $('#d2e199_assignServiceInstance_body');
7615 result.empty();
7616 result.append(view.render());
7617});
7618</script>
7619<div id="d2e199_assignServiceInstance_body"></div>
7620</td>
7621</tr>
7622
7623 </table>
7624
7625
7626
7627 <h2>Responses</h2>
7628 <h3> Status: default - successful operation </h3>
7629
7630 <ul class="nav nav-tabs nav-tabs-examples" >
7631 </ul>
7632
7633 <div class="tab-content" style='margin-bottom: 10px;'>
7634 </div>
7635
7636 </article>
7637 </div>
7638 <hr>
7639 <div id="api-OnapsoinfraserviceInstantiation-createNetworkInstance">
7640 <article id="api-OnapsoinfraserviceInstantiation-createNetworkInstance-0" data-group="User" data-name="createNetworkInstance" data-version="0">
7641 <div class="pull-left">
7642 <h1>createNetworkInstance</h1>
7643 <p>Create NetworkInstance on a specified version and serviceInstance </p>
7644 </div>
7645 <div class="pull-right"></div>
7646 <div class="clearfix"></div>
7647 <p></p>
7648 <p class="marked"></p>
7649 <p></p>
7650 <br />
7651 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks</span></code></pre>
7652 <p>
7653 <h3>Usage and SDK Samples</h3>
7654 </p>
7655 <ul class="nav nav-tabs nav-tabs-examples">
7656 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">Curl</a></li>
7657 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">Java</a></li>
7658 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">Android</a></li>
7659 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">Groovy</a></li>-->
7660 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">Obj-C</a></li>
7661 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">JavaScript</a></li>
7662 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">Angular</a></li>-->
7663 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">C#</a></li>
7664 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">PHP</a></li>
7665 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">Perl</a></li>
7666 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">Python</a></li>
7667 </ul>
7668
7669 <div class="tab-content">
7670 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05307671 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08007672 </div>
7673 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">
7674 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
7675import io.swagger.client.auth.*;
7676import io.swagger.client.model.*;
7677import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7678
7679import java.io.File;
7680import java.util.*;
7681
7682public class OnapsoinfraserviceInstantiationApiExample {
7683
7684 public static void main(String[] args) {
7685
7686 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7687 String version = version_example; // String |
7688 String serviceInstanceId = serviceInstanceId_example; // String |
7689 String body = body_example; // String |
7690 try {
7691 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
7692 } catch (ApiException e) {
7693 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createNetworkInstance");
7694 e.printStackTrace();
7695 }
7696 }
7697}</code></pre>
7698 </div>
7699
7700 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">
7701 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
7702
7703public class OnapsoinfraserviceInstantiationApiExample {
7704
7705 public static void main(String[] args) {
7706 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
7707 String version = version_example; // String |
7708 String serviceInstanceId = serviceInstanceId_example; // String |
7709 String body = body_example; // String |
7710 try {
7711 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
7712 } catch (ApiException e) {
7713 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createNetworkInstance");
7714 e.printStackTrace();
7715 }
7716 }
7717}</code></pre>
7718 </div>
7719 <!--
7720 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">
7721 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7722 </div> -->
7723 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">
7724 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
7725String *serviceInstanceId = serviceInstanceId_example; //
7726String *body = body_example; // (optional)
7727
7728OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
7729
7730// Create NetworkInstance on a specified version and serviceInstance
7731[apiInstance createNetworkInstanceWith:version
7732 serviceInstanceId:serviceInstanceId
7733 body:body
7734 completionHandler: ^(NSError* error) {
7735 if (error) {
7736 NSLog(@"Error: %@", error);
7737 }
7738 }];
7739</code></pre>
7740 </div>
7741
7742 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">
7743 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
7744
7745var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
7746
7747var version = version_example; // {String}
7748
7749var serviceInstanceId = serviceInstanceId_example; // {String}
7750
7751var opts = {
7752 'body': body_example // {String}
7753};
7754
7755var callback = function(error, data, response) {
7756 if (error) {
7757 console.error(error);
7758 } else {
7759 console.log('API called successfully.');
7760 }
7761};
7762api.createNetworkInstance(version, serviceInstanceId, opts, callback);
7763</code></pre>
7764 </div>
7765
7766 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">
7767 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
7768 </div>-->
7769 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">
7770 <pre class="prettyprint"><code class="language-cs">using System;
7771using System.Diagnostics;
7772using IO.Swagger.Api;
7773using IO.Swagger.Client;
7774using IO.Swagger.Model;
7775
7776namespace Example
7777{
7778 public class createNetworkInstanceExample
7779 {
7780 public void main()
7781 {
7782
7783 var apiInstance = new OnapsoinfraserviceInstantiationApi();
7784 var version = version_example; // String |
7785 var serviceInstanceId = serviceInstanceId_example; // String |
7786 var body = body_example; // String | (optional)
7787
7788 try
7789 {
7790 // Create NetworkInstance on a specified version and serviceInstance
7791 apiInstance.createNetworkInstance(version, serviceInstanceId, body);
7792 }
7793 catch (Exception e)
7794 {
7795 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createNetworkInstance: " + e.Message );
7796 }
7797 }
7798 }
7799}
7800</code></pre>
7801 </div>
7802
7803 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">
7804 <pre class="prettyprint"><code class="language-php"><&#63;php
7805require_once(__DIR__ . '/vendor/autoload.php');
7806
7807$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
7808$version = version_example; // String |
7809$serviceInstanceId = serviceInstanceId_example; // String |
7810$body = body_example; // String |
7811
7812try {
7813 $api_instance->createNetworkInstance($version, $serviceInstanceId, $body);
7814} catch (Exception $e) {
7815 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: ', $e->getMessage(), PHP_EOL;
7816}
7817?></code></pre>
7818 </div>
7819
7820 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">
7821 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
7822use WWW::SwaggerClient::Configuration;
7823use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
7824
7825my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
7826my $version = version_example; # String |
7827my $serviceInstanceId = serviceInstanceId_example; # String |
7828my $body = WWW::SwaggerClient::Object::String->new(); # String |
7829
7830eval {
7831 $api_instance->createNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
7832};
7833if ($@) {
7834 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: $@\n";
7835}</code></pre>
7836 </div>
7837
7838 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">
7839 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
7840import time
7841import swagger_client
7842from swagger_client.rest import ApiException
7843from pprint import pprint
7844
7845# create an instance of the API class
7846api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
7847version = version_example # String |
7848serviceInstanceId = serviceInstanceId_example # String |
7849body = body_example # String | (optional)
7850
7851try:
7852 # Create NetworkInstance on a specified version and serviceInstance
7853 api_instance.create_network_instance(version, serviceInstanceId, body=body)
7854except ApiException as e:
7855 print("Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: %s\n" % e)</code></pre>
7856 </div>
7857 </div>
7858
7859 <h2>Parameters</h2>
7860
7861 <div class="methodsubtabletitle">Path parameters</div>
7862 <table id="methodsubtable">
7863 <tr>
7864 <th width="150px">Name</th>
7865 <th>Description</th>
7866 </tr>
7867 <tr><td style="width:150px;">version*</td>
7868<td>
7869
7870
7871 <div id="d2e199_createNetworkInstance_version">
7872 <div class="json-schema-view">
7873 <div class="primitive">
7874 <span class="type">
7875 String
7876 </span>
7877
7878 </div>
7879 <div class="inner required">
7880 Required
7881 </div>
7882 </div>
7883 </div>
7884</td>
7885</tr>
7886
7887 <tr><td style="width:150px;">serviceInstanceId*</td>
7888<td>
7889
7890
7891 <div id="d2e199_createNetworkInstance_serviceInstanceId">
7892 <div class="json-schema-view">
7893 <div class="primitive">
7894 <span class="type">
7895 String
7896 </span>
7897
7898 </div>
7899 <div class="inner required">
7900 Required
7901 </div>
7902 </div>
7903 </div>
7904</td>
7905</tr>
7906
7907 </table>
7908
7909
7910 <div class="methodsubtabletitle">Body parameters</div>
7911 <table id="methodsubtable">
7912 <tr>
7913 <th width="150px">Name</th>
7914 <th>Description</th>
7915 </tr>
7916 <tr><td style="width:150px;">body </td>
7917<td>
7918
7919
7920<script>
7921$(document).ready(function() {
7922 var schemaWrapper = {
7923 "in" : "body",
7924 "name" : "body",
7925 "required" : false,
7926 "schema" : {
7927 "type" : "string"
7928 }
7929};
7930 var schema = schemaWrapper.schema;
7931 if (schema.$ref != null) {
7932 schema = defsParser.$refs.get(schema.$ref);
7933 } else {
7934 schemaWrapper.definitions = Object.assign({}, defs);
7935 $RefParser.dereference(schemaWrapper).catch(function(err) {
7936 console.log(err);
7937 });
7938 }
7939
7940 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
7941 var result = $('#d2e199_createNetworkInstance_body');
7942 result.empty();
7943 result.append(view.render());
7944});
7945</script>
7946<div id="d2e199_createNetworkInstance_body"></div>
7947</td>
7948</tr>
7949
7950 </table>
7951
7952
7953
7954 <h2>Responses</h2>
7955 <h3> Status: default - successful operation </h3>
7956
7957 <ul class="nav nav-tabs nav-tabs-examples" >
7958 </ul>
7959
7960 <div class="tab-content" style='margin-bottom: 10px;'>
7961 </div>
7962
7963 </article>
7964 </div>
7965 <hr>
7966 <div id="api-OnapsoinfraserviceInstantiation-createPortConfiguration">
7967 <article id="api-OnapsoinfraserviceInstantiation-createPortConfiguration-0" data-group="User" data-name="createPortConfiguration" data-version="0">
7968 <div class="pull-left">
7969 <h1>createPortConfiguration</h1>
7970 <p>Create Port Mirroring Configuration</p>
7971 </div>
7972 <div class="pull-right"></div>
7973 <div class="clearfix"></div>
7974 <p></p>
7975 <p class="marked"></p>
7976 <p></p>
7977 <br />
7978 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations</span></code></pre>
7979 <p>
7980 <h3>Usage and SDK Samples</h3>
7981 </p>
7982 <ul class="nav nav-tabs nav-tabs-examples">
7983 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">Curl</a></li>
7984 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">Java</a></li>
7985 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">Android</a></li>
7986 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">Groovy</a></li>-->
7987 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">Obj-C</a></li>
7988 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">JavaScript</a></li>
7989 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">Angular</a></li>-->
7990 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">C#</a></li>
7991 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">PHP</a></li>
7992 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">Perl</a></li>
7993 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">Python</a></li>
7994 </ul>
7995
7996 <div class="tab-content">
7997 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05307998 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08007999 </div>
8000 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">
8001 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8002import io.swagger.client.auth.*;
8003import io.swagger.client.model.*;
8004import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8005
8006import java.io.File;
8007import java.util.*;
8008
8009public class OnapsoinfraserviceInstantiationApiExample {
8010
8011 public static void main(String[] args) {
8012
8013 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8014 String version = version_example; // String |
8015 String serviceInstanceId = serviceInstanceId_example; // String |
8016 String body = body_example; // String |
8017 try {
8018 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
8019 } catch (ApiException e) {
8020 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createPortConfiguration");
8021 e.printStackTrace();
8022 }
8023 }
8024}</code></pre>
8025 </div>
8026
8027 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">
8028 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8029
8030public class OnapsoinfraserviceInstantiationApiExample {
8031
8032 public static void main(String[] args) {
8033 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8034 String version = version_example; // String |
8035 String serviceInstanceId = serviceInstanceId_example; // String |
8036 String body = body_example; // String |
8037 try {
8038 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
8039 } catch (ApiException e) {
8040 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createPortConfiguration");
8041 e.printStackTrace();
8042 }
8043 }
8044}</code></pre>
8045 </div>
8046 <!--
8047 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">
8048 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8049 </div> -->
8050 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">
8051 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
8052String *serviceInstanceId = serviceInstanceId_example; //
8053String *body = body_example; // (optional)
8054
8055OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
8056
8057// Create Port Mirroring Configuration
8058[apiInstance createPortConfigurationWith:version
8059 serviceInstanceId:serviceInstanceId
8060 body:body
8061 completionHandler: ^(NSError* error) {
8062 if (error) {
8063 NSLog(@"Error: %@", error);
8064 }
8065 }];
8066</code></pre>
8067 </div>
8068
8069 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">
8070 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
8071
8072var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
8073
8074var version = version_example; // {String}
8075
8076var serviceInstanceId = serviceInstanceId_example; // {String}
8077
8078var opts = {
8079 'body': body_example // {String}
8080};
8081
8082var callback = function(error, data, response) {
8083 if (error) {
8084 console.error(error);
8085 } else {
8086 console.log('API called successfully.');
8087 }
8088};
8089api.createPortConfiguration(version, serviceInstanceId, opts, callback);
8090</code></pre>
8091 </div>
8092
8093 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">
8094 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8095 </div>-->
8096 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">
8097 <pre class="prettyprint"><code class="language-cs">using System;
8098using System.Diagnostics;
8099using IO.Swagger.Api;
8100using IO.Swagger.Client;
8101using IO.Swagger.Model;
8102
8103namespace Example
8104{
8105 public class createPortConfigurationExample
8106 {
8107 public void main()
8108 {
8109
8110 var apiInstance = new OnapsoinfraserviceInstantiationApi();
8111 var version = version_example; // String |
8112 var serviceInstanceId = serviceInstanceId_example; // String |
8113 var body = body_example; // String | (optional)
8114
8115 try
8116 {
8117 // Create Port Mirroring Configuration
8118 apiInstance.createPortConfiguration(version, serviceInstanceId, body);
8119 }
8120 catch (Exception e)
8121 {
8122 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createPortConfiguration: " + e.Message );
8123 }
8124 }
8125 }
8126}
8127</code></pre>
8128 </div>
8129
8130 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">
8131 <pre class="prettyprint"><code class="language-php"><&#63;php
8132require_once(__DIR__ . '/vendor/autoload.php');
8133
8134$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
8135$version = version_example; // String |
8136$serviceInstanceId = serviceInstanceId_example; // String |
8137$body = body_example; // String |
8138
8139try {
8140 $api_instance->createPortConfiguration($version, $serviceInstanceId, $body);
8141} catch (Exception $e) {
8142 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: ', $e->getMessage(), PHP_EOL;
8143}
8144?></code></pre>
8145 </div>
8146
8147 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">
8148 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8149use WWW::SwaggerClient::Configuration;
8150use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
8151
8152my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
8153my $version = version_example; # String |
8154my $serviceInstanceId = serviceInstanceId_example; # String |
8155my $body = WWW::SwaggerClient::Object::String->new(); # String |
8156
8157eval {
8158 $api_instance->createPortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
8159};
8160if ($@) {
8161 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: $@\n";
8162}</code></pre>
8163 </div>
8164
8165 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">
8166 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8167import time
8168import swagger_client
8169from swagger_client.rest import ApiException
8170from pprint import pprint
8171
8172# create an instance of the API class
8173api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
8174version = version_example # String |
8175serviceInstanceId = serviceInstanceId_example # String |
8176body = body_example # String | (optional)
8177
8178try:
8179 # Create Port Mirroring Configuration
8180 api_instance.create_port_configuration(version, serviceInstanceId, body=body)
8181except ApiException as e:
8182 print("Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: %s\n" % e)</code></pre>
8183 </div>
8184 </div>
8185
8186 <h2>Parameters</h2>
8187
8188 <div class="methodsubtabletitle">Path parameters</div>
8189 <table id="methodsubtable">
8190 <tr>
8191 <th width="150px">Name</th>
8192 <th>Description</th>
8193 </tr>
8194 <tr><td style="width:150px;">version*</td>
8195<td>
8196
8197
8198 <div id="d2e199_createPortConfiguration_version">
8199 <div class="json-schema-view">
8200 <div class="primitive">
8201 <span class="type">
8202 String
8203 </span>
8204
8205 </div>
8206 <div class="inner required">
8207 Required
8208 </div>
8209 </div>
8210 </div>
8211</td>
8212</tr>
8213
8214 <tr><td style="width:150px;">serviceInstanceId*</td>
8215<td>
8216
8217
8218 <div id="d2e199_createPortConfiguration_serviceInstanceId">
8219 <div class="json-schema-view">
8220 <div class="primitive">
8221 <span class="type">
8222 String
8223 </span>
8224
8225 </div>
8226 <div class="inner required">
8227 Required
8228 </div>
8229 </div>
8230 </div>
8231</td>
8232</tr>
8233
8234 </table>
8235
8236
8237 <div class="methodsubtabletitle">Body parameters</div>
8238 <table id="methodsubtable">
8239 <tr>
8240 <th width="150px">Name</th>
8241 <th>Description</th>
8242 </tr>
8243 <tr><td style="width:150px;">body </td>
8244<td>
8245
8246
8247<script>
8248$(document).ready(function() {
8249 var schemaWrapper = {
8250 "in" : "body",
8251 "name" : "body",
8252 "required" : false,
8253 "schema" : {
8254 "type" : "string"
8255 }
8256};
8257 var schema = schemaWrapper.schema;
8258 if (schema.$ref != null) {
8259 schema = defsParser.$refs.get(schema.$ref);
8260 } else {
8261 schemaWrapper.definitions = Object.assign({}, defs);
8262 $RefParser.dereference(schemaWrapper).catch(function(err) {
8263 console.log(err);
8264 });
8265 }
8266
8267 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
8268 var result = $('#d2e199_createPortConfiguration_body');
8269 result.empty();
8270 result.append(view.render());
8271});
8272</script>
8273<div id="d2e199_createPortConfiguration_body"></div>
8274</td>
8275</tr>
8276
8277 </table>
8278
8279
8280
8281 <h2>Responses</h2>
8282 <h3> Status: default - successful operation </h3>
8283
8284 <ul class="nav nav-tabs nav-tabs-examples" >
8285 </ul>
8286
8287 <div class="tab-content" style='margin-bottom: 10px;'>
8288 </div>
8289
8290 </article>
8291 </div>
8292 <hr>
8293 <div id="api-OnapsoinfraserviceInstantiation-createServiceInstance">
8294 <article id="api-OnapsoinfraserviceInstantiation-createServiceInstance-0" data-group="User" data-name="createServiceInstance" data-version="0">
8295 <div class="pull-left">
8296 <h1>createServiceInstance</h1>
8297 <p>Create a Service Instance on a version provided</p>
8298 </div>
8299 <div class="pull-right"></div>
8300 <div class="clearfix"></div>
8301 <p></p>
8302 <p class="marked"></p>
8303 <p></p>
8304 <br />
8305 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances</span></code></pre>
8306 <p>
8307 <h3>Usage and SDK Samples</h3>
8308 </p>
8309 <ul class="nav nav-tabs nav-tabs-examples">
8310 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">Curl</a></li>
8311 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">Java</a></li>
8312 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">Android</a></li>
8313 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">Groovy</a></li>-->
8314 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">Obj-C</a></li>
8315 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">JavaScript</a></li>
8316 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">Angular</a></li>-->
8317 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">C#</a></li>
8318 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">PHP</a></li>
8319 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">Perl</a></li>
8320 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">Python</a></li>
8321 </ul>
8322
8323 <div class="tab-content">
8324 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05308325 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08008326 </div>
8327 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">
8328 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8329import io.swagger.client.auth.*;
8330import io.swagger.client.model.*;
8331import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8332
8333import java.io.File;
8334import java.util.*;
8335
8336public class OnapsoinfraserviceInstantiationApiExample {
8337
8338 public static void main(String[] args) {
8339
8340 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8341 String version = version_example; // String |
8342 String body = body_example; // String |
8343 try {
8344 apiInstance.createServiceInstance(version, body);
8345 } catch (ApiException e) {
8346 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createServiceInstance");
8347 e.printStackTrace();
8348 }
8349 }
8350}</code></pre>
8351 </div>
8352
8353 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">
8354 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8355
8356public class OnapsoinfraserviceInstantiationApiExample {
8357
8358 public static void main(String[] args) {
8359 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8360 String version = version_example; // String |
8361 String body = body_example; // String |
8362 try {
8363 apiInstance.createServiceInstance(version, body);
8364 } catch (ApiException e) {
8365 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createServiceInstance");
8366 e.printStackTrace();
8367 }
8368 }
8369}</code></pre>
8370 </div>
8371 <!--
8372 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">
8373 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8374 </div> -->
8375 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">
8376 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
8377String *body = body_example; // (optional)
8378
8379OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
8380
8381// Create a Service Instance on a version provided
8382[apiInstance createServiceInstanceWith:version
8383 body:body
8384 completionHandler: ^(NSError* error) {
8385 if (error) {
8386 NSLog(@"Error: %@", error);
8387 }
8388 }];
8389</code></pre>
8390 </div>
8391
8392 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">
8393 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
8394
8395var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
8396
8397var version = version_example; // {String}
8398
8399var opts = {
8400 'body': body_example // {String}
8401};
8402
8403var callback = function(error, data, response) {
8404 if (error) {
8405 console.error(error);
8406 } else {
8407 console.log('API called successfully.');
8408 }
8409};
8410api.createServiceInstance(version, opts, callback);
8411</code></pre>
8412 </div>
8413
8414 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">
8415 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8416 </div>-->
8417 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">
8418 <pre class="prettyprint"><code class="language-cs">using System;
8419using System.Diagnostics;
8420using IO.Swagger.Api;
8421using IO.Swagger.Client;
8422using IO.Swagger.Model;
8423
8424namespace Example
8425{
8426 public class createServiceInstanceExample
8427 {
8428 public void main()
8429 {
8430
8431 var apiInstance = new OnapsoinfraserviceInstantiationApi();
8432 var version = version_example; // String |
8433 var body = body_example; // String | (optional)
8434
8435 try
8436 {
8437 // Create a Service Instance on a version provided
8438 apiInstance.createServiceInstance(version, body);
8439 }
8440 catch (Exception e)
8441 {
8442 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createServiceInstance: " + e.Message );
8443 }
8444 }
8445 }
8446}
8447</code></pre>
8448 </div>
8449
8450 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">
8451 <pre class="prettyprint"><code class="language-php"><&#63;php
8452require_once(__DIR__ . '/vendor/autoload.php');
8453
8454$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
8455$version = version_example; // String |
8456$body = body_example; // String |
8457
8458try {
8459 $api_instance->createServiceInstance($version, $body);
8460} catch (Exception $e) {
8461 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: ', $e->getMessage(), PHP_EOL;
8462}
8463?></code></pre>
8464 </div>
8465
8466 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">
8467 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8468use WWW::SwaggerClient::Configuration;
8469use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
8470
8471my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
8472my $version = version_example; # String |
8473my $body = WWW::SwaggerClient::Object::String->new(); # String |
8474
8475eval {
8476 $api_instance->createServiceInstance(version => $version, body => $body);
8477};
8478if ($@) {
8479 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: $@\n";
8480}</code></pre>
8481 </div>
8482
8483 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">
8484 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8485import time
8486import swagger_client
8487from swagger_client.rest import ApiException
8488from pprint import pprint
8489
8490# create an instance of the API class
8491api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
8492version = version_example # String |
8493body = body_example # String | (optional)
8494
8495try:
8496 # Create a Service Instance on a version provided
8497 api_instance.create_service_instance(version, body=body)
8498except ApiException as e:
8499 print("Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: %s\n" % e)</code></pre>
8500 </div>
8501 </div>
8502
8503 <h2>Parameters</h2>
8504
8505 <div class="methodsubtabletitle">Path parameters</div>
8506 <table id="methodsubtable">
8507 <tr>
8508 <th width="150px">Name</th>
8509 <th>Description</th>
8510 </tr>
8511 <tr><td style="width:150px;">version*</td>
8512<td>
8513
8514
8515 <div id="d2e199_createServiceInstance_version">
8516 <div class="json-schema-view">
8517 <div class="primitive">
8518 <span class="type">
8519 String
8520 </span>
8521
8522 </div>
8523 <div class="inner required">
8524 Required
8525 </div>
8526 </div>
8527 </div>
8528</td>
8529</tr>
8530
8531 </table>
8532
8533
8534 <div class="methodsubtabletitle">Body parameters</div>
8535 <table id="methodsubtable">
8536 <tr>
8537 <th width="150px">Name</th>
8538 <th>Description</th>
8539 </tr>
8540 <tr><td style="width:150px;">body </td>
8541<td>
8542
8543
8544<script>
8545$(document).ready(function() {
8546 var schemaWrapper = {
8547 "in" : "body",
8548 "name" : "body",
8549 "required" : false,
8550 "schema" : {
8551 "type" : "string"
8552 }
8553};
8554 var schema = schemaWrapper.schema;
8555 if (schema.$ref != null) {
8556 schema = defsParser.$refs.get(schema.$ref);
8557 } else {
8558 schemaWrapper.definitions = Object.assign({}, defs);
8559 $RefParser.dereference(schemaWrapper).catch(function(err) {
8560 console.log(err);
8561 });
8562 }
8563
8564 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
8565 var result = $('#d2e199_createServiceInstance_body');
8566 result.empty();
8567 result.append(view.render());
8568});
8569</script>
8570<div id="d2e199_createServiceInstance_body"></div>
8571</td>
8572</tr>
8573
8574 </table>
8575
8576
8577
8578 <h2>Responses</h2>
8579 <h3> Status: default - successful operation </h3>
8580
8581 <ul class="nav nav-tabs nav-tabs-examples" >
8582 </ul>
8583
8584 <div class="tab-content" style='margin-bottom: 10px;'>
8585 </div>
8586
8587 </article>
8588 </div>
8589 <hr>
8590 <div id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance">
8591 <article id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance-0" data-group="User" data-name="createVfModuleInstance" data-version="0">
8592 <div class="pull-left">
8593 <h1>createVfModuleInstance</h1>
8594 <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p>
8595 </div>
8596 <div class="pull-right"></div>
8597 <div class="clearfix"></div>
8598 <p></p>
8599 <p class="marked"></p>
8600 <p></p>
8601 <br />
8602 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules</span></code></pre>
8603 <p>
8604 <h3>Usage and SDK Samples</h3>
8605 </p>
8606 <ul class="nav nav-tabs nav-tabs-examples">
8607 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">Curl</a></li>
8608 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">Java</a></li>
8609 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">Android</a></li>
8610 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">Groovy</a></li>-->
8611 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">Obj-C</a></li>
8612 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">JavaScript</a></li>
8613 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">Angular</a></li>-->
8614 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">C#</a></li>
8615 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">PHP</a></li>
8616 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">Perl</a></li>
8617 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">Python</a></li>
8618 </ul>
8619
8620 <div class="tab-content">
8621 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05308622 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08008623 </div>
8624 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">
8625 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8626import io.swagger.client.auth.*;
8627import io.swagger.client.model.*;
8628import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8629
8630import java.io.File;
8631import java.util.*;
8632
8633public class OnapsoinfraserviceInstantiationApiExample {
8634
8635 public static void main(String[] args) {
8636
8637 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8638 String version = version_example; // String |
8639 String serviceInstanceId = serviceInstanceId_example; // String |
8640 String vnfInstanceId = vnfInstanceId_example; // String |
8641 String body = body_example; // String |
8642 try {
8643 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
8644 } catch (ApiException e) {
8645 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVfModuleInstance");
8646 e.printStackTrace();
8647 }
8648 }
8649}</code></pre>
8650 </div>
8651
8652 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">
8653 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8654
8655public class OnapsoinfraserviceInstantiationApiExample {
8656
8657 public static void main(String[] args) {
8658 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8659 String version = version_example; // String |
8660 String serviceInstanceId = serviceInstanceId_example; // String |
8661 String vnfInstanceId = vnfInstanceId_example; // String |
8662 String body = body_example; // String |
8663 try {
8664 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
8665 } catch (ApiException e) {
8666 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVfModuleInstance");
8667 e.printStackTrace();
8668 }
8669 }
8670}</code></pre>
8671 </div>
8672 <!--
8673 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">
8674 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8675 </div> -->
8676 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">
8677 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
8678String *serviceInstanceId = serviceInstanceId_example; //
8679String *vnfInstanceId = vnfInstanceId_example; //
8680String *body = body_example; // (optional)
8681
8682OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
8683
8684// Create VfModule on a specified version, serviceInstance and vnfInstance
8685[apiInstance createVfModuleInstanceWith:version
8686 serviceInstanceId:serviceInstanceId
8687 vnfInstanceId:vnfInstanceId
8688 body:body
8689 completionHandler: ^(NSError* error) {
8690 if (error) {
8691 NSLog(@"Error: %@", error);
8692 }
8693 }];
8694</code></pre>
8695 </div>
8696
8697 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">
8698 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
8699
8700var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
8701
8702var version = version_example; // {String}
8703
8704var serviceInstanceId = serviceInstanceId_example; // {String}
8705
8706var vnfInstanceId = vnfInstanceId_example; // {String}
8707
8708var opts = {
8709 'body': body_example // {String}
8710};
8711
8712var callback = function(error, data, response) {
8713 if (error) {
8714 console.error(error);
8715 } else {
8716 console.log('API called successfully.');
8717 }
8718};
8719api.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
8720</code></pre>
8721 </div>
8722
8723 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">
8724 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
8725 </div>-->
8726 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">
8727 <pre class="prettyprint"><code class="language-cs">using System;
8728using System.Diagnostics;
8729using IO.Swagger.Api;
8730using IO.Swagger.Client;
8731using IO.Swagger.Model;
8732
8733namespace Example
8734{
8735 public class createVfModuleInstanceExample
8736 {
8737 public void main()
8738 {
8739
8740 var apiInstance = new OnapsoinfraserviceInstantiationApi();
8741 var version = version_example; // String |
8742 var serviceInstanceId = serviceInstanceId_example; // String |
8743 var vnfInstanceId = vnfInstanceId_example; // String |
8744 var body = body_example; // String | (optional)
8745
8746 try
8747 {
8748 // Create VfModule on a specified version, serviceInstance and vnfInstance
8749 apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body);
8750 }
8751 catch (Exception e)
8752 {
8753 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVfModuleInstance: " + e.Message );
8754 }
8755 }
8756 }
8757}
8758</code></pre>
8759 </div>
8760
8761 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">
8762 <pre class="prettyprint"><code class="language-php"><&#63;php
8763require_once(__DIR__ . '/vendor/autoload.php');
8764
8765$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
8766$version = version_example; // String |
8767$serviceInstanceId = serviceInstanceId_example; // String |
8768$vnfInstanceId = vnfInstanceId_example; // String |
8769$body = body_example; // String |
8770
8771try {
8772 $api_instance->createVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
8773} catch (Exception $e) {
8774 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: ', $e->getMessage(), PHP_EOL;
8775}
8776?></code></pre>
8777 </div>
8778
8779 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">
8780 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
8781use WWW::SwaggerClient::Configuration;
8782use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
8783
8784my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
8785my $version = version_example; # String |
8786my $serviceInstanceId = serviceInstanceId_example; # String |
8787my $vnfInstanceId = vnfInstanceId_example; # String |
8788my $body = WWW::SwaggerClient::Object::String->new(); # String |
8789
8790eval {
8791 $api_instance->createVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
8792};
8793if ($@) {
8794 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: $@\n";
8795}</code></pre>
8796 </div>
8797
8798 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">
8799 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
8800import time
8801import swagger_client
8802from swagger_client.rest import ApiException
8803from pprint import pprint
8804
8805# create an instance of the API class
8806api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
8807version = version_example # String |
8808serviceInstanceId = serviceInstanceId_example # String |
8809vnfInstanceId = vnfInstanceId_example # String |
8810body = body_example # String | (optional)
8811
8812try:
8813 # Create VfModule on a specified version, serviceInstance and vnfInstance
8814 api_instance.create_vf_module_instance(version, serviceInstanceId, vnfInstanceId, body=body)
8815except ApiException as e:
8816 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: %s\n" % e)</code></pre>
8817 </div>
8818 </div>
8819
8820 <h2>Parameters</h2>
8821
8822 <div class="methodsubtabletitle">Path parameters</div>
8823 <table id="methodsubtable">
8824 <tr>
8825 <th width="150px">Name</th>
8826 <th>Description</th>
8827 </tr>
8828 <tr><td style="width:150px;">version*</td>
8829<td>
8830
8831
8832 <div id="d2e199_createVfModuleInstance_version">
8833 <div class="json-schema-view">
8834 <div class="primitive">
8835 <span class="type">
8836 String
8837 </span>
8838
8839 </div>
8840 <div class="inner required">
8841 Required
8842 </div>
8843 </div>
8844 </div>
8845</td>
8846</tr>
8847
8848 <tr><td style="width:150px;">serviceInstanceId*</td>
8849<td>
8850
8851
8852 <div id="d2e199_createVfModuleInstance_serviceInstanceId">
8853 <div class="json-schema-view">
8854 <div class="primitive">
8855 <span class="type">
8856 String
8857 </span>
8858
8859 </div>
8860 <div class="inner required">
8861 Required
8862 </div>
8863 </div>
8864 </div>
8865</td>
8866</tr>
8867
8868 <tr><td style="width:150px;">vnfInstanceId*</td>
8869<td>
8870
8871
8872 <div id="d2e199_createVfModuleInstance_vnfInstanceId">
8873 <div class="json-schema-view">
8874 <div class="primitive">
8875 <span class="type">
8876 String
8877 </span>
8878
8879 </div>
8880 <div class="inner required">
8881 Required
8882 </div>
8883 </div>
8884 </div>
8885</td>
8886</tr>
8887
8888 </table>
8889
8890
8891 <div class="methodsubtabletitle">Body parameters</div>
8892 <table id="methodsubtable">
8893 <tr>
8894 <th width="150px">Name</th>
8895 <th>Description</th>
8896 </tr>
8897 <tr><td style="width:150px;">body </td>
8898<td>
8899
8900
8901<script>
8902$(document).ready(function() {
8903 var schemaWrapper = {
8904 "in" : "body",
8905 "name" : "body",
8906 "required" : false,
8907 "schema" : {
8908 "type" : "string"
8909 }
8910};
8911 var schema = schemaWrapper.schema;
8912 if (schema.$ref != null) {
8913 schema = defsParser.$refs.get(schema.$ref);
8914 } else {
8915 schemaWrapper.definitions = Object.assign({}, defs);
8916 $RefParser.dereference(schemaWrapper).catch(function(err) {
8917 console.log(err);
8918 });
8919 }
8920
8921 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
8922 var result = $('#d2e199_createVfModuleInstance_body');
8923 result.empty();
8924 result.append(view.render());
8925});
8926</script>
8927<div id="d2e199_createVfModuleInstance_body"></div>
8928</td>
8929</tr>
8930
8931 </table>
8932
8933
8934
8935 <h2>Responses</h2>
8936 <h3> Status: default - successful operation </h3>
8937
8938 <ul class="nav nav-tabs nav-tabs-examples" >
8939 </ul>
8940
8941 <div class="tab-content" style='margin-bottom: 10px;'>
8942 </div>
8943
8944 </article>
8945 </div>
8946 <hr>
8947 <div id="api-OnapsoinfraserviceInstantiation-createVnfInstance">
8948 <article id="api-OnapsoinfraserviceInstantiation-createVnfInstance-0" data-group="User" data-name="createVnfInstance" data-version="0">
8949 <div class="pull-left">
8950 <h1>createVnfInstance</h1>
8951 <p>Create VNF on a specified version and serviceInstance</p>
8952 </div>
8953 <div class="pull-right"></div>
8954 <div class="clearfix"></div>
8955 <p></p>
8956 <p class="marked"></p>
8957 <p></p>
8958 <br />
8959 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs</span></code></pre>
8960 <p>
8961 <h3>Usage and SDK Samples</h3>
8962 </p>
8963 <ul class="nav nav-tabs nav-tabs-examples">
8964 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">Curl</a></li>
8965 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">Java</a></li>
8966 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">Android</a></li>
8967 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">Groovy</a></li>-->
8968 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">Obj-C</a></li>
8969 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">JavaScript</a></li>
8970 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">Angular</a></li>-->
8971 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">C#</a></li>
8972 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">PHP</a></li>
8973 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">Perl</a></li>
8974 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">Python</a></li>
8975 </ul>
8976
8977 <div class="tab-content">
8978 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05308979 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08008980 </div>
8981 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">
8982 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
8983import io.swagger.client.auth.*;
8984import io.swagger.client.model.*;
8985import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
8986
8987import java.io.File;
8988import java.util.*;
8989
8990public class OnapsoinfraserviceInstantiationApiExample {
8991
8992 public static void main(String[] args) {
8993
8994 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
8995 String version = version_example; // String |
8996 String serviceInstanceId = serviceInstanceId_example; // String |
8997 String body = body_example; // String |
8998 try {
8999 apiInstance.createVnfInstance(version, serviceInstanceId, body);
9000 } catch (ApiException e) {
9001 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVnfInstance");
9002 e.printStackTrace();
9003 }
9004 }
9005}</code></pre>
9006 </div>
9007
9008 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">
9009 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
9010
9011public class OnapsoinfraserviceInstantiationApiExample {
9012
9013 public static void main(String[] args) {
9014 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
9015 String version = version_example; // String |
9016 String serviceInstanceId = serviceInstanceId_example; // String |
9017 String body = body_example; // String |
9018 try {
9019 apiInstance.createVnfInstance(version, serviceInstanceId, body);
9020 } catch (ApiException e) {
9021 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVnfInstance");
9022 e.printStackTrace();
9023 }
9024 }
9025}</code></pre>
9026 </div>
9027 <!--
9028 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">
9029 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9030 </div> -->
9031 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">
9032 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
9033String *serviceInstanceId = serviceInstanceId_example; //
9034String *body = body_example; // (optional)
9035
9036OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
9037
9038// Create VNF on a specified version and serviceInstance
9039[apiInstance createVnfInstanceWith:version
9040 serviceInstanceId:serviceInstanceId
9041 body:body
9042 completionHandler: ^(NSError* error) {
9043 if (error) {
9044 NSLog(@"Error: %@", error);
9045 }
9046 }];
9047</code></pre>
9048 </div>
9049
9050 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">
9051 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
9052
9053var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
9054
9055var version = version_example; // {String}
9056
9057var serviceInstanceId = serviceInstanceId_example; // {String}
9058
9059var opts = {
9060 'body': body_example // {String}
9061};
9062
9063var callback = function(error, data, response) {
9064 if (error) {
9065 console.error(error);
9066 } else {
9067 console.log('API called successfully.');
9068 }
9069};
9070api.createVnfInstance(version, serviceInstanceId, opts, callback);
9071</code></pre>
9072 </div>
9073
9074 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">
9075 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9076 </div>-->
9077 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">
9078 <pre class="prettyprint"><code class="language-cs">using System;
9079using System.Diagnostics;
9080using IO.Swagger.Api;
9081using IO.Swagger.Client;
9082using IO.Swagger.Model;
9083
9084namespace Example
9085{
9086 public class createVnfInstanceExample
9087 {
9088 public void main()
9089 {
9090
9091 var apiInstance = new OnapsoinfraserviceInstantiationApi();
9092 var version = version_example; // String |
9093 var serviceInstanceId = serviceInstanceId_example; // String |
9094 var body = body_example; // String | (optional)
9095
9096 try
9097 {
9098 // Create VNF on a specified version and serviceInstance
9099 apiInstance.createVnfInstance(version, serviceInstanceId, body);
9100 }
9101 catch (Exception e)
9102 {
9103 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVnfInstance: " + e.Message );
9104 }
9105 }
9106 }
9107}
9108</code></pre>
9109 </div>
9110
9111 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">
9112 <pre class="prettyprint"><code class="language-php"><&#63;php
9113require_once(__DIR__ . '/vendor/autoload.php');
9114
9115$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
9116$version = version_example; // String |
9117$serviceInstanceId = serviceInstanceId_example; // String |
9118$body = body_example; // String |
9119
9120try {
9121 $api_instance->createVnfInstance($version, $serviceInstanceId, $body);
9122} catch (Exception $e) {
9123 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: ', $e->getMessage(), PHP_EOL;
9124}
9125?></code></pre>
9126 </div>
9127
9128 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">
9129 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9130use WWW::SwaggerClient::Configuration;
9131use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
9132
9133my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
9134my $version = version_example; # String |
9135my $serviceInstanceId = serviceInstanceId_example; # String |
9136my $body = WWW::SwaggerClient::Object::String->new(); # String |
9137
9138eval {
9139 $api_instance->createVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
9140};
9141if ($@) {
9142 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: $@\n";
9143}</code></pre>
9144 </div>
9145
9146 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">
9147 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9148import time
9149import swagger_client
9150from swagger_client.rest import ApiException
9151from pprint import pprint
9152
9153# create an instance of the API class
9154api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
9155version = version_example # String |
9156serviceInstanceId = serviceInstanceId_example # String |
9157body = body_example # String | (optional)
9158
9159try:
9160 # Create VNF on a specified version and serviceInstance
9161 api_instance.create_vnf_instance(version, serviceInstanceId, body=body)
9162except ApiException as e:
9163 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: %s\n" % e)</code></pre>
9164 </div>
9165 </div>
9166
9167 <h2>Parameters</h2>
9168
9169 <div class="methodsubtabletitle">Path parameters</div>
9170 <table id="methodsubtable">
9171 <tr>
9172 <th width="150px">Name</th>
9173 <th>Description</th>
9174 </tr>
9175 <tr><td style="width:150px;">version*</td>
9176<td>
9177
9178
9179 <div id="d2e199_createVnfInstance_version">
9180 <div class="json-schema-view">
9181 <div class="primitive">
9182 <span class="type">
9183 String
9184 </span>
9185
9186 </div>
9187 <div class="inner required">
9188 Required
9189 </div>
9190 </div>
9191 </div>
9192</td>
9193</tr>
9194
9195 <tr><td style="width:150px;">serviceInstanceId*</td>
9196<td>
9197
9198
9199 <div id="d2e199_createVnfInstance_serviceInstanceId">
9200 <div class="json-schema-view">
9201 <div class="primitive">
9202 <span class="type">
9203 String
9204 </span>
9205
9206 </div>
9207 <div class="inner required">
9208 Required
9209 </div>
9210 </div>
9211 </div>
9212</td>
9213</tr>
9214
9215 </table>
9216
9217
9218 <div class="methodsubtabletitle">Body parameters</div>
9219 <table id="methodsubtable">
9220 <tr>
9221 <th width="150px">Name</th>
9222 <th>Description</th>
9223 </tr>
9224 <tr><td style="width:150px;">body </td>
9225<td>
9226
9227
9228<script>
9229$(document).ready(function() {
9230 var schemaWrapper = {
9231 "in" : "body",
9232 "name" : "body",
9233 "required" : false,
9234 "schema" : {
9235 "type" : "string"
9236 }
9237};
9238 var schema = schemaWrapper.schema;
9239 if (schema.$ref != null) {
9240 schema = defsParser.$refs.get(schema.$ref);
9241 } else {
9242 schemaWrapper.definitions = Object.assign({}, defs);
9243 $RefParser.dereference(schemaWrapper).catch(function(err) {
9244 console.log(err);
9245 });
9246 }
9247
9248 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9249 var result = $('#d2e199_createVnfInstance_body');
9250 result.empty();
9251 result.append(view.render());
9252});
9253</script>
9254<div id="d2e199_createVnfInstance_body"></div>
9255</td>
9256</tr>
9257
9258 </table>
9259
9260
9261
9262 <h2>Responses</h2>
9263 <h3> Status: default - successful operation </h3>
9264
9265 <ul class="nav nav-tabs nav-tabs-examples" >
9266 </ul>
9267
9268 <div class="tab-content" style='margin-bottom: 10px;'>
9269 </div>
9270
9271 </article>
9272 </div>
9273 <hr>
9274 <div id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">
9275 <article id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0" data-group="User" data-name="createVolumeGroupInstance" data-version="0">
9276 <div class="pull-left">
9277 <h1>createVolumeGroupInstance</h1>
9278 <p>Create VolumeGroup on a specified version, serviceInstance, vnfInstance</p>
9279 </div>
9280 <div class="pull-right"></div>
9281 <div class="clearfix"></div>
9282 <p></p>
9283 <p class="marked"></p>
9284 <p></p>
9285 <br />
9286 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups</span></code></pre>
9287 <p>
9288 <h3>Usage and SDK Samples</h3>
9289 </p>
9290 <ul class="nav nav-tabs nav-tabs-examples">
9291 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">Curl</a></li>
9292 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">Java</a></li>
9293 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">Android</a></li>
9294 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">Groovy</a></li>-->
9295 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">Obj-C</a></li>
9296 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">JavaScript</a></li>
9297 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">Angular</a></li>-->
9298 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">C#</a></li>
9299 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">PHP</a></li>
9300 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">Perl</a></li>
9301 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">Python</a></li>
9302 </ul>
9303
9304 <div class="tab-content">
9305 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05309306 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08009307 </div>
9308 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">
9309 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
9310import io.swagger.client.auth.*;
9311import io.swagger.client.model.*;
9312import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
9313
9314import java.io.File;
9315import java.util.*;
9316
9317public class OnapsoinfraserviceInstantiationApiExample {
9318
9319 public static void main(String[] args) {
9320
9321 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
9322 String version = version_example; // String |
9323 String serviceInstanceId = serviceInstanceId_example; // String |
9324 String vnfInstanceId = vnfInstanceId_example; // String |
9325 String body = body_example; // String |
9326 try {
9327 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
9328 } catch (ApiException e) {
9329 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVolumeGroupInstance");
9330 e.printStackTrace();
9331 }
9332 }
9333}</code></pre>
9334 </div>
9335
9336 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">
9337 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
9338
9339public class OnapsoinfraserviceInstantiationApiExample {
9340
9341 public static void main(String[] args) {
9342 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
9343 String version = version_example; // String |
9344 String serviceInstanceId = serviceInstanceId_example; // String |
9345 String vnfInstanceId = vnfInstanceId_example; // String |
9346 String body = body_example; // String |
9347 try {
9348 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
9349 } catch (ApiException e) {
9350 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#createVolumeGroupInstance");
9351 e.printStackTrace();
9352 }
9353 }
9354}</code></pre>
9355 </div>
9356 <!--
9357 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">
9358 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9359 </div> -->
9360 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">
9361 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
9362String *serviceInstanceId = serviceInstanceId_example; //
9363String *vnfInstanceId = vnfInstanceId_example; //
9364String *body = body_example; // (optional)
9365
9366OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
9367
9368// Create VolumeGroup on a specified version, serviceInstance, vnfInstance
9369[apiInstance createVolumeGroupInstanceWith:version
9370 serviceInstanceId:serviceInstanceId
9371 vnfInstanceId:vnfInstanceId
9372 body:body
9373 completionHandler: ^(NSError* error) {
9374 if (error) {
9375 NSLog(@"Error: %@", error);
9376 }
9377 }];
9378</code></pre>
9379 </div>
9380
9381 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">
9382 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
9383
9384var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
9385
9386var version = version_example; // {String}
9387
9388var serviceInstanceId = serviceInstanceId_example; // {String}
9389
9390var vnfInstanceId = vnfInstanceId_example; // {String}
9391
9392var opts = {
9393 'body': body_example // {String}
9394};
9395
9396var callback = function(error, data, response) {
9397 if (error) {
9398 console.error(error);
9399 } else {
9400 console.log('API called successfully.');
9401 }
9402};
9403api.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
9404</code></pre>
9405 </div>
9406
9407 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">
9408 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9409 </div>-->
9410 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">
9411 <pre class="prettyprint"><code class="language-cs">using System;
9412using System.Diagnostics;
9413using IO.Swagger.Api;
9414using IO.Swagger.Client;
9415using IO.Swagger.Model;
9416
9417namespace Example
9418{
9419 public class createVolumeGroupInstanceExample
9420 {
9421 public void main()
9422 {
9423
9424 var apiInstance = new OnapsoinfraserviceInstantiationApi();
9425 var version = version_example; // String |
9426 var serviceInstanceId = serviceInstanceId_example; // String |
9427 var vnfInstanceId = vnfInstanceId_example; // String |
9428 var body = body_example; // String | (optional)
9429
9430 try
9431 {
9432 // Create VolumeGroup on a specified version, serviceInstance, vnfInstance
9433 apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body);
9434 }
9435 catch (Exception e)
9436 {
9437 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.createVolumeGroupInstance: " + e.Message );
9438 }
9439 }
9440 }
9441}
9442</code></pre>
9443 </div>
9444
9445 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">
9446 <pre class="prettyprint"><code class="language-php"><&#63;php
9447require_once(__DIR__ . '/vendor/autoload.php');
9448
9449$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
9450$version = version_example; // String |
9451$serviceInstanceId = serviceInstanceId_example; // String |
9452$vnfInstanceId = vnfInstanceId_example; // String |
9453$body = body_example; // String |
9454
9455try {
9456 $api_instance->createVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
9457} catch (Exception $e) {
9458 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
9459}
9460?></code></pre>
9461 </div>
9462
9463 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">
9464 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9465use WWW::SwaggerClient::Configuration;
9466use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
9467
9468my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
9469my $version = version_example; # String |
9470my $serviceInstanceId = serviceInstanceId_example; # String |
9471my $vnfInstanceId = vnfInstanceId_example; # String |
9472my $body = WWW::SwaggerClient::Object::String->new(); # String |
9473
9474eval {
9475 $api_instance->createVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
9476};
9477if ($@) {
9478 warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: $@\n";
9479}</code></pre>
9480 </div>
9481
9482 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">
9483 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9484import time
9485import swagger_client
9486from swagger_client.rest import ApiException
9487from pprint import pprint
9488
9489# create an instance of the API class
9490api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
9491version = version_example # String |
9492serviceInstanceId = serviceInstanceId_example # String |
9493vnfInstanceId = vnfInstanceId_example # String |
9494body = body_example # String | (optional)
9495
9496try:
9497 # Create VolumeGroup on a specified version, serviceInstance, vnfInstance
9498 api_instance.create_volume_group_instance(version, serviceInstanceId, vnfInstanceId, body=body)
9499except ApiException as e:
9500 print("Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: %s\n" % e)</code></pre>
9501 </div>
9502 </div>
9503
9504 <h2>Parameters</h2>
9505
9506 <div class="methodsubtabletitle">Path parameters</div>
9507 <table id="methodsubtable">
9508 <tr>
9509 <th width="150px">Name</th>
9510 <th>Description</th>
9511 </tr>
9512 <tr><td style="width:150px;">version*</td>
9513<td>
9514
9515
9516 <div id="d2e199_createVolumeGroupInstance_version">
9517 <div class="json-schema-view">
9518 <div class="primitive">
9519 <span class="type">
9520 String
9521 </span>
9522
9523 </div>
9524 <div class="inner required">
9525 Required
9526 </div>
9527 </div>
9528 </div>
9529</td>
9530</tr>
9531
9532 <tr><td style="width:150px;">serviceInstanceId*</td>
9533<td>
9534
9535
9536 <div id="d2e199_createVolumeGroupInstance_serviceInstanceId">
9537 <div class="json-schema-view">
9538 <div class="primitive">
9539 <span class="type">
9540 String
9541 </span>
9542
9543 </div>
9544 <div class="inner required">
9545 Required
9546 </div>
9547 </div>
9548 </div>
9549</td>
9550</tr>
9551
9552 <tr><td style="width:150px;">vnfInstanceId*</td>
9553<td>
9554
9555
9556 <div id="d2e199_createVolumeGroupInstance_vnfInstanceId">
9557 <div class="json-schema-view">
9558 <div class="primitive">
9559 <span class="type">
9560 String
9561 </span>
9562
9563 </div>
9564 <div class="inner required">
9565 Required
9566 </div>
9567 </div>
9568 </div>
9569</td>
9570</tr>
9571
9572 </table>
9573
9574
9575 <div class="methodsubtabletitle">Body parameters</div>
9576 <table id="methodsubtable">
9577 <tr>
9578 <th width="150px">Name</th>
9579 <th>Description</th>
9580 </tr>
9581 <tr><td style="width:150px;">body </td>
9582<td>
9583
9584
9585<script>
9586$(document).ready(function() {
9587 var schemaWrapper = {
9588 "in" : "body",
9589 "name" : "body",
9590 "required" : false,
9591 "schema" : {
9592 "type" : "string"
9593 }
9594};
9595 var schema = schemaWrapper.schema;
9596 if (schema.$ref != null) {
9597 schema = defsParser.$refs.get(schema.$ref);
9598 } else {
9599 schemaWrapper.definitions = Object.assign({}, defs);
9600 $RefParser.dereference(schemaWrapper).catch(function(err) {
9601 console.log(err);
9602 });
9603 }
9604
9605 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9606 var result = $('#d2e199_createVolumeGroupInstance_body');
9607 result.empty();
9608 result.append(view.render());
9609});
9610</script>
9611<div id="d2e199_createVolumeGroupInstance_body"></div>
9612</td>
9613</tr>
9614
9615 </table>
9616
9617
9618
9619 <h2>Responses</h2>
9620 <h3> Status: default - successful operation </h3>
9621
9622 <ul class="nav nav-tabs nav-tabs-examples" >
9623 </ul>
9624
9625 <div class="tab-content" style='margin-bottom: 10px;'>
9626 </div>
9627
9628 </article>
9629 </div>
9630 <hr>
9631 <div id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">
9632 <article id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0" data-group="User" data-name="deactivateAndCloudDeleteVfModuleInstance" data-version="0">
9633 <div class="pull-left">
9634 <h1>deactivateAndCloudDeleteVfModuleInstance</h1>
9635 <p>Deactivate and Cloud Delete VfModule instance</p>
9636 </div>
9637 <div class="pull-right"></div>
9638 <div class="clearfix"></div>
9639 <p></p>
9640 <p class="marked"></p>
9641 <p></p>
9642 <br />
9643 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete</span></code></pre>
9644 <p>
9645 <h3>Usage and SDK Samples</h3>
9646 </p>
9647 <ul class="nav nav-tabs nav-tabs-examples">
9648 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">Curl</a></li>
9649 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">Java</a></li>
9650 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">Android</a></li>
9651 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">Groovy</a></li>-->
9652 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">Obj-C</a></li>
9653 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">JavaScript</a></li>
9654 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">Angular</a></li>-->
9655 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">C#</a></li>
9656 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">PHP</a></li>
9657 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">Perl</a></li>
9658 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">Python</a></li>
9659 </ul>
9660
9661 <div class="tab-content">
9662 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +05309663 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +08009664 </div>
9665 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">
9666 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
9667import io.swagger.client.auth.*;
9668import io.swagger.client.model.*;
9669import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
9670
9671import java.io.File;
9672import java.util.*;
9673
9674public class OnapsoinfraserviceInstantiationApiExample {
9675
9676 public static void main(String[] args) {
9677
9678 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
9679 String version = version_example; // String |
9680 String serviceInstanceId = serviceInstanceId_example; // String |
9681 String vnfInstanceId = vnfInstanceId_example; // String |
9682 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
9683 String body = body_example; // String |
9684 try {
9685 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
9686 } catch (ApiException e) {
9687 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateAndCloudDeleteVfModuleInstance");
9688 e.printStackTrace();
9689 }
9690 }
9691}</code></pre>
9692 </div>
9693
9694 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">
9695 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
9696
9697public class OnapsoinfraserviceInstantiationApiExample {
9698
9699 public static void main(String[] args) {
9700 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
9701 String version = version_example; // String |
9702 String serviceInstanceId = serviceInstanceId_example; // String |
9703 String vnfInstanceId = vnfInstanceId_example; // String |
9704 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
9705 String body = body_example; // String |
9706 try {
9707 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
9708 } catch (ApiException e) {
9709 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateAndCloudDeleteVfModuleInstance");
9710 e.printStackTrace();
9711 }
9712 }
9713}</code></pre>
9714 </div>
9715 <!--
9716 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">
9717 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9718 </div> -->
9719 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">
9720 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
9721String *serviceInstanceId = serviceInstanceId_example; //
9722String *vnfInstanceId = vnfInstanceId_example; //
9723String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
9724String *body = body_example; // (optional)
9725
9726OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
9727
9728// Deactivate and Cloud Delete VfModule instance
9729[apiInstance deactivateAndCloudDeleteVfModuleInstanceWith:version
9730 serviceInstanceId:serviceInstanceId
9731 vnfInstanceId:vnfInstanceId
9732 vfmoduleInstanceId:vfmoduleInstanceId
9733 body:body
9734 completionHandler: ^(NSError* error) {
9735 if (error) {
9736 NSLog(@"Error: %@", error);
9737 }
9738 }];
9739</code></pre>
9740 </div>
9741
9742 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">
9743 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
9744
9745var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
9746
9747var version = version_example; // {String}
9748
9749var serviceInstanceId = serviceInstanceId_example; // {String}
9750
9751var vnfInstanceId = vnfInstanceId_example; // {String}
9752
9753var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
9754
9755var opts = {
9756 'body': body_example // {String}
9757};
9758
9759var callback = function(error, data, response) {
9760 if (error) {
9761 console.error(error);
9762 } else {
9763 console.log('API called successfully.');
9764 }
9765};
9766api.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
9767</code></pre>
9768 </div>
9769
9770 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">
9771 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
9772 </div>-->
9773 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">
9774 <pre class="prettyprint"><code class="language-cs">using System;
9775using System.Diagnostics;
9776using IO.Swagger.Api;
9777using IO.Swagger.Client;
9778using IO.Swagger.Model;
9779
9780namespace Example
9781{
9782 public class deactivateAndCloudDeleteVfModuleInstanceExample
9783 {
9784 public void main()
9785 {
9786
9787 var apiInstance = new OnapsoinfraserviceInstantiationApi();
9788 var version = version_example; // String |
9789 var serviceInstanceId = serviceInstanceId_example; // String |
9790 var vnfInstanceId = vnfInstanceId_example; // String |
9791 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
9792 var body = body_example; // String | (optional)
9793
9794 try
9795 {
9796 // Deactivate and Cloud Delete VfModule instance
9797 apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
9798 }
9799 catch (Exception e)
9800 {
9801 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivateAndCloudDeleteVfModuleInstance: " + e.Message );
9802 }
9803 }
9804 }
9805}
9806</code></pre>
9807 </div>
9808
9809 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">
9810 <pre class="prettyprint"><code class="language-php"><&#63;php
9811require_once(__DIR__ . '/vendor/autoload.php');
9812
9813$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
9814$version = version_example; // String |
9815$serviceInstanceId = serviceInstanceId_example; // String |
9816$vnfInstanceId = vnfInstanceId_example; // String |
9817$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
9818$body = body_example; // String |
9819
9820try {
9821 $api_instance->deactivateAndCloudDeleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
9822} catch (Exception $e) {
9823 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: ', $e->getMessage(), PHP_EOL;
9824}
9825?></code></pre>
9826 </div>
9827
9828 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">
9829 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
9830use WWW::SwaggerClient::Configuration;
9831use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
9832
9833my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
9834my $version = version_example; # String |
9835my $serviceInstanceId = serviceInstanceId_example; # String |
9836my $vnfInstanceId = vnfInstanceId_example; # String |
9837my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
9838my $body = WWW::SwaggerClient::Object::String->new(); # String |
9839
9840eval {
9841 $api_instance->deactivateAndCloudDeleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
9842};
9843if ($@) {
9844 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: $@\n";
9845}</code></pre>
9846 </div>
9847
9848 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">
9849 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
9850import time
9851import swagger_client
9852from swagger_client.rest import ApiException
9853from pprint import pprint
9854
9855# create an instance of the API class
9856api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
9857version = version_example # String |
9858serviceInstanceId = serviceInstanceId_example # String |
9859vnfInstanceId = vnfInstanceId_example # String |
9860vfmoduleInstanceId = vfmoduleInstanceId_example # String |
9861body = body_example # String | (optional)
9862
9863try:
9864 # Deactivate and Cloud Delete VfModule instance
9865 api_instance.deactivate_and_cloud_delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
9866except ApiException as e:
9867 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: %s\n" % e)</code></pre>
9868 </div>
9869 </div>
9870
9871 <h2>Parameters</h2>
9872
9873 <div class="methodsubtabletitle">Path parameters</div>
9874 <table id="methodsubtable">
9875 <tr>
9876 <th width="150px">Name</th>
9877 <th>Description</th>
9878 </tr>
9879 <tr><td style="width:150px;">version*</td>
9880<td>
9881
9882
9883 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_version">
9884 <div class="json-schema-view">
9885 <div class="primitive">
9886 <span class="type">
9887 String
9888 </span>
9889
9890 </div>
9891 <div class="inner required">
9892 Required
9893 </div>
9894 </div>
9895 </div>
9896</td>
9897</tr>
9898
9899 <tr><td style="width:150px;">serviceInstanceId*</td>
9900<td>
9901
9902
9903 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_serviceInstanceId">
9904 <div class="json-schema-view">
9905 <div class="primitive">
9906 <span class="type">
9907 String
9908 </span>
9909
9910 </div>
9911 <div class="inner required">
9912 Required
9913 </div>
9914 </div>
9915 </div>
9916</td>
9917</tr>
9918
9919 <tr><td style="width:150px;">vnfInstanceId*</td>
9920<td>
9921
9922
9923 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vnfInstanceId">
9924 <div class="json-schema-view">
9925 <div class="primitive">
9926 <span class="type">
9927 String
9928 </span>
9929
9930 </div>
9931 <div class="inner required">
9932 Required
9933 </div>
9934 </div>
9935 </div>
9936</td>
9937</tr>
9938
9939 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
9940<td>
9941
9942
9943 <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vfmoduleInstanceId">
9944 <div class="json-schema-view">
9945 <div class="primitive">
9946 <span class="type">
9947 String
9948 </span>
9949
9950 </div>
9951 <div class="inner required">
9952 Required
9953 </div>
9954 </div>
9955 </div>
9956</td>
9957</tr>
9958
9959 </table>
9960
9961
9962 <div class="methodsubtabletitle">Body parameters</div>
9963 <table id="methodsubtable">
9964 <tr>
9965 <th width="150px">Name</th>
9966 <th>Description</th>
9967 </tr>
9968 <tr><td style="width:150px;">body </td>
9969<td>
9970
9971
9972<script>
9973$(document).ready(function() {
9974 var schemaWrapper = {
9975 "in" : "body",
9976 "name" : "body",
9977 "required" : false,
9978 "schema" : {
9979 "type" : "string"
9980 }
9981};
9982 var schema = schemaWrapper.schema;
9983 if (schema.$ref != null) {
9984 schema = defsParser.$refs.get(schema.$ref);
9985 } else {
9986 schemaWrapper.definitions = Object.assign({}, defs);
9987 $RefParser.dereference(schemaWrapper).catch(function(err) {
9988 console.log(err);
9989 });
9990 }
9991
9992 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
9993 var result = $('#d2e199_deactivateAndCloudDeleteVfModuleInstance_body');
9994 result.empty();
9995 result.append(view.render());
9996});
9997</script>
9998<div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_body"></div>
9999</td>
10000</tr>
10001
10002 </table>
10003
10004
10005
10006 <h2>Responses</h2>
10007 <h3> Status: default - successful operation </h3>
10008
10009 <ul class="nav nav-tabs nav-tabs-examples" >
10010 </ul>
10011
10012 <div class="tab-content" style='margin-bottom: 10px;'>
10013 </div>
10014
10015 </article>
10016 </div>
10017 <hr>
10018 <div id="api-OnapsoinfraserviceInstantiation-deactivatePort">
10019 <article id="api-OnapsoinfraserviceInstantiation-deactivatePort-0" data-group="User" data-name="deactivatePort" data-version="0">
10020 <div class="pull-left">
10021 <h1>deactivatePort</h1>
10022 <p>Deactivate Port Mirroring</p>
10023 </div>
10024 <div class="pull-right"></div>
10025 <div class="clearfix"></div>
10026 <p></p>
10027 <p class="marked"></p>
10028 <p></p>
10029 <br />
10030 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate</span></code></pre>
10031 <p>
10032 <h3>Usage and SDK Samples</h3>
10033 </p>
10034 <ul class="nav nav-tabs nav-tabs-examples">
10035 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">Curl</a></li>
10036 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">Java</a></li>
10037 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">Android</a></li>
10038 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">Groovy</a></li>-->
10039 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">Obj-C</a></li>
10040 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">JavaScript</a></li>
10041 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">Angular</a></li>-->
10042 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">C#</a></li>
10043 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">PHP</a></li>
10044 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">Perl</a></li>
10045 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">Python</a></li>
10046 </ul>
10047
10048 <div class="tab-content">
10049 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053010050 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080010051 </div>
10052 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">
10053 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10054import io.swagger.client.auth.*;
10055import io.swagger.client.model.*;
10056import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10057
10058import java.io.File;
10059import java.util.*;
10060
10061public class OnapsoinfraserviceInstantiationApiExample {
10062
10063 public static void main(String[] args) {
10064
10065 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10066 String version = version_example; // String |
10067 String serviceInstanceId = serviceInstanceId_example; // String |
10068 String configurationInstanceId = configurationInstanceId_example; // String |
10069 String body = body_example; // String |
10070 try {
10071 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
10072 } catch (ApiException e) {
10073 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivatePort");
10074 e.printStackTrace();
10075 }
10076 }
10077}</code></pre>
10078 </div>
10079
10080 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">
10081 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10082
10083public class OnapsoinfraserviceInstantiationApiExample {
10084
10085 public static void main(String[] args) {
10086 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10087 String version = version_example; // String |
10088 String serviceInstanceId = serviceInstanceId_example; // String |
10089 String configurationInstanceId = configurationInstanceId_example; // String |
10090 String body = body_example; // String |
10091 try {
10092 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
10093 } catch (ApiException e) {
10094 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivatePort");
10095 e.printStackTrace();
10096 }
10097 }
10098}</code></pre>
10099 </div>
10100 <!--
10101 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">
10102 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10103 </div> -->
10104 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">
10105 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
10106String *serviceInstanceId = serviceInstanceId_example; //
10107String *configurationInstanceId = configurationInstanceId_example; //
10108String *body = body_example; // (optional)
10109
10110OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
10111
10112// Deactivate Port Mirroring
10113[apiInstance deactivatePortWith:version
10114 serviceInstanceId:serviceInstanceId
10115 configurationInstanceId:configurationInstanceId
10116 body:body
10117 completionHandler: ^(NSError* error) {
10118 if (error) {
10119 NSLog(@"Error: %@", error);
10120 }
10121 }];
10122</code></pre>
10123 </div>
10124
10125 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">
10126 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
10127
10128var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
10129
10130var version = version_example; // {String}
10131
10132var serviceInstanceId = serviceInstanceId_example; // {String}
10133
10134var configurationInstanceId = configurationInstanceId_example; // {String}
10135
10136var opts = {
10137 'body': body_example // {String}
10138};
10139
10140var callback = function(error, data, response) {
10141 if (error) {
10142 console.error(error);
10143 } else {
10144 console.log('API called successfully.');
10145 }
10146};
10147api.deactivatePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
10148</code></pre>
10149 </div>
10150
10151 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">
10152 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10153 </div>-->
10154 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">
10155 <pre class="prettyprint"><code class="language-cs">using System;
10156using System.Diagnostics;
10157using IO.Swagger.Api;
10158using IO.Swagger.Client;
10159using IO.Swagger.Model;
10160
10161namespace Example
10162{
10163 public class deactivatePortExample
10164 {
10165 public void main()
10166 {
10167
10168 var apiInstance = new OnapsoinfraserviceInstantiationApi();
10169 var version = version_example; // String |
10170 var serviceInstanceId = serviceInstanceId_example; // String |
10171 var configurationInstanceId = configurationInstanceId_example; // String |
10172 var body = body_example; // String | (optional)
10173
10174 try
10175 {
10176 // Deactivate Port Mirroring
10177 apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body);
10178 }
10179 catch (Exception e)
10180 {
10181 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivatePort: " + e.Message );
10182 }
10183 }
10184 }
10185}
10186</code></pre>
10187 </div>
10188
10189 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">
10190 <pre class="prettyprint"><code class="language-php"><&#63;php
10191require_once(__DIR__ . '/vendor/autoload.php');
10192
10193$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
10194$version = version_example; // String |
10195$serviceInstanceId = serviceInstanceId_example; // String |
10196$configurationInstanceId = configurationInstanceId_example; // String |
10197$body = body_example; // String |
10198
10199try {
10200 $api_instance->deactivatePort($version, $serviceInstanceId, $configurationInstanceId, $body);
10201} catch (Exception $e) {
10202 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: ', $e->getMessage(), PHP_EOL;
10203}
10204?></code></pre>
10205 </div>
10206
10207 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">
10208 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10209use WWW::SwaggerClient::Configuration;
10210use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
10211
10212my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
10213my $version = version_example; # String |
10214my $serviceInstanceId = serviceInstanceId_example; # String |
10215my $configurationInstanceId = configurationInstanceId_example; # String |
10216my $body = WWW::SwaggerClient::Object::String->new(); # String |
10217
10218eval {
10219 $api_instance->deactivatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
10220};
10221if ($@) {
10222 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: $@\n";
10223}</code></pre>
10224 </div>
10225
10226 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">
10227 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10228import time
10229import swagger_client
10230from swagger_client.rest import ApiException
10231from pprint import pprint
10232
10233# create an instance of the API class
10234api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
10235version = version_example # String |
10236serviceInstanceId = serviceInstanceId_example # String |
10237configurationInstanceId = configurationInstanceId_example # String |
10238body = body_example # String | (optional)
10239
10240try:
10241 # Deactivate Port Mirroring
10242 api_instance.deactivate_port(version, serviceInstanceId, configurationInstanceId, body=body)
10243except ApiException as e:
10244 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: %s\n" % e)</code></pre>
10245 </div>
10246 </div>
10247
10248 <h2>Parameters</h2>
10249
10250 <div class="methodsubtabletitle">Path parameters</div>
10251 <table id="methodsubtable">
10252 <tr>
10253 <th width="150px">Name</th>
10254 <th>Description</th>
10255 </tr>
10256 <tr><td style="width:150px;">version*</td>
10257<td>
10258
10259
10260 <div id="d2e199_deactivatePort_version">
10261 <div class="json-schema-view">
10262 <div class="primitive">
10263 <span class="type">
10264 String
10265 </span>
10266
10267 </div>
10268 <div class="inner required">
10269 Required
10270 </div>
10271 </div>
10272 </div>
10273</td>
10274</tr>
10275
10276 <tr><td style="width:150px;">serviceInstanceId*</td>
10277<td>
10278
10279
10280 <div id="d2e199_deactivatePort_serviceInstanceId">
10281 <div class="json-schema-view">
10282 <div class="primitive">
10283 <span class="type">
10284 String
10285 </span>
10286
10287 </div>
10288 <div class="inner required">
10289 Required
10290 </div>
10291 </div>
10292 </div>
10293</td>
10294</tr>
10295
10296 <tr><td style="width:150px;">configurationInstanceId*</td>
10297<td>
10298
10299
10300 <div id="d2e199_deactivatePort_configurationInstanceId">
10301 <div class="json-schema-view">
10302 <div class="primitive">
10303 <span class="type">
10304 String
10305 </span>
10306
10307 </div>
10308 <div class="inner required">
10309 Required
10310 </div>
10311 </div>
10312 </div>
10313</td>
10314</tr>
10315
10316 </table>
10317
10318
10319 <div class="methodsubtabletitle">Body parameters</div>
10320 <table id="methodsubtable">
10321 <tr>
10322 <th width="150px">Name</th>
10323 <th>Description</th>
10324 </tr>
10325 <tr><td style="width:150px;">body </td>
10326<td>
10327
10328
10329<script>
10330$(document).ready(function() {
10331 var schemaWrapper = {
10332 "in" : "body",
10333 "name" : "body",
10334 "required" : false,
10335 "schema" : {
10336 "type" : "string"
10337 }
10338};
10339 var schema = schemaWrapper.schema;
10340 if (schema.$ref != null) {
10341 schema = defsParser.$refs.get(schema.$ref);
10342 } else {
10343 schemaWrapper.definitions = Object.assign({}, defs);
10344 $RefParser.dereference(schemaWrapper).catch(function(err) {
10345 console.log(err);
10346 });
10347 }
10348
10349 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
10350 var result = $('#d2e199_deactivatePort_body');
10351 result.empty();
10352 result.append(view.render());
10353});
10354</script>
10355<div id="d2e199_deactivatePort_body"></div>
10356</td>
10357</tr>
10358
10359 </table>
10360
10361
10362
10363 <h2>Responses</h2>
10364 <h3> Status: default - successful operation </h3>
10365
10366 <ul class="nav nav-tabs nav-tabs-examples" >
10367 </ul>
10368
10369 <div class="tab-content" style='margin-bottom: 10px;'>
10370 </div>
10371
10372 </article>
10373 </div>
10374 <hr>
10375 <div id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">
10376 <article id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0" data-group="User" data-name="deactivateServiceInstance" data-version="0">
10377 <div class="pull-left">
10378 <h1>deactivateServiceInstance</h1>
10379 <p>Deactivate provided Service Instance</p>
10380 </div>
10381 <div class="pull-right"></div>
10382 <div class="clearfix"></div>
10383 <p></p>
10384 <p class="marked"></p>
10385 <p></p>
10386 <br />
10387 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate</span></code></pre>
10388 <p>
10389 <h3>Usage and SDK Samples</h3>
10390 </p>
10391 <ul class="nav nav-tabs nav-tabs-examples">
10392 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">Curl</a></li>
10393 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">Java</a></li>
10394 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">Android</a></li>
10395 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">Groovy</a></li>-->
10396 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">Obj-C</a></li>
10397 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">JavaScript</a></li>
10398 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">Angular</a></li>-->
10399 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">C#</a></li>
10400 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">PHP</a></li>
10401 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">Perl</a></li>
10402 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">Python</a></li>
10403 </ul>
10404
10405 <div class="tab-content">
10406 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053010407 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080010408 </div>
10409 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">
10410 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10411import io.swagger.client.auth.*;
10412import io.swagger.client.model.*;
10413import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10414
10415import java.io.File;
10416import java.util.*;
10417
10418public class OnapsoinfraserviceInstantiationApiExample {
10419
10420 public static void main(String[] args) {
10421
10422 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10423 String version = version_example; // String |
10424 String serviceInstanceId = serviceInstanceId_example; // String |
10425 String body = body_example; // String |
10426 try {
10427 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
10428 } catch (ApiException e) {
10429 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateServiceInstance");
10430 e.printStackTrace();
10431 }
10432 }
10433}</code></pre>
10434 </div>
10435
10436 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">
10437 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10438
10439public class OnapsoinfraserviceInstantiationApiExample {
10440
10441 public static void main(String[] args) {
10442 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10443 String version = version_example; // String |
10444 String serviceInstanceId = serviceInstanceId_example; // String |
10445 String body = body_example; // String |
10446 try {
10447 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
10448 } catch (ApiException e) {
10449 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deactivateServiceInstance");
10450 e.printStackTrace();
10451 }
10452 }
10453}</code></pre>
10454 </div>
10455 <!--
10456 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">
10457 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10458 </div> -->
10459 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">
10460 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
10461String *serviceInstanceId = serviceInstanceId_example; //
10462String *body = body_example; // (optional)
10463
10464OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
10465
10466// Deactivate provided Service Instance
10467[apiInstance deactivateServiceInstanceWith:version
10468 serviceInstanceId:serviceInstanceId
10469 body:body
10470 completionHandler: ^(NSError* error) {
10471 if (error) {
10472 NSLog(@"Error: %@", error);
10473 }
10474 }];
10475</code></pre>
10476 </div>
10477
10478 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">
10479 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
10480
10481var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
10482
10483var version = version_example; // {String}
10484
10485var serviceInstanceId = serviceInstanceId_example; // {String}
10486
10487var opts = {
10488 'body': body_example // {String}
10489};
10490
10491var callback = function(error, data, response) {
10492 if (error) {
10493 console.error(error);
10494 } else {
10495 console.log('API called successfully.');
10496 }
10497};
10498api.deactivateServiceInstance(version, serviceInstanceId, opts, callback);
10499</code></pre>
10500 </div>
10501
10502 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">
10503 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10504 </div>-->
10505 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">
10506 <pre class="prettyprint"><code class="language-cs">using System;
10507using System.Diagnostics;
10508using IO.Swagger.Api;
10509using IO.Swagger.Client;
10510using IO.Swagger.Model;
10511
10512namespace Example
10513{
10514 public class deactivateServiceInstanceExample
10515 {
10516 public void main()
10517 {
10518
10519 var apiInstance = new OnapsoinfraserviceInstantiationApi();
10520 var version = version_example; // String |
10521 var serviceInstanceId = serviceInstanceId_example; // String |
10522 var body = body_example; // String | (optional)
10523
10524 try
10525 {
10526 // Deactivate provided Service Instance
10527 apiInstance.deactivateServiceInstance(version, serviceInstanceId, body);
10528 }
10529 catch (Exception e)
10530 {
10531 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deactivateServiceInstance: " + e.Message );
10532 }
10533 }
10534 }
10535}
10536</code></pre>
10537 </div>
10538
10539 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">
10540 <pre class="prettyprint"><code class="language-php"><&#63;php
10541require_once(__DIR__ . '/vendor/autoload.php');
10542
10543$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
10544$version = version_example; // String |
10545$serviceInstanceId = serviceInstanceId_example; // String |
10546$body = body_example; // String |
10547
10548try {
10549 $api_instance->deactivateServiceInstance($version, $serviceInstanceId, $body);
10550} catch (Exception $e) {
10551 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: ', $e->getMessage(), PHP_EOL;
10552}
10553?></code></pre>
10554 </div>
10555
10556 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">
10557 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10558use WWW::SwaggerClient::Configuration;
10559use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
10560
10561my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
10562my $version = version_example; # String |
10563my $serviceInstanceId = serviceInstanceId_example; # String |
10564my $body = WWW::SwaggerClient::Object::String->new(); # String |
10565
10566eval {
10567 $api_instance->deactivateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
10568};
10569if ($@) {
10570 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: $@\n";
10571}</code></pre>
10572 </div>
10573
10574 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">
10575 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10576import time
10577import swagger_client
10578from swagger_client.rest import ApiException
10579from pprint import pprint
10580
10581# create an instance of the API class
10582api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
10583version = version_example # String |
10584serviceInstanceId = serviceInstanceId_example # String |
10585body = body_example # String | (optional)
10586
10587try:
10588 # Deactivate provided Service Instance
10589 api_instance.deactivate_service_instance(version, serviceInstanceId, body=body)
10590except ApiException as e:
10591 print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: %s\n" % e)</code></pre>
10592 </div>
10593 </div>
10594
10595 <h2>Parameters</h2>
10596
10597 <div class="methodsubtabletitle">Path parameters</div>
10598 <table id="methodsubtable">
10599 <tr>
10600 <th width="150px">Name</th>
10601 <th>Description</th>
10602 </tr>
10603 <tr><td style="width:150px;">version*</td>
10604<td>
10605
10606
10607 <div id="d2e199_deactivateServiceInstance_version">
10608 <div class="json-schema-view">
10609 <div class="primitive">
10610 <span class="type">
10611 String
10612 </span>
10613
10614 </div>
10615 <div class="inner required">
10616 Required
10617 </div>
10618 </div>
10619 </div>
10620</td>
10621</tr>
10622
10623 <tr><td style="width:150px;">serviceInstanceId*</td>
10624<td>
10625
10626
10627 <div id="d2e199_deactivateServiceInstance_serviceInstanceId">
10628 <div class="json-schema-view">
10629 <div class="primitive">
10630 <span class="type">
10631 String
10632 </span>
10633
10634 </div>
10635 <div class="inner required">
10636 Required
10637 </div>
10638 </div>
10639 </div>
10640</td>
10641</tr>
10642
10643 </table>
10644
10645
10646 <div class="methodsubtabletitle">Body parameters</div>
10647 <table id="methodsubtable">
10648 <tr>
10649 <th width="150px">Name</th>
10650 <th>Description</th>
10651 </tr>
10652 <tr><td style="width:150px;">body </td>
10653<td>
10654
10655
10656<script>
10657$(document).ready(function() {
10658 var schemaWrapper = {
10659 "in" : "body",
10660 "name" : "body",
10661 "required" : false,
10662 "schema" : {
10663 "type" : "string"
10664 }
10665};
10666 var schema = schemaWrapper.schema;
10667 if (schema.$ref != null) {
10668 schema = defsParser.$refs.get(schema.$ref);
10669 } else {
10670 schemaWrapper.definitions = Object.assign({}, defs);
10671 $RefParser.dereference(schemaWrapper).catch(function(err) {
10672 console.log(err);
10673 });
10674 }
10675
10676 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
10677 var result = $('#d2e199_deactivateServiceInstance_body');
10678 result.empty();
10679 result.append(view.render());
10680});
10681</script>
10682<div id="d2e199_deactivateServiceInstance_body"></div>
10683</td>
10684</tr>
10685
10686 </table>
10687
10688
10689
10690 <h2>Responses</h2>
10691 <h3> Status: default - successful operation </h3>
10692
10693 <ul class="nav nav-tabs nav-tabs-examples" >
10694 </ul>
10695
10696 <div class="tab-content" style='margin-bottom: 10px;'>
10697 </div>
10698
10699 </article>
10700 </div>
10701 <hr>
10702 <div id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">
10703 <article id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0" data-group="User" data-name="deleteNetworkInstance" data-version="0">
10704 <div class="pull-left">
10705 <h1>deleteNetworkInstance</h1>
10706 <p>Delete provided Network instance</p>
10707 </div>
10708 <div class="pull-right"></div>
10709 <div class="clearfix"></div>
10710 <p></p>
10711 <p class="marked"></p>
10712 <p></p>
10713 <br />
10714 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre>
10715 <p>
10716 <h3>Usage and SDK Samples</h3>
10717 </p>
10718 <ul class="nav nav-tabs nav-tabs-examples">
10719 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">Curl</a></li>
10720 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">Java</a></li>
10721 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">Android</a></li>
10722 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">Groovy</a></li>-->
10723 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">Obj-C</a></li>
10724 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">JavaScript</a></li>
10725 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">Angular</a></li>-->
10726 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">C#</a></li>
10727 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">PHP</a></li>
10728 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">Perl</a></li>
10729 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">Python</a></li>
10730 </ul>
10731
10732 <div class="tab-content">
10733 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053010734 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080010735 </div>
10736 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">
10737 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
10738import io.swagger.client.auth.*;
10739import io.swagger.client.model.*;
10740import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10741
10742import java.io.File;
10743import java.util.*;
10744
10745public class OnapsoinfraserviceInstantiationApiExample {
10746
10747 public static void main(String[] args) {
10748
10749 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10750 String version = version_example; // String |
10751 String serviceInstanceId = serviceInstanceId_example; // String |
10752 String networkInstanceId = networkInstanceId_example; // String |
10753 String body = body_example; // String |
10754 try {
10755 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
10756 } catch (ApiException e) {
10757 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteNetworkInstance");
10758 e.printStackTrace();
10759 }
10760 }
10761}</code></pre>
10762 </div>
10763
10764 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">
10765 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
10766
10767public class OnapsoinfraserviceInstantiationApiExample {
10768
10769 public static void main(String[] args) {
10770 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
10771 String version = version_example; // String |
10772 String serviceInstanceId = serviceInstanceId_example; // String |
10773 String networkInstanceId = networkInstanceId_example; // String |
10774 String body = body_example; // String |
10775 try {
10776 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
10777 } catch (ApiException e) {
10778 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteNetworkInstance");
10779 e.printStackTrace();
10780 }
10781 }
10782}</code></pre>
10783 </div>
10784 <!--
10785 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">
10786 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10787 </div> -->
10788 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">
10789 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
10790String *serviceInstanceId = serviceInstanceId_example; //
10791String *networkInstanceId = networkInstanceId_example; //
10792String *body = body_example; // (optional)
10793
10794OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
10795
10796// Delete provided Network instance
10797[apiInstance deleteNetworkInstanceWith:version
10798 serviceInstanceId:serviceInstanceId
10799 networkInstanceId:networkInstanceId
10800 body:body
10801 completionHandler: ^(NSError* error) {
10802 if (error) {
10803 NSLog(@"Error: %@", error);
10804 }
10805 }];
10806</code></pre>
10807 </div>
10808
10809 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">
10810 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
10811
10812var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
10813
10814var version = version_example; // {String}
10815
10816var serviceInstanceId = serviceInstanceId_example; // {String}
10817
10818var networkInstanceId = networkInstanceId_example; // {String}
10819
10820var opts = {
10821 'body': body_example // {String}
10822};
10823
10824var callback = function(error, data, response) {
10825 if (error) {
10826 console.error(error);
10827 } else {
10828 console.log('API called successfully.');
10829 }
10830};
10831api.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback);
10832</code></pre>
10833 </div>
10834
10835 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">
10836 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
10837 </div>-->
10838 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">
10839 <pre class="prettyprint"><code class="language-cs">using System;
10840using System.Diagnostics;
10841using IO.Swagger.Api;
10842using IO.Swagger.Client;
10843using IO.Swagger.Model;
10844
10845namespace Example
10846{
10847 public class deleteNetworkInstanceExample
10848 {
10849 public void main()
10850 {
10851
10852 var apiInstance = new OnapsoinfraserviceInstantiationApi();
10853 var version = version_example; // String |
10854 var serviceInstanceId = serviceInstanceId_example; // String |
10855 var networkInstanceId = networkInstanceId_example; // String |
10856 var body = body_example; // String | (optional)
10857
10858 try
10859 {
10860 // Delete provided Network instance
10861 apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
10862 }
10863 catch (Exception e)
10864 {
10865 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteNetworkInstance: " + e.Message );
10866 }
10867 }
10868 }
10869}
10870</code></pre>
10871 </div>
10872
10873 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">
10874 <pre class="prettyprint"><code class="language-php"><&#63;php
10875require_once(__DIR__ . '/vendor/autoload.php');
10876
10877$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
10878$version = version_example; // String |
10879$serviceInstanceId = serviceInstanceId_example; // String |
10880$networkInstanceId = networkInstanceId_example; // String |
10881$body = body_example; // String |
10882
10883try {
10884 $api_instance->deleteNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body);
10885} catch (Exception $e) {
10886 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: ', $e->getMessage(), PHP_EOL;
10887}
10888?></code></pre>
10889 </div>
10890
10891 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">
10892 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
10893use WWW::SwaggerClient::Configuration;
10894use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
10895
10896my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
10897my $version = version_example; # String |
10898my $serviceInstanceId = serviceInstanceId_example; # String |
10899my $networkInstanceId = networkInstanceId_example; # String |
10900my $body = WWW::SwaggerClient::Object::String->new(); # String |
10901
10902eval {
10903 $api_instance->deleteNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body);
10904};
10905if ($@) {
10906 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: $@\n";
10907}</code></pre>
10908 </div>
10909
10910 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">
10911 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
10912import time
10913import swagger_client
10914from swagger_client.rest import ApiException
10915from pprint import pprint
10916
10917# create an instance of the API class
10918api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
10919version = version_example # String |
10920serviceInstanceId = serviceInstanceId_example # String |
10921networkInstanceId = networkInstanceId_example # String |
10922body = body_example # String | (optional)
10923
10924try:
10925 # Delete provided Network instance
10926 api_instance.delete_network_instance(version, serviceInstanceId, networkInstanceId, body=body)
10927except ApiException as e:
10928 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: %s\n" % e)</code></pre>
10929 </div>
10930 </div>
10931
10932 <h2>Parameters</h2>
10933
10934 <div class="methodsubtabletitle">Path parameters</div>
10935 <table id="methodsubtable">
10936 <tr>
10937 <th width="150px">Name</th>
10938 <th>Description</th>
10939 </tr>
10940 <tr><td style="width:150px;">version*</td>
10941<td>
10942
10943
10944 <div id="d2e199_deleteNetworkInstance_version">
10945 <div class="json-schema-view">
10946 <div class="primitive">
10947 <span class="type">
10948 String
10949 </span>
10950
10951 </div>
10952 <div class="inner required">
10953 Required
10954 </div>
10955 </div>
10956 </div>
10957</td>
10958</tr>
10959
10960 <tr><td style="width:150px;">serviceInstanceId*</td>
10961<td>
10962
10963
10964 <div id="d2e199_deleteNetworkInstance_serviceInstanceId">
10965 <div class="json-schema-view">
10966 <div class="primitive">
10967 <span class="type">
10968 String
10969 </span>
10970
10971 </div>
10972 <div class="inner required">
10973 Required
10974 </div>
10975 </div>
10976 </div>
10977</td>
10978</tr>
10979
10980 <tr><td style="width:150px;">networkInstanceId*</td>
10981<td>
10982
10983
10984 <div id="d2e199_deleteNetworkInstance_networkInstanceId">
10985 <div class="json-schema-view">
10986 <div class="primitive">
10987 <span class="type">
10988 String
10989 </span>
10990
10991 </div>
10992 <div class="inner required">
10993 Required
10994 </div>
10995 </div>
10996 </div>
10997</td>
10998</tr>
10999
11000 </table>
11001
11002
11003 <div class="methodsubtabletitle">Body parameters</div>
11004 <table id="methodsubtable">
11005 <tr>
11006 <th width="150px">Name</th>
11007 <th>Description</th>
11008 </tr>
11009 <tr><td style="width:150px;">body </td>
11010<td>
11011
11012
11013<script>
11014$(document).ready(function() {
11015 var schemaWrapper = {
11016 "in" : "body",
11017 "name" : "body",
11018 "required" : false,
11019 "schema" : {
11020 "type" : "string"
11021 }
11022};
11023 var schema = schemaWrapper.schema;
11024 if (schema.$ref != null) {
11025 schema = defsParser.$refs.get(schema.$ref);
11026 } else {
11027 schemaWrapper.definitions = Object.assign({}, defs);
11028 $RefParser.dereference(schemaWrapper).catch(function(err) {
11029 console.log(err);
11030 });
11031 }
11032
11033 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
11034 var result = $('#d2e199_deleteNetworkInstance_body');
11035 result.empty();
11036 result.append(view.render());
11037});
11038</script>
11039<div id="d2e199_deleteNetworkInstance_body"></div>
11040</td>
11041</tr>
11042
11043 </table>
11044
11045
11046
11047 <h2>Responses</h2>
11048 <h3> Status: default - successful operation </h3>
11049
11050 <ul class="nav nav-tabs nav-tabs-examples" >
11051 </ul>
11052
11053 <div class="tab-content" style='margin-bottom: 10px;'>
11054 </div>
11055
11056 </article>
11057 </div>
11058 <hr>
11059 <div id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration">
11060 <article id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration-0" data-group="User" data-name="deletePortConfiguration" data-version="0">
11061 <div class="pull-left">
11062 <h1>deletePortConfiguration</h1>
11063 <p>Delete provided Port</p>
11064 </div>
11065 <div class="pull-right"></div>
11066 <div class="clearfix"></div>
11067 <p></p>
11068 <p class="marked"></p>
11069 <p></p>
11070 <br />
11071 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}</span></code></pre>
11072 <p>
11073 <h3>Usage and SDK Samples</h3>
11074 </p>
11075 <ul class="nav nav-tabs nav-tabs-examples">
11076 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">Curl</a></li>
11077 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">Java</a></li>
11078 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">Android</a></li>
11079 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">Groovy</a></li>-->
11080 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">Obj-C</a></li>
11081 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">JavaScript</a></li>
11082 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">Angular</a></li>-->
11083 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">C#</a></li>
11084 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">PHP</a></li>
11085 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">Perl</a></li>
11086 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">Python</a></li>
11087 </ul>
11088
11089 <div class="tab-content">
11090 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053011091 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080011092 </div>
11093 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">
11094 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11095import io.swagger.client.auth.*;
11096import io.swagger.client.model.*;
11097import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11098
11099import java.io.File;
11100import java.util.*;
11101
11102public class OnapsoinfraserviceInstantiationApiExample {
11103
11104 public static void main(String[] args) {
11105
11106 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11107 String version = version_example; // String |
11108 String serviceInstanceId = serviceInstanceId_example; // String |
11109 String configurationInstanceId = configurationInstanceId_example; // String |
11110 String body = body_example; // String |
11111 try {
11112 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
11113 } catch (ApiException e) {
11114 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deletePortConfiguration");
11115 e.printStackTrace();
11116 }
11117 }
11118}</code></pre>
11119 </div>
11120
11121 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">
11122 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11123
11124public class OnapsoinfraserviceInstantiationApiExample {
11125
11126 public static void main(String[] args) {
11127 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11128 String version = version_example; // String |
11129 String serviceInstanceId = serviceInstanceId_example; // String |
11130 String configurationInstanceId = configurationInstanceId_example; // String |
11131 String body = body_example; // String |
11132 try {
11133 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
11134 } catch (ApiException e) {
11135 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deletePortConfiguration");
11136 e.printStackTrace();
11137 }
11138 }
11139}</code></pre>
11140 </div>
11141 <!--
11142 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">
11143 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11144 </div> -->
11145 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">
11146 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
11147String *serviceInstanceId = serviceInstanceId_example; //
11148String *configurationInstanceId = configurationInstanceId_example; //
11149String *body = body_example; // (optional)
11150
11151OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
11152
11153// Delete provided Port
11154[apiInstance deletePortConfigurationWith:version
11155 serviceInstanceId:serviceInstanceId
11156 configurationInstanceId:configurationInstanceId
11157 body:body
11158 completionHandler: ^(NSError* error) {
11159 if (error) {
11160 NSLog(@"Error: %@", error);
11161 }
11162 }];
11163</code></pre>
11164 </div>
11165
11166 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">
11167 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
11168
11169var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
11170
11171var version = version_example; // {String}
11172
11173var serviceInstanceId = serviceInstanceId_example; // {String}
11174
11175var configurationInstanceId = configurationInstanceId_example; // {String}
11176
11177var opts = {
11178 'body': body_example // {String}
11179};
11180
11181var callback = function(error, data, response) {
11182 if (error) {
11183 console.error(error);
11184 } else {
11185 console.log('API called successfully.');
11186 }
11187};
11188api.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, opts, callback);
11189</code></pre>
11190 </div>
11191
11192 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">
11193 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11194 </div>-->
11195 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">
11196 <pre class="prettyprint"><code class="language-cs">using System;
11197using System.Diagnostics;
11198using IO.Swagger.Api;
11199using IO.Swagger.Client;
11200using IO.Swagger.Model;
11201
11202namespace Example
11203{
11204 public class deletePortConfigurationExample
11205 {
11206 public void main()
11207 {
11208
11209 var apiInstance = new OnapsoinfraserviceInstantiationApi();
11210 var version = version_example; // String |
11211 var serviceInstanceId = serviceInstanceId_example; // String |
11212 var configurationInstanceId = configurationInstanceId_example; // String |
11213 var body = body_example; // String | (optional)
11214
11215 try
11216 {
11217 // Delete provided Port
11218 apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body);
11219 }
11220 catch (Exception e)
11221 {
11222 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deletePortConfiguration: " + e.Message );
11223 }
11224 }
11225 }
11226}
11227</code></pre>
11228 </div>
11229
11230 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">
11231 <pre class="prettyprint"><code class="language-php"><&#63;php
11232require_once(__DIR__ . '/vendor/autoload.php');
11233
11234$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
11235$version = version_example; // String |
11236$serviceInstanceId = serviceInstanceId_example; // String |
11237$configurationInstanceId = configurationInstanceId_example; // String |
11238$body = body_example; // String |
11239
11240try {
11241 $api_instance->deletePortConfiguration($version, $serviceInstanceId, $configurationInstanceId, $body);
11242} catch (Exception $e) {
11243 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: ', $e->getMessage(), PHP_EOL;
11244}
11245?></code></pre>
11246 </div>
11247
11248 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">
11249 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11250use WWW::SwaggerClient::Configuration;
11251use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
11252
11253my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
11254my $version = version_example; # String |
11255my $serviceInstanceId = serviceInstanceId_example; # String |
11256my $configurationInstanceId = configurationInstanceId_example; # String |
11257my $body = WWW::SwaggerClient::Object::String->new(); # String |
11258
11259eval {
11260 $api_instance->deletePortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
11261};
11262if ($@) {
11263 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: $@\n";
11264}</code></pre>
11265 </div>
11266
11267 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">
11268 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11269import time
11270import swagger_client
11271from swagger_client.rest import ApiException
11272from pprint import pprint
11273
11274# create an instance of the API class
11275api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
11276version = version_example # String |
11277serviceInstanceId = serviceInstanceId_example # String |
11278configurationInstanceId = configurationInstanceId_example # String |
11279body = body_example # String | (optional)
11280
11281try:
11282 # Delete provided Port
11283 api_instance.delete_port_configuration(version, serviceInstanceId, configurationInstanceId, body=body)
11284except ApiException as e:
11285 print("Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: %s\n" % e)</code></pre>
11286 </div>
11287 </div>
11288
11289 <h2>Parameters</h2>
11290
11291 <div class="methodsubtabletitle">Path parameters</div>
11292 <table id="methodsubtable">
11293 <tr>
11294 <th width="150px">Name</th>
11295 <th>Description</th>
11296 </tr>
11297 <tr><td style="width:150px;">version*</td>
11298<td>
11299
11300
11301 <div id="d2e199_deletePortConfiguration_version">
11302 <div class="json-schema-view">
11303 <div class="primitive">
11304 <span class="type">
11305 String
11306 </span>
11307
11308 </div>
11309 <div class="inner required">
11310 Required
11311 </div>
11312 </div>
11313 </div>
11314</td>
11315</tr>
11316
11317 <tr><td style="width:150px;">serviceInstanceId*</td>
11318<td>
11319
11320
11321 <div id="d2e199_deletePortConfiguration_serviceInstanceId">
11322 <div class="json-schema-view">
11323 <div class="primitive">
11324 <span class="type">
11325 String
11326 </span>
11327
11328 </div>
11329 <div class="inner required">
11330 Required
11331 </div>
11332 </div>
11333 </div>
11334</td>
11335</tr>
11336
11337 <tr><td style="width:150px;">configurationInstanceId*</td>
11338<td>
11339
11340
11341 <div id="d2e199_deletePortConfiguration_configurationInstanceId">
11342 <div class="json-schema-view">
11343 <div class="primitive">
11344 <span class="type">
11345 String
11346 </span>
11347
11348 </div>
11349 <div class="inner required">
11350 Required
11351 </div>
11352 </div>
11353 </div>
11354</td>
11355</tr>
11356
11357 </table>
11358
11359
11360 <div class="methodsubtabletitle">Body parameters</div>
11361 <table id="methodsubtable">
11362 <tr>
11363 <th width="150px">Name</th>
11364 <th>Description</th>
11365 </tr>
11366 <tr><td style="width:150px;">body </td>
11367<td>
11368
11369
11370<script>
11371$(document).ready(function() {
11372 var schemaWrapper = {
11373 "in" : "body",
11374 "name" : "body",
11375 "required" : false,
11376 "schema" : {
11377 "type" : "string"
11378 }
11379};
11380 var schema = schemaWrapper.schema;
11381 if (schema.$ref != null) {
11382 schema = defsParser.$refs.get(schema.$ref);
11383 } else {
11384 schemaWrapper.definitions = Object.assign({}, defs);
11385 $RefParser.dereference(schemaWrapper).catch(function(err) {
11386 console.log(err);
11387 });
11388 }
11389
11390 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
11391 var result = $('#d2e199_deletePortConfiguration_body');
11392 result.empty();
11393 result.append(view.render());
11394});
11395</script>
11396<div id="d2e199_deletePortConfiguration_body"></div>
11397</td>
11398</tr>
11399
11400 </table>
11401
11402
11403
11404 <h2>Responses</h2>
11405 <h3> Status: default - successful operation </h3>
11406
11407 <ul class="nav nav-tabs nav-tabs-examples" >
11408 </ul>
11409
11410 <div class="tab-content" style='margin-bottom: 10px;'>
11411 </div>
11412
11413 </article>
11414 </div>
11415 <hr>
11416 <div id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance">
11417 <article id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance-0" data-group="User" data-name="deleteServiceInstance" data-version="0">
11418 <div class="pull-left">
11419 <h1>deleteServiceInstance</h1>
11420 <p>Delete provided Service Instance</p>
11421 </div>
11422 <div class="pull-right"></div>
11423 <div class="clearfix"></div>
11424 <p></p>
11425 <p class="marked"></p>
11426 <p></p>
11427 <br />
11428 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}</span></code></pre>
11429 <p>
11430 <h3>Usage and SDK Samples</h3>
11431 </p>
11432 <ul class="nav nav-tabs nav-tabs-examples">
11433 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">Curl</a></li>
11434 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">Java</a></li>
11435 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">Android</a></li>
11436 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">Groovy</a></li>-->
11437 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">Obj-C</a></li>
11438 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">JavaScript</a></li>
11439 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">Angular</a></li>-->
11440 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">C#</a></li>
11441 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">PHP</a></li>
11442 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">Perl</a></li>
11443 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">Python</a></li>
11444 </ul>
11445
11446 <div class="tab-content">
11447 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053011448 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080011449 </div>
11450 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">
11451 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11452import io.swagger.client.auth.*;
11453import io.swagger.client.model.*;
11454import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11455
11456import java.io.File;
11457import java.util.*;
11458
11459public class OnapsoinfraserviceInstantiationApiExample {
11460
11461 public static void main(String[] args) {
11462
11463 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11464 String version = version_example; // String |
11465 String serviceInstanceId = serviceInstanceId_example; // String |
11466 String body = body_example; // String |
11467 try {
11468 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
11469 } catch (ApiException e) {
11470 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteServiceInstance");
11471 e.printStackTrace();
11472 }
11473 }
11474}</code></pre>
11475 </div>
11476
11477 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">
11478 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11479
11480public class OnapsoinfraserviceInstantiationApiExample {
11481
11482 public static void main(String[] args) {
11483 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11484 String version = version_example; // String |
11485 String serviceInstanceId = serviceInstanceId_example; // String |
11486 String body = body_example; // String |
11487 try {
11488 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
11489 } catch (ApiException e) {
11490 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteServiceInstance");
11491 e.printStackTrace();
11492 }
11493 }
11494}</code></pre>
11495 </div>
11496 <!--
11497 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">
11498 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11499 </div> -->
11500 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">
11501 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
11502String *serviceInstanceId = serviceInstanceId_example; //
11503String *body = body_example; // (optional)
11504
11505OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
11506
11507// Delete provided Service Instance
11508[apiInstance deleteServiceInstanceWith:version
11509 serviceInstanceId:serviceInstanceId
11510 body:body
11511 completionHandler: ^(NSError* error) {
11512 if (error) {
11513 NSLog(@"Error: %@", error);
11514 }
11515 }];
11516</code></pre>
11517 </div>
11518
11519 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">
11520 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
11521
11522var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
11523
11524var version = version_example; // {String}
11525
11526var serviceInstanceId = serviceInstanceId_example; // {String}
11527
11528var opts = {
11529 'body': body_example // {String}
11530};
11531
11532var callback = function(error, data, response) {
11533 if (error) {
11534 console.error(error);
11535 } else {
11536 console.log('API called successfully.');
11537 }
11538};
11539api.deleteServiceInstance(version, serviceInstanceId, opts, callback);
11540</code></pre>
11541 </div>
11542
11543 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">
11544 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11545 </div>-->
11546 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">
11547 <pre class="prettyprint"><code class="language-cs">using System;
11548using System.Diagnostics;
11549using IO.Swagger.Api;
11550using IO.Swagger.Client;
11551using IO.Swagger.Model;
11552
11553namespace Example
11554{
11555 public class deleteServiceInstanceExample
11556 {
11557 public void main()
11558 {
11559
11560 var apiInstance = new OnapsoinfraserviceInstantiationApi();
11561 var version = version_example; // String |
11562 var serviceInstanceId = serviceInstanceId_example; // String |
11563 var body = body_example; // String | (optional)
11564
11565 try
11566 {
11567 // Delete provided Service Instance
11568 apiInstance.deleteServiceInstance(version, serviceInstanceId, body);
11569 }
11570 catch (Exception e)
11571 {
11572 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteServiceInstance: " + e.Message );
11573 }
11574 }
11575 }
11576}
11577</code></pre>
11578 </div>
11579
11580 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">
11581 <pre class="prettyprint"><code class="language-php"><&#63;php
11582require_once(__DIR__ . '/vendor/autoload.php');
11583
11584$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
11585$version = version_example; // String |
11586$serviceInstanceId = serviceInstanceId_example; // String |
11587$body = body_example; // String |
11588
11589try {
11590 $api_instance->deleteServiceInstance($version, $serviceInstanceId, $body);
11591} catch (Exception $e) {
11592 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: ', $e->getMessage(), PHP_EOL;
11593}
11594?></code></pre>
11595 </div>
11596
11597 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">
11598 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11599use WWW::SwaggerClient::Configuration;
11600use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
11601
11602my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
11603my $version = version_example; # String |
11604my $serviceInstanceId = serviceInstanceId_example; # String |
11605my $body = WWW::SwaggerClient::Object::String->new(); # String |
11606
11607eval {
11608 $api_instance->deleteServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
11609};
11610if ($@) {
11611 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: $@\n";
11612}</code></pre>
11613 </div>
11614
11615 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">
11616 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11617import time
11618import swagger_client
11619from swagger_client.rest import ApiException
11620from pprint import pprint
11621
11622# create an instance of the API class
11623api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
11624version = version_example # String |
11625serviceInstanceId = serviceInstanceId_example # String |
11626body = body_example # String | (optional)
11627
11628try:
11629 # Delete provided Service Instance
11630 api_instance.delete_service_instance(version, serviceInstanceId, body=body)
11631except ApiException as e:
11632 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: %s\n" % e)</code></pre>
11633 </div>
11634 </div>
11635
11636 <h2>Parameters</h2>
11637
11638 <div class="methodsubtabletitle">Path parameters</div>
11639 <table id="methodsubtable">
11640 <tr>
11641 <th width="150px">Name</th>
11642 <th>Description</th>
11643 </tr>
11644 <tr><td style="width:150px;">version*</td>
11645<td>
11646
11647
11648 <div id="d2e199_deleteServiceInstance_version">
11649 <div class="json-schema-view">
11650 <div class="primitive">
11651 <span class="type">
11652 String
11653 </span>
11654
11655 </div>
11656 <div class="inner required">
11657 Required
11658 </div>
11659 </div>
11660 </div>
11661</td>
11662</tr>
11663
11664 <tr><td style="width:150px;">serviceInstanceId*</td>
11665<td>
11666
11667
11668 <div id="d2e199_deleteServiceInstance_serviceInstanceId">
11669 <div class="json-schema-view">
11670 <div class="primitive">
11671 <span class="type">
11672 String
11673 </span>
11674
11675 </div>
11676 <div class="inner required">
11677 Required
11678 </div>
11679 </div>
11680 </div>
11681</td>
11682</tr>
11683
11684 </table>
11685
11686
11687 <div class="methodsubtabletitle">Body parameters</div>
11688 <table id="methodsubtable">
11689 <tr>
11690 <th width="150px">Name</th>
11691 <th>Description</th>
11692 </tr>
11693 <tr><td style="width:150px;">body </td>
11694<td>
11695
11696
11697<script>
11698$(document).ready(function() {
11699 var schemaWrapper = {
11700 "in" : "body",
11701 "name" : "body",
11702 "required" : false,
11703 "schema" : {
11704 "type" : "string"
11705 }
11706};
11707 var schema = schemaWrapper.schema;
11708 if (schema.$ref != null) {
11709 schema = defsParser.$refs.get(schema.$ref);
11710 } else {
11711 schemaWrapper.definitions = Object.assign({}, defs);
11712 $RefParser.dereference(schemaWrapper).catch(function(err) {
11713 console.log(err);
11714 });
11715 }
11716
11717 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
11718 var result = $('#d2e199_deleteServiceInstance_body');
11719 result.empty();
11720 result.append(view.render());
11721});
11722</script>
11723<div id="d2e199_deleteServiceInstance_body"></div>
11724</td>
11725</tr>
11726
11727 </table>
11728
11729
11730
11731 <h2>Responses</h2>
11732 <h3> Status: default - successful operation </h3>
11733
11734 <ul class="nav nav-tabs nav-tabs-examples" >
11735 </ul>
11736
11737 <div class="tab-content" style='margin-bottom: 10px;'>
11738 </div>
11739
11740 </article>
11741 </div>
11742 <hr>
11743 <div id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">
11744 <article id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0" data-group="User" data-name="deleteVfModuleInstance" data-version="0">
11745 <div class="pull-left">
11746 <h1>deleteVfModuleInstance</h1>
11747 <p>Delete provided VfModule instance</p>
11748 </div>
11749 <div class="pull-right"></div>
11750 <div class="clearfix"></div>
11751 <p></p>
11752 <p class="marked"></p>
11753 <p></p>
11754 <br />
11755 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre>
11756 <p>
11757 <h3>Usage and SDK Samples</h3>
11758 </p>
11759 <ul class="nav nav-tabs nav-tabs-examples">
11760 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">Curl</a></li>
11761 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">Java</a></li>
11762 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">Android</a></li>
11763 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">Groovy</a></li>-->
11764 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">Obj-C</a></li>
11765 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">JavaScript</a></li>
11766 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">Angular</a></li>-->
11767 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">C#</a></li>
11768 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">PHP</a></li>
11769 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">Perl</a></li>
11770 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">Python</a></li>
11771 </ul>
11772
11773 <div class="tab-content">
11774 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053011775 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080011776 </div>
11777 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">
11778 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
11779import io.swagger.client.auth.*;
11780import io.swagger.client.model.*;
11781import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11782
11783import java.io.File;
11784import java.util.*;
11785
11786public class OnapsoinfraserviceInstantiationApiExample {
11787
11788 public static void main(String[] args) {
11789
11790 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11791 String version = version_example; // String |
11792 String serviceInstanceId = serviceInstanceId_example; // String |
11793 String vnfInstanceId = vnfInstanceId_example; // String |
11794 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
11795 String body = body_example; // String |
11796 try {
11797 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
11798 } catch (ApiException e) {
11799 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVfModuleInstance");
11800 e.printStackTrace();
11801 }
11802 }
11803}</code></pre>
11804 </div>
11805
11806 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">
11807 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
11808
11809public class OnapsoinfraserviceInstantiationApiExample {
11810
11811 public static void main(String[] args) {
11812 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
11813 String version = version_example; // String |
11814 String serviceInstanceId = serviceInstanceId_example; // String |
11815 String vnfInstanceId = vnfInstanceId_example; // String |
11816 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
11817 String body = body_example; // String |
11818 try {
11819 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
11820 } catch (ApiException e) {
11821 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVfModuleInstance");
11822 e.printStackTrace();
11823 }
11824 }
11825}</code></pre>
11826 </div>
11827 <!--
11828 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">
11829 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11830 </div> -->
11831 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">
11832 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
11833String *serviceInstanceId = serviceInstanceId_example; //
11834String *vnfInstanceId = vnfInstanceId_example; //
11835String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
11836String *body = body_example; // (optional)
11837
11838OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
11839
11840// Delete provided VfModule instance
11841[apiInstance deleteVfModuleInstanceWith:version
11842 serviceInstanceId:serviceInstanceId
11843 vnfInstanceId:vnfInstanceId
11844 vfmoduleInstanceId:vfmoduleInstanceId
11845 body:body
11846 completionHandler: ^(NSError* error) {
11847 if (error) {
11848 NSLog(@"Error: %@", error);
11849 }
11850 }];
11851</code></pre>
11852 </div>
11853
11854 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">
11855 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
11856
11857var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
11858
11859var version = version_example; // {String}
11860
11861var serviceInstanceId = serviceInstanceId_example; // {String}
11862
11863var vnfInstanceId = vnfInstanceId_example; // {String}
11864
11865var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
11866
11867var opts = {
11868 'body': body_example // {String}
11869};
11870
11871var callback = function(error, data, response) {
11872 if (error) {
11873 console.error(error);
11874 } else {
11875 console.log('API called successfully.');
11876 }
11877};
11878api.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
11879</code></pre>
11880 </div>
11881
11882 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">
11883 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
11884 </div>-->
11885 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">
11886 <pre class="prettyprint"><code class="language-cs">using System;
11887using System.Diagnostics;
11888using IO.Swagger.Api;
11889using IO.Swagger.Client;
11890using IO.Swagger.Model;
11891
11892namespace Example
11893{
11894 public class deleteVfModuleInstanceExample
11895 {
11896 public void main()
11897 {
11898
11899 var apiInstance = new OnapsoinfraserviceInstantiationApi();
11900 var version = version_example; // String |
11901 var serviceInstanceId = serviceInstanceId_example; // String |
11902 var vnfInstanceId = vnfInstanceId_example; // String |
11903 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
11904 var body = body_example; // String | (optional)
11905
11906 try
11907 {
11908 // Delete provided VfModule instance
11909 apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
11910 }
11911 catch (Exception e)
11912 {
11913 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVfModuleInstance: " + e.Message );
11914 }
11915 }
11916 }
11917}
11918</code></pre>
11919 </div>
11920
11921 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">
11922 <pre class="prettyprint"><code class="language-php"><&#63;php
11923require_once(__DIR__ . '/vendor/autoload.php');
11924
11925$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
11926$version = version_example; // String |
11927$serviceInstanceId = serviceInstanceId_example; // String |
11928$vnfInstanceId = vnfInstanceId_example; // String |
11929$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
11930$body = body_example; // String |
11931
11932try {
11933 $api_instance->deleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
11934} catch (Exception $e) {
11935 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: ', $e->getMessage(), PHP_EOL;
11936}
11937?></code></pre>
11938 </div>
11939
11940 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">
11941 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
11942use WWW::SwaggerClient::Configuration;
11943use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
11944
11945my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
11946my $version = version_example; # String |
11947my $serviceInstanceId = serviceInstanceId_example; # String |
11948my $vnfInstanceId = vnfInstanceId_example; # String |
11949my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
11950my $body = WWW::SwaggerClient::Object::String->new(); # String |
11951
11952eval {
11953 $api_instance->deleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
11954};
11955if ($@) {
11956 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: $@\n";
11957}</code></pre>
11958 </div>
11959
11960 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">
11961 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
11962import time
11963import swagger_client
11964from swagger_client.rest import ApiException
11965from pprint import pprint
11966
11967# create an instance of the API class
11968api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
11969version = version_example # String |
11970serviceInstanceId = serviceInstanceId_example # String |
11971vnfInstanceId = vnfInstanceId_example # String |
11972vfmoduleInstanceId = vfmoduleInstanceId_example # String |
11973body = body_example # String | (optional)
11974
11975try:
11976 # Delete provided VfModule instance
11977 api_instance.delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
11978except ApiException as e:
11979 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: %s\n" % e)</code></pre>
11980 </div>
11981 </div>
11982
11983 <h2>Parameters</h2>
11984
11985 <div class="methodsubtabletitle">Path parameters</div>
11986 <table id="methodsubtable">
11987 <tr>
11988 <th width="150px">Name</th>
11989 <th>Description</th>
11990 </tr>
11991 <tr><td style="width:150px;">version*</td>
11992<td>
11993
11994
11995 <div id="d2e199_deleteVfModuleInstance_version">
11996 <div class="json-schema-view">
11997 <div class="primitive">
11998 <span class="type">
11999 String
12000 </span>
12001
12002 </div>
12003 <div class="inner required">
12004 Required
12005 </div>
12006 </div>
12007 </div>
12008</td>
12009</tr>
12010
12011 <tr><td style="width:150px;">serviceInstanceId*</td>
12012<td>
12013
12014
12015 <div id="d2e199_deleteVfModuleInstance_serviceInstanceId">
12016 <div class="json-schema-view">
12017 <div class="primitive">
12018 <span class="type">
12019 String
12020 </span>
12021
12022 </div>
12023 <div class="inner required">
12024 Required
12025 </div>
12026 </div>
12027 </div>
12028</td>
12029</tr>
12030
12031 <tr><td style="width:150px;">vnfInstanceId*</td>
12032<td>
12033
12034
12035 <div id="d2e199_deleteVfModuleInstance_vnfInstanceId">
12036 <div class="json-schema-view">
12037 <div class="primitive">
12038 <span class="type">
12039 String
12040 </span>
12041
12042 </div>
12043 <div class="inner required">
12044 Required
12045 </div>
12046 </div>
12047 </div>
12048</td>
12049</tr>
12050
12051 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
12052<td>
12053
12054
12055 <div id="d2e199_deleteVfModuleInstance_vfmoduleInstanceId">
12056 <div class="json-schema-view">
12057 <div class="primitive">
12058 <span class="type">
12059 String
12060 </span>
12061
12062 </div>
12063 <div class="inner required">
12064 Required
12065 </div>
12066 </div>
12067 </div>
12068</td>
12069</tr>
12070
12071 </table>
12072
12073
12074 <div class="methodsubtabletitle">Body parameters</div>
12075 <table id="methodsubtable">
12076 <tr>
12077 <th width="150px">Name</th>
12078 <th>Description</th>
12079 </tr>
12080 <tr><td style="width:150px;">body </td>
12081<td>
12082
12083
12084<script>
12085$(document).ready(function() {
12086 var schemaWrapper = {
12087 "in" : "body",
12088 "name" : "body",
12089 "required" : false,
12090 "schema" : {
12091 "type" : "string"
12092 }
12093};
12094 var schema = schemaWrapper.schema;
12095 if (schema.$ref != null) {
12096 schema = defsParser.$refs.get(schema.$ref);
12097 } else {
12098 schemaWrapper.definitions = Object.assign({}, defs);
12099 $RefParser.dereference(schemaWrapper).catch(function(err) {
12100 console.log(err);
12101 });
12102 }
12103
12104 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12105 var result = $('#d2e199_deleteVfModuleInstance_body');
12106 result.empty();
12107 result.append(view.render());
12108});
12109</script>
12110<div id="d2e199_deleteVfModuleInstance_body"></div>
12111</td>
12112</tr>
12113
12114 </table>
12115
12116
12117
12118 <h2>Responses</h2>
12119 <h3> Status: default - successful operation </h3>
12120
12121 <ul class="nav nav-tabs nav-tabs-examples" >
12122 </ul>
12123
12124 <div class="tab-content" style='margin-bottom: 10px;'>
12125 </div>
12126
12127 </article>
12128 </div>
12129 <hr>
12130 <div id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance">
12131 <article id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance-0" data-group="User" data-name="deleteVnfInstance" data-version="0">
12132 <div class="pull-left">
12133 <h1>deleteVnfInstance</h1>
12134 <p>Delete provided VNF instance</p>
12135 </div>
12136 <div class="pull-right"></div>
12137 <div class="clearfix"></div>
12138 <p></p>
12139 <p class="marked"></p>
12140 <p></p>
12141 <br />
12142 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre>
12143 <p>
12144 <h3>Usage and SDK Samples</h3>
12145 </p>
12146 <ul class="nav nav-tabs nav-tabs-examples">
12147 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">Curl</a></li>
12148 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">Java</a></li>
12149 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">Android</a></li>
12150 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">Groovy</a></li>-->
12151 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">Obj-C</a></li>
12152 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">JavaScript</a></li>
12153 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">Angular</a></li>-->
12154 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">C#</a></li>
12155 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">PHP</a></li>
12156 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">Perl</a></li>
12157 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">Python</a></li>
12158 </ul>
12159
12160 <div class="tab-content">
12161 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053012162 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080012163 </div>
12164 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">
12165 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12166import io.swagger.client.auth.*;
12167import io.swagger.client.model.*;
12168import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12169
12170import java.io.File;
12171import java.util.*;
12172
12173public class OnapsoinfraserviceInstantiationApiExample {
12174
12175 public static void main(String[] args) {
12176
12177 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12178 String version = version_example; // String |
12179 String serviceInstanceId = serviceInstanceId_example; // String |
12180 String vnfInstanceId = vnfInstanceId_example; // String |
12181 String body = body_example; // String |
12182 try {
12183 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
12184 } catch (ApiException e) {
12185 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVnfInstance");
12186 e.printStackTrace();
12187 }
12188 }
12189}</code></pre>
12190 </div>
12191
12192 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">
12193 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12194
12195public class OnapsoinfraserviceInstantiationApiExample {
12196
12197 public static void main(String[] args) {
12198 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12199 String version = version_example; // String |
12200 String serviceInstanceId = serviceInstanceId_example; // String |
12201 String vnfInstanceId = vnfInstanceId_example; // String |
12202 String body = body_example; // String |
12203 try {
12204 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
12205 } catch (ApiException e) {
12206 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVnfInstance");
12207 e.printStackTrace();
12208 }
12209 }
12210}</code></pre>
12211 </div>
12212 <!--
12213 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">
12214 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12215 </div> -->
12216 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">
12217 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12218String *serviceInstanceId = serviceInstanceId_example; //
12219String *vnfInstanceId = vnfInstanceId_example; //
12220String *body = body_example; // (optional)
12221
12222OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12223
12224// Delete provided VNF instance
12225[apiInstance deleteVnfInstanceWith:version
12226 serviceInstanceId:serviceInstanceId
12227 vnfInstanceId:vnfInstanceId
12228 body:body
12229 completionHandler: ^(NSError* error) {
12230 if (error) {
12231 NSLog(@"Error: %@", error);
12232 }
12233 }];
12234</code></pre>
12235 </div>
12236
12237 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">
12238 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
12239
12240var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
12241
12242var version = version_example; // {String}
12243
12244var serviceInstanceId = serviceInstanceId_example; // {String}
12245
12246var vnfInstanceId = vnfInstanceId_example; // {String}
12247
12248var opts = {
12249 'body': body_example // {String}
12250};
12251
12252var callback = function(error, data, response) {
12253 if (error) {
12254 console.error(error);
12255 } else {
12256 console.log('API called successfully.');
12257 }
12258};
12259api.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
12260</code></pre>
12261 </div>
12262
12263 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">
12264 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12265 </div>-->
12266 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">
12267 <pre class="prettyprint"><code class="language-cs">using System;
12268using System.Diagnostics;
12269using IO.Swagger.Api;
12270using IO.Swagger.Client;
12271using IO.Swagger.Model;
12272
12273namespace Example
12274{
12275 public class deleteVnfInstanceExample
12276 {
12277 public void main()
12278 {
12279
12280 var apiInstance = new OnapsoinfraserviceInstantiationApi();
12281 var version = version_example; // String |
12282 var serviceInstanceId = serviceInstanceId_example; // String |
12283 var vnfInstanceId = vnfInstanceId_example; // String |
12284 var body = body_example; // String | (optional)
12285
12286 try
12287 {
12288 // Delete provided VNF instance
12289 apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
12290 }
12291 catch (Exception e)
12292 {
12293 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVnfInstance: " + e.Message );
12294 }
12295 }
12296 }
12297}
12298</code></pre>
12299 </div>
12300
12301 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">
12302 <pre class="prettyprint"><code class="language-php"><&#63;php
12303require_once(__DIR__ . '/vendor/autoload.php');
12304
12305$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
12306$version = version_example; // String |
12307$serviceInstanceId = serviceInstanceId_example; // String |
12308$vnfInstanceId = vnfInstanceId_example; // String |
12309$body = body_example; // String |
12310
12311try {
12312 $api_instance->deleteVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
12313} catch (Exception $e) {
12314 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: ', $e->getMessage(), PHP_EOL;
12315}
12316?></code></pre>
12317 </div>
12318
12319 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">
12320 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12321use WWW::SwaggerClient::Configuration;
12322use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
12323
12324my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
12325my $version = version_example; # String |
12326my $serviceInstanceId = serviceInstanceId_example; # String |
12327my $vnfInstanceId = vnfInstanceId_example; # String |
12328my $body = WWW::SwaggerClient::Object::String->new(); # String |
12329
12330eval {
12331 $api_instance->deleteVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
12332};
12333if ($@) {
12334 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: $@\n";
12335}</code></pre>
12336 </div>
12337
12338 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">
12339 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12340import time
12341import swagger_client
12342from swagger_client.rest import ApiException
12343from pprint import pprint
12344
12345# create an instance of the API class
12346api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
12347version = version_example # String |
12348serviceInstanceId = serviceInstanceId_example # String |
12349vnfInstanceId = vnfInstanceId_example # String |
12350body = body_example # String | (optional)
12351
12352try:
12353 # Delete provided VNF instance
12354 api_instance.delete_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
12355except ApiException as e:
12356 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: %s\n" % e)</code></pre>
12357 </div>
12358 </div>
12359
12360 <h2>Parameters</h2>
12361
12362 <div class="methodsubtabletitle">Path parameters</div>
12363 <table id="methodsubtable">
12364 <tr>
12365 <th width="150px">Name</th>
12366 <th>Description</th>
12367 </tr>
12368 <tr><td style="width:150px;">version*</td>
12369<td>
12370
12371
12372 <div id="d2e199_deleteVnfInstance_version">
12373 <div class="json-schema-view">
12374 <div class="primitive">
12375 <span class="type">
12376 String
12377 </span>
12378
12379 </div>
12380 <div class="inner required">
12381 Required
12382 </div>
12383 </div>
12384 </div>
12385</td>
12386</tr>
12387
12388 <tr><td style="width:150px;">serviceInstanceId*</td>
12389<td>
12390
12391
12392 <div id="d2e199_deleteVnfInstance_serviceInstanceId">
12393 <div class="json-schema-view">
12394 <div class="primitive">
12395 <span class="type">
12396 String
12397 </span>
12398
12399 </div>
12400 <div class="inner required">
12401 Required
12402 </div>
12403 </div>
12404 </div>
12405</td>
12406</tr>
12407
12408 <tr><td style="width:150px;">vnfInstanceId*</td>
12409<td>
12410
12411
12412 <div id="d2e199_deleteVnfInstance_vnfInstanceId">
12413 <div class="json-schema-view">
12414 <div class="primitive">
12415 <span class="type">
12416 String
12417 </span>
12418
12419 </div>
12420 <div class="inner required">
12421 Required
12422 </div>
12423 </div>
12424 </div>
12425</td>
12426</tr>
12427
12428 </table>
12429
12430
12431 <div class="methodsubtabletitle">Body parameters</div>
12432 <table id="methodsubtable">
12433 <tr>
12434 <th width="150px">Name</th>
12435 <th>Description</th>
12436 </tr>
12437 <tr><td style="width:150px;">body </td>
12438<td>
12439
12440
12441<script>
12442$(document).ready(function() {
12443 var schemaWrapper = {
12444 "in" : "body",
12445 "name" : "body",
12446 "required" : false,
12447 "schema" : {
12448 "type" : "string"
12449 }
12450};
12451 var schema = schemaWrapper.schema;
12452 if (schema.$ref != null) {
12453 schema = defsParser.$refs.get(schema.$ref);
12454 } else {
12455 schemaWrapper.definitions = Object.assign({}, defs);
12456 $RefParser.dereference(schemaWrapper).catch(function(err) {
12457 console.log(err);
12458 });
12459 }
12460
12461 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12462 var result = $('#d2e199_deleteVnfInstance_body');
12463 result.empty();
12464 result.append(view.render());
12465});
12466</script>
12467<div id="d2e199_deleteVnfInstance_body"></div>
12468</td>
12469</tr>
12470
12471 </table>
12472
12473
12474
12475 <h2>Responses</h2>
12476 <h3> Status: default - successful operation </h3>
12477
12478 <ul class="nav nav-tabs nav-tabs-examples" >
12479 </ul>
12480
12481 <div class="tab-content" style='margin-bottom: 10px;'>
12482 </div>
12483
12484 </article>
12485 </div>
12486 <hr>
12487 <div id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">
12488 <article id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0" data-group="User" data-name="deleteVolumeGroupInstance" data-version="0">
12489 <div class="pull-left">
12490 <h1>deleteVolumeGroupInstance</h1>
12491 <p>Delete provided VolumeGroup instance</p>
12492 </div>
12493 <div class="pull-right"></div>
12494 <div class="clearfix"></div>
12495 <p></p>
12496 <p class="marked"></p>
12497 <p></p>
12498 <br />
12499 <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre>
12500 <p>
12501 <h3>Usage and SDK Samples</h3>
12502 </p>
12503 <ul class="nav nav-tabs nav-tabs-examples">
12504 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">Curl</a></li>
12505 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">Java</a></li>
12506 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">Android</a></li>
12507 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">Groovy</a></li>-->
12508 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">Obj-C</a></li>
12509 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">JavaScript</a></li>
12510 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">Angular</a></li>-->
12511 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">C#</a></li>
12512 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">PHP</a></li>
12513 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">Perl</a></li>
12514 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">Python</a></li>
12515 </ul>
12516
12517 <div class="tab-content">
12518 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053012519 <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080012520 </div>
12521 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">
12522 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12523import io.swagger.client.auth.*;
12524import io.swagger.client.model.*;
12525import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12526
12527import java.io.File;
12528import java.util.*;
12529
12530public class OnapsoinfraserviceInstantiationApiExample {
12531
12532 public static void main(String[] args) {
12533
12534 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12535 String version = version_example; // String |
12536 String serviceInstanceId = serviceInstanceId_example; // String |
12537 String vnfInstanceId = vnfInstanceId_example; // String |
12538 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
12539 String body = body_example; // String |
12540 try {
12541 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
12542 } catch (ApiException e) {
12543 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVolumeGroupInstance");
12544 e.printStackTrace();
12545 }
12546 }
12547}</code></pre>
12548 </div>
12549
12550 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">
12551 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12552
12553public class OnapsoinfraserviceInstantiationApiExample {
12554
12555 public static void main(String[] args) {
12556 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12557 String version = version_example; // String |
12558 String serviceInstanceId = serviceInstanceId_example; // String |
12559 String vnfInstanceId = vnfInstanceId_example; // String |
12560 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
12561 String body = body_example; // String |
12562 try {
12563 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
12564 } catch (ApiException e) {
12565 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#deleteVolumeGroupInstance");
12566 e.printStackTrace();
12567 }
12568 }
12569}</code></pre>
12570 </div>
12571 <!--
12572 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">
12573 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12574 </div> -->
12575 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">
12576 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12577String *serviceInstanceId = serviceInstanceId_example; //
12578String *vnfInstanceId = vnfInstanceId_example; //
12579String *volumeGroupInstanceId = volumeGroupInstanceId_example; //
12580String *body = body_example; // (optional)
12581
12582OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12583
12584// Delete provided VolumeGroup instance
12585[apiInstance deleteVolumeGroupInstanceWith:version
12586 serviceInstanceId:serviceInstanceId
12587 vnfInstanceId:vnfInstanceId
12588 volumeGroupInstanceId:volumeGroupInstanceId
12589 body:body
12590 completionHandler: ^(NSError* error) {
12591 if (error) {
12592 NSLog(@"Error: %@", error);
12593 }
12594 }];
12595</code></pre>
12596 </div>
12597
12598 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">
12599 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
12600
12601var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
12602
12603var version = version_example; // {String}
12604
12605var serviceInstanceId = serviceInstanceId_example; // {String}
12606
12607var vnfInstanceId = vnfInstanceId_example; // {String}
12608
12609var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String}
12610
12611var opts = {
12612 'body': body_example // {String}
12613};
12614
12615var callback = function(error, data, response) {
12616 if (error) {
12617 console.error(error);
12618 } else {
12619 console.log('API called successfully.');
12620 }
12621};
12622api.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback);
12623</code></pre>
12624 </div>
12625
12626 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">
12627 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12628 </div>-->
12629 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">
12630 <pre class="prettyprint"><code class="language-cs">using System;
12631using System.Diagnostics;
12632using IO.Swagger.Api;
12633using IO.Swagger.Client;
12634using IO.Swagger.Model;
12635
12636namespace Example
12637{
12638 public class deleteVolumeGroupInstanceExample
12639 {
12640 public void main()
12641 {
12642
12643 var apiInstance = new OnapsoinfraserviceInstantiationApi();
12644 var version = version_example; // String |
12645 var serviceInstanceId = serviceInstanceId_example; // String |
12646 var vnfInstanceId = vnfInstanceId_example; // String |
12647 var volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
12648 var body = body_example; // String | (optional)
12649
12650 try
12651 {
12652 // Delete provided VolumeGroup instance
12653 apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
12654 }
12655 catch (Exception e)
12656 {
12657 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.deleteVolumeGroupInstance: " + e.Message );
12658 }
12659 }
12660 }
12661}
12662</code></pre>
12663 </div>
12664
12665 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">
12666 <pre class="prettyprint"><code class="language-php"><&#63;php
12667require_once(__DIR__ . '/vendor/autoload.php');
12668
12669$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
12670$version = version_example; // String |
12671$serviceInstanceId = serviceInstanceId_example; // String |
12672$vnfInstanceId = vnfInstanceId_example; // String |
12673$volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
12674$body = body_example; // String |
12675
12676try {
12677 $api_instance->deleteVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body);
12678} catch (Exception $e) {
12679 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
12680}
12681?></code></pre>
12682 </div>
12683
12684 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">
12685 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
12686use WWW::SwaggerClient::Configuration;
12687use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
12688
12689my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
12690my $version = version_example; # String |
12691my $serviceInstanceId = serviceInstanceId_example; # String |
12692my $vnfInstanceId = vnfInstanceId_example; # String |
12693my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String |
12694my $body = WWW::SwaggerClient::Object::String->new(); # String |
12695
12696eval {
12697 $api_instance->deleteVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body);
12698};
12699if ($@) {
12700 warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: $@\n";
12701}</code></pre>
12702 </div>
12703
12704 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">
12705 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
12706import time
12707import swagger_client
12708from swagger_client.rest import ApiException
12709from pprint import pprint
12710
12711# create an instance of the API class
12712api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
12713version = version_example # String |
12714serviceInstanceId = serviceInstanceId_example # String |
12715vnfInstanceId = vnfInstanceId_example # String |
12716volumeGroupInstanceId = volumeGroupInstanceId_example # String |
12717body = body_example # String | (optional)
12718
12719try:
12720 # Delete provided VolumeGroup instance
12721 api_instance.delete_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body)
12722except ApiException as e:
12723 print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: %s\n" % e)</code></pre>
12724 </div>
12725 </div>
12726
12727 <h2>Parameters</h2>
12728
12729 <div class="methodsubtabletitle">Path parameters</div>
12730 <table id="methodsubtable">
12731 <tr>
12732 <th width="150px">Name</th>
12733 <th>Description</th>
12734 </tr>
12735 <tr><td style="width:150px;">version*</td>
12736<td>
12737
12738
12739 <div id="d2e199_deleteVolumeGroupInstance_version">
12740 <div class="json-schema-view">
12741 <div class="primitive">
12742 <span class="type">
12743 String
12744 </span>
12745
12746 </div>
12747 <div class="inner required">
12748 Required
12749 </div>
12750 </div>
12751 </div>
12752</td>
12753</tr>
12754
12755 <tr><td style="width:150px;">serviceInstanceId*</td>
12756<td>
12757
12758
12759 <div id="d2e199_deleteVolumeGroupInstance_serviceInstanceId">
12760 <div class="json-schema-view">
12761 <div class="primitive">
12762 <span class="type">
12763 String
12764 </span>
12765
12766 </div>
12767 <div class="inner required">
12768 Required
12769 </div>
12770 </div>
12771 </div>
12772</td>
12773</tr>
12774
12775 <tr><td style="width:150px;">vnfInstanceId*</td>
12776<td>
12777
12778
12779 <div id="d2e199_deleteVolumeGroupInstance_vnfInstanceId">
12780 <div class="json-schema-view">
12781 <div class="primitive">
12782 <span class="type">
12783 String
12784 </span>
12785
12786 </div>
12787 <div class="inner required">
12788 Required
12789 </div>
12790 </div>
12791 </div>
12792</td>
12793</tr>
12794
12795 <tr><td style="width:150px;">volumeGroupInstanceId*</td>
12796<td>
12797
12798
12799 <div id="d2e199_deleteVolumeGroupInstance_volumeGroupInstanceId">
12800 <div class="json-schema-view">
12801 <div class="primitive">
12802 <span class="type">
12803 String
12804 </span>
12805
12806 </div>
12807 <div class="inner required">
12808 Required
12809 </div>
12810 </div>
12811 </div>
12812</td>
12813</tr>
12814
12815 </table>
12816
12817
12818 <div class="methodsubtabletitle">Body parameters</div>
12819 <table id="methodsubtable">
12820 <tr>
12821 <th width="150px">Name</th>
12822 <th>Description</th>
12823 </tr>
12824 <tr><td style="width:150px;">body </td>
12825<td>
12826
12827
12828<script>
12829$(document).ready(function() {
12830 var schemaWrapper = {
12831 "in" : "body",
12832 "name" : "body",
12833 "required" : false,
12834 "schema" : {
12835 "type" : "string"
12836 }
12837};
12838 var schema = schemaWrapper.schema;
12839 if (schema.$ref != null) {
12840 schema = defsParser.$refs.get(schema.$ref);
12841 } else {
12842 schemaWrapper.definitions = Object.assign({}, defs);
12843 $RefParser.dereference(schemaWrapper).catch(function(err) {
12844 console.log(err);
12845 });
12846 }
12847
12848 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
12849 var result = $('#d2e199_deleteVolumeGroupInstance_body');
12850 result.empty();
12851 result.append(view.render());
12852});
12853</script>
12854<div id="d2e199_deleteVolumeGroupInstance_body"></div>
12855</td>
12856</tr>
12857
12858 </table>
12859
12860
12861
12862 <h2>Responses</h2>
12863 <h3> Status: default - successful operation </h3>
12864
12865 <ul class="nav nav-tabs nav-tabs-examples" >
12866 </ul>
12867
12868 <div class="tab-content" style='margin-bottom: 10px;'>
12869 </div>
12870
12871 </article>
12872 </div>
12873 <hr>
12874 <div id="api-OnapsoinfraserviceInstantiation-disablePort">
12875 <article id="api-OnapsoinfraserviceInstantiation-disablePort-0" data-group="User" data-name="disablePort" data-version="0">
12876 <div class="pull-left">
12877 <h1>disablePort</h1>
12878 <p>Disable Port Mirroring</p>
12879 </div>
12880 <div class="pull-right"></div>
12881 <div class="clearfix"></div>
12882 <p></p>
12883 <p class="marked"></p>
12884 <p></p>
12885 <br />
12886 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort</span></code></pre>
12887 <p>
12888 <h3>Usage and SDK Samples</h3>
12889 </p>
12890 <ul class="nav nav-tabs nav-tabs-examples">
12891 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">Curl</a></li>
12892 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-java">Java</a></li>
12893 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-android">Android</a></li>
12894 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">Groovy</a></li>-->
12895 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">Obj-C</a></li>
12896 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">JavaScript</a></li>
12897 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">Angular</a></li>-->
12898 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">C#</a></li>
12899 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-php">PHP</a></li>
12900 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">Perl</a></li>
12901 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-python">Python</a></li>
12902 </ul>
12903
12904 <div class="tab-content">
12905 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053012906 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080012907 </div>
12908 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-java">
12909 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
12910import io.swagger.client.auth.*;
12911import io.swagger.client.model.*;
12912import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12913
12914import java.io.File;
12915import java.util.*;
12916
12917public class OnapsoinfraserviceInstantiationApiExample {
12918
12919 public static void main(String[] args) {
12920
12921 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12922 String version = version_example; // String |
12923 String serviceInstanceId = serviceInstanceId_example; // String |
12924 String configurationInstanceId = configurationInstanceId_example; // String |
12925 String body = body_example; // String |
12926 try {
12927 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
12928 } catch (ApiException e) {
12929 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#disablePort");
12930 e.printStackTrace();
12931 }
12932 }
12933}</code></pre>
12934 </div>
12935
12936 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-android">
12937 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
12938
12939public class OnapsoinfraserviceInstantiationApiExample {
12940
12941 public static void main(String[] args) {
12942 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
12943 String version = version_example; // String |
12944 String serviceInstanceId = serviceInstanceId_example; // String |
12945 String configurationInstanceId = configurationInstanceId_example; // String |
12946 String body = body_example; // String |
12947 try {
12948 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
12949 } catch (ApiException e) {
12950 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#disablePort");
12951 e.printStackTrace();
12952 }
12953 }
12954}</code></pre>
12955 </div>
12956 <!--
12957 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">
12958 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
12959 </div> -->
12960 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">
12961 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
12962String *serviceInstanceId = serviceInstanceId_example; //
12963String *configurationInstanceId = configurationInstanceId_example; //
12964String *body = body_example; // (optional)
12965
12966OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
12967
12968// Disable Port Mirroring
12969[apiInstance disablePortWith:version
12970 serviceInstanceId:serviceInstanceId
12971 configurationInstanceId:configurationInstanceId
12972 body:body
12973 completionHandler: ^(NSError* error) {
12974 if (error) {
12975 NSLog(@"Error: %@", error);
12976 }
12977 }];
12978</code></pre>
12979 </div>
12980
12981 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">
12982 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
12983
12984var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
12985
12986var version = version_example; // {String}
12987
12988var serviceInstanceId = serviceInstanceId_example; // {String}
12989
12990var configurationInstanceId = configurationInstanceId_example; // {String}
12991
12992var opts = {
12993 'body': body_example // {String}
12994};
12995
12996var callback = function(error, data, response) {
12997 if (error) {
12998 console.error(error);
12999 } else {
13000 console.log('API called successfully.');
13001 }
13002};
13003api.disablePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
13004</code></pre>
13005 </div>
13006
13007 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">
13008 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13009 </div>-->
13010 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">
13011 <pre class="prettyprint"><code class="language-cs">using System;
13012using System.Diagnostics;
13013using IO.Swagger.Api;
13014using IO.Swagger.Client;
13015using IO.Swagger.Model;
13016
13017namespace Example
13018{
13019 public class disablePortExample
13020 {
13021 public void main()
13022 {
13023
13024 var apiInstance = new OnapsoinfraserviceInstantiationApi();
13025 var version = version_example; // String |
13026 var serviceInstanceId = serviceInstanceId_example; // String |
13027 var configurationInstanceId = configurationInstanceId_example; // String |
13028 var body = body_example; // String | (optional)
13029
13030 try
13031 {
13032 // Disable Port Mirroring
13033 apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body);
13034 }
13035 catch (Exception e)
13036 {
13037 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.disablePort: " + e.Message );
13038 }
13039 }
13040 }
13041}
13042</code></pre>
13043 </div>
13044
13045 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-php">
13046 <pre class="prettyprint"><code class="language-php"><&#63;php
13047require_once(__DIR__ . '/vendor/autoload.php');
13048
13049$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
13050$version = version_example; // String |
13051$serviceInstanceId = serviceInstanceId_example; // String |
13052$configurationInstanceId = configurationInstanceId_example; // String |
13053$body = body_example; // String |
13054
13055try {
13056 $api_instance->disablePort($version, $serviceInstanceId, $configurationInstanceId, $body);
13057} catch (Exception $e) {
13058 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: ', $e->getMessage(), PHP_EOL;
13059}
13060?></code></pre>
13061 </div>
13062
13063 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">
13064 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13065use WWW::SwaggerClient::Configuration;
13066use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13067
13068my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
13069my $version = version_example; # String |
13070my $serviceInstanceId = serviceInstanceId_example; # String |
13071my $configurationInstanceId = configurationInstanceId_example; # String |
13072my $body = WWW::SwaggerClient::Object::String->new(); # String |
13073
13074eval {
13075 $api_instance->disablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
13076};
13077if ($@) {
13078 warn "Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: $@\n";
13079}</code></pre>
13080 </div>
13081
13082 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-python">
13083 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13084import time
13085import swagger_client
13086from swagger_client.rest import ApiException
13087from pprint import pprint
13088
13089# create an instance of the API class
13090api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
13091version = version_example # String |
13092serviceInstanceId = serviceInstanceId_example # String |
13093configurationInstanceId = configurationInstanceId_example # String |
13094body = body_example # String | (optional)
13095
13096try:
13097 # Disable Port Mirroring
13098 api_instance.disable_port(version, serviceInstanceId, configurationInstanceId, body=body)
13099except ApiException as e:
13100 print("Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: %s\n" % e)</code></pre>
13101 </div>
13102 </div>
13103
13104 <h2>Parameters</h2>
13105
13106 <div class="methodsubtabletitle">Path parameters</div>
13107 <table id="methodsubtable">
13108 <tr>
13109 <th width="150px">Name</th>
13110 <th>Description</th>
13111 </tr>
13112 <tr><td style="width:150px;">version*</td>
13113<td>
13114
13115
13116 <div id="d2e199_disablePort_version">
13117 <div class="json-schema-view">
13118 <div class="primitive">
13119 <span class="type">
13120 String
13121 </span>
13122
13123 </div>
13124 <div class="inner required">
13125 Required
13126 </div>
13127 </div>
13128 </div>
13129</td>
13130</tr>
13131
13132 <tr><td style="width:150px;">serviceInstanceId*</td>
13133<td>
13134
13135
13136 <div id="d2e199_disablePort_serviceInstanceId">
13137 <div class="json-schema-view">
13138 <div class="primitive">
13139 <span class="type">
13140 String
13141 </span>
13142
13143 </div>
13144 <div class="inner required">
13145 Required
13146 </div>
13147 </div>
13148 </div>
13149</td>
13150</tr>
13151
13152 <tr><td style="width:150px;">configurationInstanceId*</td>
13153<td>
13154
13155
13156 <div id="d2e199_disablePort_configurationInstanceId">
13157 <div class="json-schema-view">
13158 <div class="primitive">
13159 <span class="type">
13160 String
13161 </span>
13162
13163 </div>
13164 <div class="inner required">
13165 Required
13166 </div>
13167 </div>
13168 </div>
13169</td>
13170</tr>
13171
13172 </table>
13173
13174
13175 <div class="methodsubtabletitle">Body parameters</div>
13176 <table id="methodsubtable">
13177 <tr>
13178 <th width="150px">Name</th>
13179 <th>Description</th>
13180 </tr>
13181 <tr><td style="width:150px;">body </td>
13182<td>
13183
13184
13185<script>
13186$(document).ready(function() {
13187 var schemaWrapper = {
13188 "in" : "body",
13189 "name" : "body",
13190 "required" : false,
13191 "schema" : {
13192 "type" : "string"
13193 }
13194};
13195 var schema = schemaWrapper.schema;
13196 if (schema.$ref != null) {
13197 schema = defsParser.$refs.get(schema.$ref);
13198 } else {
13199 schemaWrapper.definitions = Object.assign({}, defs);
13200 $RefParser.dereference(schemaWrapper).catch(function(err) {
13201 console.log(err);
13202 });
13203 }
13204
13205 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13206 var result = $('#d2e199_disablePort_body');
13207 result.empty();
13208 result.append(view.render());
13209});
13210</script>
13211<div id="d2e199_disablePort_body"></div>
13212</td>
13213</tr>
13214
13215 </table>
13216
13217
13218
13219 <h2>Responses</h2>
13220 <h3> Status: default - successful operation </h3>
13221
13222 <ul class="nav nav-tabs nav-tabs-examples" >
13223 </ul>
13224
13225 <div class="tab-content" style='margin-bottom: 10px;'>
13226 </div>
13227
13228 </article>
13229 </div>
13230 <hr>
13231 <div id="api-OnapsoinfraserviceInstantiation-enablePort">
13232 <article id="api-OnapsoinfraserviceInstantiation-enablePort-0" data-group="User" data-name="enablePort" data-version="0">
13233 <div class="pull-left">
13234 <h1>enablePort</h1>
13235 <p>Enable Port Mirroring</p>
13236 </div>
13237 <div class="pull-right"></div>
13238 <div class="clearfix"></div>
13239 <p></p>
13240 <p class="marked"></p>
13241 <p></p>
13242 <br />
13243 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort</span></code></pre>
13244 <p>
13245 <h3>Usage and SDK Samples</h3>
13246 </p>
13247 <ul class="nav nav-tabs nav-tabs-examples">
13248 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">Curl</a></li>
13249 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-java">Java</a></li>
13250 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-android">Android</a></li>
13251 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">Groovy</a></li>-->
13252 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">Obj-C</a></li>
13253 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">JavaScript</a></li>
13254 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">Angular</a></li>-->
13255 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">C#</a></li>
13256 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-php">PHP</a></li>
13257 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">Perl</a></li>
13258 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-python">Python</a></li>
13259 </ul>
13260
13261 <div class="tab-content">
13262 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053013263 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080013264 </div>
13265 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-java">
13266 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13267import io.swagger.client.auth.*;
13268import io.swagger.client.model.*;
13269import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13270
13271import java.io.File;
13272import java.util.*;
13273
13274public class OnapsoinfraserviceInstantiationApiExample {
13275
13276 public static void main(String[] args) {
13277
13278 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
13279 String version = version_example; // String |
13280 String serviceInstanceId = serviceInstanceId_example; // String |
13281 String configurationInstanceId = configurationInstanceId_example; // String |
13282 String body = body_example; // String |
13283 try {
13284 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
13285 } catch (ApiException e) {
13286 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#enablePort");
13287 e.printStackTrace();
13288 }
13289 }
13290}</code></pre>
13291 </div>
13292
13293 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-android">
13294 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13295
13296public class OnapsoinfraserviceInstantiationApiExample {
13297
13298 public static void main(String[] args) {
13299 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
13300 String version = version_example; // String |
13301 String serviceInstanceId = serviceInstanceId_example; // String |
13302 String configurationInstanceId = configurationInstanceId_example; // String |
13303 String body = body_example; // String |
13304 try {
13305 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
13306 } catch (ApiException e) {
13307 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#enablePort");
13308 e.printStackTrace();
13309 }
13310 }
13311}</code></pre>
13312 </div>
13313 <!--
13314 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">
13315 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13316 </div> -->
13317 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">
13318 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
13319String *serviceInstanceId = serviceInstanceId_example; //
13320String *configurationInstanceId = configurationInstanceId_example; //
13321String *body = body_example; // (optional)
13322
13323OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
13324
13325// Enable Port Mirroring
13326[apiInstance enablePortWith:version
13327 serviceInstanceId:serviceInstanceId
13328 configurationInstanceId:configurationInstanceId
13329 body:body
13330 completionHandler: ^(NSError* error) {
13331 if (error) {
13332 NSLog(@"Error: %@", error);
13333 }
13334 }];
13335</code></pre>
13336 </div>
13337
13338 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">
13339 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
13340
13341var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
13342
13343var version = version_example; // {String}
13344
13345var serviceInstanceId = serviceInstanceId_example; // {String}
13346
13347var configurationInstanceId = configurationInstanceId_example; // {String}
13348
13349var opts = {
13350 'body': body_example // {String}
13351};
13352
13353var callback = function(error, data, response) {
13354 if (error) {
13355 console.error(error);
13356 } else {
13357 console.log('API called successfully.');
13358 }
13359};
13360api.enablePort(version, serviceInstanceId, configurationInstanceId, opts, callback);
13361</code></pre>
13362 </div>
13363
13364 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">
13365 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13366 </div>-->
13367 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">
13368 <pre class="prettyprint"><code class="language-cs">using System;
13369using System.Diagnostics;
13370using IO.Swagger.Api;
13371using IO.Swagger.Client;
13372using IO.Swagger.Model;
13373
13374namespace Example
13375{
13376 public class enablePortExample
13377 {
13378 public void main()
13379 {
13380
13381 var apiInstance = new OnapsoinfraserviceInstantiationApi();
13382 var version = version_example; // String |
13383 var serviceInstanceId = serviceInstanceId_example; // String |
13384 var configurationInstanceId = configurationInstanceId_example; // String |
13385 var body = body_example; // String | (optional)
13386
13387 try
13388 {
13389 // Enable Port Mirroring
13390 apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body);
13391 }
13392 catch (Exception e)
13393 {
13394 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.enablePort: " + e.Message );
13395 }
13396 }
13397 }
13398}
13399</code></pre>
13400 </div>
13401
13402 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-php">
13403 <pre class="prettyprint"><code class="language-php"><&#63;php
13404require_once(__DIR__ . '/vendor/autoload.php');
13405
13406$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
13407$version = version_example; // String |
13408$serviceInstanceId = serviceInstanceId_example; // String |
13409$configurationInstanceId = configurationInstanceId_example; // String |
13410$body = body_example; // String |
13411
13412try {
13413 $api_instance->enablePort($version, $serviceInstanceId, $configurationInstanceId, $body);
13414} catch (Exception $e) {
13415 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: ', $e->getMessage(), PHP_EOL;
13416}
13417?></code></pre>
13418 </div>
13419
13420 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">
13421 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13422use WWW::SwaggerClient::Configuration;
13423use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13424
13425my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
13426my $version = version_example; # String |
13427my $serviceInstanceId = serviceInstanceId_example; # String |
13428my $configurationInstanceId = configurationInstanceId_example; # String |
13429my $body = WWW::SwaggerClient::Object::String->new(); # String |
13430
13431eval {
13432 $api_instance->enablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body);
13433};
13434if ($@) {
13435 warn "Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: $@\n";
13436}</code></pre>
13437 </div>
13438
13439 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-python">
13440 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13441import time
13442import swagger_client
13443from swagger_client.rest import ApiException
13444from pprint import pprint
13445
13446# create an instance of the API class
13447api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
13448version = version_example # String |
13449serviceInstanceId = serviceInstanceId_example # String |
13450configurationInstanceId = configurationInstanceId_example # String |
13451body = body_example # String | (optional)
13452
13453try:
13454 # Enable Port Mirroring
13455 api_instance.enable_port(version, serviceInstanceId, configurationInstanceId, body=body)
13456except ApiException as e:
13457 print("Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: %s\n" % e)</code></pre>
13458 </div>
13459 </div>
13460
13461 <h2>Parameters</h2>
13462
13463 <div class="methodsubtabletitle">Path parameters</div>
13464 <table id="methodsubtable">
13465 <tr>
13466 <th width="150px">Name</th>
13467 <th>Description</th>
13468 </tr>
13469 <tr><td style="width:150px;">version*</td>
13470<td>
13471
13472
13473 <div id="d2e199_enablePort_version">
13474 <div class="json-schema-view">
13475 <div class="primitive">
13476 <span class="type">
13477 String
13478 </span>
13479
13480 </div>
13481 <div class="inner required">
13482 Required
13483 </div>
13484 </div>
13485 </div>
13486</td>
13487</tr>
13488
13489 <tr><td style="width:150px;">serviceInstanceId*</td>
13490<td>
13491
13492
13493 <div id="d2e199_enablePort_serviceInstanceId">
13494 <div class="json-schema-view">
13495 <div class="primitive">
13496 <span class="type">
13497 String
13498 </span>
13499
13500 </div>
13501 <div class="inner required">
13502 Required
13503 </div>
13504 </div>
13505 </div>
13506</td>
13507</tr>
13508
13509 <tr><td style="width:150px;">configurationInstanceId*</td>
13510<td>
13511
13512
13513 <div id="d2e199_enablePort_configurationInstanceId">
13514 <div class="json-schema-view">
13515 <div class="primitive">
13516 <span class="type">
13517 String
13518 </span>
13519
13520 </div>
13521 <div class="inner required">
13522 Required
13523 </div>
13524 </div>
13525 </div>
13526</td>
13527</tr>
13528
13529 </table>
13530
13531
13532 <div class="methodsubtabletitle">Body parameters</div>
13533 <table id="methodsubtable">
13534 <tr>
13535 <th width="150px">Name</th>
13536 <th>Description</th>
13537 </tr>
13538 <tr><td style="width:150px;">body </td>
13539<td>
13540
13541
13542<script>
13543$(document).ready(function() {
13544 var schemaWrapper = {
13545 "in" : "body",
13546 "name" : "body",
13547 "required" : false,
13548 "schema" : {
13549 "type" : "string"
13550 }
13551};
13552 var schema = schemaWrapper.schema;
13553 if (schema.$ref != null) {
13554 schema = defsParser.$refs.get(schema.$ref);
13555 } else {
13556 schemaWrapper.definitions = Object.assign({}, defs);
13557 $RefParser.dereference(schemaWrapper).catch(function(err) {
13558 console.log(err);
13559 });
13560 }
13561
13562 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13563 var result = $('#d2e199_enablePort_body');
13564 result.empty();
13565 result.append(view.render());
13566});
13567</script>
13568<div id="d2e199_enablePort_body"></div>
13569</td>
13570</tr>
13571
13572 </table>
13573
13574
13575
13576 <h2>Responses</h2>
13577 <h3> Status: default - successful operation </h3>
13578
13579 <ul class="nav nav-tabs nav-tabs-examples" >
13580 </ul>
13581
13582 <div class="tab-content" style='margin-bottom: 10px;'>
13583 </div>
13584
13585 </article>
13586 </div>
13587 <hr>
13588 <div id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">
13589 <article id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0" data-group="User" data-name="inPlaceSoftwareUpdate" data-version="0">
13590 <div class="pull-left">
13591 <h1>inPlaceSoftwareUpdate</h1>
13592 <p>Perform VNF software update</p>
13593 </div>
13594 <div class="pull-right"></div>
13595 <div class="clearfix"></div>
13596 <p></p>
13597 <p class="marked"></p>
13598 <p></p>
13599 <br />
13600 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate</span></code></pre>
13601 <p>
13602 <h3>Usage and SDK Samples</h3>
13603 </p>
13604 <ul class="nav nav-tabs nav-tabs-examples">
13605 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">Curl</a></li>
13606 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">Java</a></li>
13607 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">Android</a></li>
13608 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">Groovy</a></li>-->
13609 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">Obj-C</a></li>
13610 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">JavaScript</a></li>
13611 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">Angular</a></li>-->
13612 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">C#</a></li>
13613 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">PHP</a></li>
13614 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">Perl</a></li>
13615 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">Python</a></li>
13616 </ul>
13617
13618 <div class="tab-content">
13619 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053013620 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080013621 </div>
13622 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">
13623 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13624import io.swagger.client.auth.*;
13625import io.swagger.client.model.*;
13626import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13627
13628import java.io.File;
13629import java.util.*;
13630
13631public class OnapsoinfraserviceInstantiationApiExample {
13632
13633 public static void main(String[] args) {
13634
13635 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
13636 String version = version_example; // String |
13637 String serviceInstanceId = serviceInstanceId_example; // String |
13638 String vnfInstanceId = vnfInstanceId_example; // String |
13639 String body = body_example; // String |
13640 try {
13641 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
13642 } catch (ApiException e) {
13643 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#inPlaceSoftwareUpdate");
13644 e.printStackTrace();
13645 }
13646 }
13647}</code></pre>
13648 </div>
13649
13650 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">
13651 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13652
13653public class OnapsoinfraserviceInstantiationApiExample {
13654
13655 public static void main(String[] args) {
13656 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
13657 String version = version_example; // String |
13658 String serviceInstanceId = serviceInstanceId_example; // String |
13659 String vnfInstanceId = vnfInstanceId_example; // String |
13660 String body = body_example; // String |
13661 try {
13662 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
13663 } catch (ApiException e) {
13664 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#inPlaceSoftwareUpdate");
13665 e.printStackTrace();
13666 }
13667 }
13668}</code></pre>
13669 </div>
13670 <!--
13671 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">
13672 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13673 </div> -->
13674 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">
13675 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
13676String *serviceInstanceId = serviceInstanceId_example; //
13677String *vnfInstanceId = vnfInstanceId_example; //
13678String *body = body_example; // (optional)
13679
13680OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
13681
13682// Perform VNF software update
13683[apiInstance inPlaceSoftwareUpdateWith:version
13684 serviceInstanceId:serviceInstanceId
13685 vnfInstanceId:vnfInstanceId
13686 body:body
13687 completionHandler: ^(NSError* error) {
13688 if (error) {
13689 NSLog(@"Error: %@", error);
13690 }
13691 }];
13692</code></pre>
13693 </div>
13694
13695 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">
13696 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
13697
13698var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
13699
13700var version = version_example; // {String}
13701
13702var serviceInstanceId = serviceInstanceId_example; // {String}
13703
13704var vnfInstanceId = vnfInstanceId_example; // {String}
13705
13706var opts = {
13707 'body': body_example // {String}
13708};
13709
13710var callback = function(error, data, response) {
13711 if (error) {
13712 console.error(error);
13713 } else {
13714 console.log('API called successfully.');
13715 }
13716};
13717api.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, opts, callback);
13718</code></pre>
13719 </div>
13720
13721 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">
13722 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
13723 </div>-->
13724 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">
13725 <pre class="prettyprint"><code class="language-cs">using System;
13726using System.Diagnostics;
13727using IO.Swagger.Api;
13728using IO.Swagger.Client;
13729using IO.Swagger.Model;
13730
13731namespace Example
13732{
13733 public class inPlaceSoftwareUpdateExample
13734 {
13735 public void main()
13736 {
13737
13738 var apiInstance = new OnapsoinfraserviceInstantiationApi();
13739 var version = version_example; // String |
13740 var serviceInstanceId = serviceInstanceId_example; // String |
13741 var vnfInstanceId = vnfInstanceId_example; // String |
13742 var body = body_example; // String | (optional)
13743
13744 try
13745 {
13746 // Perform VNF software update
13747 apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body);
13748 }
13749 catch (Exception e)
13750 {
13751 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.inPlaceSoftwareUpdate: " + e.Message );
13752 }
13753 }
13754 }
13755}
13756</code></pre>
13757 </div>
13758
13759 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">
13760 <pre class="prettyprint"><code class="language-php"><&#63;php
13761require_once(__DIR__ . '/vendor/autoload.php');
13762
13763$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
13764$version = version_example; // String |
13765$serviceInstanceId = serviceInstanceId_example; // String |
13766$vnfInstanceId = vnfInstanceId_example; // String |
13767$body = body_example; // String |
13768
13769try {
13770 $api_instance->inPlaceSoftwareUpdate($version, $serviceInstanceId, $vnfInstanceId, $body);
13771} catch (Exception $e) {
13772 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: ', $e->getMessage(), PHP_EOL;
13773}
13774?></code></pre>
13775 </div>
13776
13777 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">
13778 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
13779use WWW::SwaggerClient::Configuration;
13780use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
13781
13782my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
13783my $version = version_example; # String |
13784my $serviceInstanceId = serviceInstanceId_example; # String |
13785my $vnfInstanceId = vnfInstanceId_example; # String |
13786my $body = WWW::SwaggerClient::Object::String->new(); # String |
13787
13788eval {
13789 $api_instance->inPlaceSoftwareUpdate(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
13790};
13791if ($@) {
13792 warn "Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: $@\n";
13793}</code></pre>
13794 </div>
13795
13796 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">
13797 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
13798import time
13799import swagger_client
13800from swagger_client.rest import ApiException
13801from pprint import pprint
13802
13803# create an instance of the API class
13804api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
13805version = version_example # String |
13806serviceInstanceId = serviceInstanceId_example # String |
13807vnfInstanceId = vnfInstanceId_example # String |
13808body = body_example # String | (optional)
13809
13810try:
13811 # Perform VNF software update
13812 api_instance.in_place_software_update(version, serviceInstanceId, vnfInstanceId, body=body)
13813except ApiException as e:
13814 print("Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: %s\n" % e)</code></pre>
13815 </div>
13816 </div>
13817
13818 <h2>Parameters</h2>
13819
13820 <div class="methodsubtabletitle">Path parameters</div>
13821 <table id="methodsubtable">
13822 <tr>
13823 <th width="150px">Name</th>
13824 <th>Description</th>
13825 </tr>
13826 <tr><td style="width:150px;">version*</td>
13827<td>
13828
13829
13830 <div id="d2e199_inPlaceSoftwareUpdate_version">
13831 <div class="json-schema-view">
13832 <div class="primitive">
13833 <span class="type">
13834 String
13835 </span>
13836
13837 </div>
13838 <div class="inner required">
13839 Required
13840 </div>
13841 </div>
13842 </div>
13843</td>
13844</tr>
13845
13846 <tr><td style="width:150px;">serviceInstanceId*</td>
13847<td>
13848
13849
13850 <div id="d2e199_inPlaceSoftwareUpdate_serviceInstanceId">
13851 <div class="json-schema-view">
13852 <div class="primitive">
13853 <span class="type">
13854 String
13855 </span>
13856
13857 </div>
13858 <div class="inner required">
13859 Required
13860 </div>
13861 </div>
13862 </div>
13863</td>
13864</tr>
13865
13866 <tr><td style="width:150px;">vnfInstanceId*</td>
13867<td>
13868
13869
13870 <div id="d2e199_inPlaceSoftwareUpdate_vnfInstanceId">
13871 <div class="json-schema-view">
13872 <div class="primitive">
13873 <span class="type">
13874 String
13875 </span>
13876
13877 </div>
13878 <div class="inner required">
13879 Required
13880 </div>
13881 </div>
13882 </div>
13883</td>
13884</tr>
13885
13886 </table>
13887
13888
13889 <div class="methodsubtabletitle">Body parameters</div>
13890 <table id="methodsubtable">
13891 <tr>
13892 <th width="150px">Name</th>
13893 <th>Description</th>
13894 </tr>
13895 <tr><td style="width:150px;">body </td>
13896<td>
13897
13898
13899<script>
13900$(document).ready(function() {
13901 var schemaWrapper = {
13902 "in" : "body",
13903 "name" : "body",
13904 "required" : false,
13905 "schema" : {
13906 "type" : "string"
13907 }
13908};
13909 var schema = schemaWrapper.schema;
13910 if (schema.$ref != null) {
13911 schema = defsParser.$refs.get(schema.$ref);
13912 } else {
13913 schemaWrapper.definitions = Object.assign({}, defs);
13914 $RefParser.dereference(schemaWrapper).catch(function(err) {
13915 console.log(err);
13916 });
13917 }
13918
13919 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
13920 var result = $('#d2e199_inPlaceSoftwareUpdate_body');
13921 result.empty();
13922 result.append(view.render());
13923});
13924</script>
13925<div id="d2e199_inPlaceSoftwareUpdate_body"></div>
13926</td>
13927</tr>
13928
13929 </table>
13930
13931
13932
13933 <h2>Responses</h2>
13934 <h3> Status: default - successful operation </h3>
13935
13936 <ul class="nav nav-tabs nav-tabs-examples" >
13937 </ul>
13938
13939 <div class="tab-content" style='margin-bottom: 10px;'>
13940 </div>
13941
13942 </article>
13943 </div>
13944 <hr>
13945 <div id="api-OnapsoinfraserviceInstantiation-removeRelationships">
13946 <article id="api-OnapsoinfraserviceInstantiation-removeRelationships-0" data-group="User" data-name="removeRelationships" data-version="0">
13947 <div class="pull-left">
13948 <h1>removeRelationships</h1>
13949 <p>Remove Relationships from Service Instance</p>
13950 </div>
13951 <div class="pull-right"></div>
13952 <div class="clearfix"></div>
13953 <p></p>
13954 <p class="marked"></p>
13955 <p></p>
13956 <br />
13957 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships</span></code></pre>
13958 <p>
13959 <h3>Usage and SDK Samples</h3>
13960 </p>
13961 <ul class="nav nav-tabs nav-tabs-examples">
13962 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">Curl</a></li>
13963 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">Java</a></li>
13964 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">Android</a></li>
13965 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">Groovy</a></li>-->
13966 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">Obj-C</a></li>
13967 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">JavaScript</a></li>
13968 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">Angular</a></li>-->
13969 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">C#</a></li>
13970 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">PHP</a></li>
13971 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">Perl</a></li>
13972 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">Python</a></li>
13973 </ul>
13974
13975 <div class="tab-content">
13976 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053013977 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080013978 </div>
13979 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">
13980 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
13981import io.swagger.client.auth.*;
13982import io.swagger.client.model.*;
13983import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
13984
13985import java.io.File;
13986import java.util.*;
13987
13988public class OnapsoinfraserviceInstantiationApiExample {
13989
13990 public static void main(String[] args) {
13991
13992 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
13993 String version = version_example; // String |
13994 String serviceInstanceId = serviceInstanceId_example; // String |
13995 String body = body_example; // String |
13996 try {
13997 apiInstance.removeRelationships(version, serviceInstanceId, body);
13998 } catch (ApiException e) {
13999 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#removeRelationships");
14000 e.printStackTrace();
14001 }
14002 }
14003}</code></pre>
14004 </div>
14005
14006 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">
14007 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14008
14009public class OnapsoinfraserviceInstantiationApiExample {
14010
14011 public static void main(String[] args) {
14012 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
14013 String version = version_example; // String |
14014 String serviceInstanceId = serviceInstanceId_example; // String |
14015 String body = body_example; // String |
14016 try {
14017 apiInstance.removeRelationships(version, serviceInstanceId, body);
14018 } catch (ApiException e) {
14019 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#removeRelationships");
14020 e.printStackTrace();
14021 }
14022 }
14023}</code></pre>
14024 </div>
14025 <!--
14026 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">
14027 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14028 </div> -->
14029 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">
14030 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14031String *serviceInstanceId = serviceInstanceId_example; //
14032String *body = body_example; // (optional)
14033
14034OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14035
14036// Remove Relationships from Service Instance
14037[apiInstance removeRelationshipsWith:version
14038 serviceInstanceId:serviceInstanceId
14039 body:body
14040 completionHandler: ^(NSError* error) {
14041 if (error) {
14042 NSLog(@"Error: %@", error);
14043 }
14044 }];
14045</code></pre>
14046 </div>
14047
14048 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">
14049 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
14050
14051var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
14052
14053var version = version_example; // {String}
14054
14055var serviceInstanceId = serviceInstanceId_example; // {String}
14056
14057var opts = {
14058 'body': body_example // {String}
14059};
14060
14061var callback = function(error, data, response) {
14062 if (error) {
14063 console.error(error);
14064 } else {
14065 console.log('API called successfully.');
14066 }
14067};
14068api.removeRelationships(version, serviceInstanceId, opts, callback);
14069</code></pre>
14070 </div>
14071
14072 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">
14073 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14074 </div>-->
14075 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">
14076 <pre class="prettyprint"><code class="language-cs">using System;
14077using System.Diagnostics;
14078using IO.Swagger.Api;
14079using IO.Swagger.Client;
14080using IO.Swagger.Model;
14081
14082namespace Example
14083{
14084 public class removeRelationshipsExample
14085 {
14086 public void main()
14087 {
14088
14089 var apiInstance = new OnapsoinfraserviceInstantiationApi();
14090 var version = version_example; // String |
14091 var serviceInstanceId = serviceInstanceId_example; // String |
14092 var body = body_example; // String | (optional)
14093
14094 try
14095 {
14096 // Remove Relationships from Service Instance
14097 apiInstance.removeRelationships(version, serviceInstanceId, body);
14098 }
14099 catch (Exception e)
14100 {
14101 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.removeRelationships: " + e.Message );
14102 }
14103 }
14104 }
14105}
14106</code></pre>
14107 </div>
14108
14109 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">
14110 <pre class="prettyprint"><code class="language-php"><&#63;php
14111require_once(__DIR__ . '/vendor/autoload.php');
14112
14113$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
14114$version = version_example; // String |
14115$serviceInstanceId = serviceInstanceId_example; // String |
14116$body = body_example; // String |
14117
14118try {
14119 $api_instance->removeRelationships($version, $serviceInstanceId, $body);
14120} catch (Exception $e) {
14121 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: ', $e->getMessage(), PHP_EOL;
14122}
14123?></code></pre>
14124 </div>
14125
14126 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">
14127 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14128use WWW::SwaggerClient::Configuration;
14129use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14130
14131my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
14132my $version = version_example; # String |
14133my $serviceInstanceId = serviceInstanceId_example; # String |
14134my $body = WWW::SwaggerClient::Object::String->new(); # String |
14135
14136eval {
14137 $api_instance->removeRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
14138};
14139if ($@) {
14140 warn "Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: $@\n";
14141}</code></pre>
14142 </div>
14143
14144 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">
14145 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14146import time
14147import swagger_client
14148from swagger_client.rest import ApiException
14149from pprint import pprint
14150
14151# create an instance of the API class
14152api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
14153version = version_example # String |
14154serviceInstanceId = serviceInstanceId_example # String |
14155body = body_example # String | (optional)
14156
14157try:
14158 # Remove Relationships from Service Instance
14159 api_instance.remove_relationships(version, serviceInstanceId, body=body)
14160except ApiException as e:
14161 print("Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: %s\n" % e)</code></pre>
14162 </div>
14163 </div>
14164
14165 <h2>Parameters</h2>
14166
14167 <div class="methodsubtabletitle">Path parameters</div>
14168 <table id="methodsubtable">
14169 <tr>
14170 <th width="150px">Name</th>
14171 <th>Description</th>
14172 </tr>
14173 <tr><td style="width:150px;">version*</td>
14174<td>
14175
14176
14177 <div id="d2e199_removeRelationships_version">
14178 <div class="json-schema-view">
14179 <div class="primitive">
14180 <span class="type">
14181 String
14182 </span>
14183
14184 </div>
14185 <div class="inner required">
14186 Required
14187 </div>
14188 </div>
14189 </div>
14190</td>
14191</tr>
14192
14193 <tr><td style="width:150px;">serviceInstanceId*</td>
14194<td>
14195
14196
14197 <div id="d2e199_removeRelationships_serviceInstanceId">
14198 <div class="json-schema-view">
14199 <div class="primitive">
14200 <span class="type">
14201 String
14202 </span>
14203
14204 </div>
14205 <div class="inner required">
14206 Required
14207 </div>
14208 </div>
14209 </div>
14210</td>
14211</tr>
14212
14213 </table>
14214
14215
14216 <div class="methodsubtabletitle">Body parameters</div>
14217 <table id="methodsubtable">
14218 <tr>
14219 <th width="150px">Name</th>
14220 <th>Description</th>
14221 </tr>
14222 <tr><td style="width:150px;">body </td>
14223<td>
14224
14225
14226<script>
14227$(document).ready(function() {
14228 var schemaWrapper = {
14229 "in" : "body",
14230 "name" : "body",
14231 "required" : false,
14232 "schema" : {
14233 "type" : "string"
14234 }
14235};
14236 var schema = schemaWrapper.schema;
14237 if (schema.$ref != null) {
14238 schema = defsParser.$refs.get(schema.$ref);
14239 } else {
14240 schemaWrapper.definitions = Object.assign({}, defs);
14241 $RefParser.dereference(schemaWrapper).catch(function(err) {
14242 console.log(err);
14243 });
14244 }
14245
14246 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14247 var result = $('#d2e199_removeRelationships_body');
14248 result.empty();
14249 result.append(view.render());
14250});
14251</script>
14252<div id="d2e199_removeRelationships_body"></div>
14253</td>
14254</tr>
14255
14256 </table>
14257
14258
14259
14260 <h2>Responses</h2>
14261 <h3> Status: default - successful operation </h3>
14262
14263 <ul class="nav nav-tabs nav-tabs-examples" >
14264 </ul>
14265
14266 <div class="tab-content" style='margin-bottom: 10px;'>
14267 </div>
14268
14269 </article>
14270 </div>
14271 <hr>
14272 <div id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">
14273 <article id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0" data-group="User" data-name="replaceVfModuleInstance" data-version="0">
14274 <div class="pull-left">
14275 <h1>replaceVfModuleInstance</h1>
14276 <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p>
14277 </div>
14278 <div class="pull-right"></div>
14279 <div class="clearfix"></div>
14280 <p></p>
14281 <p class="marked"></p>
14282 <p></p>
14283 <br />
14284 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace</span></code></pre>
14285 <p>
14286 <h3>Usage and SDK Samples</h3>
14287 </p>
14288 <ul class="nav nav-tabs nav-tabs-examples">
14289 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">Curl</a></li>
14290 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">Java</a></li>
14291 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">Android</a></li>
14292 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">Groovy</a></li>-->
14293 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">Obj-C</a></li>
14294 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">JavaScript</a></li>
14295 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">Angular</a></li>-->
14296 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">C#</a></li>
14297 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">PHP</a></li>
14298 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">Perl</a></li>
14299 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">Python</a></li>
14300 </ul>
14301
14302 <div class="tab-content">
14303 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053014304 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080014305 </div>
14306 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">
14307 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
14308import io.swagger.client.auth.*;
14309import io.swagger.client.model.*;
14310import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14311
14312import java.io.File;
14313import java.util.*;
14314
14315public class OnapsoinfraserviceInstantiationApiExample {
14316
14317 public static void main(String[] args) {
14318
14319 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
14320 String version = version_example; // String |
14321 String serviceInstanceId = serviceInstanceId_example; // String |
14322 String vnfInstanceId = vnfInstanceId_example; // String |
14323 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
14324 String body = body_example; // String |
14325 try {
14326 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
14327 } catch (ApiException e) {
14328 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVfModuleInstance");
14329 e.printStackTrace();
14330 }
14331 }
14332}</code></pre>
14333 </div>
14334
14335 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">
14336 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14337
14338public class OnapsoinfraserviceInstantiationApiExample {
14339
14340 public static void main(String[] args) {
14341 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
14342 String version = version_example; // String |
14343 String serviceInstanceId = serviceInstanceId_example; // String |
14344 String vnfInstanceId = vnfInstanceId_example; // String |
14345 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
14346 String body = body_example; // String |
14347 try {
14348 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
14349 } catch (ApiException e) {
14350 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVfModuleInstance");
14351 e.printStackTrace();
14352 }
14353 }
14354}</code></pre>
14355 </div>
14356 <!--
14357 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">
14358 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14359 </div> -->
14360 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">
14361 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14362String *serviceInstanceId = serviceInstanceId_example; //
14363String *vnfInstanceId = vnfInstanceId_example; //
14364String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
14365String *body = body_example; // (optional)
14366
14367OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14368
14369// Create VfModule on a specified version, serviceInstance and vnfInstance
14370[apiInstance replaceVfModuleInstanceWith:version
14371 serviceInstanceId:serviceInstanceId
14372 vnfInstanceId:vnfInstanceId
14373 vfmoduleInstanceId:vfmoduleInstanceId
14374 body:body
14375 completionHandler: ^(NSError* error) {
14376 if (error) {
14377 NSLog(@"Error: %@", error);
14378 }
14379 }];
14380</code></pre>
14381 </div>
14382
14383 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">
14384 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
14385
14386var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
14387
14388var version = version_example; // {String}
14389
14390var serviceInstanceId = serviceInstanceId_example; // {String}
14391
14392var vnfInstanceId = vnfInstanceId_example; // {String}
14393
14394var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
14395
14396var opts = {
14397 'body': body_example // {String}
14398};
14399
14400var callback = function(error, data, response) {
14401 if (error) {
14402 console.error(error);
14403 } else {
14404 console.log('API called successfully.');
14405 }
14406};
14407api.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
14408</code></pre>
14409 </div>
14410
14411 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">
14412 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14413 </div>-->
14414 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">
14415 <pre class="prettyprint"><code class="language-cs">using System;
14416using System.Diagnostics;
14417using IO.Swagger.Api;
14418using IO.Swagger.Client;
14419using IO.Swagger.Model;
14420
14421namespace Example
14422{
14423 public class replaceVfModuleInstanceExample
14424 {
14425 public void main()
14426 {
14427
14428 var apiInstance = new OnapsoinfraserviceInstantiationApi();
14429 var version = version_example; // String |
14430 var serviceInstanceId = serviceInstanceId_example; // String |
14431 var vnfInstanceId = vnfInstanceId_example; // String |
14432 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
14433 var body = body_example; // String | (optional)
14434
14435 try
14436 {
14437 // Create VfModule on a specified version, serviceInstance and vnfInstance
14438 apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
14439 }
14440 catch (Exception e)
14441 {
14442 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.replaceVfModuleInstance: " + e.Message );
14443 }
14444 }
14445 }
14446}
14447</code></pre>
14448 </div>
14449
14450 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">
14451 <pre class="prettyprint"><code class="language-php"><&#63;php
14452require_once(__DIR__ . '/vendor/autoload.php');
14453
14454$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
14455$version = version_example; // String |
14456$serviceInstanceId = serviceInstanceId_example; // String |
14457$vnfInstanceId = vnfInstanceId_example; // String |
14458$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
14459$body = body_example; // String |
14460
14461try {
14462 $api_instance->replaceVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
14463} catch (Exception $e) {
14464 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: ', $e->getMessage(), PHP_EOL;
14465}
14466?></code></pre>
14467 </div>
14468
14469 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">
14470 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14471use WWW::SwaggerClient::Configuration;
14472use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14473
14474my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
14475my $version = version_example; # String |
14476my $serviceInstanceId = serviceInstanceId_example; # String |
14477my $vnfInstanceId = vnfInstanceId_example; # String |
14478my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
14479my $body = WWW::SwaggerClient::Object::String->new(); # String |
14480
14481eval {
14482 $api_instance->replaceVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
14483};
14484if ($@) {
14485 warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: $@\n";
14486}</code></pre>
14487 </div>
14488
14489 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">
14490 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14491import time
14492import swagger_client
14493from swagger_client.rest import ApiException
14494from pprint import pprint
14495
14496# create an instance of the API class
14497api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
14498version = version_example # String |
14499serviceInstanceId = serviceInstanceId_example # String |
14500vnfInstanceId = vnfInstanceId_example # String |
14501vfmoduleInstanceId = vfmoduleInstanceId_example # String |
14502body = body_example # String | (optional)
14503
14504try:
14505 # Create VfModule on a specified version, serviceInstance and vnfInstance
14506 api_instance.replace_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
14507except ApiException as e:
14508 print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: %s\n" % e)</code></pre>
14509 </div>
14510 </div>
14511
14512 <h2>Parameters</h2>
14513
14514 <div class="methodsubtabletitle">Path parameters</div>
14515 <table id="methodsubtable">
14516 <tr>
14517 <th width="150px">Name</th>
14518 <th>Description</th>
14519 </tr>
14520 <tr><td style="width:150px;">version*</td>
14521<td>
14522
14523
14524 <div id="d2e199_replaceVfModuleInstance_version">
14525 <div class="json-schema-view">
14526 <div class="primitive">
14527 <span class="type">
14528 String
14529 </span>
14530
14531 </div>
14532 <div class="inner required">
14533 Required
14534 </div>
14535 </div>
14536 </div>
14537</td>
14538</tr>
14539
14540 <tr><td style="width:150px;">serviceInstanceId*</td>
14541<td>
14542
14543
14544 <div id="d2e199_replaceVfModuleInstance_serviceInstanceId">
14545 <div class="json-schema-view">
14546 <div class="primitive">
14547 <span class="type">
14548 String
14549 </span>
14550
14551 </div>
14552 <div class="inner required">
14553 Required
14554 </div>
14555 </div>
14556 </div>
14557</td>
14558</tr>
14559
14560 <tr><td style="width:150px;">vnfInstanceId*</td>
14561<td>
14562
14563
14564 <div id="d2e199_replaceVfModuleInstance_vnfInstanceId">
14565 <div class="json-schema-view">
14566 <div class="primitive">
14567 <span class="type">
14568 String
14569 </span>
14570
14571 </div>
14572 <div class="inner required">
14573 Required
14574 </div>
14575 </div>
14576 </div>
14577</td>
14578</tr>
14579
14580 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
14581<td>
14582
14583
14584 <div id="d2e199_replaceVfModuleInstance_vfmoduleInstanceId">
14585 <div class="json-schema-view">
14586 <div class="primitive">
14587 <span class="type">
14588 String
14589 </span>
14590
14591 </div>
14592 <div class="inner required">
14593 Required
14594 </div>
14595 </div>
14596 </div>
14597</td>
14598</tr>
14599
14600 </table>
14601
14602
14603 <div class="methodsubtabletitle">Body parameters</div>
14604 <table id="methodsubtable">
14605 <tr>
14606 <th width="150px">Name</th>
14607 <th>Description</th>
14608 </tr>
14609 <tr><td style="width:150px;">body </td>
14610<td>
14611
14612
14613<script>
14614$(document).ready(function() {
14615 var schemaWrapper = {
14616 "in" : "body",
14617 "name" : "body",
14618 "required" : false,
14619 "schema" : {
14620 "type" : "string"
14621 }
14622};
14623 var schema = schemaWrapper.schema;
14624 if (schema.$ref != null) {
14625 schema = defsParser.$refs.get(schema.$ref);
14626 } else {
14627 schemaWrapper.definitions = Object.assign({}, defs);
14628 $RefParser.dereference(schemaWrapper).catch(function(err) {
14629 console.log(err);
14630 });
14631 }
14632
14633 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14634 var result = $('#d2e199_replaceVfModuleInstance_body');
14635 result.empty();
14636 result.append(view.render());
14637});
14638</script>
14639<div id="d2e199_replaceVfModuleInstance_body"></div>
14640</td>
14641</tr>
14642
14643 </table>
14644
14645
14646
14647 <h2>Responses</h2>
14648 <h3> Status: default - successful operation </h3>
14649
14650 <ul class="nav nav-tabs nav-tabs-examples" >
14651 </ul>
14652
14653 <div class="tab-content" style='margin-bottom: 10px;'>
14654 </div>
14655
14656 </article>
14657 </div>
14658 <hr>
14659 <div id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance">
14660 <article id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance-0" data-group="User" data-name="replaceVnfInstance" data-version="0">
14661 <div class="pull-left">
14662 <h1>replaceVnfInstance</h1>
14663 <p>Replace provided VNF instance</p>
14664 </div>
14665 <div class="pull-right"></div>
14666 <div class="clearfix"></div>
14667 <p></p>
14668 <p class="marked"></p>
14669 <p></p>
14670 <br />
14671 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace</span></code></pre>
14672 <p>
14673 <h3>Usage and SDK Samples</h3>
14674 </p>
14675 <ul class="nav nav-tabs nav-tabs-examples">
14676 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">Curl</a></li>
14677 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">Java</a></li>
14678 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">Android</a></li>
14679 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">Groovy</a></li>-->
14680 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">Obj-C</a></li>
14681 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">JavaScript</a></li>
14682 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">Angular</a></li>-->
14683 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">C#</a></li>
14684 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">PHP</a></li>
14685 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">Perl</a></li>
14686 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">Python</a></li>
14687 </ul>
14688
14689 <div class="tab-content">
14690 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053014691 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080014692 </div>
14693 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">
14694 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
14695import io.swagger.client.auth.*;
14696import io.swagger.client.model.*;
14697import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14698
14699import java.io.File;
14700import java.util.*;
14701
14702public class OnapsoinfraserviceInstantiationApiExample {
14703
14704 public static void main(String[] args) {
14705
14706 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
14707 String version = version_example; // String |
14708 String serviceInstanceId = serviceInstanceId_example; // String |
14709 String vnfInstanceId = vnfInstanceId_example; // String |
14710 String body = body_example; // String |
14711 try {
14712 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
14713 } catch (ApiException e) {
14714 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVnfInstance");
14715 e.printStackTrace();
14716 }
14717 }
14718}</code></pre>
14719 </div>
14720
14721 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">
14722 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
14723
14724public class OnapsoinfraserviceInstantiationApiExample {
14725
14726 public static void main(String[] args) {
14727 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
14728 String version = version_example; // String |
14729 String serviceInstanceId = serviceInstanceId_example; // String |
14730 String vnfInstanceId = vnfInstanceId_example; // String |
14731 String body = body_example; // String |
14732 try {
14733 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
14734 } catch (ApiException e) {
14735 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#replaceVnfInstance");
14736 e.printStackTrace();
14737 }
14738 }
14739}</code></pre>
14740 </div>
14741 <!--
14742 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">
14743 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14744 </div> -->
14745 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">
14746 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
14747String *serviceInstanceId = serviceInstanceId_example; //
14748String *vnfInstanceId = vnfInstanceId_example; //
14749String *body = body_example; // (optional)
14750
14751OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
14752
14753// Replace provided VNF instance
14754[apiInstance replaceVnfInstanceWith:version
14755 serviceInstanceId:serviceInstanceId
14756 vnfInstanceId:vnfInstanceId
14757 body:body
14758 completionHandler: ^(NSError* error) {
14759 if (error) {
14760 NSLog(@"Error: %@", error);
14761 }
14762 }];
14763</code></pre>
14764 </div>
14765
14766 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">
14767 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
14768
14769var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
14770
14771var version = version_example; // {String}
14772
14773var serviceInstanceId = serviceInstanceId_example; // {String}
14774
14775var vnfInstanceId = vnfInstanceId_example; // {String}
14776
14777var opts = {
14778 'body': body_example // {String}
14779};
14780
14781var callback = function(error, data, response) {
14782 if (error) {
14783 console.error(error);
14784 } else {
14785 console.log('API called successfully.');
14786 }
14787};
14788api.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
14789</code></pre>
14790 </div>
14791
14792 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">
14793 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
14794 </div>-->
14795 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">
14796 <pre class="prettyprint"><code class="language-cs">using System;
14797using System.Diagnostics;
14798using IO.Swagger.Api;
14799using IO.Swagger.Client;
14800using IO.Swagger.Model;
14801
14802namespace Example
14803{
14804 public class replaceVnfInstanceExample
14805 {
14806 public void main()
14807 {
14808
14809 var apiInstance = new OnapsoinfraserviceInstantiationApi();
14810 var version = version_example; // String |
14811 var serviceInstanceId = serviceInstanceId_example; // String |
14812 var vnfInstanceId = vnfInstanceId_example; // String |
14813 var body = body_example; // String | (optional)
14814
14815 try
14816 {
14817 // Replace provided VNF instance
14818 apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
14819 }
14820 catch (Exception e)
14821 {
14822 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.replaceVnfInstance: " + e.Message );
14823 }
14824 }
14825 }
14826}
14827</code></pre>
14828 </div>
14829
14830 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">
14831 <pre class="prettyprint"><code class="language-php"><&#63;php
14832require_once(__DIR__ . '/vendor/autoload.php');
14833
14834$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
14835$version = version_example; // String |
14836$serviceInstanceId = serviceInstanceId_example; // String |
14837$vnfInstanceId = vnfInstanceId_example; // String |
14838$body = body_example; // String |
14839
14840try {
14841 $api_instance->replaceVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
14842} catch (Exception $e) {
14843 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: ', $e->getMessage(), PHP_EOL;
14844}
14845?></code></pre>
14846 </div>
14847
14848 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">
14849 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
14850use WWW::SwaggerClient::Configuration;
14851use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
14852
14853my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
14854my $version = version_example; # String |
14855my $serviceInstanceId = serviceInstanceId_example; # String |
14856my $vnfInstanceId = vnfInstanceId_example; # String |
14857my $body = WWW::SwaggerClient::Object::String->new(); # String |
14858
14859eval {
14860 $api_instance->replaceVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
14861};
14862if ($@) {
14863 warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: $@\n";
14864}</code></pre>
14865 </div>
14866
14867 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">
14868 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
14869import time
14870import swagger_client
14871from swagger_client.rest import ApiException
14872from pprint import pprint
14873
14874# create an instance of the API class
14875api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
14876version = version_example # String |
14877serviceInstanceId = serviceInstanceId_example # String |
14878vnfInstanceId = vnfInstanceId_example # String |
14879body = body_example # String | (optional)
14880
14881try:
14882 # Replace provided VNF instance
14883 api_instance.replace_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
14884except ApiException as e:
14885 print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: %s\n" % e)</code></pre>
14886 </div>
14887 </div>
14888
14889 <h2>Parameters</h2>
14890
14891 <div class="methodsubtabletitle">Path parameters</div>
14892 <table id="methodsubtable">
14893 <tr>
14894 <th width="150px">Name</th>
14895 <th>Description</th>
14896 </tr>
14897 <tr><td style="width:150px;">version*</td>
14898<td>
14899
14900
14901 <div id="d2e199_replaceVnfInstance_version">
14902 <div class="json-schema-view">
14903 <div class="primitive">
14904 <span class="type">
14905 String
14906 </span>
14907
14908 </div>
14909 <div class="inner required">
14910 Required
14911 </div>
14912 </div>
14913 </div>
14914</td>
14915</tr>
14916
14917 <tr><td style="width:150px;">serviceInstanceId*</td>
14918<td>
14919
14920
14921 <div id="d2e199_replaceVnfInstance_serviceInstanceId">
14922 <div class="json-schema-view">
14923 <div class="primitive">
14924 <span class="type">
14925 String
14926 </span>
14927
14928 </div>
14929 <div class="inner required">
14930 Required
14931 </div>
14932 </div>
14933 </div>
14934</td>
14935</tr>
14936
14937 <tr><td style="width:150px;">vnfInstanceId*</td>
14938<td>
14939
14940
14941 <div id="d2e199_replaceVnfInstance_vnfInstanceId">
14942 <div class="json-schema-view">
14943 <div class="primitive">
14944 <span class="type">
14945 String
14946 </span>
14947
14948 </div>
14949 <div class="inner required">
14950 Required
14951 </div>
14952 </div>
14953 </div>
14954</td>
14955</tr>
14956
14957 </table>
14958
14959
14960 <div class="methodsubtabletitle">Body parameters</div>
14961 <table id="methodsubtable">
14962 <tr>
14963 <th width="150px">Name</th>
14964 <th>Description</th>
14965 </tr>
14966 <tr><td style="width:150px;">body </td>
14967<td>
14968
14969
14970<script>
14971$(document).ready(function() {
14972 var schemaWrapper = {
14973 "in" : "body",
14974 "name" : "body",
14975 "required" : false,
14976 "schema" : {
14977 "type" : "string"
14978 }
14979};
14980 var schema = schemaWrapper.schema;
14981 if (schema.$ref != null) {
14982 schema = defsParser.$refs.get(schema.$ref);
14983 } else {
14984 schemaWrapper.definitions = Object.assign({}, defs);
14985 $RefParser.dereference(schemaWrapper).catch(function(err) {
14986 console.log(err);
14987 });
14988 }
14989
14990 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
14991 var result = $('#d2e199_replaceVnfInstance_body');
14992 result.empty();
14993 result.append(view.render());
14994});
14995</script>
14996<div id="d2e199_replaceVnfInstance_body"></div>
14997</td>
14998</tr>
14999
15000 </table>
15001
15002
15003
15004 <h2>Responses</h2>
15005 <h3> Status: default - successful operation </h3>
15006
15007 <ul class="nav nav-tabs nav-tabs-examples" >
15008 </ul>
15009
15010 <div class="tab-content" style='margin-bottom: 10px;'>
15011 </div>
15012
15013 </article>
15014 </div>
15015 <hr>
15016 <div id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule">
15017 <article id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule-0" data-group="User" data-name="scaleOutVfModule" data-version="0">
15018 <div class="pull-left">
15019 <h1>scaleOutVfModule</h1>
15020 <p>VF Auto Scale Out</p>
15021 </div>
15022 <div class="pull-right"></div>
15023 <div class="clearfix"></div>
15024 <p></p>
15025 <p class="marked"></p>
15026 <p></p>
15027 <br />
15028 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut</span></code></pre>
15029 <p>
15030 <h3>Usage and SDK Samples</h3>
15031 </p>
15032 <ul class="nav nav-tabs nav-tabs-examples">
15033 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">Curl</a></li>
15034 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">Java</a></li>
15035 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">Android</a></li>
15036 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">Groovy</a></li>-->
15037 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">Obj-C</a></li>
15038 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">JavaScript</a></li>
15039 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">Angular</a></li>-->
15040 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">C#</a></li>
15041 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">PHP</a></li>
15042 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">Perl</a></li>
15043 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">Python</a></li>
15044 </ul>
15045
15046 <div class="tab-content">
15047 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053015048 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080015049 </div>
15050 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">
15051 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
15052import io.swagger.client.auth.*;
15053import io.swagger.client.model.*;
15054import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15055
15056import java.io.File;
15057import java.util.*;
15058
15059public class OnapsoinfraserviceInstantiationApiExample {
15060
15061 public static void main(String[] args) {
15062
15063 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15064 String version = version_example; // String |
15065 String serviceInstanceId = serviceInstanceId_example; // String |
15066 String vnfInstanceId = vnfInstanceId_example; // String |
15067 String body = body_example; // String |
15068 try {
15069 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
15070 } catch (ApiException e) {
15071 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#scaleOutVfModule");
15072 e.printStackTrace();
15073 }
15074 }
15075}</code></pre>
15076 </div>
15077
15078 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">
15079 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15080
15081public class OnapsoinfraserviceInstantiationApiExample {
15082
15083 public static void main(String[] args) {
15084 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15085 String version = version_example; // String |
15086 String serviceInstanceId = serviceInstanceId_example; // String |
15087 String vnfInstanceId = vnfInstanceId_example; // String |
15088 String body = body_example; // String |
15089 try {
15090 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
15091 } catch (ApiException e) {
15092 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#scaleOutVfModule");
15093 e.printStackTrace();
15094 }
15095 }
15096}</code></pre>
15097 </div>
15098 <!--
15099 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">
15100 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15101 </div> -->
15102 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">
15103 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
15104String *serviceInstanceId = serviceInstanceId_example; //
15105String *vnfInstanceId = vnfInstanceId_example; //
15106String *body = body_example; // (optional)
15107
15108OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15109
15110// VF Auto Scale Out
15111[apiInstance scaleOutVfModuleWith:version
15112 serviceInstanceId:serviceInstanceId
15113 vnfInstanceId:vnfInstanceId
15114 body:body
15115 completionHandler: ^(NSError* error) {
15116 if (error) {
15117 NSLog(@"Error: %@", error);
15118 }
15119 }];
15120</code></pre>
15121 </div>
15122
15123 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">
15124 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
15125
15126var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
15127
15128var version = version_example; // {String}
15129
15130var serviceInstanceId = serviceInstanceId_example; // {String}
15131
15132var vnfInstanceId = vnfInstanceId_example; // {String}
15133
15134var opts = {
15135 'body': body_example // {String}
15136};
15137
15138var callback = function(error, data, response) {
15139 if (error) {
15140 console.error(error);
15141 } else {
15142 console.log('API called successfully.');
15143 }
15144};
15145api.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, opts, callback);
15146</code></pre>
15147 </div>
15148
15149 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">
15150 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15151 </div>-->
15152 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">
15153 <pre class="prettyprint"><code class="language-cs">using System;
15154using System.Diagnostics;
15155using IO.Swagger.Api;
15156using IO.Swagger.Client;
15157using IO.Swagger.Model;
15158
15159namespace Example
15160{
15161 public class scaleOutVfModuleExample
15162 {
15163 public void main()
15164 {
15165
15166 var apiInstance = new OnapsoinfraserviceInstantiationApi();
15167 var version = version_example; // String |
15168 var serviceInstanceId = serviceInstanceId_example; // String |
15169 var vnfInstanceId = vnfInstanceId_example; // String |
15170 var body = body_example; // String | (optional)
15171
15172 try
15173 {
15174 // VF Auto Scale Out
15175 apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body);
15176 }
15177 catch (Exception e)
15178 {
15179 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.scaleOutVfModule: " + e.Message );
15180 }
15181 }
15182 }
15183}
15184</code></pre>
15185 </div>
15186
15187 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">
15188 <pre class="prettyprint"><code class="language-php"><&#63;php
15189require_once(__DIR__ . '/vendor/autoload.php');
15190
15191$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
15192$version = version_example; // String |
15193$serviceInstanceId = serviceInstanceId_example; // String |
15194$vnfInstanceId = vnfInstanceId_example; // String |
15195$body = body_example; // String |
15196
15197try {
15198 $api_instance->scaleOutVfModule($version, $serviceInstanceId, $vnfInstanceId, $body);
15199} catch (Exception $e) {
15200 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: ', $e->getMessage(), PHP_EOL;
15201}
15202?></code></pre>
15203 </div>
15204
15205 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">
15206 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15207use WWW::SwaggerClient::Configuration;
15208use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15209
15210my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
15211my $version = version_example; # String |
15212my $serviceInstanceId = serviceInstanceId_example; # String |
15213my $vnfInstanceId = vnfInstanceId_example; # String |
15214my $body = WWW::SwaggerClient::Object::String->new(); # String |
15215
15216eval {
15217 $api_instance->scaleOutVfModule(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
15218};
15219if ($@) {
15220 warn "Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: $@\n";
15221}</code></pre>
15222 </div>
15223
15224 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">
15225 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15226import time
15227import swagger_client
15228from swagger_client.rest import ApiException
15229from pprint import pprint
15230
15231# create an instance of the API class
15232api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
15233version = version_example # String |
15234serviceInstanceId = serviceInstanceId_example # String |
15235vnfInstanceId = vnfInstanceId_example # String |
15236body = body_example # String | (optional)
15237
15238try:
15239 # VF Auto Scale Out
15240 api_instance.scale_out_vf_module(version, serviceInstanceId, vnfInstanceId, body=body)
15241except ApiException as e:
15242 print("Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: %s\n" % e)</code></pre>
15243 </div>
15244 </div>
15245
15246 <h2>Parameters</h2>
15247
15248 <div class="methodsubtabletitle">Path parameters</div>
15249 <table id="methodsubtable">
15250 <tr>
15251 <th width="150px">Name</th>
15252 <th>Description</th>
15253 </tr>
15254 <tr><td style="width:150px;">version*</td>
15255<td>
15256
15257
15258 <div id="d2e199_scaleOutVfModule_version">
15259 <div class="json-schema-view">
15260 <div class="primitive">
15261 <span class="type">
15262 String
15263 </span>
15264
15265 </div>
15266 <div class="inner required">
15267 Required
15268 </div>
15269 </div>
15270 </div>
15271</td>
15272</tr>
15273
15274 <tr><td style="width:150px;">serviceInstanceId*</td>
15275<td>
15276
15277
15278 <div id="d2e199_scaleOutVfModule_serviceInstanceId">
15279 <div class="json-schema-view">
15280 <div class="primitive">
15281 <span class="type">
15282 String
15283 </span>
15284
15285 </div>
15286 <div class="inner required">
15287 Required
15288 </div>
15289 </div>
15290 </div>
15291</td>
15292</tr>
15293
15294 <tr><td style="width:150px;">vnfInstanceId*</td>
15295<td>
15296
15297
15298 <div id="d2e199_scaleOutVfModule_vnfInstanceId">
15299 <div class="json-schema-view">
15300 <div class="primitive">
15301 <span class="type">
15302 String
15303 </span>
15304
15305 </div>
15306 <div class="inner required">
15307 Required
15308 </div>
15309 </div>
15310 </div>
15311</td>
15312</tr>
15313
15314 </table>
15315
15316
15317 <div class="methodsubtabletitle">Body parameters</div>
15318 <table id="methodsubtable">
15319 <tr>
15320 <th width="150px">Name</th>
15321 <th>Description</th>
15322 </tr>
15323 <tr><td style="width:150px;">body </td>
15324<td>
15325
15326
15327<script>
15328$(document).ready(function() {
15329 var schemaWrapper = {
15330 "in" : "body",
15331 "name" : "body",
15332 "required" : false,
15333 "schema" : {
15334 "type" : "string"
15335 }
15336};
15337 var schema = schemaWrapper.schema;
15338 if (schema.$ref != null) {
15339 schema = defsParser.$refs.get(schema.$ref);
15340 } else {
15341 schemaWrapper.definitions = Object.assign({}, defs);
15342 $RefParser.dereference(schemaWrapper).catch(function(err) {
15343 console.log(err);
15344 });
15345 }
15346
15347 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
15348 var result = $('#d2e199_scaleOutVfModule_body');
15349 result.empty();
15350 result.append(view.render());
15351});
15352</script>
15353<div id="d2e199_scaleOutVfModule_body"></div>
15354</td>
15355</tr>
15356
15357 </table>
15358
15359
15360
15361 <h2>Responses</h2>
15362 <h3> Status: default - successful operation </h3>
15363
15364 <ul class="nav nav-tabs nav-tabs-examples" >
15365 </ul>
15366
15367 <div class="tab-content" style='margin-bottom: 10px;'>
15368 </div>
15369
15370 </article>
15371 </div>
15372 <hr>
15373 <div id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance">
15374 <article id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance-0" data-group="User" data-name="unassignServiceInstance" data-version="0">
15375 <div class="pull-left">
15376 <h1>unassignServiceInstance</h1>
15377 <p>Unassign Service Instance</p>
15378 </div>
15379 <div class="pull-right"></div>
15380 <div class="clearfix"></div>
15381 <p></p>
15382 <p class="marked"></p>
15383 <p></p>
15384 <br />
15385 <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign</span></code></pre>
15386 <p>
15387 <h3>Usage and SDK Samples</h3>
15388 </p>
15389 <ul class="nav nav-tabs nav-tabs-examples">
15390 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">Curl</a></li>
15391 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">Java</a></li>
15392 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">Android</a></li>
15393 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">Groovy</a></li>-->
15394 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">Obj-C</a></li>
15395 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">JavaScript</a></li>
15396 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">Angular</a></li>-->
15397 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">C#</a></li>
15398 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">PHP</a></li>
15399 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">Perl</a></li>
15400 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">Python</a></li>
15401 </ul>
15402
15403 <div class="tab-content">
15404 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053015405 <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080015406 </div>
15407 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">
15408 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
15409import io.swagger.client.auth.*;
15410import io.swagger.client.model.*;
15411import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15412
15413import java.io.File;
15414import java.util.*;
15415
15416public class OnapsoinfraserviceInstantiationApiExample {
15417
15418 public static void main(String[] args) {
15419
15420 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15421 String version = version_example; // String |
15422 String serviceInstanceId = serviceInstanceId_example; // String |
15423 String body = body_example; // String |
15424 try {
15425 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
15426 } catch (ApiException e) {
15427 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#unassignServiceInstance");
15428 e.printStackTrace();
15429 }
15430 }
15431}</code></pre>
15432 </div>
15433
15434 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">
15435 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15436
15437public class OnapsoinfraserviceInstantiationApiExample {
15438
15439 public static void main(String[] args) {
15440 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15441 String version = version_example; // String |
15442 String serviceInstanceId = serviceInstanceId_example; // String |
15443 String body = body_example; // String |
15444 try {
15445 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
15446 } catch (ApiException e) {
15447 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#unassignServiceInstance");
15448 e.printStackTrace();
15449 }
15450 }
15451}</code></pre>
15452 </div>
15453 <!--
15454 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">
15455 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15456 </div> -->
15457 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">
15458 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
15459String *serviceInstanceId = serviceInstanceId_example; //
15460String *body = body_example; // (optional)
15461
15462OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15463
15464// Unassign Service Instance
15465[apiInstance unassignServiceInstanceWith:version
15466 serviceInstanceId:serviceInstanceId
15467 body:body
15468 completionHandler: ^(NSError* error) {
15469 if (error) {
15470 NSLog(@"Error: %@", error);
15471 }
15472 }];
15473</code></pre>
15474 </div>
15475
15476 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">
15477 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
15478
15479var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
15480
15481var version = version_example; // {String}
15482
15483var serviceInstanceId = serviceInstanceId_example; // {String}
15484
15485var opts = {
15486 'body': body_example // {String}
15487};
15488
15489var callback = function(error, data, response) {
15490 if (error) {
15491 console.error(error);
15492 } else {
15493 console.log('API called successfully.');
15494 }
15495};
15496api.unassignServiceInstance(version, serviceInstanceId, opts, callback);
15497</code></pre>
15498 </div>
15499
15500 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">
15501 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15502 </div>-->
15503 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">
15504 <pre class="prettyprint"><code class="language-cs">using System;
15505using System.Diagnostics;
15506using IO.Swagger.Api;
15507using IO.Swagger.Client;
15508using IO.Swagger.Model;
15509
15510namespace Example
15511{
15512 public class unassignServiceInstanceExample
15513 {
15514 public void main()
15515 {
15516
15517 var apiInstance = new OnapsoinfraserviceInstantiationApi();
15518 var version = version_example; // String |
15519 var serviceInstanceId = serviceInstanceId_example; // String |
15520 var body = body_example; // String | (optional)
15521
15522 try
15523 {
15524 // Unassign Service Instance
15525 apiInstance.unassignServiceInstance(version, serviceInstanceId, body);
15526 }
15527 catch (Exception e)
15528 {
15529 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.unassignServiceInstance: " + e.Message );
15530 }
15531 }
15532 }
15533}
15534</code></pre>
15535 </div>
15536
15537 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">
15538 <pre class="prettyprint"><code class="language-php"><&#63;php
15539require_once(__DIR__ . '/vendor/autoload.php');
15540
15541$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
15542$version = version_example; // String |
15543$serviceInstanceId = serviceInstanceId_example; // String |
15544$body = body_example; // String |
15545
15546try {
15547 $api_instance->unassignServiceInstance($version, $serviceInstanceId, $body);
15548} catch (Exception $e) {
15549 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: ', $e->getMessage(), PHP_EOL;
15550}
15551?></code></pre>
15552 </div>
15553
15554 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">
15555 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15556use WWW::SwaggerClient::Configuration;
15557use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15558
15559my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
15560my $version = version_example; # String |
15561my $serviceInstanceId = serviceInstanceId_example; # String |
15562my $body = WWW::SwaggerClient::Object::String->new(); # String |
15563
15564eval {
15565 $api_instance->unassignServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body);
15566};
15567if ($@) {
15568 warn "Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: $@\n";
15569}</code></pre>
15570 </div>
15571
15572 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">
15573 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15574import time
15575import swagger_client
15576from swagger_client.rest import ApiException
15577from pprint import pprint
15578
15579# create an instance of the API class
15580api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
15581version = version_example # String |
15582serviceInstanceId = serviceInstanceId_example # String |
15583body = body_example # String | (optional)
15584
15585try:
15586 # Unassign Service Instance
15587 api_instance.unassign_service_instance(version, serviceInstanceId, body=body)
15588except ApiException as e:
15589 print("Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: %s\n" % e)</code></pre>
15590 </div>
15591 </div>
15592
15593 <h2>Parameters</h2>
15594
15595 <div class="methodsubtabletitle">Path parameters</div>
15596 <table id="methodsubtable">
15597 <tr>
15598 <th width="150px">Name</th>
15599 <th>Description</th>
15600 </tr>
15601 <tr><td style="width:150px;">version*</td>
15602<td>
15603
15604
15605 <div id="d2e199_unassignServiceInstance_version">
15606 <div class="json-schema-view">
15607 <div class="primitive">
15608 <span class="type">
15609 String
15610 </span>
15611
15612 </div>
15613 <div class="inner required">
15614 Required
15615 </div>
15616 </div>
15617 </div>
15618</td>
15619</tr>
15620
15621 <tr><td style="width:150px;">serviceInstanceId*</td>
15622<td>
15623
15624
15625 <div id="d2e199_unassignServiceInstance_serviceInstanceId">
15626 <div class="json-schema-view">
15627 <div class="primitive">
15628 <span class="type">
15629 String
15630 </span>
15631
15632 </div>
15633 <div class="inner required">
15634 Required
15635 </div>
15636 </div>
15637 </div>
15638</td>
15639</tr>
15640
15641 </table>
15642
15643
15644 <div class="methodsubtabletitle">Body parameters</div>
15645 <table id="methodsubtable">
15646 <tr>
15647 <th width="150px">Name</th>
15648 <th>Description</th>
15649 </tr>
15650 <tr><td style="width:150px;">body </td>
15651<td>
15652
15653
15654<script>
15655$(document).ready(function() {
15656 var schemaWrapper = {
15657 "in" : "body",
15658 "name" : "body",
15659 "required" : false,
15660 "schema" : {
15661 "type" : "string"
15662 }
15663};
15664 var schema = schemaWrapper.schema;
15665 if (schema.$ref != null) {
15666 schema = defsParser.$refs.get(schema.$ref);
15667 } else {
15668 schemaWrapper.definitions = Object.assign({}, defs);
15669 $RefParser.dereference(schemaWrapper).catch(function(err) {
15670 console.log(err);
15671 });
15672 }
15673
15674 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
15675 var result = $('#d2e199_unassignServiceInstance_body');
15676 result.empty();
15677 result.append(view.render());
15678});
15679</script>
15680<div id="d2e199_unassignServiceInstance_body"></div>
15681</td>
15682</tr>
15683
15684 </table>
15685
15686
15687
15688 <h2>Responses</h2>
15689 <h3> Status: default - successful operation </h3>
15690
15691 <ul class="nav nav-tabs nav-tabs-examples" >
15692 </ul>
15693
15694 <div class="tab-content" style='margin-bottom: 10px;'>
15695 </div>
15696
15697 </article>
15698 </div>
15699 <hr>
15700 <div id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance">
15701 <article id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance-0" data-group="User" data-name="updateNetworkInstance" data-version="0">
15702 <div class="pull-left">
15703 <h1>updateNetworkInstance</h1>
15704 <p>Update VolumeGroup on a specified version, serviceInstance, networkInstance</p>
15705 </div>
15706 <div class="pull-right"></div>
15707 <div class="clearfix"></div>
15708 <p></p>
15709 <p class="marked"></p>
15710 <p></p>
15711 <br />
15712 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre>
15713 <p>
15714 <h3>Usage and SDK Samples</h3>
15715 </p>
15716 <ul class="nav nav-tabs nav-tabs-examples">
15717 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">Curl</a></li>
15718 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">Java</a></li>
15719 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">Android</a></li>
15720 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">Groovy</a></li>-->
15721 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">Obj-C</a></li>
15722 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">JavaScript</a></li>
15723 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">Angular</a></li>-->
15724 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">C#</a></li>
15725 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">PHP</a></li>
15726 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">Perl</a></li>
15727 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">Python</a></li>
15728 </ul>
15729
15730 <div class="tab-content">
15731 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053015732 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080015733 </div>
15734 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">
15735 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
15736import io.swagger.client.auth.*;
15737import io.swagger.client.model.*;
15738import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15739
15740import java.io.File;
15741import java.util.*;
15742
15743public class OnapsoinfraserviceInstantiationApiExample {
15744
15745 public static void main(String[] args) {
15746
15747 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15748 String version = version_example; // String |
15749 String serviceInstanceId = serviceInstanceId_example; // String |
15750 String networkInstanceId = networkInstanceId_example; // String |
15751 String body = body_example; // String |
15752 try {
15753 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
15754 } catch (ApiException e) {
15755 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateNetworkInstance");
15756 e.printStackTrace();
15757 }
15758 }
15759}</code></pre>
15760 </div>
15761
15762 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">
15763 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
15764
15765public class OnapsoinfraserviceInstantiationApiExample {
15766
15767 public static void main(String[] args) {
15768 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
15769 String version = version_example; // String |
15770 String serviceInstanceId = serviceInstanceId_example; // String |
15771 String networkInstanceId = networkInstanceId_example; // String |
15772 String body = body_example; // String |
15773 try {
15774 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
15775 } catch (ApiException e) {
15776 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateNetworkInstance");
15777 e.printStackTrace();
15778 }
15779 }
15780}</code></pre>
15781 </div>
15782 <!--
15783 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">
15784 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15785 </div> -->
15786 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">
15787 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
15788String *serviceInstanceId = serviceInstanceId_example; //
15789String *networkInstanceId = networkInstanceId_example; //
15790String *body = body_example; // (optional)
15791
15792OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
15793
15794// Update VolumeGroup on a specified version, serviceInstance, networkInstance
15795[apiInstance updateNetworkInstanceWith:version
15796 serviceInstanceId:serviceInstanceId
15797 networkInstanceId:networkInstanceId
15798 body:body
15799 completionHandler: ^(NSError* error) {
15800 if (error) {
15801 NSLog(@"Error: %@", error);
15802 }
15803 }];
15804</code></pre>
15805 </div>
15806
15807 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">
15808 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
15809
15810var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
15811
15812var version = version_example; // {String}
15813
15814var serviceInstanceId = serviceInstanceId_example; // {String}
15815
15816var networkInstanceId = networkInstanceId_example; // {String}
15817
15818var opts = {
15819 'body': body_example // {String}
15820};
15821
15822var callback = function(error, data, response) {
15823 if (error) {
15824 console.error(error);
15825 } else {
15826 console.log('API called successfully.');
15827 }
15828};
15829api.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback);
15830</code></pre>
15831 </div>
15832
15833 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">
15834 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
15835 </div>-->
15836 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">
15837 <pre class="prettyprint"><code class="language-cs">using System;
15838using System.Diagnostics;
15839using IO.Swagger.Api;
15840using IO.Swagger.Client;
15841using IO.Swagger.Model;
15842
15843namespace Example
15844{
15845 public class updateNetworkInstanceExample
15846 {
15847 public void main()
15848 {
15849
15850 var apiInstance = new OnapsoinfraserviceInstantiationApi();
15851 var version = version_example; // String |
15852 var serviceInstanceId = serviceInstanceId_example; // String |
15853 var networkInstanceId = networkInstanceId_example; // String |
15854 var body = body_example; // String | (optional)
15855
15856 try
15857 {
15858 // Update VolumeGroup on a specified version, serviceInstance, networkInstance
15859 apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body);
15860 }
15861 catch (Exception e)
15862 {
15863 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateNetworkInstance: " + e.Message );
15864 }
15865 }
15866 }
15867}
15868</code></pre>
15869 </div>
15870
15871 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">
15872 <pre class="prettyprint"><code class="language-php"><&#63;php
15873require_once(__DIR__ . '/vendor/autoload.php');
15874
15875$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
15876$version = version_example; // String |
15877$serviceInstanceId = serviceInstanceId_example; // String |
15878$networkInstanceId = networkInstanceId_example; // String |
15879$body = body_example; // String |
15880
15881try {
15882 $api_instance->updateNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body);
15883} catch (Exception $e) {
15884 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: ', $e->getMessage(), PHP_EOL;
15885}
15886?></code></pre>
15887 </div>
15888
15889 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">
15890 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
15891use WWW::SwaggerClient::Configuration;
15892use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
15893
15894my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
15895my $version = version_example; # String |
15896my $serviceInstanceId = serviceInstanceId_example; # String |
15897my $networkInstanceId = networkInstanceId_example; # String |
15898my $body = WWW::SwaggerClient::Object::String->new(); # String |
15899
15900eval {
15901 $api_instance->updateNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body);
15902};
15903if ($@) {
15904 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: $@\n";
15905}</code></pre>
15906 </div>
15907
15908 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">
15909 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
15910import time
15911import swagger_client
15912from swagger_client.rest import ApiException
15913from pprint import pprint
15914
15915# create an instance of the API class
15916api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
15917version = version_example # String |
15918serviceInstanceId = serviceInstanceId_example # String |
15919networkInstanceId = networkInstanceId_example # String |
15920body = body_example # String | (optional)
15921
15922try:
15923 # Update VolumeGroup on a specified version, serviceInstance, networkInstance
15924 api_instance.update_network_instance(version, serviceInstanceId, networkInstanceId, body=body)
15925except ApiException as e:
15926 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: %s\n" % e)</code></pre>
15927 </div>
15928 </div>
15929
15930 <h2>Parameters</h2>
15931
15932 <div class="methodsubtabletitle">Path parameters</div>
15933 <table id="methodsubtable">
15934 <tr>
15935 <th width="150px">Name</th>
15936 <th>Description</th>
15937 </tr>
15938 <tr><td style="width:150px;">version*</td>
15939<td>
15940
15941
15942 <div id="d2e199_updateNetworkInstance_version">
15943 <div class="json-schema-view">
15944 <div class="primitive">
15945 <span class="type">
15946 String
15947 </span>
15948
15949 </div>
15950 <div class="inner required">
15951 Required
15952 </div>
15953 </div>
15954 </div>
15955</td>
15956</tr>
15957
15958 <tr><td style="width:150px;">serviceInstanceId*</td>
15959<td>
15960
15961
15962 <div id="d2e199_updateNetworkInstance_serviceInstanceId">
15963 <div class="json-schema-view">
15964 <div class="primitive">
15965 <span class="type">
15966 String
15967 </span>
15968
15969 </div>
15970 <div class="inner required">
15971 Required
15972 </div>
15973 </div>
15974 </div>
15975</td>
15976</tr>
15977
15978 <tr><td style="width:150px;">networkInstanceId*</td>
15979<td>
15980
15981
15982 <div id="d2e199_updateNetworkInstance_networkInstanceId">
15983 <div class="json-schema-view">
15984 <div class="primitive">
15985 <span class="type">
15986 String
15987 </span>
15988
15989 </div>
15990 <div class="inner required">
15991 Required
15992 </div>
15993 </div>
15994 </div>
15995</td>
15996</tr>
15997
15998 </table>
15999
16000
16001 <div class="methodsubtabletitle">Body parameters</div>
16002 <table id="methodsubtable">
16003 <tr>
16004 <th width="150px">Name</th>
16005 <th>Description</th>
16006 </tr>
16007 <tr><td style="width:150px;">body </td>
16008<td>
16009
16010
16011<script>
16012$(document).ready(function() {
16013 var schemaWrapper = {
16014 "in" : "body",
16015 "name" : "body",
16016 "required" : false,
16017 "schema" : {
16018 "type" : "string"
16019 }
16020};
16021 var schema = schemaWrapper.schema;
16022 if (schema.$ref != null) {
16023 schema = defsParser.$refs.get(schema.$ref);
16024 } else {
16025 schemaWrapper.definitions = Object.assign({}, defs);
16026 $RefParser.dereference(schemaWrapper).catch(function(err) {
16027 console.log(err);
16028 });
16029 }
16030
16031 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
16032 var result = $('#d2e199_updateNetworkInstance_body');
16033 result.empty();
16034 result.append(view.render());
16035});
16036</script>
16037<div id="d2e199_updateNetworkInstance_body"></div>
16038</td>
16039</tr>
16040
16041 </table>
16042
16043
16044
16045 <h2>Responses</h2>
16046 <h3> Status: default - successful operation </h3>
16047
16048 <ul class="nav nav-tabs nav-tabs-examples" >
16049 </ul>
16050
16051 <div class="tab-content" style='margin-bottom: 10px;'>
16052 </div>
16053
16054 </article>
16055 </div>
16056 <hr>
16057 <div id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">
16058 <article id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0" data-group="User" data-name="updateVfModuleInstance" data-version="0">
16059 <div class="pull-left">
16060 <h1>updateVfModuleInstance</h1>
16061 <p>Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule</p>
16062 </div>
16063 <div class="pull-right"></div>
16064 <div class="clearfix"></div>
16065 <p></p>
16066 <p class="marked"></p>
16067 <p></p>
16068 <br />
16069 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre>
16070 <p>
16071 <h3>Usage and SDK Samples</h3>
16072 </p>
16073 <ul class="nav nav-tabs nav-tabs-examples">
16074 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">Curl</a></li>
16075 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">Java</a></li>
16076 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">Android</a></li>
16077 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">Groovy</a></li>-->
16078 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">Obj-C</a></li>
16079 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">JavaScript</a></li>
16080 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">Angular</a></li>-->
16081 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">C#</a></li>
16082 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">PHP</a></li>
16083 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">Perl</a></li>
16084 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">Python</a></li>
16085 </ul>
16086
16087 <div class="tab-content">
16088 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053016089 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080016090 </div>
16091 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">
16092 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16093import io.swagger.client.auth.*;
16094import io.swagger.client.model.*;
16095import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16096
16097import java.io.File;
16098import java.util.*;
16099
16100public class OnapsoinfraserviceInstantiationApiExample {
16101
16102 public static void main(String[] args) {
16103
16104 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16105 String version = version_example; // String |
16106 String serviceInstanceId = serviceInstanceId_example; // String |
16107 String vnfInstanceId = vnfInstanceId_example; // String |
16108 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
16109 String body = body_example; // String |
16110 try {
16111 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
16112 } catch (ApiException e) {
16113 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVfModuleInstance");
16114 e.printStackTrace();
16115 }
16116 }
16117}</code></pre>
16118 </div>
16119
16120 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">
16121 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16122
16123public class OnapsoinfraserviceInstantiationApiExample {
16124
16125 public static void main(String[] args) {
16126 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16127 String version = version_example; // String |
16128 String serviceInstanceId = serviceInstanceId_example; // String |
16129 String vnfInstanceId = vnfInstanceId_example; // String |
16130 String vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
16131 String body = body_example; // String |
16132 try {
16133 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
16134 } catch (ApiException e) {
16135 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVfModuleInstance");
16136 e.printStackTrace();
16137 }
16138 }
16139}</code></pre>
16140 </div>
16141 <!--
16142 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">
16143 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16144 </div> -->
16145 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">
16146 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16147String *serviceInstanceId = serviceInstanceId_example; //
16148String *vnfInstanceId = vnfInstanceId_example; //
16149String *vfmoduleInstanceId = vfmoduleInstanceId_example; //
16150String *body = body_example; // (optional)
16151
16152OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16153
16154// Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
16155[apiInstance updateVfModuleInstanceWith:version
16156 serviceInstanceId:serviceInstanceId
16157 vnfInstanceId:vnfInstanceId
16158 vfmoduleInstanceId:vfmoduleInstanceId
16159 body:body
16160 completionHandler: ^(NSError* error) {
16161 if (error) {
16162 NSLog(@"Error: %@", error);
16163 }
16164 }];
16165</code></pre>
16166 </div>
16167
16168 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">
16169 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
16170
16171var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
16172
16173var version = version_example; // {String}
16174
16175var serviceInstanceId = serviceInstanceId_example; // {String}
16176
16177var vnfInstanceId = vnfInstanceId_example; // {String}
16178
16179var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String}
16180
16181var opts = {
16182 'body': body_example // {String}
16183};
16184
16185var callback = function(error, data, response) {
16186 if (error) {
16187 console.error(error);
16188 } else {
16189 console.log('API called successfully.');
16190 }
16191};
16192api.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback);
16193</code></pre>
16194 </div>
16195
16196 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">
16197 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16198 </div>-->
16199 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">
16200 <pre class="prettyprint"><code class="language-cs">using System;
16201using System.Diagnostics;
16202using IO.Swagger.Api;
16203using IO.Swagger.Client;
16204using IO.Swagger.Model;
16205
16206namespace Example
16207{
16208 public class updateVfModuleInstanceExample
16209 {
16210 public void main()
16211 {
16212
16213 var apiInstance = new OnapsoinfraserviceInstantiationApi();
16214 var version = version_example; // String |
16215 var serviceInstanceId = serviceInstanceId_example; // String |
16216 var vnfInstanceId = vnfInstanceId_example; // String |
16217 var vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
16218 var body = body_example; // String | (optional)
16219
16220 try
16221 {
16222 // Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
16223 apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body);
16224 }
16225 catch (Exception e)
16226 {
16227 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVfModuleInstance: " + e.Message );
16228 }
16229 }
16230 }
16231}
16232</code></pre>
16233 </div>
16234
16235 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">
16236 <pre class="prettyprint"><code class="language-php"><&#63;php
16237require_once(__DIR__ . '/vendor/autoload.php');
16238
16239$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
16240$version = version_example; // String |
16241$serviceInstanceId = serviceInstanceId_example; // String |
16242$vnfInstanceId = vnfInstanceId_example; // String |
16243$vfmoduleInstanceId = vfmoduleInstanceId_example; // String |
16244$body = body_example; // String |
16245
16246try {
16247 $api_instance->updateVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body);
16248} catch (Exception $e) {
16249 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: ', $e->getMessage(), PHP_EOL;
16250}
16251?></code></pre>
16252 </div>
16253
16254 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">
16255 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
16256use WWW::SwaggerClient::Configuration;
16257use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
16258
16259my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
16260my $version = version_example; # String |
16261my $serviceInstanceId = serviceInstanceId_example; # String |
16262my $vnfInstanceId = vnfInstanceId_example; # String |
16263my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String |
16264my $body = WWW::SwaggerClient::Object::String->new(); # String |
16265
16266eval {
16267 $api_instance->updateVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body);
16268};
16269if ($@) {
16270 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: $@\n";
16271}</code></pre>
16272 </div>
16273
16274 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">
16275 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
16276import time
16277import swagger_client
16278from swagger_client.rest import ApiException
16279from pprint import pprint
16280
16281# create an instance of the API class
16282api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
16283version = version_example # String |
16284serviceInstanceId = serviceInstanceId_example # String |
16285vnfInstanceId = vnfInstanceId_example # String |
16286vfmoduleInstanceId = vfmoduleInstanceId_example # String |
16287body = body_example # String | (optional)
16288
16289try:
16290 # Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule
16291 api_instance.update_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body)
16292except ApiException as e:
16293 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: %s\n" % e)</code></pre>
16294 </div>
16295 </div>
16296
16297 <h2>Parameters</h2>
16298
16299 <div class="methodsubtabletitle">Path parameters</div>
16300 <table id="methodsubtable">
16301 <tr>
16302 <th width="150px">Name</th>
16303 <th>Description</th>
16304 </tr>
16305 <tr><td style="width:150px;">version*</td>
16306<td>
16307
16308
16309 <div id="d2e199_updateVfModuleInstance_version">
16310 <div class="json-schema-view">
16311 <div class="primitive">
16312 <span class="type">
16313 String
16314 </span>
16315
16316 </div>
16317 <div class="inner required">
16318 Required
16319 </div>
16320 </div>
16321 </div>
16322</td>
16323</tr>
16324
16325 <tr><td style="width:150px;">serviceInstanceId*</td>
16326<td>
16327
16328
16329 <div id="d2e199_updateVfModuleInstance_serviceInstanceId">
16330 <div class="json-schema-view">
16331 <div class="primitive">
16332 <span class="type">
16333 String
16334 </span>
16335
16336 </div>
16337 <div class="inner required">
16338 Required
16339 </div>
16340 </div>
16341 </div>
16342</td>
16343</tr>
16344
16345 <tr><td style="width:150px;">vnfInstanceId*</td>
16346<td>
16347
16348
16349 <div id="d2e199_updateVfModuleInstance_vnfInstanceId">
16350 <div class="json-schema-view">
16351 <div class="primitive">
16352 <span class="type">
16353 String
16354 </span>
16355
16356 </div>
16357 <div class="inner required">
16358 Required
16359 </div>
16360 </div>
16361 </div>
16362</td>
16363</tr>
16364
16365 <tr><td style="width:150px;">vfmoduleInstanceId*</td>
16366<td>
16367
16368
16369 <div id="d2e199_updateVfModuleInstance_vfmoduleInstanceId">
16370 <div class="json-schema-view">
16371 <div class="primitive">
16372 <span class="type">
16373 String
16374 </span>
16375
16376 </div>
16377 <div class="inner required">
16378 Required
16379 </div>
16380 </div>
16381 </div>
16382</td>
16383</tr>
16384
16385 </table>
16386
16387
16388 <div class="methodsubtabletitle">Body parameters</div>
16389 <table id="methodsubtable">
16390 <tr>
16391 <th width="150px">Name</th>
16392 <th>Description</th>
16393 </tr>
16394 <tr><td style="width:150px;">body </td>
16395<td>
16396
16397
16398<script>
16399$(document).ready(function() {
16400 var schemaWrapper = {
16401 "in" : "body",
16402 "name" : "body",
16403 "required" : false,
16404 "schema" : {
16405 "type" : "string"
16406 }
16407};
16408 var schema = schemaWrapper.schema;
16409 if (schema.$ref != null) {
16410 schema = defsParser.$refs.get(schema.$ref);
16411 } else {
16412 schemaWrapper.definitions = Object.assign({}, defs);
16413 $RefParser.dereference(schemaWrapper).catch(function(err) {
16414 console.log(err);
16415 });
16416 }
16417
16418 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
16419 var result = $('#d2e199_updateVfModuleInstance_body');
16420 result.empty();
16421 result.append(view.render());
16422});
16423</script>
16424<div id="d2e199_updateVfModuleInstance_body"></div>
16425</td>
16426</tr>
16427
16428 </table>
16429
16430
16431
16432 <h2>Responses</h2>
16433 <h3> Status: default - successful operation </h3>
16434
16435 <ul class="nav nav-tabs nav-tabs-examples" >
16436 </ul>
16437
16438 <div class="tab-content" style='margin-bottom: 10px;'>
16439 </div>
16440
16441 </article>
16442 </div>
16443 <hr>
16444 <div id="api-OnapsoinfraserviceInstantiation-updateVnfInstance">
16445 <article id="api-OnapsoinfraserviceInstantiation-updateVnfInstance-0" data-group="User" data-name="updateVnfInstance" data-version="0">
16446 <div class="pull-left">
16447 <h1>updateVnfInstance</h1>
16448 <p>Update VNF on a specified version, serviceInstance and vnfInstance</p>
16449 </div>
16450 <div class="pull-right"></div>
16451 <div class="clearfix"></div>
16452 <p></p>
16453 <p class="marked"></p>
16454 <p></p>
16455 <br />
16456 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre>
16457 <p>
16458 <h3>Usage and SDK Samples</h3>
16459 </p>
16460 <ul class="nav nav-tabs nav-tabs-examples">
16461 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">Curl</a></li>
16462 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">Java</a></li>
16463 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">Android</a></li>
16464 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">Groovy</a></li>-->
16465 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">Obj-C</a></li>
16466 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">JavaScript</a></li>
16467 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">Angular</a></li>-->
16468 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">C#</a></li>
16469 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">PHP</a></li>
16470 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">Perl</a></li>
16471 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">Python</a></li>
16472 </ul>
16473
16474 <div class="tab-content">
16475 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053016476 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080016477 </div>
16478 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">
16479 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16480import io.swagger.client.auth.*;
16481import io.swagger.client.model.*;
16482import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16483
16484import java.io.File;
16485import java.util.*;
16486
16487public class OnapsoinfraserviceInstantiationApiExample {
16488
16489 public static void main(String[] args) {
16490
16491 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16492 String version = version_example; // String |
16493 String serviceInstanceId = serviceInstanceId_example; // String |
16494 String vnfInstanceId = vnfInstanceId_example; // String |
16495 String body = body_example; // String |
16496 try {
16497 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
16498 } catch (ApiException e) {
16499 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVnfInstance");
16500 e.printStackTrace();
16501 }
16502 }
16503}</code></pre>
16504 </div>
16505
16506 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">
16507 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16508
16509public class OnapsoinfraserviceInstantiationApiExample {
16510
16511 public static void main(String[] args) {
16512 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16513 String version = version_example; // String |
16514 String serviceInstanceId = serviceInstanceId_example; // String |
16515 String vnfInstanceId = vnfInstanceId_example; // String |
16516 String body = body_example; // String |
16517 try {
16518 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
16519 } catch (ApiException e) {
16520 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVnfInstance");
16521 e.printStackTrace();
16522 }
16523 }
16524}</code></pre>
16525 </div>
16526 <!--
16527 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">
16528 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16529 </div> -->
16530 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">
16531 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16532String *serviceInstanceId = serviceInstanceId_example; //
16533String *vnfInstanceId = vnfInstanceId_example; //
16534String *body = body_example; // (optional)
16535
16536OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16537
16538// Update VNF on a specified version, serviceInstance and vnfInstance
16539[apiInstance updateVnfInstanceWith:version
16540 serviceInstanceId:serviceInstanceId
16541 vnfInstanceId:vnfInstanceId
16542 body:body
16543 completionHandler: ^(NSError* error) {
16544 if (error) {
16545 NSLog(@"Error: %@", error);
16546 }
16547 }];
16548</code></pre>
16549 </div>
16550
16551 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">
16552 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
16553
16554var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
16555
16556var version = version_example; // {String}
16557
16558var serviceInstanceId = serviceInstanceId_example; // {String}
16559
16560var vnfInstanceId = vnfInstanceId_example; // {String}
16561
16562var opts = {
16563 'body': body_example // {String}
16564};
16565
16566var callback = function(error, data, response) {
16567 if (error) {
16568 console.error(error);
16569 } else {
16570 console.log('API called successfully.');
16571 }
16572};
16573api.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback);
16574</code></pre>
16575 </div>
16576
16577 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">
16578 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16579 </div>-->
16580 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">
16581 <pre class="prettyprint"><code class="language-cs">using System;
16582using System.Diagnostics;
16583using IO.Swagger.Api;
16584using IO.Swagger.Client;
16585using IO.Swagger.Model;
16586
16587namespace Example
16588{
16589 public class updateVnfInstanceExample
16590 {
16591 public void main()
16592 {
16593
16594 var apiInstance = new OnapsoinfraserviceInstantiationApi();
16595 var version = version_example; // String |
16596 var serviceInstanceId = serviceInstanceId_example; // String |
16597 var vnfInstanceId = vnfInstanceId_example; // String |
16598 var body = body_example; // String | (optional)
16599
16600 try
16601 {
16602 // Update VNF on a specified version, serviceInstance and vnfInstance
16603 apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body);
16604 }
16605 catch (Exception e)
16606 {
16607 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVnfInstance: " + e.Message );
16608 }
16609 }
16610 }
16611}
16612</code></pre>
16613 </div>
16614
16615 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">
16616 <pre class="prettyprint"><code class="language-php"><&#63;php
16617require_once(__DIR__ . '/vendor/autoload.php');
16618
16619$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
16620$version = version_example; // String |
16621$serviceInstanceId = serviceInstanceId_example; // String |
16622$vnfInstanceId = vnfInstanceId_example; // String |
16623$body = body_example; // String |
16624
16625try {
16626 $api_instance->updateVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body);
16627} catch (Exception $e) {
16628 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: ', $e->getMessage(), PHP_EOL;
16629}
16630?></code></pre>
16631 </div>
16632
16633 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">
16634 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
16635use WWW::SwaggerClient::Configuration;
16636use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
16637
16638my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
16639my $version = version_example; # String |
16640my $serviceInstanceId = serviceInstanceId_example; # String |
16641my $vnfInstanceId = vnfInstanceId_example; # String |
16642my $body = WWW::SwaggerClient::Object::String->new(); # String |
16643
16644eval {
16645 $api_instance->updateVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body);
16646};
16647if ($@) {
16648 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: $@\n";
16649}</code></pre>
16650 </div>
16651
16652 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">
16653 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
16654import time
16655import swagger_client
16656from swagger_client.rest import ApiException
16657from pprint import pprint
16658
16659# create an instance of the API class
16660api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
16661version = version_example # String |
16662serviceInstanceId = serviceInstanceId_example # String |
16663vnfInstanceId = vnfInstanceId_example # String |
16664body = body_example # String | (optional)
16665
16666try:
16667 # Update VNF on a specified version, serviceInstance and vnfInstance
16668 api_instance.update_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body)
16669except ApiException as e:
16670 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: %s\n" % e)</code></pre>
16671 </div>
16672 </div>
16673
16674 <h2>Parameters</h2>
16675
16676 <div class="methodsubtabletitle">Path parameters</div>
16677 <table id="methodsubtable">
16678 <tr>
16679 <th width="150px">Name</th>
16680 <th>Description</th>
16681 </tr>
16682 <tr><td style="width:150px;">version*</td>
16683<td>
16684
16685
16686 <div id="d2e199_updateVnfInstance_version">
16687 <div class="json-schema-view">
16688 <div class="primitive">
16689 <span class="type">
16690 String
16691 </span>
16692
16693 </div>
16694 <div class="inner required">
16695 Required
16696 </div>
16697 </div>
16698 </div>
16699</td>
16700</tr>
16701
16702 <tr><td style="width:150px;">serviceInstanceId*</td>
16703<td>
16704
16705
16706 <div id="d2e199_updateVnfInstance_serviceInstanceId">
16707 <div class="json-schema-view">
16708 <div class="primitive">
16709 <span class="type">
16710 String
16711 </span>
16712
16713 </div>
16714 <div class="inner required">
16715 Required
16716 </div>
16717 </div>
16718 </div>
16719</td>
16720</tr>
16721
16722 <tr><td style="width:150px;">vnfInstanceId*</td>
16723<td>
16724
16725
16726 <div id="d2e199_updateVnfInstance_vnfInstanceId">
16727 <div class="json-schema-view">
16728 <div class="primitive">
16729 <span class="type">
16730 String
16731 </span>
16732
16733 </div>
16734 <div class="inner required">
16735 Required
16736 </div>
16737 </div>
16738 </div>
16739</td>
16740</tr>
16741
16742 </table>
16743
16744
16745 <div class="methodsubtabletitle">Body parameters</div>
16746 <table id="methodsubtable">
16747 <tr>
16748 <th width="150px">Name</th>
16749 <th>Description</th>
16750 </tr>
16751 <tr><td style="width:150px;">body </td>
16752<td>
16753
16754
16755<script>
16756$(document).ready(function() {
16757 var schemaWrapper = {
16758 "in" : "body",
16759 "name" : "body",
16760 "required" : false,
16761 "schema" : {
16762 "type" : "string"
16763 }
16764};
16765 var schema = schemaWrapper.schema;
16766 if (schema.$ref != null) {
16767 schema = defsParser.$refs.get(schema.$ref);
16768 } else {
16769 schemaWrapper.definitions = Object.assign({}, defs);
16770 $RefParser.dereference(schemaWrapper).catch(function(err) {
16771 console.log(err);
16772 });
16773 }
16774
16775 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
16776 var result = $('#d2e199_updateVnfInstance_body');
16777 result.empty();
16778 result.append(view.render());
16779});
16780</script>
16781<div id="d2e199_updateVnfInstance_body"></div>
16782</td>
16783</tr>
16784
16785 </table>
16786
16787
16788
16789 <h2>Responses</h2>
16790 <h3> Status: default - successful operation </h3>
16791
16792 <ul class="nav nav-tabs nav-tabs-examples" >
16793 </ul>
16794
16795 <div class="tab-content" style='margin-bottom: 10px;'>
16796 </div>
16797
16798 </article>
16799 </div>
16800 <hr>
16801 <div id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">
16802 <article id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0" data-group="User" data-name="updateVolumeGroupInstance" data-version="0">
16803 <div class="pull-left">
16804 <h1>updateVolumeGroupInstance</h1>
16805 <p>Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup</p>
16806 </div>
16807 <div class="pull-right"></div>
16808 <div class="clearfix"></div>
16809 <p></p>
16810 <p class="marked"></p>
16811 <p></p>
16812 <br />
16813 <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre>
16814 <p>
16815 <h3>Usage and SDK Samples</h3>
16816 </p>
16817 <ul class="nav nav-tabs nav-tabs-examples">
16818 <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">Curl</a></li>
16819 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">Java</a></li>
16820 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">Android</a></li>
16821 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">Groovy</a></li>-->
16822 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">Obj-C</a></li>
16823 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">JavaScript</a></li>
16824 <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">Angular</a></li>-->
16825 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">C#</a></li>
16826 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">PHP</a></li>
16827 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">Perl</a></li>
16828 <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">Python</a></li>
16829 </ul>
16830
16831 <div class="tab-content">
16832 <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053016833 <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080016834 </div>
16835 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">
16836 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
16837import io.swagger.client.auth.*;
16838import io.swagger.client.model.*;
16839import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16840
16841import java.io.File;
16842import java.util.*;
16843
16844public class OnapsoinfraserviceInstantiationApiExample {
16845
16846 public static void main(String[] args) {
16847
16848 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16849 String version = version_example; // String |
16850 String serviceInstanceId = serviceInstanceId_example; // String |
16851 String vnfInstanceId = vnfInstanceId_example; // String |
16852 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
16853 String body = body_example; // String |
16854 try {
16855 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
16856 } catch (ApiException e) {
16857 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVolumeGroupInstance");
16858 e.printStackTrace();
16859 }
16860 }
16861}</code></pre>
16862 </div>
16863
16864 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">
16865 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi;
16866
16867public class OnapsoinfraserviceInstantiationApiExample {
16868
16869 public static void main(String[] args) {
16870 OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi();
16871 String version = version_example; // String |
16872 String serviceInstanceId = serviceInstanceId_example; // String |
16873 String vnfInstanceId = vnfInstanceId_example; // String |
16874 String volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
16875 String body = body_example; // String |
16876 try {
16877 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
16878 } catch (ApiException e) {
16879 System.err.println("Exception when calling OnapsoinfraserviceInstantiationApi#updateVolumeGroupInstance");
16880 e.printStackTrace();
16881 }
16882 }
16883}</code></pre>
16884 </div>
16885 <!--
16886 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">
16887 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16888 </div> -->
16889 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">
16890 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
16891String *serviceInstanceId = serviceInstanceId_example; //
16892String *vnfInstanceId = vnfInstanceId_example; //
16893String *volumeGroupInstanceId = volumeGroupInstanceId_example; //
16894String *body = body_example; // (optional)
16895
16896OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init];
16897
16898// Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
16899[apiInstance updateVolumeGroupInstanceWith:version
16900 serviceInstanceId:serviceInstanceId
16901 vnfInstanceId:vnfInstanceId
16902 volumeGroupInstanceId:volumeGroupInstanceId
16903 body:body
16904 completionHandler: ^(NSError* error) {
16905 if (error) {
16906 NSLog(@"Error: %@", error);
16907 }
16908 }];
16909</code></pre>
16910 </div>
16911
16912 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">
16913 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
16914
16915var api = new SoCasablancaApIs.OnapsoinfraserviceInstantiationApi()
16916
16917var version = version_example; // {String}
16918
16919var serviceInstanceId = serviceInstanceId_example; // {String}
16920
16921var vnfInstanceId = vnfInstanceId_example; // {String}
16922
16923var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String}
16924
16925var opts = {
16926 'body': body_example // {String}
16927};
16928
16929var callback = function(error, data, response) {
16930 if (error) {
16931 console.error(error);
16932 } else {
16933 console.log('API called successfully.');
16934 }
16935};
16936api.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback);
16937</code></pre>
16938 </div>
16939
16940 <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">
16941 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
16942 </div>-->
16943 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">
16944 <pre class="prettyprint"><code class="language-cs">using System;
16945using System.Diagnostics;
16946using IO.Swagger.Api;
16947using IO.Swagger.Client;
16948using IO.Swagger.Model;
16949
16950namespace Example
16951{
16952 public class updateVolumeGroupInstanceExample
16953 {
16954 public void main()
16955 {
16956
16957 var apiInstance = new OnapsoinfraserviceInstantiationApi();
16958 var version = version_example; // String |
16959 var serviceInstanceId = serviceInstanceId_example; // String |
16960 var vnfInstanceId = vnfInstanceId_example; // String |
16961 var volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
16962 var body = body_example; // String | (optional)
16963
16964 try
16965 {
16966 // Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
16967 apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body);
16968 }
16969 catch (Exception e)
16970 {
16971 Debug.Print("Exception when calling OnapsoinfraserviceInstantiationApi.updateVolumeGroupInstance: " + e.Message );
16972 }
16973 }
16974 }
16975}
16976</code></pre>
16977 </div>
16978
16979 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">
16980 <pre class="prettyprint"><code class="language-php"><&#63;php
16981require_once(__DIR__ . '/vendor/autoload.php');
16982
16983$api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi();
16984$version = version_example; // String |
16985$serviceInstanceId = serviceInstanceId_example; // String |
16986$vnfInstanceId = vnfInstanceId_example; // String |
16987$volumeGroupInstanceId = volumeGroupInstanceId_example; // String |
16988$body = body_example; // String |
16989
16990try {
16991 $api_instance->updateVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body);
16992} catch (Exception $e) {
16993 echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: ', $e->getMessage(), PHP_EOL;
16994}
16995?></code></pre>
16996 </div>
16997
16998 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">
16999 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
17000use WWW::SwaggerClient::Configuration;
17001use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi;
17002
17003my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new();
17004my $version = version_example; # String |
17005my $serviceInstanceId = serviceInstanceId_example; # String |
17006my $vnfInstanceId = vnfInstanceId_example; # String |
17007my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String |
17008my $body = WWW::SwaggerClient::Object::String->new(); # String |
17009
17010eval {
17011 $api_instance->updateVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body);
17012};
17013if ($@) {
17014 warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: $@\n";
17015}</code></pre>
17016 </div>
17017
17018 <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">
17019 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
17020import time
17021import swagger_client
17022from swagger_client.rest import ApiException
17023from pprint import pprint
17024
17025# create an instance of the API class
17026api_instance = swagger_client.OnapsoinfraserviceInstantiationApi()
17027version = version_example # String |
17028serviceInstanceId = serviceInstanceId_example # String |
17029vnfInstanceId = vnfInstanceId_example # String |
17030volumeGroupInstanceId = volumeGroupInstanceId_example # String |
17031body = body_example # String | (optional)
17032
17033try:
17034 # Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup
17035 api_instance.update_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body)
17036except ApiException as e:
17037 print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: %s\n" % e)</code></pre>
17038 </div>
17039 </div>
17040
17041 <h2>Parameters</h2>
17042
17043 <div class="methodsubtabletitle">Path parameters</div>
17044 <table id="methodsubtable">
17045 <tr>
17046 <th width="150px">Name</th>
17047 <th>Description</th>
17048 </tr>
17049 <tr><td style="width:150px;">version*</td>
17050<td>
17051
17052
17053 <div id="d2e199_updateVolumeGroupInstance_version">
17054 <div class="json-schema-view">
17055 <div class="primitive">
17056 <span class="type">
17057 String
17058 </span>
17059
17060 </div>
17061 <div class="inner required">
17062 Required
17063 </div>
17064 </div>
17065 </div>
17066</td>
17067</tr>
17068
17069 <tr><td style="width:150px;">serviceInstanceId*</td>
17070<td>
17071
17072
17073 <div id="d2e199_updateVolumeGroupInstance_serviceInstanceId">
17074 <div class="json-schema-view">
17075 <div class="primitive">
17076 <span class="type">
17077 String
17078 </span>
17079
17080 </div>
17081 <div class="inner required">
17082 Required
17083 </div>
17084 </div>
17085 </div>
17086</td>
17087</tr>
17088
17089 <tr><td style="width:150px;">vnfInstanceId*</td>
17090<td>
17091
17092
17093 <div id="d2e199_updateVolumeGroupInstance_vnfInstanceId">
17094 <div class="json-schema-view">
17095 <div class="primitive">
17096 <span class="type">
17097 String
17098 </span>
17099
17100 </div>
17101 <div class="inner required">
17102 Required
17103 </div>
17104 </div>
17105 </div>
17106</td>
17107</tr>
17108
17109 <tr><td style="width:150px;">volumeGroupInstanceId*</td>
17110<td>
17111
17112
17113 <div id="d2e199_updateVolumeGroupInstance_volumeGroupInstanceId">
17114 <div class="json-schema-view">
17115 <div class="primitive">
17116 <span class="type">
17117 String
17118 </span>
17119
17120 </div>
17121 <div class="inner required">
17122 Required
17123 </div>
17124 </div>
17125 </div>
17126</td>
17127</tr>
17128
17129 </table>
17130
17131
17132 <div class="methodsubtabletitle">Body parameters</div>
17133 <table id="methodsubtable">
17134 <tr>
17135 <th width="150px">Name</th>
17136 <th>Description</th>
17137 </tr>
17138 <tr><td style="width:150px;">body </td>
17139<td>
17140
17141
17142<script>
17143$(document).ready(function() {
17144 var schemaWrapper = {
17145 "in" : "body",
17146 "name" : "body",
17147 "required" : false,
17148 "schema" : {
17149 "type" : "string"
17150 }
17151};
17152 var schema = schemaWrapper.schema;
17153 if (schema.$ref != null) {
17154 schema = defsParser.$refs.get(schema.$ref);
17155 } else {
17156 schemaWrapper.definitions = Object.assign({}, defs);
17157 $RefParser.dereference(schemaWrapper).catch(function(err) {
17158 console.log(err);
17159 });
17160 }
17161
17162 var view = new JSONSchemaView(schema,2,{isBodyParam: true});
17163 var result = $('#d2e199_updateVolumeGroupInstance_body');
17164 result.empty();
17165 result.append(view.render());
17166});
17167</script>
17168<div id="d2e199_updateVolumeGroupInstance_body"></div>
17169</td>
17170</tr>
17171
17172 </table>
17173
17174
17175
17176 <h2>Responses</h2>
17177 <h3> Status: default - successful operation </h3>
17178
17179 <ul class="nav nav-tabs nav-tabs-examples" >
17180 </ul>
17181
17182 <div class="tab-content" style='margin-bottom: 10px;'>
17183 </div>
17184
17185 </article>
17186 </div>
17187 <hr>
17188 </section>
17189 <section id="api-Onapsoinfratasks">
17190 <h1>Onapsoinfratasks</h1>
17191 <div id="api-Onapsoinfratasks-queryFilters">
17192 <article id="api-Onapsoinfratasks-queryFilters-0" data-group="User" data-name="queryFilters" data-version="0">
17193 <div class="pull-left">
17194 <h1>queryFilters</h1>
17195 <p>Finds Manual Tasks</p>
17196 </div>
17197 <div class="pull-right"></div>
17198 <div class="clearfix"></div>
17199 <p></p>
17200 <p class="marked"></p>
17201 <p></p>
17202 <br />
17203 <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/tasks/{version}</span></code></pre>
17204 <p>
17205 <h3>Usage and SDK Samples</h3>
17206 </p>
17207 <ul class="nav nav-tabs nav-tabs-examples">
17208 <li class="active"><a href="#examples-Onapsoinfratasks-queryFilters-0-curl">Curl</a></li>
17209 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-java">Java</a></li>
17210 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-android">Android</a></li>
17211 <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-groovy">Groovy</a></li>-->
17212 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-objc">Obj-C</a></li>
17213 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-javascript">JavaScript</a></li>
17214 <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-angular">Angular</a></li>-->
17215 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-csharp">C#</a></li>
17216 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-php">PHP</a></li>
17217 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-perl">Perl</a></li>
17218 <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-python">Python</a></li>
17219 </ul>
17220
17221 <div class="tab-content">
17222 <div class="tab-pane active" id="examples-Onapsoinfratasks-queryFilters-0-curl">
seshukm9bd738c2019-01-18 14:11:47 +053017223 <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/tasks/{version}?taskId=&originalRequestId=&subscriptionServiceType=&nfRole=&buildingBlockName=&originalRequestDate=&originalRequestorId="</code></pre>
seshukmb3a332a2018-10-05 16:27:16 +080017224 </div>
17225 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-java">
17226 <pre class="prettyprint"><code class="language-java">import io.swagger.client.*;
17227import io.swagger.client.auth.*;
17228import io.swagger.client.model.*;
17229import io.swagger.client.api.OnapsoinfratasksApi;
17230
17231import java.io.File;
17232import java.util.*;
17233
17234public class OnapsoinfratasksApiExample {
17235
17236 public static void main(String[] args) {
17237
17238 OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi();
17239 String version = version_example; // String |
17240 String taskId = taskId_example; // String |
17241 String originalRequestId = originalRequestId_example; // String |
17242 String subscriptionServiceType = subscriptionServiceType_example; // String |
17243 String nfRole = nfRole_example; // String |
17244 String buildingBlockName = buildingBlockName_example; // String |
17245 String originalRequestDate = originalRequestDate_example; // String |
17246 String originalRequestorId = originalRequestorId_example; // String |
17247 try {
17248 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
17249 } catch (ApiException e) {
17250 System.err.println("Exception when calling OnapsoinfratasksApi#queryFilters");
17251 e.printStackTrace();
17252 }
17253 }
17254}</code></pre>
17255 </div>
17256
17257 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-android">
17258 <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfratasksApi;
17259
17260public class OnapsoinfratasksApiExample {
17261
17262 public static void main(String[] args) {
17263 OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi();
17264 String version = version_example; // String |
17265 String taskId = taskId_example; // String |
17266 String originalRequestId = originalRequestId_example; // String |
17267 String subscriptionServiceType = subscriptionServiceType_example; // String |
17268 String nfRole = nfRole_example; // String |
17269 String buildingBlockName = buildingBlockName_example; // String |
17270 String originalRequestDate = originalRequestDate_example; // String |
17271 String originalRequestorId = originalRequestorId_example; // String |
17272 try {
17273 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
17274 } catch (ApiException e) {
17275 System.err.println("Exception when calling OnapsoinfratasksApi#queryFilters");
17276 e.printStackTrace();
17277 }
17278 }
17279}</code></pre>
17280 </div>
17281 <!--
17282 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-groovy">
17283 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17284 </div> -->
17285 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-objc">
17286 <pre class="prettyprint"><code class="language-cpp">String *version = version_example; //
17287String *taskId = taskId_example; // (optional)
17288String *originalRequestId = originalRequestId_example; // (optional)
17289String *subscriptionServiceType = subscriptionServiceType_example; // (optional)
17290String *nfRole = nfRole_example; // (optional)
17291String *buildingBlockName = buildingBlockName_example; // (optional)
17292String *originalRequestDate = originalRequestDate_example; // (optional)
17293String *originalRequestorId = originalRequestorId_example; // (optional)
17294
17295OnapsoinfratasksApi *apiInstance = [[OnapsoinfratasksApi alloc] init];
17296
17297// Finds Manual Tasks
17298[apiInstance queryFiltersWith:version
17299 taskId:taskId
17300 originalRequestId:originalRequestId
17301 subscriptionServiceType:subscriptionServiceType
17302 nfRole:nfRole
17303 buildingBlockName:buildingBlockName
17304 originalRequestDate:originalRequestDate
17305 originalRequestorId:originalRequestorId
17306 completionHandler: ^(NSError* error) {
17307 if (error) {
17308 NSLog(@"Error: %@", error);
17309 }
17310 }];
17311</code></pre>
17312 </div>
17313
17314 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-javascript">
17315 <pre class="prettyprint"><code class="language-js">var SoCasablancaApIs = require('so_casablanca_ap_is');
17316
17317var api = new SoCasablancaApIs.OnapsoinfratasksApi()
17318
17319var version = version_example; // {String}
17320
17321var opts = {
17322 'taskId': taskId_example, // {String}
17323 'originalRequestId': originalRequestId_example, // {String}
17324 'subscriptionServiceType': subscriptionServiceType_example, // {String}
17325 'nfRole': nfRole_example, // {String}
17326 'buildingBlockName': buildingBlockName_example, // {String}
17327 'originalRequestDate': originalRequestDate_example, // {String}
17328 'originalRequestorId': originalRequestorId_example // {String}
17329};
17330
17331var callback = function(error, data, response) {
17332 if (error) {
17333 console.error(error);
17334 } else {
17335 console.log('API called successfully.');
17336 }
17337};
17338api.queryFilters(version, opts, callback);
17339</code></pre>
17340 </div>
17341
17342 <!--<div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-angular">
17343 <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
17344 </div>-->
17345 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-csharp">
17346 <pre class="prettyprint"><code class="language-cs">using System;
17347using System.Diagnostics;
17348using IO.Swagger.Api;
17349using IO.Swagger.Client;
17350using IO.Swagger.Model;
17351
17352namespace Example
17353{
17354 public class queryFiltersExample
17355 {
17356 public void main()
17357 {
17358
17359 var apiInstance = new OnapsoinfratasksApi();
17360 var version = version_example; // String |
17361 var taskId = taskId_example; // String | (optional)
17362 var originalRequestId = originalRequestId_example; // String | (optional)
17363 var subscriptionServiceType = subscriptionServiceType_example; // String | (optional)
17364 var nfRole = nfRole_example; // String | (optional)
17365 var buildingBlockName = buildingBlockName_example; // String | (optional)
17366 var originalRequestDate = originalRequestDate_example; // String | (optional)
17367 var originalRequestorId = originalRequestorId_example; // String | (optional)
17368
17369 try
17370 {
17371 // Finds Manual Tasks
17372 apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId);
17373 }
17374 catch (Exception e)
17375 {
17376 Debug.Print("Exception when calling OnapsoinfratasksApi.queryFilters: " + e.Message );
17377 }
17378 }
17379 }
17380}
17381</code></pre>
17382 </div>
17383
17384 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-php">
17385 <pre class="prettyprint"><code class="language-php"><&#63;php
17386require_once(__DIR__ . '/vendor/autoload.php');
17387
17388$api_instance = new Swagger\Client\Api\OnapsoinfratasksApi();
17389$version = version_example; // String |
17390$taskId = taskId_example; // String |
17391$originalRequestId = originalRequestId_example; // String |
17392$subscriptionServiceType = subscriptionServiceType_example; // String |
17393$nfRole = nfRole_example; // String |
17394$buildingBlockName = buildingBlockName_example; // String |
17395$originalRequestDate = originalRequestDate_example; // String |
17396$originalRequestorId = originalRequestorId_example; // String |
17397
17398try {
17399 $api_instance->queryFilters($version, $taskId, $originalRequestId, $subscriptionServiceType, $nfRole, $buildingBlockName, $originalRequestDate, $originalRequestorId);
17400} catch (Exception $e) {
17401 echo 'Exception when calling OnapsoinfratasksApi->queryFilters: ', $e->getMessage(), PHP_EOL;
17402}
17403?></code></pre>
17404 </div>
17405
17406 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-perl">
17407 <pre class="prettyprint"><code class="language-perl">use Data::Dumper;
17408use WWW::SwaggerClient::Configuration;
17409use WWW::SwaggerClient::OnapsoinfratasksApi;
17410
17411my $api_instance = WWW::SwaggerClient::OnapsoinfratasksApi->new();
17412my $version = version_example; # String |
17413my $taskId = taskId_example; # String |
17414my $originalRequestId = originalRequestId_example; # String |
17415my $subscriptionServiceType = subscriptionServiceType_example; # String |
17416my $nfRole = nfRole_example; # String |
17417my $buildingBlockName = buildingBlockName_example; # String |
17418my $originalRequestDate = originalRequestDate_example; # String |
17419my $originalRequestorId = originalRequestorId_example; # String |
17420
17421eval {
17422 $api_instance->queryFilters(version => $version, taskId => $taskId, originalRequestId => $originalRequestId, subscriptionServiceType => $subscriptionServiceType, nfRole => $nfRole, buildingBlockName => $buildingBlockName, originalRequestDate => $originalRequestDate, originalRequestorId => $originalRequestorId);
17423};
17424if ($@) {
17425 warn "Exception when calling OnapsoinfratasksApi->queryFilters: $@\n";
17426}</code></pre>
17427 </div>
17428
17429 <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-python">
17430 <pre class="prettyprint"><code class="language-python">from __future__ import print_statement
17431import time
17432import swagger_client
17433from swagger_client.rest import ApiException
17434from pprint import pprint
17435
17436# create an instance of the API class
17437api_instance = swagger_client.OnapsoinfratasksApi()
17438version = version_example # String |
17439taskId = taskId_example # String | (optional)
17440originalRequestId = originalRequestId_example # String | (optional)
17441subscriptionServiceType = subscriptionServiceType_example # String | (optional)
17442nfRole = nfRole_example # String | (optional)
17443buildingBlockName = buildingBlockName_example # String | (optional)
17444originalRequestDate = originalRequestDate_example # String | (optional)
17445originalRequestorId = originalRequestorId_example # String | (optional)
17446
17447try:
17448 # Finds Manual Tasks
17449 api_instance.query_filters(version, taskId=taskId, originalRequestId=originalRequestId, subscriptionServiceType=subscriptionServiceType, nfRole=nfRole, buildingBlockName=buildingBlockName, originalRequestDate=originalRequestDate, originalRequestorId=originalRequestorId)
17450except ApiException as e:
17451 print("Exception when calling OnapsoinfratasksApi->queryFilters: %s\n" % e)</code></pre>
17452 </div>
17453 </div>
17454
17455 <h2>Parameters</h2>
17456
17457 <div class="methodsubtabletitle">Path parameters</div>
17458 <table id="methodsubtable">
17459 <tr>
17460 <th width="150px">Name</th>
17461 <th>Description</th>
17462 </tr>
17463 <tr><td style="width:150px;">version*</td>
17464<td>
17465
17466
17467 <div id="d2e199_queryFilters_version">
17468 <div class="json-schema-view">
17469 <div class="primitive">
17470 <span class="type">
17471 String
17472 </span>
17473
17474 </div>
17475 <div class="inner required">
17476 Required
17477 </div>
17478 </div>
17479 </div>
17480</td>
17481</tr>
17482
17483 </table>
17484
17485
17486
17487
17488 <div class="methodsubtabletitle">Query parameters</div>
17489 <table id="methodsubtable">
17490 <tr>
17491 <th width="150px">Name</th>
17492 <th>Description</th>
17493 </tr>
17494 <tr><td style="width:150px;">taskId</td>
17495<td>
17496
17497
17498 <div id="d2e199_queryFilters_taskId">
17499 <div class="json-schema-view">
17500 <div class="primitive">
17501 <span class="type">
17502 String
17503 </span>
17504
17505 </div>
17506 </div>
17507 </div>
17508</td>
17509</tr>
17510
17511 <tr><td style="width:150px;">originalRequestId</td>
17512<td>
17513
17514
17515 <div id="d2e199_queryFilters_originalRequestId">
17516 <div class="json-schema-view">
17517 <div class="primitive">
17518 <span class="type">
17519 String
17520 </span>
17521
17522 </div>
17523 </div>
17524 </div>
17525</td>
17526</tr>
17527
17528 <tr><td style="width:150px;">subscriptionServiceType</td>
17529<td>
17530
17531
17532 <div id="d2e199_queryFilters_subscriptionServiceType">
17533 <div class="json-schema-view">
17534 <div class="primitive">
17535 <span class="type">
17536 String
17537 </span>
17538
17539 </div>
17540 </div>
17541 </div>
17542</td>
17543</tr>
17544
17545 <tr><td style="width:150px;">nfRole</td>
17546<td>
17547
17548
17549 <div id="d2e199_queryFilters_nfRole">
17550 <div class="json-schema-view">
17551 <div class="primitive">
17552 <span class="type">
17553 String
17554 </span>
17555
17556 </div>
17557 </div>
17558 </div>
17559</td>
17560</tr>
17561
17562 <tr><td style="width:150px;">buildingBlockName</td>
17563<td>
17564
17565
17566 <div id="d2e199_queryFilters_buildingBlockName">
17567 <div class="json-schema-view">
17568 <div class="primitive">
17569 <span class="type">
17570 String
17571 </span>
17572
17573 </div>
17574 </div>
17575 </div>
17576</td>
17577</tr>
17578
17579 <tr><td style="width:150px;">originalRequestDate</td>
17580<td>
17581
17582
17583 <div id="d2e199_queryFilters_originalRequestDate">
17584 <div class="json-schema-view">
17585 <div class="primitive">
17586 <span class="type">
17587 String
17588 </span>
17589
17590 </div>
17591 </div>
17592 </div>
17593</td>
17594</tr>
17595
17596 <tr><td style="width:150px;">originalRequestorId</td>
17597<td>
17598
17599
17600 <div id="d2e199_queryFilters_originalRequestorId">
17601 <div class="json-schema-view">
17602 <div class="primitive">
17603 <span class="type">
17604 String
17605 </span>
17606
17607 </div>
17608 </div>
17609 </div>
17610</td>
17611</tr>
17612
17613 </table>
17614
17615 <h2>Responses</h2>
17616 <h3> Status: default - successful operation </h3>
17617
17618 <ul class="nav nav-tabs nav-tabs-examples" >
17619 </ul>
17620
17621 <div class="tab-content" style='margin-bottom: 10px;'>
17622 </div>
17623
17624 </article>
17625 </div>
17626 <hr>
17627 </section>
17628 </div>
17629 <div id="footer">
17630 <div id="api-_footer">
17631 <p>Suggestions, contact, support and error reporting;
17632 <div class="app-desc">Information URL: <a href="https://helloreverb.com">https://helloreverb.com</a></div>
17633 <div class="app-desc">Contact Info: <a href="hello@helloreverb.com">hello@helloreverb.com</a></div>
17634 </p>
17635 <div class="license-info">All rights reserved</div>
17636 <div class="license-url">http://apache.org/licenses/LICENSE-2.0.html</div>
17637 </div>
17638 </div>
17639 <div id="generator">
17640 <div class="content">
seshukm9bd738c2019-01-18 14:11:47 +053017641 Generated 2018-11-19T03:11:19.743Z
seshukmb3a332a2018-10-05 16:27:16 +080017642 </div>
17643 </div>
17644 </div>
17645 </div>
17646 </div>
17647 <script>
17648(function webpackUniversalModuleDefinition(root, factory) {
17649 if(typeof exports === 'object' && typeof module === 'object')
17650 module.exports = factory();
17651 else if(typeof define === 'function' && define.amd)
17652 define("JSONFormatter", [], factory);
17653 else if(typeof exports === 'object')
17654 exports["JSONFormatter"] = factory();
17655 else
17656 root["JSONFormatter"] = factory();
17657})(this, function() {
17658return /******/ (function(modules) { // webpackBootstrap
17659/******/ // The module cache
17660/******/ var installedModules = {};
17661/******/
17662/******/ // The require function
17663/******/ function __webpack_require__(moduleId) {
17664/******/
17665/******/ // Check if module is in cache
17666/******/ if(installedModules[moduleId])
17667/******/ return installedModules[moduleId].exports;
17668/******/
17669/******/ // Create a new module (and put it into the cache)
17670/******/ var module = installedModules[moduleId] = {
17671/******/ exports: {},
17672/******/ id: moduleId,
17673/******/ loaded: false
17674/******/ };
17675/******/
17676/******/ // Execute the module function
17677/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
17678/******/
17679/******/ // Flag the module as loaded
17680/******/ module.loaded = true;
17681/******/
17682/******/ // Return the exports of the module
17683/******/ return module.exports;
17684/******/ }
17685/******/
17686/******/
17687/******/ // expose the modules object (__webpack_modules__)
17688/******/ __webpack_require__.m = modules;
17689/******/
17690/******/ // expose the module cache
17691/******/ __webpack_require__.c = installedModules;
17692/******/
17693/******/ // __webpack_public_path__
17694/******/ __webpack_require__.p = "dist";
17695/******/
17696/******/ // Load entry module and return exports
17697/******/ return __webpack_require__(0);
17698/******/ })
17699/************************************************************************/
17700/******/ ([
17701/* 0 */
17702/***/ function(module, exports, __webpack_require__) {
17703
17704 module.exports = __webpack_require__(1);
17705
17706
17707/***/ },
17708/* 1 */
17709/***/ function(module, exports, __webpack_require__) {
17710
17711 "use strict";
17712 __webpack_require__(2);
17713 var helpers_ts_1 = __webpack_require__(6);
17714 var DATE_STRING_REGEX = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/;
17715 var PARTIAL_DATE_REGEX = /\d{2}:\d{2}:\d{2} GMT-\d{4}/;
17716 var JSON_DATE_REGEX = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
17717 // When toggleing, don't animated removal or addition of more than a few items
17718 var MAX_ANIMATED_TOGGLE_ITEMS = 10;
17719 var requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; };
17720 ;
17721 var _defaultConfig = {
17722 hoverPreviewEnabled: false,
17723 hoverPreviewArrayCount: 100,
17724 hoverPreviewFieldCount: 5,
17725 animateOpen: true,
17726 animateClose: true,
17727 theme: null
17728 };
17729 module.exports = (function () {
17730 /**
17731 * @param {object} json The JSON object you want to render. It has to be an
17732 * object or array. Do NOT pass raw JSON string.
17733 *
17734 * @param {number} [open=1] his number indicates up to how many levels the
17735 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
17736 * or set it to `Infinity` to expand the tree deeply
17737 *
17738 * @param {object} [config=defaultConfig] -
17739 * defaultConfig = {
17740 * hoverPreviewEnabled: false,
17741 * hoverPreviewArrayCount: 100,
17742 * hoverPreviewFieldCount: 5
17743 * }
17744 *
17745 * Available configurations:
17746 * #####Hover Preview
17747 * * `hoverPreviewEnabled`: enable preview on hover
17748 * * `hoverPreviewArrayCount`: number of array items to show in preview Any
17749 * array larger than this number will be shown as `Array[XXX]` where `XXX`
17750 * is length of the array.
17751 * * `hoverPreviewFieldCount`: number of object properties to show for object
17752 * preview. Any object with more properties that thin number will be
17753 * truncated.
17754 *
17755 * @param {string} [key=undefined] The key that this object in it's parent
17756 * context
17757 */
17758 function JSONFormatter(json, open, config, key) {
17759 if (open === void 0) { open = 1; }
17760 if (config === void 0) { config = _defaultConfig; }
17761 this.json = json;
17762 this.open = open;
17763 this.config = config;
17764 this.key = key;
17765 // Hold the open state after the toggler is used
17766 this._isOpen = null;
17767 // Setting default values for config object
17768 if (this.config.hoverPreviewEnabled === undefined) {
17769 this.config.hoverPreviewEnabled = _defaultConfig.hoverPreviewEnabled;
17770 }
17771 if (this.config.hoverPreviewArrayCount === undefined) {
17772 this.config.hoverPreviewArrayCount = _defaultConfig.hoverPreviewArrayCount;
17773 }
17774 if (this.config.hoverPreviewFieldCount === undefined) {
17775 this.config.hoverPreviewFieldCount = _defaultConfig.hoverPreviewFieldCount;
17776 }
17777 }
17778 Object.defineProperty(JSONFormatter.prototype, "isOpen", {
17779 /*
17780 * is formatter open?
17781 */
17782 get: function () {
17783 if (this._isOpen !== null) {
17784 return this._isOpen;
17785 }
17786 else {
17787 return this.open > 0;
17788 }
17789 },
17790 /*
17791 * set open state (from toggler)
17792 */
17793 set: function (value) {
17794 this._isOpen = value;
17795 },
17796 enumerable: true,
17797 configurable: true
17798 });
17799 Object.defineProperty(JSONFormatter.prototype, "isDate", {
17800 /*
17801 * is this a date string?
17802 */
17803 get: function () {
17804 return (this.type === 'string') &&
17805 (DATE_STRING_REGEX.test(this.json) ||
17806 JSON_DATE_REGEX.test(this.json) ||
17807 PARTIAL_DATE_REGEX.test(this.json));
17808 },
17809 enumerable: true,
17810 configurable: true
17811 });
17812 Object.defineProperty(JSONFormatter.prototype, "isUrl", {
17813 /*
17814 * is this a URL string?
17815 */
17816 get: function () {
17817 return this.type === 'string' && (this.json.indexOf('http') === 0);
17818 },
17819 enumerable: true,
17820 configurable: true
17821 });
17822 Object.defineProperty(JSONFormatter.prototype, "isArray", {
17823 /*
17824 * is this an array?
17825 */
17826 get: function () {
17827 return Array.isArray(this.json);
17828 },
17829 enumerable: true,
17830 configurable: true
17831 });
17832 Object.defineProperty(JSONFormatter.prototype, "isObject", {
17833 /*
17834 * is this an object?
17835 * Note: In this context arrays are object as well
17836 */
17837 get: function () {
17838 return helpers_ts_1.isObject(this.json);
17839 },
17840 enumerable: true,
17841 configurable: true
17842 });
17843 Object.defineProperty(JSONFormatter.prototype, "isEmptyObject", {
17844 /*
17845 * is this an empty object with no properties?
17846 */
17847 get: function () {
17848 return !this.keys.length && !this.isArray;
17849 },
17850 enumerable: true,
17851 configurable: true
17852 });
17853 Object.defineProperty(JSONFormatter.prototype, "isEmpty", {
17854 /*
17855 * is this an empty object or array?
17856 */
17857 get: function () {
17858 return this.isEmptyObject || (this.keys && !this.keys.length && this.isArray);
17859 },
17860 enumerable: true,
17861 configurable: true
17862 });
17863 Object.defineProperty(JSONFormatter.prototype, "hasKey", {
17864 /*
17865 * did we receive a key argument?
17866 * This means that the formatter was called as a sub formatter of a parent formatter
17867 */
17868 get: function () {
17869 return typeof this.key !== 'undefined';
17870 },
17871 enumerable: true,
17872 configurable: true
17873 });
17874 Object.defineProperty(JSONFormatter.prototype, "constructorName", {
17875 /*
17876 * if this is an object, get constructor function name
17877 */
17878 get: function () {
17879 return helpers_ts_1.getObjectName(this.json);
17880 },
17881 enumerable: true,
17882 configurable: true
17883 });
17884 Object.defineProperty(JSONFormatter.prototype, "type", {
17885 /*
17886 * get type of this value
17887 * Possible values: all JavaScript primitive types plus "array" and "null"
17888 */
17889 get: function () {
17890 return helpers_ts_1.getType(this.json);
17891 },
17892 enumerable: true,
17893 configurable: true
17894 });
17895 Object.defineProperty(JSONFormatter.prototype, "keys", {
17896 /*
17897 * get object keys
17898 * If there is an empty key we pad it wit quotes to make it visible
17899 */
17900 get: function () {
17901 if (this.isObject) {
17902 return Object.keys(this.json).map(function (key) { return key ? key : '""'; });
17903 }
17904 else {
17905 return [];
17906 }
17907 },
17908 enumerable: true,
17909 configurable: true
17910 });
17911 /**
17912 * Toggles `isOpen` state
17913 *
17914 */
17915 JSONFormatter.prototype.toggleOpen = function () {
17916 this.isOpen = !this.isOpen;
17917 if (this.element) {
17918 if (this.isOpen) {
17919 this.appendChildren(this.config.animateOpen);
17920 }
17921 else {
17922 this.removeChildren(this.config.animateClose);
17923 }
17924 this.element.classList.toggle(helpers_ts_1.cssClass('open'));
17925 }
17926 };
17927 /**
17928 * Open all children up to a certain depth.
17929 * Allows actions such as expand all/collapse all
17930 *
17931 */
17932 JSONFormatter.prototype.openAtDepth = function (depth) {
17933 if (depth === void 0) { depth = 1; }
17934 if (depth < 0) {
17935 return;
17936 }
17937 this.open = depth;
17938 this.isOpen = (depth !== 0);
17939 if (this.element) {
17940 this.removeChildren(false);
17941 if (depth === 0) {
17942 this.element.classList.remove(helpers_ts_1.cssClass('open'));
17943 }
17944 else {
17945 this.appendChildren(this.config.animateOpen);
17946 this.element.classList.add(helpers_ts_1.cssClass('open'));
17947 }
17948 }
17949 };
17950 /**
17951 * Generates inline preview
17952 *
17953 * @returns {string}
17954 */
17955 JSONFormatter.prototype.getInlinepreview = function () {
17956 var _this = this;
17957 if (this.isArray) {
17958 // if array length is greater then 100 it shows "Array[101]"
17959 if (this.json.length > this.config.hoverPreviewArrayCount) {
17960 return "Array[" + this.json.length + "]";
17961 }
17962 else {
17963 return "[" + this.json.map(helpers_ts_1.getPreview).join(', ') + "]";
17964 }
17965 }
17966 else {
17967 var keys = this.keys;
17968 // the first five keys (like Chrome Developer Tool)
17969 var narrowKeys = keys.slice(0, this.config.hoverPreviewFieldCount);
17970 // json value schematic information
17971 var kvs = narrowKeys.map(function (key) { return (key + ":" + helpers_ts_1.getPreview(_this.json[key])); });
17972 // if keys count greater then 5 then show ellipsis
17973 var ellipsis = keys.length >= this.config.hoverPreviewFieldCount ? '…' : '';
17974 return "{" + kvs.join(', ') + ellipsis + "}";
17975 }
17976 };
17977 /**
17978 * Renders an HTML element and installs event listeners
17979 *
17980 * @returns {HTMLDivElement}
17981 */
17982 JSONFormatter.prototype.render = function () {
17983 // construct the root element and assign it to this.element
17984 this.element = helpers_ts_1.createElement('div', 'row');
17985 // construct the toggler link
17986 var togglerLink = helpers_ts_1.createElement('a', 'toggler-link');
17987 // if this is an object we need a wrapper span (toggler)
17988 if (this.isObject) {
17989 togglerLink.appendChild(helpers_ts_1.createElement('span', 'toggler'));
17990 }
17991 // if this is child of a parent formatter we need to append the key
17992 if (this.hasKey) {
17993 togglerLink.appendChild(helpers_ts_1.createElement('span', 'key', this.key + ":"));
17994 }
17995 // Value for objects and arrays
17996 if (this.isObject) {
17997 // construct the value holder element
17998 var value = helpers_ts_1.createElement('span', 'value');
17999 // we need a wrapper span for objects
18000 var objectWrapperSpan = helpers_ts_1.createElement('span');
18001 // get constructor name and append it to wrapper span
18002 var constructorName = helpers_ts_1.createElement('span', 'constructor-name', this.constructorName);
18003 objectWrapperSpan.appendChild(constructorName);
18004 // if it's an array append the array specific elements like brackets and length
18005 if (this.isArray) {
18006 var arrayWrapperSpan = helpers_ts_1.createElement('span');
18007 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', '['));
18008 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'number', (this.json.length)));
18009 arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', ']'));
18010 objectWrapperSpan.appendChild(arrayWrapperSpan);
18011 }
18012 // append object wrapper span to toggler link
18013 value.appendChild(objectWrapperSpan);
18014 togglerLink.appendChild(value);
18015 }
18016 else {
18017 // make a value holder element
18018 var value = this.isUrl ? helpers_ts_1.createElement('a') : helpers_ts_1.createElement('span');
18019 // add type and other type related CSS classes
18020 value.classList.add(helpers_ts_1.cssClass(this.type));
18021 if (this.isDate) {
18022 value.classList.add(helpers_ts_1.cssClass('date'));
18023 }
18024 if (this.isUrl) {
18025 value.classList.add(helpers_ts_1.cssClass('url'));
18026 value.setAttribute('href', this.json);
18027 }
18028 // Append value content to value element
18029 var valuePreview = helpers_ts_1.getValuePreview(this.json, this.json);
18030 value.appendChild(document.createTextNode(valuePreview));
18031 // append the value element to toggler link
18032 togglerLink.appendChild(value);
18033 }
18034 // if hover preview is enabled, append the inline preview element
18035 if (this.isObject && this.config.hoverPreviewEnabled) {
18036 var preview = helpers_ts_1.createElement('span', 'preview-text');
18037 preview.appendChild(document.createTextNode(this.getInlinepreview()));
18038 togglerLink.appendChild(preview);
18039 }
18040 // construct a children element
18041 var children = helpers_ts_1.createElement('div', 'children');
18042 // set CSS classes for children
18043 if (this.isObject) {
18044 children.classList.add(helpers_ts_1.cssClass('object'));
18045 }
18046 if (this.isArray) {
18047 children.classList.add(helpers_ts_1.cssClass('array'));
18048 }
18049 if (this.isEmpty) {
18050 children.classList.add(helpers_ts_1.cssClass('empty'));
18051 }
18052 // set CSS classes for root element
18053 if (this.config && this.config.theme) {
18054 this.element.classList.add(helpers_ts_1.cssClass(this.config.theme));
18055 }
18056 if (this.isOpen) {
18057 this.element.classList.add(helpers_ts_1.cssClass('open'));
18058 }
18059 // append toggler and children elements to root element
18060 this.element.appendChild(togglerLink);
18061 this.element.appendChild(children);
18062 // if formatter is set to be open call appendChildren
18063 if (this.isObject && this.isOpen) {
18064 this.appendChildren();
18065 }
18066 // add event listener for toggling
18067 if (this.isObject) {
18068 togglerLink.addEventListener('click', this.toggleOpen.bind(this));
18069 }
18070 return this.element;
18071 };
18072 /**
18073 * Appends all the children to children element
18074 * Animated option is used when user triggers this via a click
18075 */
18076 JSONFormatter.prototype.appendChildren = function (animated) {
18077 var _this = this;
18078 if (animated === void 0) { animated = false; }
18079 var children = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
18080 if (!children || this.isEmpty) {
18081 return;
18082 }
18083 if (animated) {
18084 var index_1 = 0;
18085 var addAChild_1 = function () {
18086 var key = _this.keys[index_1];
18087 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
18088 children.appendChild(formatter.render());
18089 index_1 += 1;
18090 if (index_1 < _this.keys.length) {
18091 if (index_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
18092 addAChild_1();
18093 }
18094 else {
18095 requestAnimationFrame(addAChild_1);
18096 }
18097 }
18098 };
18099 requestAnimationFrame(addAChild_1);
18100 }
18101 else {
18102 this.keys.forEach(function (key) {
18103 var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key);
18104 children.appendChild(formatter.render());
18105 });
18106 }
18107 };
18108 /**
18109 * Removes all the children from children element
18110 * Animated option is used when user triggers this via a click
18111 */
18112 JSONFormatter.prototype.removeChildren = function (animated) {
18113 if (animated === void 0) { animated = false; }
18114 var childrenElement = this.element.querySelector("div." + helpers_ts_1.cssClass('children'));
18115 if (animated) {
18116 var childrenRemoved_1 = 0;
18117 var removeAChild_1 = function () {
18118 if (childrenElement && childrenElement.children.length) {
18119 childrenElement.removeChild(childrenElement.children[0]);
18120 childrenRemoved_1 += 1;
18121 if (childrenRemoved_1 > MAX_ANIMATED_TOGGLE_ITEMS) {
18122 removeAChild_1();
18123 }
18124 else {
18125 requestAnimationFrame(removeAChild_1);
18126 }
18127 }
18128 };
18129 requestAnimationFrame(removeAChild_1);
18130 }
18131 else {
18132 if (childrenElement) {
18133 childrenElement.innerHTML = '';
18134 }
18135 }
18136 };
18137 return JSONFormatter;
18138 }());
18139
18140
18141/***/ },
18142/* 2 */
18143/***/ function(module, exports, __webpack_require__) {
18144
18145 // style-loader: Adds some css to the DOM by adding a <style> tag
18146
18147 // load the styles
18148 var content = __webpack_require__(3);
18149 if(typeof content === 'string') content = [[module.id, content, '']];
18150 // add the styles to the DOM
18151 var update = __webpack_require__(5)(content, {"sourceMap":true});
18152 if(content.locals) module.exports = content.locals;
18153 // Hot Module Replacement
18154 if(false) {
18155 // When the styles change, update the <style> tags
18156 if(!content.locals) {
18157 module.hot.accept("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less", function() {
18158 var newContent = require("!!./../node_modules/css-loader/index.js?sourceMap!./../node_modules/less-loader/index.js?sourceMap!./style.less");
18159 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
18160 update(newContent);
18161 });
18162 }
18163 // When the module is disposed, remove the <style> tags
18164 module.hot.dispose(function() { update(); });
18165 }
18166
18167/***/ },
18168/* 3 */
18169/***/ function(module, exports, __webpack_require__) {
18170
18171 exports = module.exports = __webpack_require__(4)();
18172 // imports
18173
18174
18175 // module
18176 exports.push([module.id, ".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n", "", {"version":3,"sources":["/./src/style.less","/./src/style.less"],"names":[],"mappings":"AA0GA;EA3FE,uBAAA;CCbD;ADcC;;;EACE,aAAA;EACA,sBAAA;CCVH;ADkGD;EApFI,kBAAA;CCXH;ADeG;EACE,aAAA;EACA,kBAAA;CCbL;ADeK;EAAU,cAAA;CCZf;ADaK;EAAgC,yBAAA;CCVrC;ADWK;EAA+B,cAAA;CCRpC;ADkFD;EArEI,aAAA;EACA,iBAAA;EACA,sBAAA;CCVH;AD6ED;EAjE2B,YAAA;CCT1B;AD0ED;EAhE4B,WAAA;CCP3B;ADuED;EA/DyB,eAAA;CCLxB;ADoED;EA9D8B,eAAA;CCH7B;ADiED;EA7D6B,eAAA;CCD5B;AD8DD;EA5DyB,sCAAA;CCCxB;AD2DD;EA1DI,2BAAA;EACA,YAAA;EACA,gBAAA;CCEH;ADsDD;EArD4B,YAAA;CCE3B;ADmDD;EAnDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCGH;AD8CD;EA9CI,gBAAA;CCGH;AD2CD;EA1CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCEH;ADAG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCEL;AD8BD;EA1BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCDH;ADGC;EACE,aAAA;CCDH;ADKC;EAEI,yBAAA;CCJL;ADEC;EAKI,sBAAA;CCJL;ADDC;EAQI,cAAA;CCJL;ADMG;EACE,eAAA;CCJL;ADeD;EAhGE,uBAAA;CCoFD;ADnFC;;;EACE,aAAA;EACA,sBAAA;CCuFH;ADMD;EAzFI,kBAAA;CCsFH;ADlFG;EACE,aAAA;EACA,kBAAA;CCoFL;ADlFK;EAAU,cAAA;CCqFf;ADpFK;EAAgC,yBAAA;CCuFrC;ADtFK;EAA+B,cAAA;CCyFpC;ADVD;EA1EI,eAAA;EACA,iBAAA;EACA,sBAAA;CCuFH;ADfD;EAtE2B,eAAA;CCwF1B;ADlBD;EArE4B,eAAA;CC0F3B;ADrBD;EApEyB,eAAA;CC4FxB;ADxBD;EAnE8B,eAAA;CC8F7B;AD3BD;EAlE6B,eAAA;CCgG5B;AD9BD;EAjEyB,4CAAA;CCkGxB;ADjCD;EA/DI,2BAAA;EACA,eAAA;EACA,gBAAA;CCmGH;ADtCD;EA1D4B,eAAA;CCmG3B;ADzCD;EAxDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCoGH;AD9CD;EAnDI,gBAAA;CCoGH;ADjDD;EA/CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCmGH;ADjGG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCmGL;AD9DD;EA/BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCgGH;AD9FC;EACE,aAAA;CCgGH;AD5FC;EAEI,yBAAA;CC6FL;AD/FC;EAKI,sBAAA;CC6FL;ADlGC;EAQI,cAAA;CC6FL;AD3FG;EACE,eAAA;CC6FL","file":"style.less","sourcesContent":[".theme(\n @default-color: black,\n @string-color: green,\n @number-color: blue,\n @boolean-color: red,\n @null-color: #855A00,\n @undefined-color: rgb(202, 11, 105),\n @function-color: #FF20ED,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: blue,\n @key-color: #00008B,\n @url-color: blue ){\n\n font-family: monospace;\n &, a, a:hover {\n color: @default-color;\n text-decoration: none;\n }\n\n .json-formatter-row {\n margin-left: 1rem;\n }\n\n .json-formatter-children {\n &.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n\n &:after { display: none; }\n &.json-formatter-object:after { content: \"No properties\"; }\n &.json-formatter-array:after { content: \"[]\"; }\n }\n }\n\n .json-formatter-string {\n color: @string-color;\n white-space: pre;\n word-wrap: break-word;\n }\n .json-formatter-number { color: @number-color; }\n .json-formatter-boolean { color: @boolean-color; }\n .json-formatter-null { color: @null-color; }\n .json-formatter-undefined { color: @undefined-color; }\n .json-formatter-function { color: @function-color; }\n .json-formatter-date { background-color: fade(@default-color, 5%); }\n .json-formatter-url {\n text-decoration: underline;\n color: @url-color;\n cursor: pointer;\n }\n\n .json-formatter-bracket { color: @bracket-color; }\n .json-formatter-key {\n color: @key-color;\n cursor: pointer;\n padding-right: 0.2rem;\n }\n .json-formatter-constructor-name {\n cursor: pointer;\n }\n\n .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: @toggler-opacity;\n cursor: pointer;\n padding-right: 0.2rem;\n\n &:after {\n display: inline-block;\n transition: transform @rotate-time ease-in;\n content: \"►\";\n }\n }\n\n // Inline preview on hover (optional)\n > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity .15s ease-in;\n font-style: italic;\n }\n &:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n }\n\n // Open state\n &.json-formatter-open {\n > .json-formatter-toggler-link .json-formatter-toggler:after{\n transform: rotate(90deg);\n }\n > .json-formatter-children:after {\n display: inline-block;\n }\n > a > .json-formatter-preview-text {\n display: none;\n }\n &.json-formatter-empty:after {\n display: block;\n }\n }\n}\n\n// Default theme\n.json-formatter-row {\n .theme();\n}\n\n// Dark theme\n.json-formatter-dark.json-formatter-row {\n .theme(\n @default-color: white,\n @string-color: #31F031,\n @number-color: #66C2FF,\n @boolean-color: #EC4242,\n @null-color: #EEC97D,\n @undefined-color: rgb(239, 143, 190),\n @function-color: #FD48CB,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: #9494FF,\n @key-color: #23A0DB,\n @url-color: #027BFF);\n}\n",".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n"],"sourceRoot":"webpack://"}]);
18177
18178 // exports
18179
18180
18181/***/ },
18182/* 4 */
18183/***/ function(module, exports) {
18184
18185 /*
18186 MIT License http://www.opensource.org/licenses/mit-license.php
18187 Author Tobias Koppers @sokra
18188 */
18189 // css base code, injected by the css-loader
18190 module.exports = function() {
18191 var list = [];
18192
18193 // return the list of modules as css string
18194 list.toString = function toString() {
18195 var result = [];
18196 for(var i = 0; i < this.length; i++) {
18197 var item = this[i];
18198 if(item[2]) {
18199 result.push("@media " + item[2] + "{" + item[1] + "}");
18200 } else {
18201 result.push(item[1]);
18202 }
18203 }
18204 return result.join("");
18205 };
18206
18207 // import a list of modules into the list
18208 list.i = function(modules, mediaQuery) {
18209 if(typeof modules === "string")
18210 modules = [[null, modules, ""]];
18211 var alreadyImportedModules = {};
18212 for(var i = 0; i < this.length; i++) {
18213 var id = this[i][0];
18214 if(typeof id === "number")
18215 alreadyImportedModules[id] = true;
18216 }
18217 for(i = 0; i < modules.length; i++) {
18218 var item = modules[i];
18219 // skip already imported module
18220 // this implementation is not 100% perfect for weird media query combinations
18221 // when a module is imported multiple times with different media queries.
18222 // I hope this will never occur (Hey this way we have smaller bundles)
18223 if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
18224 if(mediaQuery && !item[2]) {
18225 item[2] = mediaQuery;
18226 } else if(mediaQuery) {
18227 item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
18228 }
18229 list.push(item);
18230 }
18231 }
18232 };
18233 return list;
18234 };
18235
18236
18237/***/ },
18238/* 5 */
18239/***/ function(module, exports, __webpack_require__) {
18240
18241 /*
18242 MIT License http://www.opensource.org/licenses/mit-license.php
18243 Author Tobias Koppers @sokra
18244 */
18245 var stylesInDom = {},
18246 memoize = function(fn) {
18247 var memo;
18248 return function () {
18249 if (typeof memo === "undefined") memo = fn.apply(this, arguments);
18250 return memo;
18251 };
18252 },
18253 isOldIE = memoize(function() {
18254 return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase());
18255 }),
18256 getHeadElement = memoize(function () {
18257 return document.head || document.getElementsByTagName("head")[0];
18258 }),
18259 singletonElement = null,
18260 singletonCounter = 0,
18261 styleElementsInsertedAtTop = [];
18262
18263 module.exports = function(list, options) {
18264 if(false) {
18265 if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
18266 }
18267
18268 options = options || {};
18269 // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
18270 // tags it will allow on a page
18271 if (typeof options.singleton === "undefined") options.singleton = isOldIE();
18272
18273 // By default, add <style> tags to the bottom of <head>.
18274 if (typeof options.insertAt === "undefined") options.insertAt = "bottom";
18275
18276 var styles = listToStyles(list);
18277 addStylesToDom(styles, options);
18278
18279 return function update(newList) {
18280 var mayRemove = [];
18281 for(var i = 0; i < styles.length; i++) {
18282 var item = styles[i];
18283 var domStyle = stylesInDom[item.id];
18284 domStyle.refs--;
18285 mayRemove.push(domStyle);
18286 }
18287 if(newList) {
18288 var newStyles = listToStyles(newList);
18289 addStylesToDom(newStyles, options);
18290 }
18291 for(var i = 0; i < mayRemove.length; i++) {
18292 var domStyle = mayRemove[i];
18293 if(domStyle.refs === 0) {
18294 for(var j = 0; j < domStyle.parts.length; j++)
18295 domStyle.parts[j]();
18296 delete stylesInDom[domStyle.id];
18297 }
18298 }
18299 };
18300 }
18301
18302 function addStylesToDom(styles, options) {
18303 for(var i = 0; i < styles.length; i++) {
18304 var item = styles[i];
18305 var domStyle = stylesInDom[item.id];
18306 if(domStyle) {
18307 domStyle.refs++;
18308 for(var j = 0; j < domStyle.parts.length; j++) {
18309 domStyle.parts[j](item.parts[j]);
18310 }
18311 for(; j < item.parts.length; j++) {
18312 domStyle.parts.push(addStyle(item.parts[j], options));
18313 }
18314 } else {
18315 var parts = [];
18316 for(var j = 0; j < item.parts.length; j++) {
18317 parts.push(addStyle(item.parts[j], options));
18318 }
18319 stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
18320 }
18321 }
18322 }
18323
18324 function listToStyles(list) {
18325 var styles = [];
18326 var newStyles = {};
18327 for(var i = 0; i < list.length; i++) {
18328 var item = list[i];
18329 var id = item[0];
18330 var css = item[1];
18331 var media = item[2];
18332 var sourceMap = item[3];
18333 var part = {css: css, media: media, sourceMap: sourceMap};
18334 if(!newStyles[id])
18335 styles.push(newStyles[id] = {id: id, parts: [part]});
18336 else
18337 newStyles[id].parts.push(part);
18338 }
18339 return styles;
18340 }
18341
18342 function insertStyleElement(options, styleElement) {
18343 var head = getHeadElement();
18344 var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];
18345 if (options.insertAt === "top") {
18346 if(!lastStyleElementInsertedAtTop) {
18347 head.insertBefore(styleElement, head.firstChild);
18348 } else if(lastStyleElementInsertedAtTop.nextSibling) {
18349 head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);
18350 } else {
18351 head.appendChild(styleElement);
18352 }
18353 styleElementsInsertedAtTop.push(styleElement);
18354 } else if (options.insertAt === "bottom") {
18355 head.appendChild(styleElement);
18356 } else {
18357 throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
18358 }
18359 }
18360
18361 function removeStyleElement(styleElement) {
18362 styleElement.parentNode.removeChild(styleElement);
18363 var idx = styleElementsInsertedAtTop.indexOf(styleElement);
18364 if(idx >= 0) {
18365 styleElementsInsertedAtTop.splice(idx, 1);
18366 }
18367 }
18368
18369 function createStyleElement(options) {
18370 var styleElement = document.createElement("style");
18371 styleElement.type = "text/css";
18372 insertStyleElement(options, styleElement);
18373 return styleElement;
18374 }
18375
18376 function createLinkElement(options) {
18377 var linkElement = document.createElement("link");
18378 linkElement.rel = "stylesheet";
18379 insertStyleElement(options, linkElement);
18380 return linkElement;
18381 }
18382
18383 function addStyle(obj, options) {
18384 var styleElement, update, remove;
18385
18386 if (options.singleton) {
18387 var styleIndex = singletonCounter++;
18388 styleElement = singletonElement || (singletonElement = createStyleElement(options));
18389 update = applyToSingletonTag.bind(null, styleElement, styleIndex, false);
18390 remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);
18391 } else if(obj.sourceMap &&
18392 typeof URL === "function" &&
18393 typeof URL.createObjectURL === "function" &&
18394 typeof URL.revokeObjectURL === "function" &&
18395 typeof Blob === "function" &&
18396 typeof btoa === "function") {
18397 styleElement = createLinkElement(options);
18398 update = updateLink.bind(null, styleElement);
18399 remove = function() {
18400 removeStyleElement(styleElement);
18401 if(styleElement.href)
18402 URL.revokeObjectURL(styleElement.href);
18403 };
18404 } else {
18405 styleElement = createStyleElement(options);
18406 update = applyToTag.bind(null, styleElement);
18407 remove = function() {
18408 removeStyleElement(styleElement);
18409 };
18410 }
18411
18412 update(obj);
18413
18414 return function updateStyle(newObj) {
18415 if(newObj) {
18416 if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)
18417 return;
18418 update(obj = newObj);
18419 } else {
18420 remove();
18421 }
18422 };
18423 }
18424
18425 var replaceText = (function () {
18426 var textStore = [];
18427
18428 return function (index, replacement) {
18429 textStore[index] = replacement;
18430 return textStore.filter(Boolean).join('\n');
18431 };
18432 })();
18433
18434 function applyToSingletonTag(styleElement, index, remove, obj) {
18435 var css = remove ? "" : obj.css;
18436
18437 if (styleElement.styleSheet) {
18438 styleElement.styleSheet.cssText = replaceText(index, css);
18439 } else {
18440 var cssNode = document.createTextNode(css);
18441 var childNodes = styleElement.childNodes;
18442 if (childNodes[index]) styleElement.removeChild(childNodes[index]);
18443 if (childNodes.length) {
18444 styleElement.insertBefore(cssNode, childNodes[index]);
18445 } else {
18446 styleElement.appendChild(cssNode);
18447 }
18448 }
18449 }
18450
18451 function applyToTag(styleElement, obj) {
18452 var css = obj.css;
18453 var media = obj.media;
18454
18455 if(media) {
18456 styleElement.setAttribute("media", media)
18457 }
18458
18459 if(styleElement.styleSheet) {
18460 styleElement.styleSheet.cssText = css;
18461 } else {
18462 while(styleElement.firstChild) {
18463 styleElement.removeChild(styleElement.firstChild);
18464 }
18465 styleElement.appendChild(document.createTextNode(css));
18466 }
18467 }
18468
18469 function updateLink(linkElement, obj) {
18470 var css = obj.css;
18471 var sourceMap = obj.sourceMap;
18472
18473 if(sourceMap) {
18474 // https://developer.mozilla.org/en/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
18475 css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
18476 }
18477
18478 var blob = new Blob([css], { type: "text/css" });
18479
18480 var oldSrc = linkElement.href;
18481
18482 linkElement.href = URL.createObjectURL(blob);
18483
18484 if(oldSrc)
18485 URL.revokeObjectURL(oldSrc);
18486 }
18487
18488
18489/***/ },
18490/* 6 */
18491/***/ function(module, exports) {
18492
18493 "use strict";
18494 /*
18495 * Escapes `"` characters from string
18496 */
18497 function escapeString(str) {
18498 return str.replace('"', '\"');
18499 }
18500 /*
18501 * Determines if a value is an object
18502 */
18503 function isObject(value) {
18504 var type = typeof value;
18505 return !!value && (type == 'object');
18506 }
18507 exports.isObject = isObject;
18508 /*
18509 * Gets constructor name of an object.
18510 *
18511 */
18512 function getObjectName(object) {
18513 if (object === undefined) {
18514 return '';
18515 }
18516 if (object === null || (typeof object === 'object' && !object.constructor)) {
18517 return 'Object';
18518 }
18519 var funcNameRegex = /function ([^(]*)/;
18520 var results = (funcNameRegex).exec((object).constructor.toString());
18521 if (results && results.length > 1) {
18522 return results[1];
18523 } else {
18524 return '';
18525 }
18526 }
18527 exports.getObjectName = getObjectName;
18528 /*
18529 * Gets type of an object. Returns "null" for null objects
18530 */
18531 function getType(object) {
18532 if (object === null) {
18533 return 'null';
18534 }
18535 return typeof object;
18536 }
18537 exports.getType = getType;
18538 /*
18539 * Generates inline preview for a JavaScript object based on a value
18540 */
18541 function getValuePreview(object, value) {
18542 var type = getType(object);
18543 if (type === 'null' || type === 'undefined') {
18544 return type;
18545 }
18546 if (type === 'string') {
18547 value = '"' + escapeString(value) + '"';
18548 }
18549 if (type === 'function') {
18550 // Remove content of the function
18551 return object.toString()
18552 .replace(/[\r\n]/g, '')
18553 .replace(/\{.*\}/, '') + '{…}';
18554 }
18555 return value;
18556 }
18557 exports.getValuePreview = getValuePreview;
18558 /*
18559 * Generates inline preview for a JavaScript object
18560 */
18561 function getPreview(object) {
18562 var value = '';
18563 if (isObject(object)) {
18564 value = getObjectName(object);
18565 if (Array.isArray(object))
18566 value += '[' + object.length + ']';
18567 }
18568 else {
18569 value = getValuePreview(object, object);
18570 }
18571 return value;
18572 }
18573 exports.getPreview = getPreview;
18574 /*
18575 * Generates a prefixed CSS class name
18576 */
18577 function cssClass(className) {
18578 return "json-formatter-" + className;
18579 }
18580 exports.cssClass = cssClass;
18581 /*
18582 * Creates a new DOM element with given type and class
18583 * TODO: move me to helpers
18584 */
18585 function createElement(type, className, content) {
18586 var el = document.createElement(type);
18587 if (className) {
18588 el.classList.add(cssClass(className));
18589 }
18590 if (content !== undefined) {
18591 if (content instanceof Node) {
18592 el.appendChild(content);
18593 }
18594 else {
18595 el.appendChild(document.createTextNode(String(content)));
18596 }
18597 }
18598 return el;
18599 }
18600 exports.createElement = createElement;
18601
18602
18603/***/ }
18604/******/ ])
18605});
18606;
18607//# sourceMappingURL=json-formatter.js.map
18608
18609</script>
18610
18611 <script>
18612
18613(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSONSchemaView = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
18614'use strict';
18615/*
18616 * Converts anyOf, allOf and oneOf to human readable string
18617*/
18618Object.defineProperty(exports, '__esModule', {
18619 value: true
18620});
18621exports.convertXOf = convertXOf;
18622exports._if = _if;
18623
18624function convertXOf(type) {
18625 return type.substring(0, 3) + ' of';
18626}
18627
18628/*
18629 * if condition for ES6 template strings
18630 * to be used only in template string
18631 *
18632 * @example mystr = `Random is ${_if(Math.random() > 0.5)`greater than 0.5``
18633 *
18634 * @param {boolean} condition
18635 *
18636 * @returns {function} the template function
18637*/
18638
18639function _if(condition) {
18640 return condition ? normal : empty;
18641}
18642
18643function empty() {
18644 return '';
18645}
18646function normal(template) {
18647 for (var _len = arguments.length, expressions = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
18648 expressions[_key - 1] = arguments[_key];
18649 }
18650
18651 return template.slice(1).reduce(function (accumulator, part, i) {
18652 return accumulator + expressions[i] + part;
18653 }, template[0]);
18654}
18655
18656},{}],2:[function(require,module,exports){
18657'use strict';
18658
18659/* globals JSONSchemaView */
18660
18661Object.defineProperty(exports, '__esModule', {
18662 value: true
18663});
18664
18665var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
18666
18667var _templateObject = _taggedTemplateLiteral(['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n '], ['\n <div class="any">\n ', '\n\n <span class="type type-any">&lt;any&gt;</span>\n\n ', '\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n </div>\n ']),
18668 _templateObject2 = _taggedTemplateLiteral(['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n '], ['\n <a class="title"><span class="toggle-handle"></span>', ' </a>\n ']),
18669 _templateObject3 = _taggedTemplateLiteral(['\n <div class="inner description marked">', '</div>\n '], ['\n <div class="inner description marked">', '</div>\n ']),
18670 _templateObject4 = _taggedTemplateLiteral(['\n <div class="inner required">Required: ', '</div>\n '], ['\n <div class="inner required">Required: ', '</div>\n ']),
18671 _templateObject5 = _taggedTemplateLiteral(['\n <div class="inner default">Default: ', '</div>\n '], ['\n <div class="inner default">Default: ', '</div>\n ']),
18672 _templateObject6 = _taggedTemplateLiteral(['\n <div class="inner pattern">Pattern: ', '</div>\n '], ['\n <div class="inner pattern">Pattern: ', '</div>\n ']),
18673 _templateObject7 = _taggedTemplateLiteral(['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n '], ['\n <div class="primitive">\n ', '\n\n <span class="type">', '</span>\n\n \n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\n ', '\n\t\t \n\t\t \n\t\t \n\t\t ', '\n\t\t ', '\n\t\t ', '\n\n ', '\n\n ', '\n ', '\n ', '\n </div>\n ']),
18674 _templateObject8 = _taggedTemplateLiteral(['\n <span class="format">(', ')</span>\n '], ['\n <span class="format">(', ')</span>\n ']),
18675 _templateObject9 = _taggedTemplateLiteral(['\n <span class="range minimum">minimum:', '</span>\n '], ['\n <span class="range minimum">minimum:', '</span>\n ']),
18676 _templateObject10 = _taggedTemplateLiteral(['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n '], ['\n <span class="range exclusiveMinimum">(ex)minimum:', '</span>\n ']),
18677 _templateObject11 = _taggedTemplateLiteral(['\n <span class="range maximum">maximum:', '</span>\n '], ['\n <span class="range maximum">maximum:', '</span>\n ']),
18678 _templateObject12 = _taggedTemplateLiteral(['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n '], ['\n <span class="range exclusiveMaximum">(ex)maximum:', '</span>\n ']),
18679 _templateObject13 = _taggedTemplateLiteral(['\n <span class="range minLength">minLength:', '</span>\n '], ['\n <span class="range minLength">minLength:', '</span>\n ']),
18680 _templateObject14 = _taggedTemplateLiteral(['\n <span class="range maxLength">maxLength:', '</span>\n '], ['\n <span class="range maxLength">maxLength:', '</span>\n ']),
18681 _templateObject15 = _taggedTemplateLiteral(['\n <div class="inner required">Required</div>\n '], ['\n <div class="inner required">Required</div>\n ']),
18682 _templateObject16 = _taggedTemplateLiteral(['\n ', '\n '], ['\n ', '\n ']),
18683 _templateObject17 = _taggedTemplateLiteral(['', ''], ['', '']),
18684 _templateObject18 = _taggedTemplateLiteral(['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="array">\n <a class="title"><span class="toggle-handle"></span>', '<span class="opening bracket">[</span>', '</a>\n ', '\n <div class="inner">\n ', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
18685 _templateObject19 = _taggedTemplateLiteral(['<span class="closing bracket">]</span>'], ['<span class="closing bracket">]</span>']),
18686 _templateObject20 = _taggedTemplateLiteral(['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n '], ['\n <span>\n <span title="items range">(', '..', ')</span>\n ', '\n </span>\n ']),
18687 _templateObject21 = _taggedTemplateLiteral(['<span title="unique" class="uniqueItems">♦</span>'], ['<span title="unique" class="uniqueItems">♦</span>']),
18688 _templateObject22 = _taggedTemplateLiteral(['\n <div class="description">', '</div>\n '], ['\n <div class="description">', '</div>\n ']),
18689 _templateObject23 = _taggedTemplateLiteral(['\n <span class="closing bracket">]</span>\n '], ['\n <span class="closing bracket">]</span>\n ']),
18690 _templateObject24 = _taggedTemplateLiteral(['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n '], ['\n <div class="object">\n <a class="title"><span\n class="toggle-handle"></span>', ' <span\n class="opening brace">{</span>', '</a>\n\n <div class="inner">\n ', '\n <!-- children go here -->\n\t\t \n\t\t ', '\n\t\t ', '\n\t\t \n\t\t\t', '\n </div>\n\n ', '\n\n ', '\n ', '\n ', '\n\n ', '\n </div>\n ']),
18691 _templateObject25 = _taggedTemplateLiteral(['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n '], ['\n <span class="closing brace" ng-if="isCollapsed">}</span>\n ']),
18692 _templateObject26 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
18693 _templateObject266 = _taggedTemplateLiteral(['\n <div class="required">Required: ', '</div>\n '], ['\n <div class="required">Required: ', '</div>\n ']),
18694 _templateObject27 = _taggedTemplateLiteral(['\n <div class="default">Default: ', '</div>\n '], ['\n <div class="default">Default: ', '</div>\n ']),
18695 _templateObject28 = _taggedTemplateLiteral(['\n <div class="pattern">Pattern: ', '</div>\n '], ['\n <div class="pattern">Pattern: ', '</div>\n ']),
18696 _templateObject29 = _taggedTemplateLiteral(['\n <span class="closing brace">}</span>\n '], ['\n <span class="closing brace">}</span>\n ']),
18697 _templateObject30 = _taggedTemplateLiteral(['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n '], ['\n <div class="inner enums">\n <b>Enum:</b>\n </div>\n ']);
18698
18699function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
18700
18701function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
18702
18703var _helpersJs = require('./helpers.js');
18704
18705/**
18706 * @class JSONSchemaView
18707 *
18708 * A pure JavaScript component for rendering JSON Schema in HTML.
18709*/
18710
18711var JSONSchemaView = (function () {
18712
18713 /**
18714 * @param {object} schema The JSON Schema object
18715 *
18716 * @param {number} [open=1] his number indicates up to how many levels the
18717 * rendered tree should expand. Set it to `0` to make the whole tree collapsed
18718 * or set it to `Infinity` to expand the tree deeply
18719 * @param {object} options.
18720 * theme {string}: one of the following options: ['dark']
18721 */
18722
18723 function JSONSchemaView(schema, open) {
18724 var _this = this;
18725
18726 var options = arguments.length <= 2 || arguments[2] === undefined ? { theme: null } : arguments[2];
18727
18728 _classCallCheck(this, JSONSchemaView);
18729
18730 this.schema = schema; //console.log(schema);
18731 this.open = open;
18732 this.options = options;
18733 this.isCollapsed = open <= 0;
18734
18735 // if schema is an empty object which means any JOSN
18736 this.isAny = typeof schema === 'object' && !Array.isArray(schema) && !Object.keys(schema).filter(function (k) {
18737 return ['title', 'description'].indexOf(k) === -1;
18738 }).length;
18739
18740 // Determine if a schema is an array
18741 this.isArray = !this.isAny && this.schema && this.schema.type === 'array';
18742
18743 this.isObject = this.schema && (this.schema.type === 'object' || this.schema.properties || this.schema.anyOf || this.schema.oneof || this.schema.allOf);
18744
18745 // Determine if a schema is a primitive
18746 this.isPrimitive = !this.isAny && !this.isArray && !this.isObject;
18747
18748 //
18749 this.showToggle = this.schema.description || this.schema.title || this.isPrimitive && (this.schema.minimum || this.schema.maximum || this.schema.exclusiveMinimum || this.schema.exclusiveMaximum);
18750
18751 // populate isRequired property down to properties
18752 if (this.schema && Array.isArray(this.schema.required)) {
18753 this.schema.required.forEach(function (requiredProperty) {
18754 if (typeof _this.schema.properties[requiredProperty] === 'object') {
18755 _this.schema.properties[requiredProperty].isRequired = true;
18756 }
18757 });
18758 }
18759 }
18760
18761 /*
18762 * Returns the template with populated properties.
18763 * This template does not have the children
18764 */
18765
18766 _createClass(JSONSchemaView, [{
18767 key: 'template',
18768 value: function template() {
18769 if (!this.schema) {
18770 return '';
18771 }
18772
18773 return ('\n <!-- Any -->\n ' + (0, _helpersJs._if)(this.isAny)(_templateObject, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject4, this.schema.required), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern)) + '\n\n <!-- Primitive -->\n ' + (0, _helpersJs._if)(this.isPrimitive)(_templateObject7, (0, _helpersJs._if)(this.showToggle)(_templateObject2, this.schema.title || ''), this.schema.type, (0, _helpersJs._if)(!this.isCollapsed && this.schema.format)(_templateObject8, this.schema.format), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minimum)(_templateObject9, this.schema.minimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMinimum)(_templateObject10, this.schema.exclusiveMinimum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maximum)(_templateObject11, this.schema.maximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.exclusiveMaximum)(_templateObject12, this.schema.exclusiveMaximum), (0, _helpersJs._if)(!this.isCollapsed && this.schema.minLength)(_templateObject13, this.schema.minLength), (0, _helpersJs._if)(!this.isCollapsed && this.schema.maxLength)(_templateObject14, this.schema.maxLength), (0, _helpersJs._if)(this.schema.description && !this.isCollapsed)(_templateObject3, marked(this.schema.description || "")), (0, _helpersJs._if)(this.schema.required && !this.isCollapsed)(_templateObject15), (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject5, this.schema['default']), (0, _helpersJs._if)(this.schema.pattern && !this.isCollapsed)(_templateObject6, this.schema.pattern), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf'))) + '\n\n\n <!-- Array -->\n ' + (0, _helpersJs._if)(this.isArray)(_templateObject18, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject19), (0, _helpersJs._if)(!this.isCollapsed && (this.schema.uniqueItems || this.schema.minItems || this.schema.maxItems))(_templateObject20, this.schema.minItems || 0, this.schema.maxItems || '∞', (0, _helpersJs._if)(!this.isCollapsed && this.schema.uniqueItems)(_templateObject21)), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")), (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf')), (0, _helpersJs._if)(!this.isCollapsed)(_templateObject23)) + '\n\n <!-- Object -->\n ' + (0, _helpersJs._if)(!this.isPrimitive && !this.isArray && !this.isAny)(_templateObject24, this.schema.title || '', (0, _helpersJs._if)(this.isCollapsed)(_templateObject25), (0, _helpersJs._if)(!this.isCollapsed && this.schema.description)(_templateObject22, marked(this.schema.description || "")),
18774
18775 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam != true)(_templateObject26, this.schema.required),
18776 (0, _helpersJs._if)(this.schema.required && !this.isCollapsed && this.options.isBodyParam == true)(_templateObject266, this.schema.required),
18777
18778 (0, _helpersJs._if)(this.schema['default'] && !this.isCollapsed)(_templateObject27, this.schema['default']),(0, _helpersJs._if)(!this.isCollapsed)(_templateObject29),
18779 (0, _helpersJs._if)(!this.isCollapsed && this.schema.pattern)(_templateObject28, this.schema.pattern),
18780 (0, _helpersJs._if)(!this.isCollapsed && this.schema['enum'])(_templateObject16, this['enum'](this.schema, this.isCollapsed, this.open)), (0, _helpersJs._if)(this.schema.allOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'allOf')), (0, _helpersJs._if)(this.schema.oneOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'oneOf')), (0, _helpersJs._if)(this.schema.anyOf && !this.isCollapsed)(_templateObject17, this.xOf(this.schema, 'anyOf'))) + '\n').replace(/\s*\n/g, '\n').replace(/(\<\!\-\-).+/g, '').trim();
18781 }
18782
18783 /*
18784 * Template for oneOf, anyOf and allOf
18785 */
18786 }, {
18787 key: 'xOf',
18788 value: function xOf(schema, type) {
18789 return '\n <div class="inner ' + type + '">\n <b>' + (0, _helpersJs.convertXOf)(type) + ':</b>\n </div>\n ';
18790 }
18791
18792 /*
18793 * Template for enums
18794 */
18795 }, {
18796 key: 'enum',
18797 value: function _enum(schema, isCollapsed, open) {
18798 return '\n ' + (0, _helpersJs._if)(!isCollapsed && schema['enum'])(_templateObject30) + '\n ';
18799 }
18800
18801 /*
18802 * Toggles the 'collapsed' state
18803 */
18804 }, {
18805 key: 'toggle',
18806 value: function toggle() {
18807 this.isCollapsed = !this.isCollapsed;
18808 this.render();
18809 }
18810
18811 /*
18812 * Renders the element and returns it
18813 */
18814 }, {
18815 key: 'render',
18816 value: function render() {
18817 if (!this.element) {
18818 this.element = document.createElement('div');
18819 this.element.classList.add('json-schema-view');
18820 }
18821
18822 if (this.isCollapsed) {
18823 this.element.classList.add('collapsed');
18824 } else {
18825 this.element.classList.remove('collapsed');
18826 }
18827
18828 if (this.options.theme) {
18829 this.element.classList.add('json-schema-view-' + this.options.theme);
18830 }
18831
18832 this.element.innerHTML = this.template();
18833
18834 if (!this.schema) {
18835 return this.element;
18836 }
18837
18838 if (!this.isCollapsed) {
18839 this.appendChildren(this.element);
18840 }
18841
18842 // add event listener for toggling
18843 if (this.element.querySelector('a.title')) {
18844 this.element.querySelector('a.title').addEventListener('click', this.toggle.bind(this));
18845 }
18846 return this.element;
18847 }
18848
18849 /*
18850 * Appends children to given element based on current schema
18851 */
18852 }, {
18853 key: 'appendChildren',
18854 value: function appendChildren(element) {
18855 var _this2 = this;
18856
18857 var inner = element.querySelector('.inner');
18858
18859 if (!inner) {
18860 return;
18861 }
18862
18863 if (this.schema['enum']) {
18864 var tempDiv = document.createElement('span');;
18865 tempDiv.classList.add('inner');
18866 tempDiv.innerHTML = '<code>' + this.schema['enum'].join('</code>, <code>') + '</code>';
18867 element.querySelector('.enums.inner').appendChild(tempDiv);
18868 }
18869
18870 if (this.isArray) {
18871 var view = new JSONSchemaView(this.schema.items, Infinity);
18872 inner.appendChild(view.render());
18873 }
18874
18875 if (typeof this.schema.properties === 'object') {
18876 Object.keys(this.schema.properties).forEach(function (propertyName) {
18877 var property = _this2.schema.properties[propertyName];
18878 var tempDiv = document.createElement('div');;
18879 tempDiv.innerHTML = '<div class="property">\n <span class="name">' + propertyName + ':</span>\n </div>';
18880 var view = new JSONSchemaView(property, _this2.open - 1);
18881 tempDiv.querySelector('.property').appendChild(view.render());
18882
18883 inner.appendChild(tempDiv.querySelector('.property'));
18884 });
18885 }
18886
18887 if (this.schema.allOf) {
18888 appendXOf.call(this, 'allOf');
18889 }
18890 if (this.schema.oneOf) {
18891 appendXOf.call(this, 'oneOf');
18892 }
18893 if (this.schema.anyOf) {
18894 appendXOf.call(this, 'anyOf');
18895 }
18896
18897 function appendXOf(type) {
18898 var _this3 = this;
18899
18900 var innerAllOf = element.querySelector('.inner.' + type);
18901
18902 this.schema[type].forEach(function (schema) {
18903 var inner = document.createElement('div');
18904 inner.classList.add('inner');
18905 var view = new JSONSchemaView(schema, _this3.open - 1);
18906 inner.appendChild(view.render());
18907 innerAllOf.appendChild(inner);
18908 });
18909 }
18910 }
18911 }]);
18912
18913 return JSONSchemaView;
18914})();
18915
18916exports['default'] = JSONSchemaView;
18917module.exports = exports['default'];
18918
18919},{"./helpers.js":1}]},{},[2])(2)
18920});
18921//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2hlbHBlcnMuanMiLCJDOi9Vc2Vycy9qYW1lc2hpL0Rlc2t0b3AvanNvbi1zY2hlbWEtdmlldy1qcy1tYXN0ZXIvc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FDQUEsWUFBWSxDQUFDOzs7Ozs7Ozs7O0FBSU4sU0FBUyxVQUFVLENBQUMsSUFBSSxFQUFFO0FBQy9CLFNBQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDO0NBQ3JDOzs7Ozs7Ozs7Ozs7O0FBWU0sU0FBUyxHQUFHLENBQUMsU0FBUyxFQUFFO0FBQzdCLFNBQU8sU0FBUyxHQUFHLE1BQU0sR0FBRyxLQUFLLENBQUM7Q0FDbkM7O0FBQ0QsU0FBUyxLQUFLLEdBQUU7QUFDZCxTQUFPLEVBQUUsQ0FBQztDQUNYO0FBQ0QsU0FBUyxNQUFNLENBQUUsUUFBUSxFQUFrQjtvQ0FBYixXQUFXO0FBQVgsZUFBVzs7O0FBQ3ZDLFNBQU8sUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsVUFBQyxXQUFXLEVBQUUsSUFBSSxFQUFFLENBQUMsRUFBSztBQUN4RCxXQUFPLFdBQVcsR0FBRyxXQUFXLENBQUMsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDO0dBQzVDLEVBQUUsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7Q0FDakI7OztBQzVCRCxZQUFZLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozt5QkFPTixjQUFjOzs7Ozs7OztJQVFBLGNBQWM7Ozs7Ozs7Ozs7OztBQVd0QixXQVhRLGNBQWMsQ0FXckIsTUFBTSxFQUFFLElBQUksRUFBMkI7OztRQUF6QixPQUFPLHlEQUFHLEVBQUMsS0FBSyxFQUFFLElBQUksRUFBQzs7MEJBWDlCLGNBQWM7O0FBWS9CLFFBQUksQ0FBQyxNQUFNLEdBQUcsTUFBTSxDQUFDO0FBQ3JCLFFBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0FBQ2pCLFFBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO0FBQ3ZCLFFBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxJQUFJLENBQUMsQ0FBQzs7O0FBRzdCLFFBQUksQ0FBQyxLQUFLLEdBQUcsT0FBTyxNQUFNLEtBQUssUUFBUSxJQUNyQyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLElBQ3RCLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FDbkIsTUFBTSxDQUFDLFVBQUEsQ0FBQzthQUFHLENBQUMsT0FBTyxFQUFFLGFBQWEsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUM7S0FBQSxDQUFDLENBQUMsTUFBTSxDQUFDOzs7QUFHakUsUUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksSUFBSSxDQUFDLE1BQU0sSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxPQUFPLENBQUM7O0FBRTFFLFFBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDLE1BQU0sS0FDeEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEtBQUssUUFBUSxJQUM3QixJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsSUFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQSxBQUFDLENBQUM7OztBQUd0QixRQUFJLENBQUMsV0FBVyxHQUFHLENBQUMsSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDOzs7QUFHbEUsUUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFDdkMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQ2hCLElBQUksQ0FBQyxXQUFXLEtBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLElBQ25CLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUNuQixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixJQUM1QixJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFBLEFBQUMsQUFDOUIsQ0FBQzs7O0FBR0osUUFBSSxJQUFJLENBQUMsTUFBTSxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsRUFBRTtBQUN0RCxVQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsVUFBQSxnQkFBZ0IsRUFBSTtBQUMvQyxZQUFJLE9BQU8sTUFBSyxNQUFNLENBQUMsVUFBVSxDQUFDLGdCQUFnQixDQUFDLEtBQUssUUFBUSxFQUFFO0FBQ2hFLGdCQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO1NBQzVEO09BQ0YsQ0FBQyxDQUFDO0tBQ0o7R0FDRjs7Ozs7OztlQXREa0IsY0FBYzs7V0E0RHpCLG9CQUFHO0FBQ1QsVUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUU7QUFDaEIsZUFBTyxFQUFFLENBQUM7T0FDWDs7QUFFRCxhQUFPLGtDQUVILG9CQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsa0JBRVgsb0JBQUksSUFBSSxDQUFDLFVBQVUsQ0FBQyxtQkFDa0MsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksRUFBRSxHQUs3RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ2hCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUc5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0EsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLEdBRWxFLG9CQUFJLElBQUksQ0FBQyxNQUFNLFdBQVEsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0QsSUFBSSxDQUFDLE1BQU0sV0FBUSxHQUU5RCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsbUJBQ0YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLDhDQU03RCxvQkFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLG1CQUVqQixvQkFBSSxJQUFJLENBQUMsVUFBVSxDQUFDLG1CQUNrQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEdBR3hELElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUlyQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsbUJBQ3BCLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTSxHQUcxQyxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsbUJBQ1AsSUFBSSxDQUFDLE1BQU0sQ0FBQyxPQUFPLEdBR3pELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLG9CQUNILElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLEdBRy9FLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLENBQUMsb0JBQ0gsSUFBSSxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsR0FHL0Usb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLG9CQUNMLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxHQUcvRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsb0JBQ0wsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLEdBRy9ELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDaEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSzdELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFHL0Msb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRTlELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxtQkFDRixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FHekQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsNENBTWhGLG9CQUFJLElBQUksQ0FBQyxPQUFPLENBQUMsb0JBRXVDLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxJQUFJLEVBQUUsRUFBeUMsb0JBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxxQkFDekksb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxLQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFBLEFBQUMsQ0FBQyxvQkFFdEUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxRQUFRLElBQUksQ0FBQyxFQUFLLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLEdBQUcsRUFDcEYsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLHNCQUlqRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLENBQUMsb0JBQ3RCLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxHQUlwRCxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksSUFBSSxDQUFDLE1BQU0sUUFBSyxDQUFDLG9CQUN4QyxJQUFJLFFBQUssQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLElBQUksQ0FBQyxXQUFXLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUdyRCxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUM1RSxvQkFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsb0JBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxHQUU1RSxvQkFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsNkRBTzFCLG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLG9CQUduQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssSUFBSSxFQUFFLEVBQ3RCLG9CQUFJLElBQUksQ0FBQyxXQUFXLENBQUMscUJBS25ELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxvQkFDdEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxXQUFXLEdBSXpELG9CQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDRCxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsR0FFbEUsb0JBQUksSUFBSSxDQUFDLE1BQU0sV0FBUSxJQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxvQkFDUCxJQUFJLENBQUMsTUFBTSxXQUFRLEdBRzFELG9CQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsSUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxvQkFDSixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sR0FJckQsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxJQUFJLElBQUksQ0FBQyxNQUFNLFFBQUssQ0FBQyxvQkFDeEMsSUFBSSxRQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsR0FHckQsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FDNUUsb0JBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLG9CQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsR0FFNUUsb0JBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLDZCQUtoQyxPQUFPLENBQUMsUUFBUSxFQUFFLElBQUksQ0FBQyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsRUFBRSxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUM7S0FDM0Q7Ozs7Ozs7V0FLRSxhQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUU7QUFDaEIsNENBQ3NCLElBQUksdUJBQ2pCLDJCQUFXLElBQUksQ0FBQywrQkFFdkI7S0FDSDs7Ozs7OztXQUtHLGVBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRSxJQUFJLEVBQUU7QUFDOUIsMEJBQ0ksb0JBQUksQ0FBQyxXQUFXLElBQUksTUFBTSxRQUFLLENBQUMsK0JBS2xDO0tBQ0g7Ozs7Ozs7V0FLSyxrQkFBRztBQUNQLFVBQUksQ0FBQyxXQUFXLEdBQUcsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDO0FBQ3JDLFVBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztLQUNmOzs7Ozs7O1dBS0ssa0JBQUc7QUFDUCxVQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sRUFBRTtBQUNqQixZQUFJLENBQUMsT0FBTyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDN0MsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7T0FDaEQ7O0FBRUQsVUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFO0FBQ3BCLFlBQUksQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUN6QyxNQUFNO0FBQ0wsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO09BQzVDOztBQUVELFVBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUU7QUFDdEIsWUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyx1QkFBcUIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUcsQ0FBQztPQUN0RTs7QUFFRCxVQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7O0FBRXpDLFVBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFO0FBQ2hCLGVBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztPQUNyQjs7QUFFRCxVQUFJLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRTtBQUNyQixZQUFJLENBQUMsY0FBYyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztPQUNuQzs7O0FBR0QsVUFBSSxJQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsRUFBRTtBQUN6QyxZQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLEVBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztPQUN6RjtBQUNELGFBQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztLQUNyQjs7Ozs7OztXQUthLHdCQUFDLE9BQU8sRUFBRTs7O0FBQ3RCLFVBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxhQUFhLENBQUMsUUFBUSxDQUFDLENBQUM7O0FBRTlDLFVBQUksQ0FBQyxLQUFLLEVBQUU7QUFDVixlQUFPO09BQ1I7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxRQUFLLEVBQUU7QUFDcEIsWUFBTSxTQUFTLEdBQUcsSUFBSSxhQUFhLENBQUMsSUFBSSxDQUFDLE1BQU0sUUFBSyxFQUFFLElBQUksQ0FBQyxJQUFJLEdBQUcsQ0FBQyxDQUFDLENBQUM7QUFDckUsWUFBTSxXQUFXLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDO0FBQ3ZDLG1CQUFXLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUNuQyxlQUFPLENBQUMsYUFBYSxDQUFDLGNBQWMsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQztPQUVoRTs7QUFFRCxVQUFJLElBQUksQ0FBQyxPQUFPLEVBQUU7QUFDaEIsWUFBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLElBQUksR0FBRyxDQUFDLENBQUMsQ0FBQTtBQUNqRSxhQUFLLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO09BQ2xDOztBQUVELFVBQUksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsS0FBSyxRQUFRLEVBQUU7QUFDOUMsY0FBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxVQUFBLFlBQVksRUFBSTtBQUMxRCxjQUFNLFFBQVEsR0FBRyxPQUFLLE1BQU0sQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDdEQsY0FBTSxPQUFPLEdBQUcsUUFBUSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDO0FBQy9DLGlCQUFPLENBQUMsU0FBUyw2REFDTSxZQUFZLDZCQUM1QixDQUFDO0FBQ1IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsUUFBUSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3pELGlCQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQzs7QUFFOUQsZUFBSyxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsYUFBYSxDQUFDLFdBQVcsQ0FBQyxDQUFDLENBQUM7U0FDdkQsQ0FBQyxDQUFDO09BQ0o7O0FBRUQsVUFBSSxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssRUFBRTtBQUFFLGlCQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsQ0FBQztPQUFFO0FBQ3pELFVBQUksSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUU7QUFBRSxpQkFBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7T0FBRTtBQUN6RCxVQUFJLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFO0FBQUUsaUJBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO09BQUU7O0FBRXpELGVBQVMsU0FBUyxDQUFDLElBQUksRUFBRTs7O0FBQ3ZCLFlBQU0sVUFBVSxHQUFHLE9BQU8sQ0FBQyxhQUFhLGFBQVcsSUFBSSxDQUFHLENBQUM7O0FBRTNELFlBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLFVBQUEsTUFBTSxFQUFJO0FBQ2xDLGNBQU0sS0FBSyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDNUMsZUFBSyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7QUFDN0IsY0FBTSxJQUFJLEdBQUcsSUFBSSxjQUFjLENBQUMsTUFBTSxFQUFFLE9BQUssSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDO0FBQ3ZELGVBQUssQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7QUFDakMsb0JBQVUsQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLENBQUM7U0FDL0IsQ0FBQyxDQUFDO09BQ0o7S0FDRjs7O1NBOVZrQixjQUFjOzs7cUJBQWQsY0FBYyIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIHMobyx1KXtpZighbltvXSl7aWYoIXRbb10pe3ZhciBhPXR5cGVvZiByZXF1aXJlPT1cImZ1bmN0aW9uXCImJnJlcXVpcmU7aWYoIXUmJmEpcmV0dXJuIGEobywhMCk7aWYoaSlyZXR1cm4gaShvLCEwKTt2YXIgZj1uZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiK28rXCInXCIpO3Rocm93IGYuY29kZT1cIk1PRFVMRV9OT1RfRk9VTkRcIixmfXZhciBsPW5bb109e2V4cG9ydHM6e319O3Rbb11bMF0uY2FsbChsLmV4cG9ydHMsZnVuY3Rpb24oZSl7dmFyIG49dFtvXVsxXVtlXTtyZXR1cm4gcyhuP246ZSl9LGwsbC5leHBvcnRzLGUsdCxuLHIpfXJldHVybiBuW29dLmV4cG9ydHN9dmFyIGk9dHlwZW9mIHJlcXVpcmU9PVwiZnVuY3Rpb25cIiYmcmVxdWlyZTtmb3IodmFyIG89MDtvPHIubGVuZ3RoO28rKylzKHJbb10pO3JldHVybiBzfSkiLCIndXNlIHN0cmljdCc7XG4vKlxuICogQ29udmVydHMgYW55T2YsIGFsbE9mIGFuZCBvbmVPZiB0byBodW1hbiByZWFkYWJsZSBzdHJpbmdcbiovXG5leHBvcnQgZnVuY3Rpb24gY29udmVydFhPZih0eXBlKSB7XG4gIHJldHVybiB0eXBlLnN1YnN0cmluZygwLCAzKSArICcgb2YnO1xufVxuXG4vKlxuICogaWYgY29uZGl0aW9uIGZvciBFUzYgdGVtcGxhdGUgc3RyaW5nc1xuICogdG8gYmUgdXNlZCBvbmx5IGluIHRlbXBsYXRlIHN0cmluZ1xuICpcbiAqIEBleGFtcGxlIG15c3RyID0gYFJhbmRvbSBpcyAke19pZihNYXRoLnJhbmRvbSgpID4gMC41KWBncmVhdGVyIHRoYW4gMC41YGBcbiAqXG4gKiBAcGFyYW0ge2Jvb2xlYW59IGNvbmRpdGlvblxuICpcbiAqIEByZXR1cm5zIHtmdW5jdGlvbn0gdGhlIHRlbXBsYXRlIGZ1bmN0aW9uXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIF9pZihjb25kaXRpb24pIHtcbiAgcmV0dXJuIGNvbmRpdGlvbiA/IG5vcm1hbCA6IGVtcHR5O1xufVxuZnVuY3Rpb24gZW1wdHkoKXtcbiAgcmV0dXJuICcnO1xufVxuZnVuY3Rpb24gbm9ybWFsICh0ZW1wbGF0ZSwgLi4uZXhwcmVzc2lvbnMpIHtcbiAgcmV0dXJuIHRlbXBsYXRlLnNsaWNlKDEpLnJlZHVjZSgoYWNjdW11bGF0b3IsIHBhcnQsIGkpID0+IHtcbiAgICByZXR1cm4gYWNjdW11bGF0b3IgKyBleHByZXNzaW9uc1tpXSArIHBhcnQ7XG4gIH0sIHRlbXBsYXRlWzBdKTtcbn0iLCIndXNlIHN0cmljdCc7XG5cbi8qIGdsb2JhbHMgSlNPTlNjaGVtYVZpZXcgKi9cblxuaW1wb3J0IHtcbiAgY29udmVydFhPZixcbiAgX2lmXG59IGZyb20gJy4vaGVscGVycy5qcyc7XG5cblxuLyoqXG4gKiBAY2xhc3MgSlNPTlNjaGVtYVZpZXdcbiAqXG4gKiBBIHB1cmUgSmF2YVNjcmlwdCBjb21wb25lbnQgZm9yIHJlbmRlcmluZyBKU09OIFNjaGVtYSBpbiBIVE1MLlxuKi9cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEpTT05TY2hlbWFWaWV3IHtcblxuICAvKipcbiAgICogQHBhcmFtIHtvYmplY3R9IHNjaGVtYSBUaGUgSlNPTiBTY2hlbWEgb2JqZWN0XG4gICAqXG4gICAqIEBwYXJhbSB7bnVtYmVyfSBbb3Blbj0xXSBoaXMgbnVtYmVyIGluZGljYXRlcyB1cCB0byBob3cgbWFueSBsZXZlbHMgdGhlXG4gICAqIHJlbmRlcmVkIHRyZWUgc2hvdWxkIGV4cGFuZC4gU2V0IGl0IHRvIGAwYCB0byBtYWtlIHRoZSB3aG9sZSB0cmVlIGNvbGxhcHNlZFxuICAgKiBvciBzZXQgaXQgdG8gYEluZmluaXR5YCB0byBleHBhbmQgdGhlIHRyZWUgZGVlcGx5XG4gICAqIEBwYXJhbSB7b2JqZWN0fSBvcHRpb25zLlxuICAgKiAgdGhlbWUge3N0cmluZ306IG9uZSBvZiB0aGUgZm9sbG93aW5nIG9wdGlvbnM6IFsnZGFyayddXG4gICovXG4gIGNvbnN0cnVjdG9yKHNjaGVtYSwgb3Blbiwgb3B0aW9ucyA9IHt0aGVtZTogbnVsbH0pIHtcbiAgICB0aGlzLnNjaGVtYSA9IHNjaGVtYTtcbiAgICB0aGlzLm9wZW4gPSBvcGVuO1xuICAgIHRoaXMub3B0aW9ucyA9IG9wdGlvbnM7XG4gICAgdGhpcy5pc0NvbGxhcHNlZCA9IG9wZW4gPD0gMDtcblxuICAgIC8vIGlmIHNjaGVtYSBpcyBhbiBlbXB0eSBvYmplY3Qgd2hpY2ggbWVhbnMgYW55IEpPU05cbiAgICB0aGlzLmlzQW55ID0gdHlwZW9mIHNjaGVtYSA9PT0gJ29iamVjdCcgJiZcbiAgICAgICFBcnJheS5pc0FycmF5KHNjaGVtYSkgJiZcbiAgICAgICFPYmplY3Qua2V5cyhzY2hlbWEpXG4gICAgICAuZmlsdGVyKGs9PiBbJ3RpdGxlJywgJ2Rlc2NyaXB0aW9uJ10uaW5kZXhPZihrKSA9PT0gLTEpLmxlbmd0aDtcblxuICAgIC8vIERldGVybWluZSBpZiBhIHNjaGVtYSBpcyBhbiBhcnJheVxuICAgIHRoaXMuaXNBcnJheSA9ICF0aGlzLmlzQW55ICYmIHRoaXMuc2NoZW1hICYmIHRoaXMuc2NoZW1hLnR5cGUgPT09ICdhcnJheSc7XG5cbiAgICB0aGlzLmlzT2JqZWN0ID0gdGhpcy5zY2hlbWEgJiZcbiAgICAgICh0aGlzLnNjaGVtYS50eXBlID09PSAnb2JqZWN0JyB8fFxuICAgICAgIHRoaXMuc2NoZW1hLnByb3BlcnRpZXMgfHxcbiAgICAgICB0aGlzLnNjaGVtYS5hbnlPZiB8fFxuICAgICAgIHRoaXMuc2NoZW1hLm9uZW9mIHx8XG4gICAgICAgdGhpcy5zY2hlbWEuYWxsT2YpO1xuXG4gICAgLy8gRGV0ZXJtaW5lIGlmIGEgc2NoZW1hIGlzIGEgcHJpbWl0aXZlXG4gICAgdGhpcy5pc1ByaW1pdGl2ZSA9ICF0aGlzLmlzQW55ICYmICF0aGlzLmlzQXJyYXkgJiYgIXRoaXMuaXNPYmplY3Q7XG5cbiAgICAvL1xuICAgIHRoaXMuc2hvd1RvZ2dsZSA9IHRoaXMuc2NoZW1hLmRlc2NyaXB0aW9uIHx8XG4gICAgICB0aGlzLnNjaGVtYS50aXRsZSB8fFxuICAgICAgKHRoaXMuaXNQcmltaXRpdmUgJiYgKFxuICAgICAgICB0aGlzLnNjaGVtYS5taW5pbXVtIHx8XG4gICAgICAgIHRoaXMuc2NoZW1hLm1heGltdW0gfHxcbiAgICAgICAgdGhpcy5zY2hlbWEuZXhjbHVzaXZlTWluaW11bSB8fFxuICAgICAgICB0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtKVxuICAgICAgKTtcblxuICAgIC8vIHBvcHVsYXRlIGlzUmVxdWlyZWQgcHJvcGVydHkgZG93biB0byBwcm9wZXJ0aWVzXG4gICAgaWYgKHRoaXMuc2NoZW1hICYmIEFycmF5LmlzQXJyYXkodGhpcy5zY2hlbWEucmVxdWlyZWQpKSB7XG4gICAgICB0aGlzLnNjaGVtYS5yZXF1aXJlZC5mb3JFYWNoKHJlcXVpcmVkUHJvcGVydHkgPT4ge1xuICAgICAgICBpZiAodHlwZW9mIHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcmVxdWlyZWRQcm9wZXJ0eV0gPT09ICdvYmplY3QnKSB7XG4gICAgICAgICAgdGhpcy5zY2hlbWEucHJvcGVydGllc1tyZXF1aXJlZFByb3BlcnR5XS5pc1JlcXVpcmVkID0gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgLypcbiAgICogUmV0dXJucyB0aGUgdGVtcGxhdGUgd2l0aCBwb3B1bGF0ZWQgcHJvcGVydGllcy5cbiAgICogVGhpcyB0ZW1wbGF0ZSBkb2VzIG5vdCBoYXZlIHRoZSBjaGlsZHJlblxuICAqL1xuICB0ZW1wbGF0ZSgpIHtcbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuXG4gICAgcmV0dXJuIGBcbiAgICAgIDwhLS0gQW55IC0tPlxuICAgICAgJHtfaWYodGhpcy5pc0FueSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhbnlcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgIDxzcGFuIGNsYXNzPVwidHlwZSB0eXBlLWFueVwiPiZsdDthbnkmZ3Q7PC9zcGFuPlxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCBcblx0XHQgICR7X2lmKHRoaXMuc2NoZW1hLnJlcXVpcmVkICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciByZXF1aXJlZFwiPlJlcXVpcmVkOiAke3RoaXMuc2NoZW1hLnJlcXVpcmVkfTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAke19pZih0aGlzLnNjaGVtYS5kZWZhdWx0ICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBkZWZhdWx0XCI+RGVmYXVsdDogJHt0aGlzLnNjaGVtYS5kZWZhdWx0fTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucGF0dGVybiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgcGF0dGVyblwiPlBhdHRlcm46ICR7dGhpcy5zY2hlbWEucGF0dGVybn08L2Rpdj5cbiAgICAgICAgICBgfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cbiAgICAgIDwhLS0gUHJpbWl0aXZlIC0tPlxuICAgICAgJHtfaWYodGhpcy5pc1ByaW1pdGl2ZSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJwcmltaXRpdmVcIj5cbiAgICAgICAgICAke19pZih0aGlzLnNob3dUb2dnbGUpYFxuICAgICAgICAgICAgPGEgY2xhc3M9XCJ0aXRsZVwiPjxzcGFuIGNsYXNzPVwidG9nZ2xlLWhhbmRsZVwiPjwvc3Bhbj4ke3RoaXMuc2NoZW1hLnRpdGxlIHx8ICcnfSA8L2E+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0eXBlXCI+JHt0aGlzLnNjaGVtYS50eXBlfTwvc3Bhbj5cblxuICAgICAgICAgXG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5mb3JtYXQpYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJmb3JtYXRcIj4oJHt0aGlzLnNjaGVtYS5mb3JtYXR9KTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluaW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1pbmltdW1cIj5taW5pbXVtOiR7dGhpcy5zY2hlbWEubWluaW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1pbmltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNaW5pbXVtXCI+KGV4KW1pbmltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNaW5pbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4aW11bSlgXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInJhbmdlIG1heGltdW1cIj5tYXhpbXVtOiR7dGhpcy5zY2hlbWEubWF4aW11bX08L3NwYW4+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmV4Y2x1c2l2ZU1heGltdW0pYFxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJyYW5nZSBleGNsdXNpdmVNYXhpbXVtXCI+KGV4KW1heGltdW06JHt0aGlzLnNjaGVtYS5leGNsdXNpdmVNYXhpbXVtfTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWluTGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWluTGVuZ3RoXCI+bWluTGVuZ3RoOiR7dGhpcy5zY2hlbWEubWluTGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEubWF4TGVuZ3RoKWBcbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicmFuZ2UgbWF4TGVuZ3RoXCI+bWF4TGVuZ3RoOiR7dGhpcy5zY2hlbWEubWF4TGVuZ3RofTwvc3Bhbj5cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuZGVzY3JpcHRpb24gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIGRlc2NyaXB0aW9uXCI+JHt0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbn08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgXG5cdFx0IFxuXHRcdCAgXG5cdFx0ICAgJHtfaWYodGhpcy5zY2hlbWEucmVxdWlyZWQgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHJlcXVpcmVkXCI+UmVxdWlyZWQ8L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgJHtfaWYodGhpcy5zY2hlbWEuZGVmYXVsdCAmJiAhdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgZGVmYXVsdFwiPkRlZmF1bHQ6ICR7dGhpcy5zY2hlbWEuZGVmYXVsdH08L2Rpdj5cbiAgICAgICAgICBgfVxuXHRcdCAgICR7X2lmKHRoaXMuc2NoZW1hLnBhdHRlcm4gJiYgIXRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyIHBhdHRlcm5cIj5QYXR0ZXJuOiAke3RoaXMuc2NoZW1hLnBhdHRlcm59PC9kaXY+XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLmVudW0pYFxuICAgICAgICAgICAgJHt0aGlzLmVudW0odGhpcy5zY2hlbWEsIHRoaXMuaXNDb2xsYXBzZWQsIHRoaXMub3Blbil9XG4gICAgICAgICAgYH1cblxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFsbE9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYWxsT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLm9uZU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnb25lT2YnKX1gfVxuICAgICAgICAgICR7X2lmKHRoaXMuc2NoZW1hLmFueU9mICYmICF0aGlzLmlzQ29sbGFwc2VkKWAke3RoaXMueE9mKHRoaXMuc2NoZW1hLCAnYW55T2YnKX1gfVxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG5cblxuICAgICAgPCEtLSBBcnJheSAtLT5cbiAgICAgICR7X2lmKHRoaXMuaXNBcnJheSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJhcnJheVwiPlxuICAgICAgICAgIDxhIGNsYXNzPVwidGl0bGVcIj48c3BhbiBjbGFzcz1cInRvZ2dsZS1oYW5kbGVcIj48L3NwYW4+JHt0aGlzLnNjaGVtYS50aXRsZSB8fCAnJ308c3BhbiBjbGFzcz1cIm9wZW5pbmcgYnJhY2tldFwiPls8L3NwYW4+JHtfaWYodGhpcy5pc0NvbGxhcHNlZClgPHNwYW4gY2xhc3M9XCJjbG9zaW5nIGJyYWNrZXRcIj5dPC9zcGFuPmB9PC9hPlxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmICh0aGlzLnNjaGVtYS51bmlxdWVJdGVtcyB8fCB0aGlzLnNjaGVtYS5taW5JdGVtcyB8fCB0aGlzLnNjaGVtYS5tYXhJdGVtcykpYFxuICAgICAgICAgIDxzcGFuPlxuICAgICAgICAgICAgPHNwYW4gdGl0bGU9XCJpdGVtcyByYW5nZVwiPigke3RoaXMuc2NoZW1hLm1pbkl0ZW1zIHx8IDB9Li4ke3RoaXMuc2NoZW1hLm1heEl0ZW1zIHx8ICfiiJ4nfSk8L3NwYW4+XG4gICAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS51bmlxdWVJdGVtcylgPHNwYW4gdGl0bGU9XCJ1bmlxdWVcIiBjbGFzcz1cInVuaXF1ZUl0ZW1zXCI+4pmmPC9zcGFuPmB9XG4gICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyXCI+XG4gICAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5kZXNjcmlwdGlvbilgXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZXNjcmlwdGlvblwiPiR7dGhpcy5zY2hlbWEuZGVzY3JpcHRpb259PC9kaXY+XG4gICAgICAgICAgICBgfVxuICAgICAgICAgIDwvZGl2PlxuXG4gICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEuZW51bSlgXG4gICAgICAgICAgICAke3RoaXMuZW51bSh0aGlzLnNjaGVtYSwgdGhpcy5pc0NvbGxhcHNlZCwgdGhpcy5vcGVuKX1cbiAgICAgICAgICBgfVxuXG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuYWxsT2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdhbGxPZicpfWB9XG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEub25lT2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdvbmVPZicpfWB9XG4gICAgICAgICAgJHtfaWYodGhpcy5zY2hlbWEuYW55T2YgJiYgIXRoaXMuaXNDb2xsYXBzZWQpYCR7dGhpcy54T2YodGhpcy5zY2hlbWEsICdhbnlPZicpfWB9XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZClgXG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJjbG9zaW5nIGJyYWNrZXRcIj5dPC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgYH1cblxuICAgICAgPCEtLSBPYmplY3QgLS0+XG4gICAgICAke19pZighdGhpcy5pc1ByaW1pdGl2ZSAmJiAhdGhpcy5pc0FycmF5ICYmICF0aGlzLmlzQW55KWBcbiAgICAgICAgPGRpdiBjbGFzcz1cIm9iamVjdFwiPlxuICAgICAgICAgIDxhIGNsYXNzPVwidGl0bGVcIj48c3BhblxuICAgICAgICAgICAgY2xhc3M9XCJ0b2dnbGUtaGFuZGxlXCI+PC9zcGFuPiR7dGhpcy5zY2hlbWEudGl0bGUgfHwgJyd9IDxzcGFuXG4gICAgICAgICAgICBjbGFzcz1cIm9wZW5pbmcgYnJhY2VcIj57PC9zcGFuPiR7X2lmKHRoaXMuaXNDb2xsYXBzZWQpYFxuICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2VcIiBuZy1pZj1cImlzQ29sbGFwc2VkXCI+fTwvc3Bhbj5cbiAgICAgICAgICBgfTwvYT5cblxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lclwiPlxuICAgICAgICAgICAgJHtfaWYoIXRoaXMuaXNDb2xsYXBzZWQgJiYgdGhpcy5zY2hlbWEuZGVzY3JpcHRpb24pYFxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZGVzY3JpcHRpb25cIj4ke3RoaXMuc2NoZW1hLmRlc2NyaXB0aW9ufTwvZGl2PlxuICAgICAgICAgICAgYH1cbiAgICAgICAgICAgIDwhLS0gY2hpbGRyZW4gZ28gaGVyZSAtLT5cblx0XHQgIFxuXHRcdCAgICR7X2lmKHRoaXMuc2NoZW1hLnJlcXVpcmVkICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJyZXF1aXJlZFwiPkRlZmF1bHQgRmllbGRzOiAke3RoaXMuc2NoZW1hLnJlcXVpcmVkfTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICAke19pZih0aGlzLnNjaGVtYS5kZWZhdWx0ICYmICF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJkZWZhdWx0XCI+RGVmYXVsdDogJHt0aGlzLnNjaGVtYS5kZWZhdWx0fTwvZGl2PlxuICAgICAgICAgIGB9XG5cdFx0ICBcblx0XHRcdCR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkICYmIHRoaXMuc2NoZW1hLnBhdHRlcm4pYFxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGF0dGVyblwiPlBhdHRlcm46ICR7dGhpcy5zY2hlbWEucGF0dGVybn08L2Rpdj5cbiAgICAgICAgICAgIGB9XG4gICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAke19pZighdGhpcy5pc0NvbGxhcHNlZCAmJiB0aGlzLnNjaGVtYS5lbnVtKWBcbiAgICAgICAgICAgICR7dGhpcy5lbnVtKHRoaXMuc2NoZW1hLCB0aGlzLmlzQ29sbGFwc2VkLCB0aGlzLm9wZW4pfVxuICAgICAgICAgIGB9XG5cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbGxPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FsbE9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5vbmVPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ29uZU9mJyl9YH1cbiAgICAgICAgICAke19pZih0aGlzLnNjaGVtYS5hbnlPZiAmJiAhdGhpcy5pc0NvbGxhcHNlZClgJHt0aGlzLnhPZih0aGlzLnNjaGVtYSwgJ2FueU9mJyl9YH1cblxuICAgICAgICAgICR7X2lmKCF0aGlzLmlzQ29sbGFwc2VkKWBcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImNsb3NpbmcgYnJhY2VcIj59PC9zcGFuPlxuICAgICAgICAgIGB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgYH1cbmAucmVwbGFjZSgvXFxzKlxcbi9nLCAnXFxuJykucmVwbGFjZSgvKFxcPFxcIVxcLVxcLSkuKy9nLCAnJykudHJpbSgpO1xuICB9XG5cbiAgLypcbiAgICogVGVtcGxhdGUgZm9yIG9uZU9mLCBhbnlPZiBhbmQgYWxsT2ZcbiAgKi9cbiAgeE9mKHNjaGVtYSwgdHlwZSkge1xuICAgIHJldHVybiBgXG4gICAgICA8ZGl2IGNsYXNzPVwiaW5uZXIgJHt0eXBlfVwiPlxuICAgICAgICA8Yj4ke2NvbnZlcnRYT2YodHlwZSl9OjwvYj5cbiAgICAgIDwvZGl2PlxuICAgIGA7XG4gIH1cblxuICAvKlxuICAgKiBUZW1wbGF0ZSBmb3IgZW51bXNcbiAgKi9cbiAgZW51bShzY2hlbWEsIGlzQ29sbGFwc2VkLCBvcGVuKSB7XG4gICAgcmV0dXJuIGBcbiAgICAgICR7X2lmKCFpc0NvbGxhcHNlZCAmJiBzY2hlbWEuZW51bSlgXG4gICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lciBlbnVtc1wiPlxuICAgICAgICAgIDxiPkVudW06PC9iPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIGB9XG4gICAgYDtcbiAgfVxuXG4gIC8qXG4gICAqIFRvZ2dsZXMgdGhlICdjb2xsYXBzZWQnIHN0YXRlXG4gICovXG4gIHRvZ2dsZSgpIHtcbiAgICB0aGlzLmlzQ29sbGFwc2VkID0gIXRoaXMuaXNDb2xsYXBzZWQ7XG4gICAgdGhpcy5yZW5kZXIoKTtcbiAgfVxuXG4gIC8qXG4gICAqIFJlbmRlcnMgdGhlIGVsZW1lbnQgYW5kIHJldHVybnMgaXRcbiAgKi9cbiAgcmVuZGVyKCkge1xuICAgIGlmICghdGhpcy5lbGVtZW50KSB7XG4gICAgICB0aGlzLmVsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdqc29uLXNjaGVtYS12aWV3Jyk7XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuaXNDb2xsYXBzZWQpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKCdjb2xsYXBzZWQnKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5lbGVtZW50LmNsYXNzTGlzdC5yZW1vdmUoJ2NvbGxhcHNlZCcpO1xuICAgIH1cblxuICAgIGlmICh0aGlzLm9wdGlvbnMudGhlbWUpIHtcbiAgICAgIHRoaXMuZWxlbWVudC5jbGFzc0xpc3QuYWRkKGBqc29uLXNjaGVtYS12aWV3LSR7dGhpcy5vcHRpb25zLnRoZW1lfWApO1xuICAgIH1cblxuICAgIHRoaXMuZWxlbWVudC5pbm5lckhUTUwgPSB0aGlzLnRlbXBsYXRlKCk7XG5cbiAgICBpZiAoIXRoaXMuc2NoZW1hKSB7XG4gICAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICAgIH1cblxuICAgIGlmICghdGhpcy5pc0NvbGxhcHNlZCkge1xuICAgICAgdGhpcy5hcHBlbmRDaGlsZHJlbih0aGlzLmVsZW1lbnQpO1xuICAgIH1cblxuICAgIC8vIGFkZCBldmVudCBsaXN0ZW5lciBmb3IgdG9nZ2xpbmdcbiAgICBpZiAodGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKSkge1xuICAgICAgdGhpcy5lbGVtZW50LnF1ZXJ5U2VsZWN0b3IoJ2EudGl0bGUnKS5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMudG9nZ2xlLmJpbmQodGhpcykpO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5lbGVtZW50O1xuICB9XG5cbiAgLypcbiAgICogQXBwZW5kcyBjaGlsZHJlbiB0byBnaXZlbiBlbGVtZW50IGJhc2VkIG9uIGN1cnJlbnQgc2NoZW1hXG4gICovXG4gIGFwcGVuZENoaWxkcmVuKGVsZW1lbnQpIHtcbiAgICBjb25zdCBpbm5lciA9IGVsZW1lbnQucXVlcnlTZWxlY3RvcignLmlubmVyJyk7XG5cbiAgICBpZiAoIWlubmVyKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuc2NoZW1hLmVudW0pIHtcbiAgICAgIGNvbnN0IGZvcm1hdHRlciA9IG5ldyBKU09ORm9ybWF0dGVyKHRoaXMuc2NoZW1hLmVudW0sIHRoaXMub3BlbiAtIDEpO1xuICAgICAgY29uc3QgZm9ybWF0dGVyRWwgPSBmb3JtYXR0ZXIucmVuZGVyKCk7XG4gICAgICBmb3JtYXR0ZXJFbC5jbGFzc0xpc3QuYWRkKCdpbm5lcicpO1xuICAgICAgZWxlbWVudC5xdWVyeVNlbGVjdG9yKCcuZW51bXMuaW5uZXInKS5hcHBlbmRDaGlsZChmb3JtYXR0ZXJFbCk7XG5cbiAgICB9XG5cbiAgICBpZiAodGhpcy5pc0FycmF5KSB7XG4gICAgICBjb25zdCB2aWV3ID0gbmV3IEpTT05TY2hlbWFWaWV3KHRoaXMuc2NoZW1hLml0ZW1zLCB0aGlzLm9wZW4gLSAxKVxuICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgfVxuXG4gICAgaWYgKHR5cGVvZiB0aGlzLnNjaGVtYS5wcm9wZXJ0aWVzID09PSAnb2JqZWN0Jykge1xuICAgICAgT2JqZWN0LmtleXModGhpcy5zY2hlbWEucHJvcGVydGllcykuZm9yRWFjaChwcm9wZXJ0eU5hbWUgPT4ge1xuICAgICAgICBjb25zdCBwcm9wZXJ0eSA9IHRoaXMuc2NoZW1hLnByb3BlcnRpZXNbcHJvcGVydHlOYW1lXTtcbiAgICAgICAgY29uc3QgdGVtcERpdiA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2RpdicpOztcbiAgICAgICAgdGVtcERpdi5pbm5lckhUTUwgPSBgPGRpdiBjbGFzcz1cInByb3BlcnR5XCI+XG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJuYW1lXCI+JHtwcm9wZXJ0eU5hbWV9Ojwvc3Bhbj5cbiAgICAgICAgPC9kaXY+YDtcbiAgICAgICAgY29uc3QgdmlldyA9IG5ldyBKU09OU2NoZW1hVmlldyhwcm9wZXJ0eSwgdGhpcy5vcGVuIC0gMSk7XG4gICAgICAgIHRlbXBEaXYucXVlcnlTZWxlY3RvcignLnByb3BlcnR5JykuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG5cbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodGVtcERpdi5xdWVyeVNlbGVjdG9yKCcucHJvcGVydHknKSk7XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICBpZiAodGhpcy5zY2hlbWEuYWxsT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FsbE9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEub25lT2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ29uZU9mJyk7IH1cbiAgICBpZiAodGhpcy5zY2hlbWEuYW55T2YpIHsgYXBwZW5kWE9mLmNhbGwodGhpcywgJ2FueU9mJyk7IH1cblxuICAgIGZ1bmN0aW9uIGFwcGVuZFhPZih0eXBlKSB7XG4gICAgICBjb25zdCBpbm5lckFsbE9mID0gZWxlbWVudC5xdWVyeVNlbGVjdG9yKGAuaW5uZXIuJHt0eXBlfWApO1xuXG4gICAgICB0aGlzLnNjaGVtYVt0eXBlXS5mb3JFYWNoKHNjaGVtYSA9PiB7XG4gICAgICAgIGNvbnN0IGlubmVyID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7XG4gICAgICAgIGlubmVyLmNsYXNzTGlzdC5hZGQoJ2lubmVyJyk7XG4gICAgICAgIGNvbnN0IHZpZXcgPSBuZXcgSlNPTlNjaGVtYVZpZXcoc2NoZW1hLCB0aGlzLm9wZW4gLSAxKTtcbiAgICAgICAgaW5uZXIuYXBwZW5kQ2hpbGQodmlldy5yZW5kZXIoKSk7XG4gICAgICAgIGlubmVyQWxsT2YuYXBwZW5kQ2hpbGQoaW5uZXIpO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
18922
18923</script>
18924
18925 <script>
18926(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.$RefParser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
18927/** !
18928 * JSON Schema $Ref Parser v3.1.2
18929 *
18930 * @link https://github.com/BigstickCarpet/json-schema-ref-parser
18931 * @license MIT
18932 */
18933"use strict";function bundle(e,r){debug("Bundling $ref pointers in %s",e.$refs._root$Ref.path);var t=[];crawl(e,"schema",e.$refs._root$Ref.path+"#","#",t,e.$refs,r),remap(t)}function crawl(e,r,t,f,n,i,a){var o=null===r?e:e[r];if(o&&"object"==typeof o)if($Ref.is$Ref(o))inventory$Ref(e,r,t,f,n,i,a);else{var l=Object.keys(o),u=l.indexOf("definitions");u>0&&l.splice(0,0,l.splice(u,1)[0]),l.forEach(function(e){var r=Pointer.join(t,e),l=Pointer.join(f,e),u=o[e];$Ref.is$Ref(u)?inventory$Ref(o,e,t,l,n,i,a):crawl(o,e,r,l,n,i,a)})}}function inventory$Ref(e,r,t,f,n,i,a){if(!n.some(function(t){return t.parent===e&&t.key===r})){var o=null===r?e:e[r],l=url.resolve(t,o.$ref),u=i._resolve(l,a),h=Pointer.parse(f).length,s=url.stripHash(u.path),$=url.getHash(u.path),c=s!==i._root$Ref.path,p=$Ref.isExtended$Ref(o);n.push({$ref:o,parent:e,key:r,pathFromRoot:f,depth:h,file:s,hash:$,value:u.value,circular:u.circular,extended:p,external:c}),crawl(u.value,null,u.path,f,n,i,a)}}function remap(e){e.sort(function(e,r){return e.file!==r.file?e.file<r.file?-1:1:e.hash!==r.hash?e.hash<r.hash?-1:1:e.circular!==r.circular?e.circular?-1:1:e.extended!==r.extended?e.extended?1:-1:e.depth!==r.depth?e.depth-r.depth:r.pathFromRoot.lastIndexOf("/definitions")-e.pathFromRoot.lastIndexOf("/definitions")});var r,t,f;e.forEach(function(e){debug('Re-mapping $ref pointer "%s" at %s',e.$ref.$ref,e.pathFromRoot),e.external?e.file===r&&e.hash===t?e.$ref.$ref=f:e.file===r&&0===e.hash.indexOf(t+"/")?e.$ref.$ref=Pointer.join(f,Pointer.parse(e.hash)):(r=e.file,t=e.hash,f=e.pathFromRoot,e.$ref=e.parent[e.key]=$Ref.dereference(e.$ref,e.value),e.circular&&(e.$ref.$ref=e.pathFromRoot)):e.$ref.$ref=e.hash,debug(" new value: %s",e.$ref&&e.$ref.$ref?e.$ref.$ref:"[object Object]")})}var $Ref=require("./ref"),Pointer=require("./pointer"),debug=require("./util/debug"),url=require("./util/url");module.exports=bundle;
18934
18935},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19}],2:[function(require,module,exports){
18936"use strict";function dereference(e,r){debug("Dereferencing $ref pointers in %s",e.$refs._root$Ref.path);var c=crawl(e.schema,e.$refs._root$Ref.path,"#",[],e.$refs,r);e.$refs.circular=c.circular,e.schema=c.value}function crawl(e,r,c,u,f,i){var n,a={value:e,circular:!1};return e&&"object"==typeof e&&(u.push(e),$Ref.isAllowed$Ref(e,i)?(n=dereference$Ref(e,r,c,u,f,i),a.circular=n.circular,a.value=n.value):Object.keys(e).forEach(function(l){var o=Pointer.join(r,l),t=Pointer.join(c,l),d=e[l],$=!1;$Ref.isAllowed$Ref(d,i)?(n=dereference$Ref(d,o,t,u,f,i),$=n.circular,e[l]=n.value):-1===u.indexOf(d)?(n=crawl(d,o,t,u,f,i),$=n.circular,e[l]=n.value):$=foundCircularReference(o,f,i),a.circular=a.circular||$}),u.pop()),a}function dereference$Ref(e,r,c,u,f,i){debug('Dereferencing $ref pointer "%s" at %s',e.$ref,r);var n=url.resolve(r,e.$ref),a=f._resolve(n,i),l=a.circular,o=l||-1!==u.indexOf(a.value);o&&foundCircularReference(r,f,i);var t=$Ref.dereference(e,a.value);if(!o){var d=crawl(t,a.path,c,u,f,i);o=d.circular,t=d.value}return o&&!l&&"ignore"===i.dereference.circular&&(t=e),l&&(t.$ref=c),{circular:o,value:t}}function foundCircularReference(e,r,c){if(r.circular=!0,!c.dereference.circular)throw ono.reference("Circular $ref pointer found at %s",e);return!0}var $Ref=require("./ref"),Pointer=require("./pointer"),ono=require("ono"),debug=require("./util/debug"),url=require("./util/url");module.exports=dereference;
18937
18938},{"./pointer":10,"./ref":11,"./util/debug":16,"./util/url":19,"ono":69}],3:[function(require,module,exports){
18939(function (Buffer){
18940"use strict";function $RefParser(){this.schema=null,this.$refs=new $Refs}function normalizeArgs(e){var r,t,a,s;return e=Array.prototype.slice.call(e),"function"==typeof e[e.length-1]&&(s=e.pop()),"string"==typeof e[0]?(r=e[0],"object"==typeof e[2]?(t=e[1],a=e[2]):(t=void 0,a=e[1])):(r="",t=e[0],a=e[1]),a instanceof Options||(a=new Options(a)),{path:r,schema:t,options:a,callback:s}}var Promise=require("./util/promise"),Options=require("./options"),$Refs=require("./refs"),parse=require("./parse"),resolveExternal=require("./resolve-external"),bundle=require("./bundle"),dereference=require("./dereference"),url=require("./util/url"),maybe=require("call-me-maybe"),ono=require("ono");module.exports=$RefParser,module.exports.YAML=require("./util/yaml"),$RefParser.parse=function(e,r,t){var a=this,s=new a;return s.parse.apply(s,arguments)},$RefParser.prototype.parse=function(e,r,t){var a,s=normalizeArgs(arguments);if(!s.path&&!s.schema){var n=ono("Expected a file path, URL, or object. Got %s",s.path||s.schema);return maybe(s.callback,Promise.reject(n))}this.schema=null,this.$refs=new $Refs,url.isFileSystemPath(s.path)&&(s.path=url.fromFileSystemPath(s.path)),s.path=url.resolve(url.cwd(),s.path),s.schema&&"object"==typeof s.schema?(this.$refs._add(s.path,s.schema),a=Promise.resolve(s.schema)):a=parse(s.path,this.$refs,s.options);var o=this;return a.then(function(e){if(!e||"object"!=typeof e||Buffer.isBuffer(e))throw ono.syntax('"%s" is not a valid JSON Schema',o.$refs._root$Ref.path||e);return o.schema=e,maybe(s.callback,Promise.resolve(o.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.resolve=function(e,r,t){var a=this,s=new a;return s.resolve.apply(s,arguments)},$RefParser.prototype.resolve=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.parse(s.path,s.schema,s.options).then(function(){return resolveExternal(a,s.options)}).then(function(){return maybe(s.callback,Promise.resolve(a.$refs))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.bundle=function(e,r,t){var a=this,s=new a;return s.bundle.apply(s,arguments)},$RefParser.prototype.bundle=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return bundle(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})},$RefParser.dereference=function(e,r,t){var a=this,s=new a;return s.dereference.apply(s,arguments)},$RefParser.prototype.dereference=function(e,r,t){var a=this,s=normalizeArgs(arguments);return this.resolve(s.path,s.schema,s.options).then(function(){return dereference(a,s.options),maybe(s.callback,Promise.resolve(a.schema))})["catch"](function(e){return maybe(s.callback,Promise.reject(e))})};
18941
18942}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
18943
18944},{"../node_modules/is-buffer/index.js":36,"./bundle":1,"./dereference":2,"./options":4,"./parse":5,"./refs":12,"./resolve-external":13,"./util/promise":18,"./util/url":19,"./util/yaml":20,"call-me-maybe":27,"ono":69}],4:[function(require,module,exports){
18945"use strict";function $RefParserOptions(e){merge(this,$RefParserOptions.defaults),merge(this,e)}function merge(e,r){if(isMergeable(r))for(var s=Object.keys(r),a=0;a<s.length;a++){var t=s[a],i=r[t],o=e[t];isMergeable(i)?e[t]=merge(o||{},i):void 0!==i&&(e[t]=i)}return e}function isMergeable(e){return e&&"object"==typeof e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}var jsonParser=require("./parsers/json"),yamlParser=require("./parsers/yaml"),textParser=require("./parsers/text"),binaryParser=require("./parsers/binary"),fileResolver=require("./resolvers/file"),httpResolver=require("./resolvers/http"),zschemaValidator=require("./validators/z-schema");module.exports=$RefParserOptions,$RefParserOptions.defaults={parse:{json:jsonParser,yaml:yamlParser,text:textParser,binary:binaryParser},resolve:{file:fileResolver,http:httpResolver,external:!0},dereference:{circular:!0},validate:{zschema:zschemaValidator}};
18946
18947},{"./parsers/binary":6,"./parsers/json":7,"./parsers/text":8,"./parsers/yaml":9,"./resolvers/file":14,"./resolvers/http":15,"./validators/z-schema":21}],5:[function(require,module,exports){
18948(function (Buffer){
18949"use strict";function parse(r,e,n){try{r=url.stripHash(r);var t=e._add(r),u={url:r,extension:url.getExtension(r)};return readFile(u,n).then(function(r){return t.pathType=r.plugin.name,u.data=r.result,parseFile(u,n)}).then(function(r){return t.value=r.result,r.result})}catch(i){return Promise.reject(i)}}function readFile(r,e){return new Promise(function(n,t){function u(e){t(!e||e instanceof SyntaxError?ono.syntax('Unable to resolve $ref pointer "%s"',r.url):e)}debug("Reading %s",r.url);var i=plugins.all(e.resolve);i=plugins.filter(i,"canRead",r),plugins.sort(i),plugins.run(i,"read",r).then(n,u)})}function parseFile(r,e){return new Promise(function(n,t){function u(e){!e.plugin.allowEmpty&&isEmpty(e.result)?t(ono.syntax('Error parsing "%s" as %s. \nParsed value is empty',r.url,e.plugin.name)):n(e)}function i(e){e?(e=e instanceof Error?e:new Error(e),t(ono.syntax(e,"Error parsing %s",r.url))):t(ono.syntax("Unable to parse %s",r.url))}debug("Parsing %s",r.url);var s=plugins.all(e.parse),l=plugins.filter(s,"canParse",r),o=l.length>0?l:s;plugins.sort(o),plugins.run(o,"parse",r).then(u,i)})}function isEmpty(r){return void 0===r||"object"==typeof r&&0===Object.keys(r).length||"string"==typeof r&&0===r.trim().length||Buffer.isBuffer(r)&&0===r.length}var ono=require("ono"),debug=require("./util/debug"),url=require("./util/url"),plugins=require("./util/plugins"),Promise=require("./util/promise");module.exports=parse;
18950
18951}).call(this,{"isBuffer":require("../node_modules/is-buffer/index.js")})
18952
18953},{"../node_modules/is-buffer/index.js":36,"./util/debug":16,"./util/plugins":17,"./util/promise":18,"./util/url":19,"ono":69}],6:[function(require,module,exports){
18954(function (Buffer){
18955"use strict";var BINARY_REGEXP=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;module.exports={order:400,allowEmpty:!0,canParse:function(r){return Buffer.isBuffer(r.data)&&BINARY_REGEXP.test(r.url)},parse:function(r){return Buffer.isBuffer(r.data)?r.data:new Buffer(r.data)}};
18956
18957}).call(this,require("buffer").Buffer)
18958
18959},{"buffer":25}],7:[function(require,module,exports){
18960(function (Buffer){
18961"use strict";var Promise=require("../util/promise");module.exports={order:100,allowEmpty:!0,canParse:".json",parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?0===i.trim().length?void 0:JSON.parse(i):i)})}};
18962
18963}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
18964
18965},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18}],8:[function(require,module,exports){
18966(function (Buffer){
18967"use strict";var TEXT_REGEXP=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;module.exports={order:300,allowEmpty:!0,encoding:"utf8",canParse:function(t){return("string"==typeof t.data||Buffer.isBuffer(t.data))&&TEXT_REGEXP.test(t.url)},parse:function(t){if("string"==typeof t.data)return t.data;if(Buffer.isBuffer(t.data))return t.data.toString(this.encoding);throw new Error("data is not text")}};
18968
18969}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
18970
18971},{"../../node_modules/is-buffer/index.js":36}],9:[function(require,module,exports){
18972(function (Buffer){
18973"use strict";var Promise=require("../util/promise"),YAML=require("../util/yaml");module.exports={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],parse:function(r){return new Promise(function(e,t){var i=r.data;Buffer.isBuffer(i)&&(i=i.toString()),e("string"==typeof i?YAML.parse(i):i)})}};
18974
18975}).call(this,{"isBuffer":require("../../node_modules/is-buffer/index.js")})
18976
18977},{"../../node_modules/is-buffer/index.js":36,"../util/promise":18,"../util/yaml":20}],10:[function(require,module,exports){
18978"use strict";function Pointer(e,r){this.$ref=e,this.path=r,this.value=void 0,this.circular=!1}function resolveIf$Ref(e,r){if($Ref.isAllowed$Ref(e.value,r)){var t=url.resolve(e.path,e.value.$ref);if(t!==e.path){var s=e.$ref.$refs._resolve(t,r);return $Ref.isExtended$Ref(e.value)?e.value=$Ref.dereference(e.value,s.value):(e.$ref=s.$ref,e.path=s.path,e.value=s.value),!0}e.circular=!0}}function setValue(e,r,t){if(!e.value||"object"!=typeof e.value)throw ono.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',e.path,r);return"-"===r&&Array.isArray(e.value)?e.value.push(t):e.value[r]=t,t}module.exports=Pointer;var $Ref=require("./ref"),url=require("./util/url"),ono=require("ono"),slashes=/\//g,tildes=/~/g,escapedSlash=/~1/g,escapedTilde=/~0/g;Pointer.prototype.resolve=function(e,r){var t=Pointer.parse(this.path);this.value=e;for(var s=0;s<t.length;s++){resolveIf$Ref(this,r)&&(this.path=Pointer.join(this.path,t.slice(s)));var i=t[s];if(void 0===this.value[i])throw ono.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.path,i);this.value=this.value[i]}return resolveIf$Ref(this,r),this},Pointer.prototype.set=function(e,r,t){var s,i=Pointer.parse(this.path);if(0===i.length)return this.value=r,r;this.value=e;for(var a=0;a<i.length-1;a++)resolveIf$Ref(this,t),s=i[a],this.value&&void 0!==this.value[s]?this.value=this.value[s]:this.value=setValue(this,s,{});return resolveIf$Ref(this,t),s=i[i.length-1],setValue(this,s,r),e},Pointer.parse=function(e){var r=url.getHash(e).substr(1);if(!r)return[];r=r.split("/");for(var t=0;t<r.length;t++)r[t]=decodeURI(r[t].replace(escapedSlash,"/").replace(escapedTilde,"~"));if(""!==r[0])throw ono.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',r);return r.slice(1)},Pointer.join=function(e,r){-1===e.indexOf("#")&&(e+="#"),r=Array.isArray(r)?r:[r];for(var t=0;t<r.length;t++){var s=r[t];e+="/"+encodeURI(s.replace(tildes,"~0").replace(slashes,"~1"))}return e};
18979
18980},{"./ref":11,"./util/url":19,"ono":69}],11:[function(require,module,exports){
18981"use strict";function $Ref(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0}module.exports=$Ref;var Pointer=require("./pointer");$Ref.prototype.exists=function(e,t){try{return this.resolve(e,t),!0}catch(r){return!1}},$Ref.prototype.get=function(e,t){return this.resolve(e,t).value},$Ref.prototype.resolve=function(e,t){var r=new Pointer(this,e);return r.resolve(this.value,t)},$Ref.prototype.set=function(e,t){var r=new Pointer(this,e);this.value=r.set(this.value,t)},$Ref.is$Ref=function(e){return e&&"object"==typeof e&&"string"==typeof e.$ref&&e.$ref.length>0},$Ref.isExternal$Ref=function(e){return $Ref.is$Ref(e)&&"#"!==e.$ref[0]},$Ref.isAllowed$Ref=function(e,t){return!$Ref.is$Ref(e)||"#"!==e.$ref[0]&&t&&!t.resolve.external?void 0:!0},$Ref.isExtended$Ref=function(e){return $Ref.is$Ref(e)&&Object.keys(e).length>1},$Ref.dereference=function(e,t){if(t&&"object"==typeof t&&$Ref.isExtended$Ref(e)){var r={};return Object.keys(e).forEach(function(t){"$ref"!==t&&(r[t]=e[t])}),Object.keys(t).forEach(function(e){e in r||(r[e]=t[e])}),r}return t};
18982
18983},{"./pointer":10}],12:[function(require,module,exports){
18984"use strict";function $Refs(){this.circular=!1,this._$refs={},this._root$Ref=null}function getPaths(e,r){var t=Object.keys(e);return r=Array.isArray(r[0])?r[0]:Array.prototype.slice.call(r),r.length>0&&r[0]&&(t=t.filter(function(t){return-1!==r.indexOf(e[t].pathType)})),t.map(function(r){return{encoded:r,decoded:"file"===e[r].pathType?url.toFileSystemPath(r,!0):r}})}var ono=require("ono"),$Ref=require("./ref"),url=require("./util/url");module.exports=$Refs,$Refs.prototype.paths=function(e){var r=getPaths(this._$refs,arguments);return r.map(function(e){return e.decoded})},$Refs.prototype.values=function(e){var r=this._$refs,t=getPaths(r,arguments);return t.reduce(function(e,t){return e[t.decoded]=r[t.encoded].value,e},{})},$Refs.prototype.toJSON=$Refs.prototype.values,$Refs.prototype.exists=function(e,r){try{return this._resolve(e,r),!0}catch(t){return!1}},$Refs.prototype.get=function(e,r){return this._resolve(e,r).value},$Refs.prototype.set=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);o.set(e,r)},$Refs.prototype._add=function(e,r){var t=url.stripHash(e),o=new $Ref;return o.path=t,o.value=r,o.$refs=this,this._$refs[t]=o,this._root$Ref=this._root$Ref||o,o},$Refs.prototype._resolve=function(e,r){e=url.resolve(this._root$Ref.path,e);var t=url.stripHash(e),o=this._$refs[t];if(!o)throw ono('Error resolving $ref pointer "%s". \n"%s" not found.',e,t);return o.resolve(e,r)},$Refs.prototype._get$Ref=function(e){e=url.resolve(this._root$Ref.path,e);var r=url.stripHash(e);return this._$refs[r]};
18985
18986},{"./ref":11,"./util/url":19,"ono":69}],13:[function(require,module,exports){
18987"use strict";function resolveExternal(e,r){if(!r.resolve.external)return Promise.resolve();try{debug("Resolving $ref pointers in %s",e.$refs._root$Ref.path);var s=crawl(e.schema,e.$refs._root$Ref.path+"#",e.$refs,r);return Promise.all(s)}catch(t){return Promise.reject(t)}}function crawl(e,r,s,t){var o=[];return e&&"object"==typeof e&&($Ref.isExternal$Ref(e)?o.push(resolve$Ref(e,r,s,t)):Object.keys(e).forEach(function(i){var n=Pointer.join(r,i),l=e[i];$Ref.isExternal$Ref(l)?o.push(resolve$Ref(l,n,s,t)):o=o.concat(crawl(l,n,s,t))})),o}function resolve$Ref(e,r,s,t){debug('Resolving $ref pointer "%s" at %s',e.$ref,r);var o=url.resolve(r,e.$ref),i=url.stripHash(o);return e=s._$refs[i],e?Promise.resolve(e.value):parse(o,s,t).then(function(e){debug("Resolving $ref pointers in %s",i);var r=crawl(e,i+"#",s,t);return Promise.all(r)})}var Promise=require("./util/promise"),$Ref=require("./ref"),Pointer=require("./pointer"),parse=require("./parse"),debug=require("./util/debug"),url=require("./util/url");module.exports=resolveExternal;
18988
18989},{"./parse":5,"./pointer":10,"./ref":11,"./util/debug":16,"./util/promise":18,"./util/url":19}],14:[function(require,module,exports){
18990"use strict";var fs=require("fs"),ono=require("ono"),Promise=require("../util/promise"),url=require("../util/url"),debug=require("../util/debug");module.exports={order:100,canRead:function(r){return url.isFileSystemPath(r.url)},read:function(r){return new Promise(function(e,i){var u;try{u=url.toFileSystemPath(r.url)}catch(o){i(ono.uri(o,"Malformed URI: %s",r.url))}debug("Opening file: %s",u);try{fs.readFile(u,function(r,o){r?i(ono(r,'Error opening file "%s"',u)):e(o)})}catch(o){i(ono(o,'Error opening file "%s"',u))}})}};
18991
18992},{"../util/debug":16,"../util/promise":18,"../util/url":19,"fs":24,"ono":69}],15:[function(require,module,exports){
18993(function (process,Buffer){
18994"use strict";function download(e,t,o){return new Promise(function(r,n){e=url.parse(e),o=o||[],o.push(e.href),get(e,t).then(function(s){if(s.statusCode>=400)throw ono({status:s.statusCode},"HTTP ERROR %d",s.statusCode);if(s.statusCode>=300)if(o.length>t.redirects)n(ono({status:s.statusCode},"Error downloading %s. \nToo many redirects: \n %s",o[0],o.join(" \n ")));else{if(!s.headers.location)throw ono({status:s.statusCode},"HTTP %d redirect with no location header",s.statusCode);debug("HTTP %d redirect %s -> %s",s.statusCode,e.href,s.headers.location);var u=url.resolve(e,s.headers.location);download(u,t,o).then(r,n)}else r(s.body||new Buffer(0))})["catch"](function(t){n(ono(t,"Error downloading",e.href))})})}function get(e,t){return new Promise(function(o,r){debug("GET",e.href);var n="https:"===e.protocol?https:http,s=n.get({hostname:e.hostname,port:e.port,path:e.path,auth:e.auth,headers:t.headers||{},withCredentials:t.withCredentials});"function"==typeof s.setTimeout&&s.setTimeout(t.timeout),s.on("timeout",function(){s.abort()}),s.on("error",r),s.once("response",function(e){e.body=new Buffer(0),e.on("data",function(t){e.body=Buffer.concat([e.body,new Buffer(t)])}),e.on("error",r),e.on("end",function(){o(e)})})})}var http=require("http"),https=require("https"),ono=require("ono"),url=require("../util/url"),debug=require("../util/debug"),Promise=require("../util/promise");module.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:function(e){return url.isHttp(e.url)},read:function(e){var t=url.parse(e.url);return process.browser&&!t.protocol&&(t.protocol=url.parse(location.href).protocol),download(t,this)}};
18995
18996}).call(this,require('_process'),require("buffer").Buffer)
18997
18998},{"../util/debug":16,"../util/promise":18,"../util/url":19,"_process":71,"buffer":25,"http":87,"https":33,"ono":69}],16:[function(require,module,exports){
18999"use strict";var debug=require("debug");module.exports=debug("json-schema-ref-parser");
19000
19001},{"debug":29}],17:[function(require,module,exports){
19002"use strict";function getResult(e,r,t,n){var u=e[r];if("function"==typeof u)return u.apply(e,[t,n]);if(!n){if(u instanceof RegExp)return u.test(t.url);if("string"==typeof u)return u===t.extension;if(Array.isArray(u))return-1!==u.indexOf(t.extension)}return u}var Promise=require("./promise"),debug=require("./debug");exports.all=function(e){return Object.keys(e).filter(function(r){return"object"==typeof e[r]}).map(function(r){return e[r].name=r,e[r]})},exports.filter=function(e,r,t){return e.filter(function(e){return!!getResult(e,r,t)})},exports.sort=function(e){return e.forEach(function(e){e.order=e.order||Number.MAX_SAFE_INTEGER}),e.sort(function(e,r){return e.order-r.order})},exports.run=function(e,r,t){var n,u,i=0;return new Promise(function(o,f){function s(){if(n=e[i++],!n)return f(u);try{debug(" %s",n.name);var o=getResult(n,r,t,c);o&&"function"==typeof o.then?o.then(a,p):void 0!==o&&a(o)}catch(s){p(s)}}function c(e,r){e?p(e):a(r)}function a(e){debug(" success"),o({plugin:n,result:e})}function p(e){debug(" %s",e.message||e),u=e,s()}s()})};
19003
19004},{"./debug":16,"./promise":18}],18:[function(require,module,exports){
19005"use strict";module.exports="function"==typeof Promise?Promise:require("es6-promise").Promise;
19006
19007},{"es6-promise":31}],19:[function(require,module,exports){
19008(function (process){
19009"use strict";var isWindows=/^win/.test(process.platform),forwardSlashPattern=/\//g,protocolPattern=/^([a-z0-9.+-]+):\/\//i,url=module.exports,urlEncodePatterns=[/\?/g,"%3F",/\#/g,"%23",isWindows?/\\/g:/\//,"/"],urlDecodePatterns=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];exports.parse=require("url").parse,exports.resolve=require("url").resolve,exports.cwd=function(){return process.browser?location.href:process.cwd()+"/"},exports.getProtocol=function(r){var e=protocolPattern.exec(r);return e?e[1].toLowerCase():void 0},exports.getExtension=function(r){var e=r.lastIndexOf(".");return e>=0?r.substr(e).toLowerCase():""},exports.getHash=function(r){var e=r.indexOf("#");return e>=0?r.substr(e):"#"},exports.stripHash=function(r){var e=r.indexOf("#");return e>=0&&(r=r.substr(0,e)),r},exports.isHttp=function(r){var e=url.getProtocol(r);return"http"===e||"https"===e?!0:void 0===e?process.browser:!1},exports.isFileSystemPath=function(r){if(process.browser)return!1;var e=url.getProtocol(r);return void 0===e||"file"===e},exports.fromFileSystemPath=function(r){for(var e=0;e<urlEncodePatterns.length;e+=2)r=r.replace(urlEncodePatterns[e],urlEncodePatterns[e+1]);return encodeURI(r)},exports.toFileSystemPath=function(r,e){r=decodeURI(r);for(var t=0;t<urlDecodePatterns.length;t+=2)r=r.replace(urlDecodePatterns[t],urlDecodePatterns[t+1]);var o="file://"===r.substr(0,7).toLowerCase();return o&&(r="/"===r[7]?r.substr(8):r.substr(7),isWindows&&"/"===r[1]&&(r=r[0]+":"+r.substr(1)),e?r="file:///"+r:(o=!1,r=isWindows?r:"/"+r)),isWindows&&!o&&(r=r.replace(forwardSlashPattern,"\\")),r};
19010
19011}).call(this,require('_process'))
19012
19013},{"_process":71,"url":93}],20:[function(require,module,exports){
19014"use strict";var yaml=require("js-yaml"),ono=require("ono");module.exports={parse:function(r,e){try{return yaml.safeLoad(r)}catch(o){throw o instanceof Error?o:ono(o,o.message)}},stringify:function(r,e,o){try{var t=("string"==typeof o?o.length:o)||2;return yaml.safeDump(r,{indent:t})}catch(n){throw n instanceof Error?n:ono(n,n.message)}}};
19015
19016},{"js-yaml":38,"ono":69}],21:[function(require,module,exports){
19017"use strict";module.exports={order:100,canValidate:function(e){return!!e.resolved},validate:function(e){}};
19018
19019},{}],22:[function(require,module,exports){
19020var lookup="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(t){"use strict";function r(t){var r=t.charCodeAt(0);return r===h||r===u?62:r===c||r===f?63:o>r?-1:o+10>r?r-o+26+26:i+26>r?r-i:A+26>r?r-A+26:void 0}function e(t){function e(t){i[f++]=t}var n,h,c,o,A,i;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=t.length;A="="===t.charAt(u-2)?2:"="===t.charAt(u-1)?1:0,i=new a(3*t.length/4-A),c=A>0?t.length-4:t.length;var f=0;for(n=0,h=0;c>n;n+=4,h+=3)o=r(t.charAt(n))<<18|r(t.charAt(n+1))<<12|r(t.charAt(n+2))<<6|r(t.charAt(n+3)),e((16711680&o)>>16),e((65280&o)>>8),e(255&o);return 2===A?(o=r(t.charAt(n))<<2|r(t.charAt(n+1))>>4,e(255&o)):1===A&&(o=r(t.charAt(n))<<10|r(t.charAt(n+1))<<4|r(t.charAt(n+2))>>2,e(o>>8&255),e(255&o)),i}function n(t){function r(t){return lookup.charAt(t)}function e(t){return r(t>>18&63)+r(t>>12&63)+r(t>>6&63)+r(63&t)}var n,a,h,c=t.length%3,o="";for(n=0,h=t.length-c;h>n;n+=3)a=(t[n]<<16)+(t[n+1]<<8)+t[n+2],o+=e(a);switch(c){case 1:a=t[t.length-1],o+=r(a>>2),o+=r(a<<4&63),o+="==";break;case 2:a=(t[t.length-2]<<8)+t[t.length-1],o+=r(a>>10),o+=r(a>>4&63),o+=r(a<<2&63),o+="="}return o}var a="undefined"!=typeof Uint8Array?Uint8Array:Array,h="+".charCodeAt(0),c="/".charCodeAt(0),o="0".charCodeAt(0),A="a".charCodeAt(0),i="A".charCodeAt(0),u="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=e,t.fromByteArray=n}("undefined"==typeof exports?this.base64js={}:exports);
19021
19022},{}],23:[function(require,module,exports){
19023
19024},{}],24:[function(require,module,exports){
19025
19026},{}],25:[function(require,module,exports){
19027(function (global){
19028/*!
19029 * The buffer module from node.js, for the browser.
19030 *
19031 * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
19032 * @license MIT
19033 */
19034"use strict";function typedArraySupport(){function t(){}try{var e=new Uint8Array(1);return e.foo=function(){return 42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(r){return!1}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Buffer(t){return this instanceof Buffer?(Buffer.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?fromNumber(this,t):"string"==typeof t?fromString(this,t,arguments.length>1?arguments[1]:"utf8"):fromObject(this,t)):arguments.length>1?new Buffer(t,arguments[1]):new Buffer(t)}function fromNumber(t,e){if(t=allocate(t,0>e?0:0|checked(e)),!Buffer.TYPED_ARRAY_SUPPORT)for(var r=0;e>r;r++)t[r]=0;return t}function fromString(t,e,r){"string"==typeof r&&""!==r||(r="utf8");var n=0|byteLength(e,r);return t=allocate(t,n),t.write(e,r),t}function fromObject(t,e){if(Buffer.isBuffer(e))return fromBuffer(t,e);if(isArray(e))return fromArray(t,e);if(null==e)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(e.buffer instanceof ArrayBuffer)return fromTypedArray(t,e);if(e instanceof ArrayBuffer)return fromArrayBuffer(t,e)}return e.length?fromArrayLike(t,e):fromJsonObject(t,e)}function fromBuffer(t,e){var r=0|checked(e.length);return t=allocate(t,r),e.copy(t,0,0,r),t}function fromArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromTypedArray(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromArrayBuffer(t,e){return Buffer.TYPED_ARRAY_SUPPORT?(e.byteLength,t=Buffer._augment(new Uint8Array(e))):t=fromTypedArray(t,new Uint8Array(e)),t}function fromArrayLike(t,e){var r=0|checked(e.length);t=allocate(t,r);for(var n=0;r>n;n+=1)t[n]=255&e[n];return t}function fromJsonObject(t,e){var r,n=0;"Buffer"===e.type&&isArray(e.data)&&(r=e.data,n=0|checked(r.length)),t=allocate(t,n);for(var f=0;n>f;f+=1)t[f]=255&r[f];return t}function allocate(t,e){Buffer.TYPED_ARRAY_SUPPORT?(t=Buffer._augment(new Uint8Array(e)),t.__proto__=Buffer.prototype):(t.length=e,t._isBuffer=!0);var r=0!==e&&e<=Buffer.poolSize>>>1;return r&&(t.parent=rootParent),t}function checked(t){if(t>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|t}function SlowBuffer(t,e){if(!(this instanceof SlowBuffer))return new SlowBuffer(t,e);var r=new Buffer(t,e);return delete r.parent,r}function byteLength(t,e){"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return base64ToBytes(t).length;default:if(n)return utf8ToBytes(t).length;e=(""+e).toLowerCase(),n=!0}}function slowToString(t,e,r){var n=!1;if(e=0|e,r=void 0===r||r===1/0?this.length:0|r,t||(t="utf8"),0>e&&(e=0),r>this.length&&(r=this.length),e>=r)return"";for(;;)switch(t){case"hex":return hexSlice(this,e,r);case"utf8":case"utf-8":return utf8Slice(this,e,r);case"ascii":return asciiSlice(this,e,r);case"binary":return binarySlice(this,e,r);case"base64":return base64Slice(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function hexWrite(t,e,r,n){r=Number(r)||0;var f=t.length-r;n?(n=Number(n),n>f&&(n=f)):n=f;var i=e.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;n>o;o++){var u=parseInt(e.substr(2*o,2),16);if(isNaN(u))throw new Error("Invalid hex string");t[r+o]=u}return o}function utf8Write(t,e,r,n){return blitBuffer(utf8ToBytes(e,t.length-r),t,r,n)}function asciiWrite(t,e,r,n){return blitBuffer(asciiToBytes(e),t,r,n)}function binaryWrite(t,e,r,n){return asciiWrite(t,e,r,n)}function base64Write(t,e,r,n){return blitBuffer(base64ToBytes(e),t,r,n)}function ucs2Write(t,e,r,n){return blitBuffer(utf16leToBytes(e,t.length-r),t,r,n)}function base64Slice(t,e,r){return 0===e&&r===t.length?base64.fromByteArray(t):base64.fromByteArray(t.slice(e,r))}function utf8Slice(t,e,r){r=Math.min(t.length,r);for(var n=[],f=e;r>f;){var i=t[f],o=null,u=i>239?4:i>223?3:i>191?2:1;if(r>=f+u){var s,a,h,c;switch(u){case 1:128>i&&(o=i);break;case 2:s=t[f+1],128===(192&s)&&(c=(31&i)<<6|63&s,c>127&&(o=c));break;case 3:s=t[f+1],a=t[f+2],128===(192&s)&&128===(192&a)&&(c=(15&i)<<12|(63&s)<<6|63&a,c>2047&&(55296>c||c>57343)&&(o=c));break;case 4:s=t[f+1],a=t[f+2],h=t[f+3],128===(192&s)&&128===(192&a)&&128===(192&h)&&(c=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&h,c>65535&&1114112>c&&(o=c))}}null===o?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),f+=u}return decodeCodePointsArray(n)}function decodeCodePointsArray(t){var e=t.length;if(MAX_ARGUMENTS_LENGTH>=e)return String.fromCharCode.apply(String,t);for(var r="",n=0;e>n;)r+=String.fromCharCode.apply(String,t.slice(n,n+=MAX_ARGUMENTS_LENGTH));return r}function asciiSlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(127&t[f]);return n}function binarySlice(t,e,r){var n="";r=Math.min(t.length,r);for(var f=e;r>f;f++)n+=String.fromCharCode(t[f]);return n}function hexSlice(t,e,r){var n=t.length;(!e||0>e)&&(e=0),(!r||0>r||r>n)&&(r=n);for(var f="",i=e;r>i;i++)f+=toHex(t[i]);return f}function utf16leSlice(t,e,r){for(var n=t.slice(e,r),f="",i=0;i<n.length;i+=2)f+=String.fromCharCode(n[i]+256*n[i+1]);return f}function checkOffset(t,e,r){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function checkInt(t,e,r,n,f,i){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range")}function objectWriteUInt16(t,e,r,n){0>e&&(e=65535+e+1);for(var f=0,i=Math.min(t.length-r,2);i>f;f++)t[r+f]=(e&255<<8*(n?f:1-f))>>>8*(n?f:1-f)}function objectWriteUInt32(t,e,r,n){0>e&&(e=4294967295+e+1);for(var f=0,i=Math.min(t.length-r,4);i>f;f++)t[r+f]=e>>>8*(n?f:3-f)&255}function checkIEEE754(t,e,r,n,f,i){if(e>f||i>e)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range");if(0>r)throw new RangeError("index out of range")}function writeFloat(t,e,r,n,f){return f||checkIEEE754(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(t,e,r,n,23,4),r+4}function writeDouble(t,e,r,n,f){return f||checkIEEE754(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(t,e,r,n,52,8),r+8}function base64clean(t){if(t=stringtrim(t).replace(INVALID_BASE64_RE,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function stringtrim(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function toHex(t){return 16>t?"0"+t.toString(16):t.toString(16)}function utf8ToBytes(t,e){e=e||1/0;for(var r,n=t.length,f=null,i=[],o=0;n>o;o++){if(r=t.charCodeAt(o),r>55295&&57344>r){if(!f){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&i.push(239,191,189);continue}f=r;continue}if(56320>r){(e-=3)>-1&&i.push(239,191,189),f=r;continue}r=(f-55296<<10|r-56320)+65536}else f&&(e-=3)>-1&&i.push(239,191,189);if(f=null,128>r){if((e-=1)<0)break;i.push(r)}else if(2048>r){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(65536>r){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function asciiToBytes(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e}function utf16leToBytes(t,e){for(var r,n,f,i=[],o=0;o<t.length&&!((e-=2)<0);o++)r=t.charCodeAt(o),n=r>>8,f=r%256,i.push(f),i.push(n);return i}function base64ToBytes(t){return base64.toByteArray(base64clean(t))}function blitBuffer(t,e,r,n){for(var f=0;n>f&&!(f+r>=e.length||f>=t.length);f++)e[f+r]=t[f];return f}var base64=require("base64-js"),ieee754=require("ieee754"),isArray=require("isarray");exports.Buffer=Buffer,exports.SlowBuffer=SlowBuffer,exports.INSPECT_MAX_BYTES=50,Buffer.poolSize=8192;var rootParent={};Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport(),Buffer.TYPED_ARRAY_SUPPORT?(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array):(Buffer.prototype.length=void 0,Buffer.prototype.parent=void 0),Buffer.isBuffer=function(t){return!(null==t||!t._isBuffer)},Buffer.compare=function(t,e){if(!Buffer.isBuffer(t)||!Buffer.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,f=0,i=Math.min(r,n);i>f&&t[f]===e[f];)++f;return f!==i&&(r=t[f],n=e[f]),n>r?-1:r>n?1:0},Buffer.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(t,e){if(!isArray(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new Buffer(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;r++)e+=t[r].length;var n=new Buffer(e),f=0;for(r=0;r<t.length;r++){var i=t[r];i.copy(n,f),f+=i.length}return n},Buffer.byteLength=byteLength,Buffer.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",e=exports.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},Buffer.prototype.compare=function(t){if(!Buffer.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:Buffer.compare(this,t)},Buffer.prototype.indexOf=function(t,e){function r(t,e,r){for(var n=-1,f=0;r+f<t.length;f++)if(t[r+f]===e[-1===n?0:f-n]){if(-1===n&&(n=f),f-n+1===e.length)return r+n}else n=-1;return-1}if(e>2147483647?e=2147483647:-2147483648>e&&(e=-2147483648),e>>=0,0===this.length)return-1;if(e>=this.length)return-1;if(0>e&&(e=Math.max(this.length+e,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,e);if(Buffer.isBuffer(t))return r(this,t,e);if("number"==typeof t)return Buffer.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,e):r(this,[t],e);throw new TypeError("val must be string, number or Buffer")},Buffer.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},Buffer.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},Buffer.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e=0|e,isFinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0);else{var f=n;n=e,e=0|r,r=f}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(0>r||0>e)||e>this.length)throw new RangeError("attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return hexWrite(this,t,e,r);case"utf8":case"utf-8":return utf8Write(this,t,e,r);case"ascii":return asciiWrite(this,t,e,r);case"binary":return binaryWrite(this,t,e,r);case"base64":return base64Write(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;Buffer.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),t>e&&(e=t);var n;if(Buffer.TYPED_ARRAY_SUPPORT)n=Buffer._augment(this.subarray(t,e));else{var f=e-t;n=new Buffer(f,void 0);for(var i=0;f>i;i++)n[i]=this[i+t]}return n.length&&(n.parent=this.parent||this),n},Buffer.prototype.readUIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return n},Buffer.prototype.readUIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t+--e],f=1;e>0&&(f*=256);)n+=this[t+--e]*f;return n},Buffer.prototype.readUInt8=function(t,e){return e||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUInt16LE=function(t,e){return e||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUInt16BE=function(t,e){return e||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUInt32LE=function(t,e){return e||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUInt32BE=function(t,e){return e||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=this[t],f=1,i=0;++i<e&&(f*=256);)n+=this[t+i]*f;return f*=128,n>=f&&(n-=Math.pow(2,8*e)),n},Buffer.prototype.readIntBE=function(t,e,r){t=0|t,e=0|e,r||checkOffset(t,e,this.length);for(var n=e,f=1,i=this[t+--n];n>0&&(f*=256);)i+=this[t+--n]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*e)),i},Buffer.prototype.readInt8=function(t,e){return e||checkOffset(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Buffer.prototype.readInt16LE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(t,e){e||checkOffset(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(t,e){return e||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,e){return e||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,e){return e||checkOffset(t,4,this.length),ieee754.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,e){return e||checkOffset(t,8,this.length),ieee754.read(this,t,!1,52,8)},Buffer.prototype.writeUIntLE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=1,i=0;for(this[e]=255&t;++i<r&&(f*=256);)this[e+i]=t/f&255;return e+r},Buffer.prototype.writeUIntBE=function(t,e,r,n){t=+t,e=0|e,r=0|r,n||checkInt(this,t,e,r,Math.pow(2,8*r),0);var f=r-1,i=1;for(this[e+f]=255&t;--f>=0&&(i*=256);)this[e+f]=t/i&255;return e+r},Buffer.prototype.writeUInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Buffer.prototype.writeUInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeUInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeUInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeUInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=0,o=1,u=0>t?1:0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e=0|e,!n){var f=Math.pow(2,8*r-1);checkInt(this,t,e,r,f-1,-f)}var i=r-1,o=1,u=0>t?1:0;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=(t/o>>0)-u&255;return e+r},Buffer.prototype.writeInt8=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},Buffer.prototype.writeInt16LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):objectWriteUInt16(this,t,e,!0),e+2},Buffer.prototype.writeInt16BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):objectWriteUInt16(this,t,e,!1),e+2},Buffer.prototype.writeInt32LE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):objectWriteUInt32(this,t,e,!0),e+4},Buffer.prototype.writeInt32BE=function(t,e,r){return t=+t,e=0|e,r||checkInt(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),Buffer.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):objectWriteUInt32(this,t,e,!1),e+4},Buffer.prototype.writeFloatLE=function(t,e,r){return writeFloat(this,t,e,!0,r)},Buffer.prototype.writeFloatBE=function(t,e,r){return writeFloat(this,t,e,!1,r)},Buffer.prototype.writeDoubleLE=function(t,e,r){return writeDouble(this,t,e,!0,r)},Buffer.prototype.writeDoubleBE=function(t,e,r){return writeDouble(this,t,e,!1,r)},Buffer.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var f,i=n-r;if(this===t&&e>r&&n>e)for(f=i-1;f>=0;f--)t[f+e]=this[f+r];else if(1e3>i||!Buffer.TYPED_ARRAY_SUPPORT)for(f=0;i>f;f++)t[f+e]=this[f+r];else t._set(this.subarray(r,r+i),e);return i},Buffer.prototype.fill=function(t,e,r){if(t||(t=0),e||(e=0),r||(r=this.length),e>r)throw new RangeError("end < start");if(r!==e&&0!==this.length){if(0>e||e>=this.length)throw new RangeError("start out of bounds");if(0>r||r>this.length)throw new RangeError("end out of bounds");var n;if("number"==typeof t)for(n=e;r>n;n++)this[n]=t;else{var f=utf8ToBytes(t.toString()),i=f.length;for(n=e;r>n;n++)this[n]=f[n%i]}return this}},Buffer.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(Buffer.TYPED_ARRAY_SUPPORT)return new Buffer(this).buffer;for(var t=new Uint8Array(this.length),e=0,r=t.length;r>e;e+=1)t[e]=this[e];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var BP=Buffer.prototype;Buffer._augment=function(t){return t.constructor=Buffer,t._isBuffer=!0,t._set=t.set,t.get=BP.get,t.set=BP.set,t.write=BP.write,t.toString=BP.toString,t.toLocaleString=BP.toString,t.toJSON=BP.toJSON,t.equals=BP.equals,t.compare=BP.compare,t.indexOf=BP.indexOf,t.copy=BP.copy,t.slice=BP.slice,t.readUIntLE=BP.readUIntLE,t.readUIntBE=BP.readUIntBE,t.readUInt8=BP.readUInt8,t.readUInt16LE=BP.readUInt16LE,t.readUInt16BE=BP.readUInt16BE,t.readUInt32LE=BP.readUInt32LE,t.readUInt32BE=BP.readUInt32BE,t.readIntLE=BP.readIntLE,t.readIntBE=BP.readIntBE,t.readInt8=BP.readInt8,t.readInt16LE=BP.readInt16LE,t.readInt16BE=BP.readInt16BE,t.readInt32LE=BP.readInt32LE,t.readInt32BE=BP.readInt32BE,t.readFloatLE=BP.readFloatLE,t.readFloatBE=BP.readFloatBE,t.readDoubleLE=BP.readDoubleLE,t.readDoubleBE=BP.readDoubleBE,t.writeUInt8=BP.writeUInt8,t.writeUIntLE=BP.writeUIntLE,t.writeUIntBE=BP.writeUIntBE,t.writeUInt16LE=BP.writeUInt16LE,t.writeUInt16BE=BP.writeUInt16BE,t.writeUInt32LE=BP.writeUInt32LE,t.writeUInt32BE=BP.writeUInt32BE,t.writeIntLE=BP.writeIntLE,t.writeIntBE=BP.writeIntBE,t.writeInt8=BP.writeInt8,t.writeInt16LE=BP.writeInt16LE,t.writeInt16BE=BP.writeInt16BE,t.writeInt32LE=BP.writeInt32LE,t.writeInt32BE=BP.writeInt32BE,t.writeFloatLE=BP.writeFloatLE,t.writeFloatBE=BP.writeFloatBE,t.writeDoubleLE=BP.writeDoubleLE,t.writeDoubleBE=BP.writeDoubleBE,t.fill=BP.fill,t.inspect=BP.inspect,t.toArrayBuffer=BP.toArrayBuffer,t};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;
19035
19036}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19037
19038},{"base64-js":22,"ieee754":34,"isarray":37}],26:[function(require,module,exports){
19039module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};
19040
19041},{}],27:[function(require,module,exports){
19042(function (process,global){
19043"use strict";var next=global.process&&process.nextTick||global.setImmediate||function(n){setTimeout(n,0)};module.exports=function(n,t){return n?void t.then(function(t){next(function(){n(null,t)})},function(t){next(function(){n(t)})}):t};
19044
19045}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19046
19047},{"_process":71}],28:[function(require,module,exports){
19048(function (Buffer){
19049function isArray(r){return Array.isArray?Array.isArray(r):"[object Array]"===objectToString(r)}function isBoolean(r){return"boolean"==typeof r}function isNull(r){return null===r}function isNullOrUndefined(r){return null==r}function isNumber(r){return"number"==typeof r}function isString(r){return"string"==typeof r}function isSymbol(r){return"symbol"==typeof r}function isUndefined(r){return void 0===r}function isRegExp(r){return"[object RegExp]"===objectToString(r)}function isObject(r){return"object"==typeof r&&null!==r}function isDate(r){return"[object Date]"===objectToString(r)}function isError(r){return"[object Error]"===objectToString(r)||r instanceof Error}function isFunction(r){return"function"==typeof r}function isPrimitive(r){return null===r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"symbol"==typeof r||"undefined"==typeof r}function objectToString(r){return Object.prototype.toString.call(r)}exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=Buffer.isBuffer;
19050
19051}).call(this,{"isBuffer":require("../../is-buffer/index.js")})
19052
19053},{"../../is-buffer/index.js":36}],29:[function(require,module,exports){
19054function useColors(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function formatArgs(){var o=arguments,e=this.useColors;if(o[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+o[0]+(e?"%c ":" ")+"+"+exports.humanize(this.diff),!e)return o;var r="color: "+this.color;o=[o[0],r,"color: inherit"].concat(Array.prototype.slice.call(o,1));var t=0,s=0;return o[0].replace(/%[a-z%]/g,function(o){"%%"!==o&&(t++,"%c"===o&&(s=t))}),o.splice(s,0,r),o}function log(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(o){try{null==o?exports.storage.removeItem("debug"):exports.storage.debug=o}catch(e){}}function load(){var o;try{o=exports.storage.debug}catch(e){}return o}function localstorage(){try{return window.localStorage}catch(o){}}exports=module.exports=require("./debug"),exports.log=log,exports.formatArgs=formatArgs,exports.save=save,exports.load=load,exports.useColors=useColors,exports.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage(),exports.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],exports.formatters.j=function(o){return JSON.stringify(o)},exports.enable(load());
19055
19056},{"./debug":30}],30:[function(require,module,exports){
19057function selectColor(){return exports.colors[prevColor++%exports.colors.length]}function debug(e){function r(){}function o(){var e=o,r=+new Date,s=r-(prevTime||r);e.diff=s,e.prev=prevTime,e.curr=r,prevTime=r,null==e.useColors&&(e.useColors=exports.useColors()),null==e.color&&e.useColors&&(e.color=selectColor());var t=Array.prototype.slice.call(arguments);t[0]=exports.coerce(t[0]),"string"!=typeof t[0]&&(t=["%o"].concat(t));var n=0;t[0]=t[0].replace(/%([a-z%])/g,function(r,o){if("%%"===r)return r;n++;var s=exports.formatters[o];if("function"==typeof s){var p=t[n];r=s.call(e,p),t.splice(n,1),n--}return r}),"function"==typeof exports.formatArgs&&(t=exports.formatArgs.apply(e,t));var p=o.log||exports.log||console.log.bind(console);p.apply(e,t)}r.enabled=!1,o.enabled=!0;var s=exports.enabled(e)?o:r;return s.namespace=e,s}function enable(e){exports.save(e);for(var r=(e||"").split(/[\s,]+/),o=r.length,s=0;o>s;s++)r[s]&&(e=r[s].replace(/\*/g,".*?"),"-"===e[0]?exports.skips.push(new RegExp("^"+e.substr(1)+"$")):exports.names.push(new RegExp("^"+e+"$")))}function disable(){exports.enable("")}function enabled(e){var r,o;for(r=0,o=exports.skips.length;o>r;r++)if(exports.skips[r].test(e))return!1;for(r=0,o=exports.names.length;o>r;r++)if(exports.names[r].test(e))return!0;return!1}function coerce(e){return e instanceof Error?e.stack||e.message:e}exports=module.exports=debug,exports.coerce=coerce,exports.disable=disable,exports.enable=enable,exports.enabled=enabled,exports.humanize=require("ms"),exports.names=[],exports.skips=[],exports.formatters={};var prevColor=0,prevTime;
19058
19059},{"ms":68}],31:[function(require,module,exports){
19060(function (process,global){
19061/*!
19062 * @overview es6-promise - a tiny implementation of Promises/A+.
19063 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
19064 * @license Licensed under MIT license
19065 * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
19066 * @version 3.1.2
19067 */
19068(function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){W=t}function r(t){H=t}function o(){return function(){process.nextTick(a)}}function i(){return function(){U(a)}}function s(){var t=0,e=new Q(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){t.port2.postMessage(0)}}function c(){return function(){setTimeout(a,1)}}function a(){for(var t=0;G>t;t+=2){var e=X[t],n=X[t+1];e(n),X[t]=void 0,X[t+1]=void 0}G=0}function f(){try{var t=require,e=t("vertx");return U=e.runOnLoop||e.runOnContext,i()}catch(n){return c()}}function l(t,e){var n=this,r=n._state;if(r===et&&!t||r===nt&&!e)return this;var o=new this.constructor(p),i=n._result;if(r){var s=arguments[r-1];H(function(){C(r,o,s,i)})}else j(n,o,t,e);return o}function h(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(p);return g(n,t),n}function p(){}function _(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function d(t){try{return t.then}catch(e){return rt.error=e,rt}}function y(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function m(t,e,n){H(function(t){var r=!1,o=y(n,e,function(n){r||(r=!0,e!==n?g(t,n):E(t,n))},function(e){r||(r=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,S(t,o))},t)}function w(t,e){e._state===et?E(t,e._result):e._state===nt?S(t,e._result):j(e,void 0,function(e){g(t,e)},function(e){S(t,e)})}function b(t,n,r){n.constructor===t.constructor&&r===Z&&constructor.resolve===$?w(t,n):r===rt?S(t,rt.error):void 0===r?E(t,n):e(r)?m(t,n,r):E(t,n)}function g(e,n){e===n?S(e,_()):t(n)?b(e,n,d(n)):E(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function E(t,e){t._state===tt&&(t._result=e,t._state=et,0!==t._subscribers.length&&H(T,t))}function S(t,e){t._state===tt&&(t._state=nt,t._result=e,H(A,t))}function j(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+et]=n,o[i+nt]=r,0===i&&t._state&&H(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?C(n,r,o,i):o(i);t._subscribers.length=0}}function P(){this.error=null}function x(t,e){try{return t(e)}catch(n){return ot.error=n,ot}}function C(t,n,r,o){var i,s,u,c,a=e(r);if(a){if(i=x(r,o),i===ot?(c=!0,s=i.error,i=null):u=!0,n===i)return void S(n,v())}else i=o,u=!0;n._state!==tt||(a&&u?g(n,i):c?S(n,s):t===et?E(n,i):t===nt&&S(n,i))}function M(t,e){try{e(function(e){g(t,e)},function(e){S(t,e)})}catch(n){S(t,n)}}function O(t){return new ft(this,t).promise}function k(t){function e(t){g(o,t)}function n(t){S(o,t)}var r=this,o=new r(p);if(!B(t))return S(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,s=0;o._state===tt&&i>s;s++)j(r.resolve(t[s]),void 0,e,n);return o}function Y(t){var e=this,n=new e(p);return S(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function D(t){this._id=ct++,this._state=void 0,this._result=void 0,this._subscribers=[],p!==t&&("function"!=typeof t&&q(),this instanceof D?M(this,t):F())}function K(t,e){this._instanceConstructor=t,this.promise=new t(p),Array.isArray(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,this._validationError())}function L(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=at)}var N;N=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var U,W,z,B=N,G=0,H=function(t,e){X[G]=t,X[G+1]=e,G+=2,2===G&&(W?W(a):z())},I="undefined"!=typeof window?window:void 0,J=I||{},Q=J.MutationObserver||J.WebKitMutationObserver,R="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),V="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,X=new Array(1e3);z=R?o():Q?s():V?u():void 0===I&&"function"==typeof require?f():c();var Z=l,$=h,tt=void 0,et=1,nt=2,rt=new P,ot=new P,it=O,st=k,ut=Y,ct=0,at=D;D.all=it,D.race=st,D.resolve=$,D.reject=ut,D._setScheduler=n,D._setAsap=r,D._asap=H,D.prototype={constructor:D,then:Z,"catch":function(t){return this.then(null,t)}};var ft=K;K.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},K.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===tt&&t>n;n++)this._eachEntry(e[n],n)},K.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===$){var o=d(t);if(o===Z&&t._state!==tt)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===at){var i=new n(p);b(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){e(t)}),e)}else this._willSettleAt(r(t),e)},K.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===tt&&(this._remaining--,t===nt?S(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},K.prototype._willSettleAt=function(t,e){var n=this;j(t,void 0,function(t){n._settledAt(et,e,t)},function(t){n._settledAt(nt,e,t)})};var lt=L,ht={Promise:at,polyfill:lt};"function"==typeof define&&define.amd?define(function(){return ht}):"undefined"!=typeof module&&module.exports?module.exports=ht:"undefined"!=typeof this&&(this.ES6Promise=ht),lt()}).call(this);
19069
19070}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19071
19072},{"_process":71}],32:[function(require,module,exports){
19073function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(e){return"function"==typeof e}function isNumber(e){return"number"==typeof e}function isObject(e){return"object"==typeof e&&null!==e}function isUndefined(e){return void 0===e}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(e){if(!isNumber(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},EventEmitter.prototype.emit=function(e){var t,i,n,s,r,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(i=this._events[e],isUndefined(i))return!1;if(isFunction(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),i.apply(this,s)}else if(isObject(i))for(s=Array.prototype.slice.call(arguments,1),o=i.slice(),n=o.length,r=0;n>r;r++)o[r].apply(this,s);return!0},EventEmitter.prototype.addListener=function(e,t){var i;if(!isFunction(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,isFunction(t.listener)?t.listener:t),this._events[e]?isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,isObject(this._events[e])&&!this._events[e].warned&&(i=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(e,t){function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}if(!isFunction(t))throw TypeError("listener must be a function");var n=!1;return i.listener=t,this.on(e,i),this},EventEmitter.prototype.removeListener=function(e,t){var i,n,s,r;if(!isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=this._events[e],s=i.length,n=-1,i===t||isFunction(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(isObject(i)){for(r=s;r-- >0;)if(i[r]===t||i[r].listener&&i[r].listener===t){n=r;break}if(0>n)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,i;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i=this._events[e],isFunction(i))this.removeListener(e,i);else if(i)for(;i.length;)this.removeListener(e,i[i.length-1]);return delete this._events[e],this},EventEmitter.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},EventEmitter.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(isFunction(t))return 1;if(t)return t.length}return 0},EventEmitter.listenerCount=function(e,t){return e.listenerCount(t)};
19074
19075},{}],33:[function(require,module,exports){
19076var http=require("http"),https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);https.request=function(t,e){return t||(t={}),t.scheme="https",t.protocol="https:",http.request.call(this,t,e)};
19077
19078},{"http":87}],34:[function(require,module,exports){
19079exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<<w)-1,e=f>>1,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<<-i)-1,s>>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<<-i)-1,M>>=-i,i+=r;i>0;p=256*p+a[o+N],N+=n,i-=8);if(0===M)M=1-e;else{if(M===f)return p?NaN:(s?-1:1)*(1/0);p+=Math.pow(2,r),M-=e}return(s?-1:1)*p*Math.pow(2,M-r)},exports.write=function(a,o,t,r,h,M){var p,w,f,e=8*M-h-1,i=(1<<e)-1,N=i>>1,n=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,l=0>o||0===o&&0>1/o?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(w=isNaN(o)?1:0,p=i):(p=Math.floor(Math.log(o)/Math.LN2),o*(f=Math.pow(2,-p))<1&&(p--,f*=2),o+=p+N>=1?n/f:n*Math.pow(2,1-N),o*f>=2&&(p++,f/=2),p+N>=i?(w=0,p=i):p+N>=1?(w=(o*f-1)*Math.pow(2,h),p+=N):(w=o*Math.pow(2,N-1)*Math.pow(2,h),p=0));h>=8;a[t+s]=255&w,s+=u,w/=256,h-=8);for(p=p<<h|w,e+=h;e>0;a[t+s]=255&p,s+=u,p/=256,e-=8);a[t+s-u]|=128*l};
19080
19081},{}],35:[function(require,module,exports){
19082"function"==typeof Object.create?module.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t};
19083
19084},{}],36:[function(require,module,exports){
19085module.exports=function(r){return!(null==r||!(r._isBuffer||r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)))};
19086
19087},{}],37:[function(require,module,exports){
19088var toString={}.toString;module.exports=Array.isArray||function(r){return"[object Array]"==toString.call(r)};
19089
19090},{}],38:[function(require,module,exports){
19091"use strict";var yaml=require("./lib/js-yaml.js");module.exports=yaml;
19092
19093},{"./lib/js-yaml.js":39}],39:[function(require,module,exports){
19094"use strict";function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}var loader=require("./js-yaml/loader"),dumper=require("./js-yaml/dumper");module.exports.Type=require("./js-yaml/type"),module.exports.Schema=require("./js-yaml/schema"),module.exports.FAILSAFE_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.JSON_SCHEMA=require("./js-yaml/schema/json"),module.exports.CORE_SCHEMA=require("./js-yaml/schema/core"),module.exports.DEFAULT_SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_FULL_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.load=loader.load,module.exports.loadAll=loader.loadAll,module.exports.safeLoad=loader.safeLoad,module.exports.safeLoadAll=loader.safeLoadAll,module.exports.dump=dumper.dump,module.exports.safeDump=dumper.safeDump,module.exports.YAMLException=require("./js-yaml/exception"),module.exports.MINIMAL_SCHEMA=require("./js-yaml/schema/failsafe"),module.exports.SAFE_SCHEMA=require("./js-yaml/schema/default_safe"),module.exports.DEFAULT_SCHEMA=require("./js-yaml/schema/default_full"),module.exports.scan=deprecated("scan"),module.exports.parse=deprecated("parse"),module.exports.compose=deprecated("compose"),module.exports.addConstructor=deprecated("addConstructor");
19095
19096},{"./js-yaml/dumper":41,"./js-yaml/exception":42,"./js-yaml/loader":43,"./js-yaml/schema":45,"./js-yaml/schema/core":46,"./js-yaml/schema/default_full":47,"./js-yaml/schema/default_safe":48,"./js-yaml/schema/failsafe":49,"./js-yaml/schema/json":50,"./js-yaml/type":51}],40:[function(require,module,exports){
19097"use strict";function isNothing(e){return"undefined"==typeof e||null===e}function isObject(e){return"object"==typeof e&&null!==e}function toArray(e){return Array.isArray(e)?e:isNothing(e)?[]:[e]}function extend(e,t){var r,o,n,i;if(t)for(i=Object.keys(t),r=0,o=i.length;o>r;r+=1)n=i[r],e[n]=t[n];return e}function repeat(e,t){var r,o="";for(r=0;t>r;r+=1)o+=e;return o}function isNegativeZero(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}module.exports.isNothing=isNothing,module.exports.isObject=isObject,module.exports.toArray=toArray,module.exports.repeat=repeat,module.exports.isNegativeZero=isNegativeZero,module.exports.extend=extend;
19098
19099},{}],41:[function(require,module,exports){
19100"use strict";function compileStyleMap(e,t){var n,i,r,E,o,l,a;if(null===t)return{};for(n={},i=Object.keys(t),r=0,E=i.length;E>r;r+=1)o=i[r],l=String(t[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),a=e.compiledTypeMap[o],a&&_hasOwnProperty.call(a.styleAliases,l)&&(l=a.styleAliases[l]),n[o]=l;return n}function encodeHex(e){var t,n,i;if(t=e.toString(16).toUpperCase(),255>=e)n="x",i=2;else if(65535>=e)n="u",i=4;else{if(!(4294967295>=e))throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");n="U",i=8}return"\\"+n+common.repeat("0",i-t.length)+t}function State(e){this.schema=e.schema||DEFAULT_FULL_SCHEMA,this.indent=Math.max(1,e.indent||2),this.skipInvalid=e.skipInvalid||!1,this.flowLevel=common.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=compileStyleMap(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function indentString(e,t){for(var n,i=common.repeat(" ",t),r=0,E=-1,o="",l=e.length;l>r;)E=e.indexOf("\n",r),-1===E?(n=e.slice(r),r=l):(n=e.slice(r,E+1),r=E+1),n.length&&"\n"!==n&&(o+=i),o+=n;return o}function generateNextLine(e,t){return"\n"+common.repeat(" ",e.indent*t)}function testImplicitResolving(e,t){var n,i,r;for(n=0,i=e.implicitTypes.length;i>n;n+=1)if(r=e.implicitTypes[n],r.resolve(t))return!0;return!1}function isWhitespace(e){return e===CHAR_SPACE||e===CHAR_TAB}function isPrintable(e){return e>=32&&126>=e||e>=161&&55295>=e&&8232!==e&&8233!==e||e>=57344&&65533>=e&&65279!==e||e>=65536&&1114111>=e}function isPlainSafe(e){return isPrintable(e)&&65279!==e&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_COLON&&e!==CHAR_SHARP}function isPlainSafeFirst(e){return isPrintable(e)&&65279!==e&&!isWhitespace(e)&&e!==CHAR_MINUS&&e!==CHAR_QUESTION&&e!==CHAR_COLON&&e!==CHAR_COMMA&&e!==CHAR_LEFT_SQUARE_BRACKET&&e!==CHAR_RIGHT_SQUARE_BRACKET&&e!==CHAR_LEFT_CURLY_BRACKET&&e!==CHAR_RIGHT_CURLY_BRACKET&&e!==CHAR_SHARP&&e!==CHAR_AMPERSAND&&e!==CHAR_ASTERISK&&e!==CHAR_EXCLAMATION&&e!==CHAR_VERTICAL_LINE&&e!==CHAR_GREATER_THAN&&e!==CHAR_SINGLE_QUOTE&&e!==CHAR_DOUBLE_QUOTE&&e!==CHAR_PERCENT&&e!==CHAR_COMMERCIAL_AT&&e!==CHAR_GRAVE_ACCENT}function chooseScalarStyle(e,t,n,i,r){var E,o,l=!1,a=!1,s=-1!==i,c=-1,A=isPlainSafeFirst(e.charCodeAt(0))&&!isWhitespace(e.charCodeAt(e.length-1));if(t)for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}else{for(E=0;E<e.length;E++){if(o=e.charCodeAt(E),o===CHAR_LINE_FEED)l=!0,s&&(a=a||E-c-1>i&&" "!==e[c+1],c=E);else if(!isPrintable(o))return STYLE_DOUBLE;A=A&&isPlainSafe(o)}a=a||s&&E-c-1>i&&" "!==e[c+1]}return l||a?" "===e[0]&&n>9?STYLE_DOUBLE:a?STYLE_FOLDED:STYLE_LITERAL:A&&!r(e)?STYLE_PLAIN:STYLE_SINGLE}function writeScalar(e,t,n,i){e.dump=function(){function r(t){return testImplicitResolving(e,t)}if(0===t.length)return"''";if(!e.noCompatMode&&-1!==DEPRECATED_BOOLEANS_SYNTAX.indexOf(t))return"'"+t+"'";var E=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-E),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(chooseScalarStyle(t,l,e.indent,o,r)){case STYLE_PLAIN:return t;case STYLE_SINGLE:return"'"+t.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,E));case STYLE_FOLDED:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,o),E));case STYLE_DOUBLE:return'"'+escapeString(t,o)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var n=" "===e[0]?String(t):"",i="\n"===e[e.length-1],r=i&&("\n"===e[e.length-2]||"\n"===e),E=r?"+":i?"":"-";return n+E+"\n"}function dropEndingNewline(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function foldString(e,t){for(var n,i,r=/(\n+)([^\n]*)/g,E=function(){var n=e.indexOf("\n");return n=-1!==n?n:e.length,r.lastIndex=n,foldLine(e.slice(0,n),t)}(),o="\n"===e[0]||" "===e[0];i=r.exec(e);){var l=i[1],a=i[2];n=" "===a[0],E+=l+(o||n||""===a?"":"\n")+foldLine(a,t),o=n}return E}function foldLine(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,E=0,o=0,l=0,a="";n=r.exec(e);)l=n.index,l-E>t&&(i=o>E?o:l,a+="\n"+e.slice(E,i),E=i+1),o=l;return a+="\n",a+=e.length-E>t&&o>E?e.slice(E,o)+"\n"+e.slice(o+1):e.slice(E),a.slice(1)}function escapeString(e){for(var t,n,i="",r=0;r<e.length;r++)t=e.charCodeAt(r),n=ESCAPE_SEQUENCES[t],i+=!n&&isPrintable(t)?e[r]:n||encodeHex(t);return i}function writeFlowSequence(e,t,n){var i,r,E="",o=e.tag;for(i=0,r=n.length;r>i;i+=1)writeNode(e,t,n[i],!1,!1)&&(0!==i&&(E+=", "),E+=e.dump);e.tag=o,e.dump="["+E+"]"}function writeBlockSequence(e,t,n,i){var r,E,o="",l=e.tag;for(r=0,E=n.length;E>r;r+=1)writeNode(e,t+1,n[r],!0,!0)&&(i&&0===r||(o+=generateNextLine(e,t)),o+="- "+e.dump);e.tag=l,e.dump=o||"[]"}function writeFlowMapping(e,t,n){var i,r,E,o,l,a="",s=e.tag,c=Object.keys(n);for(i=0,r=c.length;r>i;i+=1)l="",0!==i&&(l+=", "),E=c[i],o=n[E],writeNode(e,t,E,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+": ",writeNode(e,t,o,!1,!1)&&(l+=e.dump,a+=l));e.tag=s,e.dump="{"+a+"}"}function writeBlockMapping(e,t,n,i){var r,E,o,l,a,s,c="",A=e.tag,u=Object.keys(n);if(e.sortKeys===!0)u.sort();else if("function"==typeof e.sortKeys)u.sort(e.sortKeys);else if(e.sortKeys)throw new YAMLException("sortKeys must be a boolean or a function");for(r=0,E=u.length;E>r;r+=1)s="",i&&0===r||(s+=generateNextLine(e,t)),o=u[r],l=n[o],writeNode(e,t+1,o,!0,!0,!0)&&(a=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024,a&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?"?":"? "),s+=e.dump,a&&(s+=generateNextLine(e,t)),writeNode(e,t+1,l,!0,a)&&(s+=e.dump&&CHAR_LINE_FEED===e.dump.charCodeAt(0)?":":": ",s+=e.dump,c+=s));e.tag=A,e.dump=c||"{}"}function detectType(e,t,n){var i,r,E,o,l,a;for(r=n?e.explicitTypes:e.implicitTypes,E=0,o=r.length;o>E;E+=1)if(l=r[E],(l.instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(e.tag=n?l.tag:"?",l.represent){if(a=e.styleMap[l.tag]||l.defaultStyle,"[object Function]"===_toString.call(l.represent))i=l.represent(t,a);else{if(!_hasOwnProperty.call(l.represent,a))throw new YAMLException("!<"+l.tag+'> tag resolver accepts not "'+a+'" style');i=l.represent[a](t,a)}e.dump=i}return!0}return!1}function writeNode(e,t,n,i,r,E){e.tag=null,e.dump=n,detectType(e,n,!1)||detectType(e,n,!0);var o=_toString.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,a,s="[object Object]"===o||"[object Array]"===o;if(s&&(l=e.duplicates.indexOf(n),a=-1!==l),(null!==e.tag&&"?"!==e.tag||a||2!==e.indent&&t>0)&&(r=!1),a&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(s&&a&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===o)i&&0!==Object.keys(e.dump).length?(writeBlockMapping(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowMapping(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===o)i&&0!==e.dump.length?(writeBlockSequence(e,t,e.dump,r),a&&(e.dump="&ref_"+l+e.dump)):(writeFlowSequence(e,t,e.dump),a&&(e.dump="&ref_"+l+" "+e.dump));else{if("[object String]"!==o){if(e.skipInvalid)return!1;throw new YAMLException("unacceptable kind of an object to dump "+o)}"?"!==e.tag&&writeScalar(e,e.dump,t,E)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function getDuplicateReferences(e,t){var n,i,r=[],E=[];for(inspectNode(e,r,E),n=0,i=E.length;i>n;n+=1)t.duplicates.push(r[E[n]]);t.usedDuplicates=new Array(i)}function inspectNode(e,t,n){var i,r,E;if(null!==e&&"object"==typeof e)if(r=t.indexOf(e),-1!==r)-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(r=0,E=e.length;E>r;r+=1)inspectNode(e[r],t,n);else for(i=Object.keys(e),r=0,E=i.length;E>r;r+=1)inspectNode(e[i[r]],t,n)}function dump(e,t){t=t||{};var n=new State(t);return n.noRefs||getDuplicateReferences(e,n),writeNode(n,0,e,!0,!0)?n.dump+"\n":""}function safeDump(e,t){return dump(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}var common=require("./common"),YAMLException=require("./exception"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0",ESCAPE_SEQUENCES[7]="\\a",ESCAPE_SEQUENCES[8]="\\b",ESCAPE_SEQUENCES[9]="\\t",ESCAPE_SEQUENCES[10]="\\n",ESCAPE_SEQUENCES[11]="\\v",ESCAPE_SEQUENCES[12]="\\f",ESCAPE_SEQUENCES[13]="\\r",ESCAPE_SEQUENCES[27]="\\e",ESCAPE_SEQUENCES[34]='\\"',ESCAPE_SEQUENCES[92]="\\\\",ESCAPE_SEQUENCES[133]="\\N",ESCAPE_SEQUENCES[160]="\\_",ESCAPE_SEQUENCES[8232]="\\L",ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;module.exports.dump=dump,module.exports.safeDump=safeDump;
19101
19102},{"./common":40,"./exception":42,"./schema/default_full":47,"./schema/default_safe":48}],42:[function(require,module,exports){
19103"use strict";function YAMLException(t,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=t,this.mark=r,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}YAMLException.prototype=Object.create(Error.prototype),YAMLException.prototype.constructor=YAMLException,YAMLException.prototype.toString=function(t){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!t&&this.mark&&(r+=" "+this.mark.toString()),r},module.exports=YAMLException;
19104
19105},{}],43:[function(require,module,exports){
19106"use strict";function is_EOL(e){return 10===e||13===e}function is_WHITE_SPACE(e){return 9===e||32===e}function is_WS_OR_EOL(e){return 9===e||32===e||10===e||13===e}function is_FLOW_INDICATOR(e){return 44===e||91===e||93===e||123===e||125===e}function fromHexCode(e){var t;return e>=48&&57>=e?e-48:(t=32|e,t>=97&&102>=t?t-97+10:-1)}function escapedHexLen(e){return 120===e?2:117===e?4:85===e?8:0}function fromDecimalCode(e){return e>=48&&57>=e?e-48:-1}function simpleEscapeSequence(e){return 48===e?"\x00":97===e?"":98===e?"\b":116===e?" ":9===e?" ":110===e?"\n":118===e?"\x0B":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function charFromCodepoint(e){return 65535>=e?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function State(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||DEFAULT_FULL_SCHEMA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function generateError(e,t){return new YAMLException(t,new Mark(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){e.onWarning&&e.onWarning.call(null,generateError(e,t))}function captureSegment(e,t,n,i){var o,r,a,s;if(n>t){if(s=e.input.slice(t,n),i)for(o=0,r=s.length;r>o;o+=1)a=s.charCodeAt(o),9===a||a>=32&&1114111>=a||throwError(e,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(s)&&throwError(e,"the stream contains non-printable characters");e.result+=s}}function mergeMappings(e,t,n,i){var o,r,a,s;for(common.isObject(n)||throwError(e,"cannot merge mappings; the provided source object is unacceptable"),o=Object.keys(n),a=0,s=o.length;s>a;a+=1)r=o[a],_hasOwnProperty.call(t,r)||(t[r]=n[r],i[r]=!0)}function storeMappingPair(e,t,n,i,o,r){var a,s;if(o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(r))for(a=0,s=r.length;s>a;a+=1)mergeMappings(e,t,r[a],n);else mergeMappings(e,t,r,n);else e.json||_hasOwnProperty.call(n,o)||!_hasOwnProperty.call(t,o)||throwError(e,"duplicated mapping key"),t[o]=r,delete n[o];return t}function readLineBreak(e){var t;t=e.input.charCodeAt(e.position),10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):throwError(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function skipSeparationSpace(e,t,n){for(var i=0,o=e.input.charCodeAt(e.position);0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o);if(!is_EOL(o))break;for(readLineBreak(e),o=e.input.charCodeAt(e.position),i++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==i&&e.lineIndent<n&&throwWarning(e,"deficient indentation"),i}function testDocumentSeparator(e){var t,n=e.position;return t=e.input.charCodeAt(n),(45===t||46===t)&&t===e.input.charCodeAt(n+1)&&t===e.input.charCodeAt(n+2)&&(n+=3,t=e.input.charCodeAt(n),0===t||is_WS_OR_EOL(t))}function writeFoldedLines(e,t){1===t?e.result+=" ":t>1&&(e.result+=common.repeat("\n",t-1))}function readPlainScalar(e,t,n){var i,o,r,a,s,p,c,l,u,d=e.kind,h=e.result;if(u=e.input.charCodeAt(e.position),is_WS_OR_EOL(u)||is_FLOW_INDICATOR(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o)))return!1;for(e.kind="scalar",e.result="",r=a=e.position,s=!1;0!==u;){if(58===u){if(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)||n&&is_FLOW_INDICATOR(o))break}else if(35===u){if(i=e.input.charCodeAt(e.position-1),is_WS_OR_EOL(i))break}else{if(e.position===e.lineStart&&testDocumentSeparator(e)||n&&is_FLOW_INDICATOR(u))break;if(is_EOL(u)){if(p=e.line,c=e.lineStart,l=e.lineIndent,skipSeparationSpace(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=p,e.lineStart=c,e.lineIndent=l;break}}s&&(captureSegment(e,r,a,!1),writeFoldedLines(e,e.line-p),r=a=e.position,s=!1),is_WHITE_SPACE(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return captureSegment(e,r,a,!1),e.result?!0:(e.kind=d,e.result=h,!1)}function readSingleQuotedScalar(e,t){var n,i,o;if(n=e.input.charCodeAt(e.position),39!==n)return!1;for(e.kind="scalar",e.result="",e.position++,i=o=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(captureSegment(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=o=e.position,e.position++}else is_EOL(n)?(captureSegment(e,i,o,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),i=o=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var n,i,o,r,a,s;if(s=e.input.charCodeAt(e.position),34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return captureSegment(e,n,e.position,!0),e.position++,!0;if(92===s){if(captureSegment(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),is_EOL(s))skipSeparationSpace(e,!1,t);else if(256>s&&simpleEscapeCheck[s])e.result+=simpleEscapeMap[s],e.position++;else if((a=escapedHexLen(s))>0){for(o=a,r=0;o>0;o--)s=e.input.charCodeAt(++e.position),(a=fromHexCode(s))>=0?r=(r<<4)+a:throwError(e,"expected hexadecimal character");e.result+=charFromCodepoint(r),e.position++}else throwError(e,"unknown escape sequence");n=i=e.position}else is_EOL(s)?(captureSegment(e,n,i,!0),writeFoldedLines(e,skipSeparationSpace(e,!1,t)),n=i=e.position):e.position===e.lineStart&&testDocumentSeparator(e)?throwError(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var n,i,o,r,a,s,p,c,l,u,d,h=!0,f=e.tag,_=e.anchor,A={};if(d=e.input.charCodeAt(e.position),91===d)r=93,p=!1,i=[];else{if(123!==d)return!1;r=125,p=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),d=e.input.charCodeAt(++e.position);0!==d;){if(skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),d===r)return e.position++,e.tag=f,e.anchor=_,e.kind=p?"mapping":"sequence",e.result=i,!0;h||throwError(e,"missed comma between flow collection entries"),l=c=u=null,a=s=!1,63===d&&(o=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(o)&&(a=s=!0,e.position++,skipSeparationSpace(e,!0,t))),n=e.line,composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),l=e.tag,c=e.result,skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),!s&&e.line!==n||58!==d||(a=!0,d=e.input.charCodeAt(++e.position),skipSeparationSpace(e,!0,t),composeNode(e,t,CONTEXT_FLOW_IN,!1,!0),u=e.result),p?storeMappingPair(e,i,A,l,c,u):a?i.push(storeMappingPair(e,null,A,l,c,u)):i.push(c),skipSeparationSpace(e,!0,t),d=e.input.charCodeAt(e.position),44===d?(h=!0,d=e.input.charCodeAt(++e.position)):h=!1}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var n,i,o,r,a=CHOMPING_CLIP,s=!1,p=!1,c=t,l=0,u=!1;if(r=e.input.charCodeAt(e.position),124===r)i=!1;else{if(62!==r)return!1;i=!0}for(e.kind="scalar",e.result="";0!==r;)if(r=e.input.charCodeAt(++e.position),43===r||45===r)CHOMPING_CLIP===a?a=43===r?CHOMPING_KEEP:CHOMPING_STRIP:throwError(e,"repeat of a chomping mode identifier");else{if(!((o=fromDecimalCode(r))>=0))break;0===o?throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):p?throwError(e,"repeat of an indentation width identifier"):(c=t+o-1,p=!0)}if(is_WHITE_SPACE(r)){do r=e.input.charCodeAt(++e.position);while(is_WHITE_SPACE(r));if(35===r)do r=e.input.charCodeAt(++e.position);while(!is_EOL(r)&&0!==r)}for(;0!==r;){for(readLineBreak(e),e.lineIndent=0,r=e.input.charCodeAt(e.position);(!p||e.lineIndent<c)&&32===r;)e.lineIndent++,r=e.input.charCodeAt(++e.position);if(!p&&e.lineIndent>c&&(c=e.lineIndent),is_EOL(r))l++;else{if(e.lineIndent<c){a===CHOMPING_KEEP?e.result+=common.repeat("\n",s?1+l:l):a===CHOMPING_CLIP&&s&&(e.result+="\n");break}for(i?is_WHITE_SPACE(r)?(u=!0,e.result+=common.repeat("\n",s?1+l:l)):u?(u=!1,e.result+=common.repeat("\n",l+1)):0===l?s&&(e.result+=" "):e.result+=common.repeat("\n",l):e.result+=common.repeat("\n",s?1+l:l),s=!0,p=!0,l=0,n=e.position;!is_EOL(r)&&0!==r;)r=e.input.charCodeAt(++e.position);captureSegment(e,n,e.position,!1)}}return!0}function readBlockSequence(e,t){var n,i,o,r=e.tag,a=e.anchor,s=[],p=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),o=e.input.charCodeAt(e.position);0!==o&&45===o&&(i=e.input.charCodeAt(e.position+1),is_WS_OR_EOL(i));)if(p=!0,e.position++,skipSeparationSpace(e,!0,-1)&&e.lineIndent<=t)s.push(null),o=e.input.charCodeAt(e.position);else if(n=e.line,composeNode(e,t,CONTEXT_BLOCK_IN,!1,!0),s.push(e.result),skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==o)throwError(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return p?(e.tag=r,e.anchor=a,e.kind="sequence",e.result=s,!0):!1}function readBlockMapping(e,t,n){var i,o,r,a,s=e.tag,p=e.anchor,c={},l={},u=null,d=null,h=null,f=!1,_=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=c),a=e.input.charCodeAt(e.position);0!==a;){if(i=e.input.charCodeAt(e.position+1),r=e.line,63!==a&&58!==a||!is_WS_OR_EOL(i)){if(!composeNode(e,n,CONTEXT_FLOW_OUT,!1,!0))break;if(e.line===r){for(a=e.input.charCodeAt(e.position);is_WHITE_SPACE(a);)a=e.input.charCodeAt(++e.position);if(58===a)a=e.input.charCodeAt(++e.position),is_WS_OR_EOL(a)||throwError(e,"a whitespace character is expected after the key-value separator within a block mapping"),f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!1,o=!1,u=e.tag,d=e.result;else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!_)return e.tag=s,e.anchor=p,!0;throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===a?(f&&(storeMappingPair(e,c,l,u,d,null),u=d=h=null),_=!0,f=!0,o=!0):f?(f=!1,o=!0):throwError(e,"incomplete explicit mapping pair; a key node is missed"),e.position+=1,a=i;if((e.line===r||e.lineIndent>t)&&(composeNode(e,t,CONTEXT_BLOCK_OUT,!0,o)&&(f?d=e.result:h=e.result),f||(storeMappingPair(e,c,l,u,d,h),u=d=h=null),skipSeparationSpace(e,!0,-1),a=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==a)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return f&&storeMappingPair(e,c,l,u,d,null),_&&(e.tag=s,e.anchor=p,e.kind="mapping",e.result=c),_}function readTagProperty(e){var t,n,i,o,r=!1,a=!1;if(o=e.input.charCodeAt(e.position),33!==o)return!1;if(null!==e.tag&&throwError(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),60===o?(r=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,n="!!",o=e.input.charCodeAt(++e.position)):n="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o);e.position<e.length?(i=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):throwError(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!is_WS_OR_EOL(o);)33===o&&(a?throwError(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),PATTERN_TAG_HANDLE.test(n)||throwError(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),PATTERN_FLOW_INDICATORS.test(i)&&throwError(e,"tag suffix cannot contain flow indicator characters")}return i&&!PATTERN_TAG_URI.test(i)&&throwError(e,"tag name cannot contain such characters: "+i),r?e.tag=i:_hasOwnProperty.call(e.tagMap,n)?e.tag=e.tagMap[n]+i:"!"===n?e.tag="!"+i:"!!"===n?e.tag="tag:yaml.org,2002:"+i:throwError(e,'undeclared tag handle "'+n+'"'),!0}function readAnchorProperty(e){var t,n;if(n=e.input.charCodeAt(e.position),38!==n)return!1;for(null!==e.anchor&&throwError(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!is_WS_OR_EOL(n)&&!is_FLOW_INDICATOR(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function readAlias(e){var t,n,i;if(i=e.input.charCodeAt(e.position),42!==i)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!is_WS_OR_EOL(i)&&!is_FLOW_INDICATOR(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&throwError(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||throwError(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],skipSeparationSpace(e,!0,-1),!0}function composeNode(e,t,n,i,o){var r,a,s,p,c,l,u,d,h=1,f=!1,_=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,r=a=s=CONTEXT_BLOCK_OUT===n||CONTEXT_BLOCK_IN===n,i&&skipSeparationSpace(e,!0,-1)&&(f=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;readTagProperty(e)||readAnchorProperty(e);)skipSeparationSpace(e,!0,-1)?(f=!0,s=r,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):s=!1;if(s&&(s=f||o),1!==h&&CONTEXT_BLOCK_OUT!==n||(u=CONTEXT_FLOW_IN===n||CONTEXT_FLOW_OUT===n?t:t+1,d=e.position-e.lineStart,1===h?s&&(readBlockSequence(e,d)||readBlockMapping(e,d,u))||readFlowCollection(e,u)?_=!0:(a&&readBlockScalar(e,u)||readSingleQuotedScalar(e,u)||readDoubleQuotedScalar(e,u)?_=!0:readAlias(e)?(_=!0,null===e.tag&&null===e.anchor||throwError(e,"alias node should not have any properties")):readPlainScalar(e,u,CONTEXT_FLOW_IN===n)&&(_=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(_=s&&readBlockSequence(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(p=0,c=e.implicitTypes.length;c>p;p+=1)if(l=e.implicitTypes[p],l.resolve(e.result)){e.result=l.construct(e.result),e.tag=l.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else _hasOwnProperty.call(e.typeMap,e.tag)?(l=e.typeMap[e.tag],null!==e.result&&l.kind!==e.kind&&throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+l.kind+'", not "'+e.kind+'"'),l.resolve(e.result)?(e.result=l.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):throwError(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||_}function readDocument(e){var t,n,i,o,r=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(skipSeparationSpace(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),i=[],n.length<1&&throwError(e,"directive name must not be less than one character in length");0!==o;){for(;is_WHITE_SPACE(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!is_EOL(o));break}if(is_EOL(o))break;for(t=e.position;0!==o&&!is_WS_OR_EOL(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==o&&readLineBreak(e),_hasOwnProperty.call(directiveHandlers,n)?directiveHandlers[n](e,n,i):throwWarning(e,'unknown document directive "'+n+'"')}return skipSeparationSpace(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,skipSeparationSpace(e,!0,-1)):a&&throwError(e,"directives end mark is expected"),composeNode(e,e.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(e,!0,-1),e.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(e.input.slice(r,e.position))&&throwWarning(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&testDocumentSeparator(e)?void(46===e.input.charCodeAt(e.position)&&(e.position+=3,skipSeparationSpace(e,!0,-1))):void(e.position<e.length-1&&throwError(e,"end of the stream or a document separator is expected"))}function loadDocuments(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new State(e,t);for(n.input+="\x00";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)readDocument(n);return n.documents}function loadAll(e,t,n){var i,o,r=loadDocuments(e,n);for(i=0,o=r.length;o>i;i+=1)t(r[i])}function load(e,t){var n=loadDocuments(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(e,t,n){loadAll(e,t,common.extend({schema:DEFAULT_SAFE_SCHEMA},n))}function safeLoad(e,t){return load(e,common.extend({schema:DEFAULT_SAFE_SCHEMA},t))}for(var common=require("./common"),YAMLException=require("./exception"),Mark=require("./mark"),DEFAULT_SAFE_SCHEMA=require("./schema/default_safe"),DEFAULT_FULL_SCHEMA=require("./schema/default_full"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(e,t,n){var i,o,r;null!==e.version&&throwError(e,"duplication of %YAML directive"),1!==n.length&&throwError(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&throwError(e,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),r=parseInt(i[2],10),1!==o&&throwError(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=2>r,1!==r&&2!==r&&throwWarning(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,o;2!==n.length&&throwError(e,"TAG directive accepts exactly two arguments"),i=n[0],o=n[1],PATTERN_TAG_HANDLE.test(i)||throwError(e,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty.call(e.tagMap,i)&&throwError(e,'there is a previously declared suffix for "'+i+'" tag handle'),PATTERN_TAG_URI.test(o)||throwError(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=o}};module.exports.loadAll=loadAll,module.exports.load=load,module.exports.safeLoadAll=safeLoadAll,module.exports.safeLoad=safeLoad;
19107
19108},{"./common":40,"./exception":42,"./mark":44,"./schema/default_full":47,"./schema/default_safe":48}],44:[function(require,module,exports){
19109"use strict";function Mark(t,i,n,e,r){this.name=t,this.buffer=i,this.position=n,this.line=e,this.column=r}var common=require("./common");Mark.prototype.getSnippet=function(t,i){var n,e,r,o,s;if(!this.buffer)return null;for(t=t||4,i=i||75,n="",e=this.position;e>0&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(e-1));)if(e-=1,this.position-e>i/2-1){n=" ... ",e+=5;break}for(r="",o=this.position;o<this.buffer.length&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(o));)if(o+=1,o-this.position>i/2-1){r=" ... ",o-=5;break}return s=this.buffer.slice(e,o),common.repeat(" ",t)+n+s+r+"\n"+common.repeat(" ",t+this.position-e+n.length)+"^"},Mark.prototype.toString=function(t){var i,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(i=this.getSnippet(),i&&(n+=":\n"+i)),n},module.exports=Mark;
19110
19111},{"./common":40}],45:[function(require,module,exports){
19112"use strict";function compileList(i,e,t){var c=[];return i.include.forEach(function(i){t=compileList(i,e,t)}),i[e].forEach(function(i){t.forEach(function(e,t){e.tag===i.tag&&c.push(t)}),t.push(i)}),t.filter(function(i,e){return-1===c.indexOf(e)})}function compileMap(){function i(i){c[i.tag]=i}var e,t,c={};for(e=0,t=arguments.length;t>e;e+=1)arguments[e].forEach(i);return c}function Schema(i){this.include=i.include||[],this.implicit=i.implicit||[],this.explicit=i.explicit||[],this.implicit.forEach(function(i){if(i.loadKind&&"scalar"!==i.loadKind)throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=compileList(this,"implicit",[]),this.compiledExplicit=compileList(this,"explicit",[]),this.compiledTypeMap=compileMap(this.compiledImplicit,this.compiledExplicit)}var common=require("./common"),YAMLException=require("./exception"),Type=require("./type");Schema.DEFAULT=null,Schema.create=function(){var i,e;switch(arguments.length){case 1:i=Schema.DEFAULT,e=arguments[0];break;case 2:i=arguments[0],e=arguments[1];break;default:throw new YAMLException("Wrong number of arguments for Schema.create function")}if(i=common.toArray(i),e=common.toArray(e),!i.every(function(i){return i instanceof Schema}))throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every(function(i){return i instanceof Type}))throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new Schema({include:i,explicit:e})},module.exports=Schema;
19113
19114},{"./common":40,"./exception":42,"./type":51}],46:[function(require,module,exports){
19115"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./json")]});
19116
19117},{"../schema":45,"./json":50}],47:[function(require,module,exports){
19118"use strict";var Schema=require("../schema");module.exports=Schema.DEFAULT=new Schema({include:[require("./default_safe")],explicit:[require("../type/js/undefined"),require("../type/js/regexp"),require("../type/js/function")]});
19119
19120},{"../schema":45,"../type/js/function":56,"../type/js/regexp":57,"../type/js/undefined":58,"./default_safe":48}],48:[function(require,module,exports){
19121"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./core")],implicit:[require("../type/timestamp"),require("../type/merge")],explicit:[require("../type/binary"),require("../type/omap"),require("../type/pairs"),require("../type/set")]});
19122
19123},{"../schema":45,"../type/binary":52,"../type/merge":60,"../type/omap":62,"../type/pairs":63,"../type/set":65,"../type/timestamp":67,"./core":46}],49:[function(require,module,exports){
19124"use strict";var Schema=require("../schema");module.exports=new Schema({explicit:[require("../type/str"),require("../type/seq"),require("../type/map")]});
19125
19126},{"../schema":45,"../type/map":59,"../type/seq":64,"../type/str":66}],50:[function(require,module,exports){
19127"use strict";var Schema=require("../schema");module.exports=new Schema({include:[require("./failsafe")],implicit:[require("../type/null"),require("../type/bool"),require("../type/int"),require("../type/float")]});
19128
19129},{"../schema":45,"../type/bool":53,"../type/float":54,"../type/int":55,"../type/null":61,"./failsafe":49}],51:[function(require,module,exports){
19130"use strict";function compileStyleAliases(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function Type(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===TYPE_CONSTRUCTOR_OPTIONS.indexOf(t))throw new YAMLException('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=compileStyleAliases(t.styleAliases||null),-1===YAML_NODE_KINDS.indexOf(this.kind))throw new YAMLException('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var YAMLException=require("./exception"),TYPE_CONSTRUCTOR_OPTIONS=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];module.exports=Type;
19131
19132},{"./exception":42}],52:[function(require,module,exports){
19133"use strict";function resolveYamlBinary(r){if(null===r)return!1;var e,n,u=0,t=r.length,a=BASE64_MAP;for(n=0;t>n;n++)if(e=a.indexOf(r.charAt(n)),!(e>64)){if(0>e)return!1;u+=6}return u%8===0}function constructYamlBinary(r){var e,n,u=r.replace(/[\r\n=]/g,""),t=u.length,a=BASE64_MAP,f=0,i=[];for(e=0;t>e;e++)e%4===0&&e&&(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)),f=f<<6|a.indexOf(u.charAt(e));return n=t%4*6,0===n?(i.push(f>>16&255),i.push(f>>8&255),i.push(255&f)):18===n?(i.push(f>>10&255),i.push(f>>2&255)):12===n&&i.push(f>>4&255),NodeBuffer?new NodeBuffer(i):i}function representYamlBinary(r){var e,n,u="",t=0,a=r.length,f=BASE64_MAP;for(e=0;a>e;e++)e%3===0&&e&&(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]),t=(t<<8)+r[e];return n=a%3,0===n?(u+=f[t>>18&63],u+=f[t>>12&63],u+=f[t>>6&63],u+=f[63&t]):2===n?(u+=f[t>>10&63],u+=f[t>>4&63],u+=f[t<<2&63],u+=f[64]):1===n&&(u+=f[t>>2&63],u+=f[t<<4&63],u+=f[64],u+=f[64]),u}function isBinary(r){return NodeBuffer&&NodeBuffer.isBuffer(r)}var NodeBuffer;try{var _require=require;NodeBuffer=_require("buffer").Buffer}catch(__){}var Type=require("../type"),BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary});
19134
19135},{"../type":51}],53:[function(require,module,exports){
19136"use strict";function resolveYamlBoolean(e){if(null===e)return!1;var r=e.length;return 4===r&&("true"===e||"True"===e||"TRUE"===e)||5===r&&("false"===e||"False"===e||"FALSE"===e)}function constructYamlBoolean(e){return"true"===e||"True"===e||"TRUE"===e}function isBoolean(e){return"[object Boolean]"===Object.prototype.toString.call(e)}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});
19137
19138},{"../type":51}],54:[function(require,module,exports){
19139"use strict";function resolveYamlFloat(e){return null===e?!1:!!YAML_FLOAT_PATTERN.test(e)}function constructYamlFloat(e){var r,t,a,n;return r=e.replace(/_/g,"").toLowerCase(),t="-"===r[0]?-1:1,n=[],"+-".indexOf(r[0])>=0&&(r=r.slice(1)),".inf"===r?1===t?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===r?NaN:r.indexOf(":")>=0?(r.split(":").forEach(function(e){n.unshift(parseFloat(e,10))}),r=0,a=1,n.forEach(function(e){r+=e*a,a*=60}),t*r):t*parseFloat(r,10)}function representYamlFloat(e,r){var t;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(e))return"-0.0";return t=e.toString(10),SCIENTIFIC_WITHOUT_DOT.test(t)?t.replace("e",".e"):t}function isFloat(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||common.isNegativeZero(e))}var common=require("../common"),Type=require("../type"),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"});
19140
19141},{"../common":40,"../type":51}],55:[function(require,module,exports){
19142"use strict";function isHexCode(e){return e>=48&&57>=e||e>=65&&70>=e||e>=97&&102>=e}function isOctCode(e){return e>=48&&55>=e}function isDecCode(e){return e>=48&&57>=e}function resolveYamlInteger(e){if(null===e)return!1;var r,t=e.length,n=0,i=!1;if(!t)return!1;if(r=e[n],"-"!==r&&"+"!==r||(r=e[++n]),"0"===r){if(n+1===t)return!0;if(r=e[++n],"b"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if("0"!==r&&"1"!==r)return!1;i=!0}return i}if("x"===r){for(n++;t>n;n++)if(r=e[n],"_"!==r){if(!isHexCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(!isOctCode(e.charCodeAt(n)))return!1;i=!0}return i}for(;t>n;n++)if(r=e[n],"_"!==r){if(":"===r)break;if(!isDecCode(e.charCodeAt(n)))return!1;i=!0}return i?":"!==r?!0:/^(:[0-5]?[0-9])+$/.test(e.slice(n)):!1}function constructYamlInteger(e){var r,t,n=e,i=1,o=[];return-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),r=n[0],"-"!==r&&"+"!==r||("-"===r&&(i=-1),n=n.slice(1),r=n[0]),"0"===n?0:"0"===r?"b"===n[1]?i*parseInt(n.slice(2),2):"x"===n[1]?i*parseInt(n,16):i*parseInt(n,8):-1!==n.indexOf(":")?(n.split(":").forEach(function(e){o.unshift(parseInt(e,10))}),n=0,t=1,o.forEach(function(e){n+=e*t,t*=60}),i*n):i*parseInt(n,10)}function isInteger(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1===0&&!common.isNegativeZero(e)}var common=require("../common"),Type=require("../type");module.exports=new Type("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:function(e){return"0b"+e.toString(2)},octal:function(e){return"0"+e.toString(8)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return"0x"+e.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});
19143
19144},{"../common":40,"../type":51}],56:[function(require,module,exports){
19145"use strict";function resolveJavascriptFunction(e){if(null===e)return!1;try{var r="("+e+")",n=esprima.parse(r,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&"FunctionExpression"===n.body[0].expression.type}catch(t){return!1}}function constructJavascriptFunction(e){var r,n="("+e+")",t=esprima.parse(n,{range:!0}),o=[];if("Program"!==t.type||1!==t.body.length||"ExpressionStatement"!==t.body[0].type||"FunctionExpression"!==t.body[0].expression.type)throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(e){o.push(e.name)}),r=t.body[0].expression.body.range,new Function(o,n.slice(r[0]+1,r[1]-1))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return"[object Function]"===Object.prototype.toString.call(e)}var esprima;try{var _require=require;esprima=_require("esprima")}catch(_){"undefined"!=typeof window&&(esprima=window.esprima)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction});
19146
19147},{"../../type":51}],57:[function(require,module,exports){
19148"use strict";function resolveJavascriptRegExp(e){if(null===e)return!1;if(0===e.length)return!1;var r=e,t=/\/([gim]*)$/.exec(e),n="";if("/"===r[0]){if(t&&(n=t[1]),n.length>3)return!1;if("/"!==r[r.length-n.length-1])return!1}return!0}function constructJavascriptRegExp(e){var r=e,t=/\/([gim]*)$/.exec(e),n="";return"/"===r[0]&&(t&&(n=t[1]),r=r.slice(1,r.length-n.length-1)),new RegExp(r,n)}function representJavascriptRegExp(e){var r="/"+e.source+"/";return e.global&&(r+="g"),e.multiline&&(r+="m"),e.ignoreCase&&(r+="i"),r}function isRegExp(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp});
19149
19150},{"../../type":51}],58:[function(require,module,exports){
19151"use strict";function resolveJavascriptUndefined(){return!0}function constructJavascriptUndefined(){}function representJavascriptUndefined(){return""}function isUndefined(e){return"undefined"==typeof e}var Type=require("../../type");module.exports=new Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined});
19152
19153},{"../../type":51}],59:[function(require,module,exports){
19154"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}});
19155
19156},{"../type":51}],60:[function(require,module,exports){
19157"use strict";function resolveYamlMerge(e){return"<<"===e||null===e}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge});
19158
19159},{"../type":51}],61:[function(require,module,exports){
19160"use strict";function resolveYamlNull(l){if(null===l)return!0;var e=l.length;return 1===e&&"~"===l||4===e&&("null"===l||"Null"===l||"NULL"===l)}function constructYamlNull(){return null}function isNull(l){return null===l}var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"});
19161
19162},{"../type":51}],62:[function(require,module,exports){
19163"use strict";function resolveYamlOmap(r){if(null===r)return!0;var t,e,n,o,u,a=[],l=r;for(t=0,e=l.length;e>t;t+=1){if(n=l[t],u=!1,"[object Object]"!==_toString.call(n))return!1;for(o in n)if(_hasOwnProperty.call(n,o)){if(u)return!1;u=!0}if(!u)return!1;if(-1!==a.indexOf(o))return!1;a.push(o)}return!0}function constructYamlOmap(r){return null!==r?r:[]}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty,_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap});
19164
19165},{"../type":51}],63:[function(require,module,exports){
19166"use strict";function resolveYamlPairs(r){if(null===r)return!0;var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1){if(n=a[e],"[object Object]"!==_toString.call(n))return!1;if(l=Object.keys(n),1!==l.length)return!1;o[e]=[l[0],n[l[0]]]}return!0}function constructYamlPairs(r){if(null===r)return[];var e,t,n,l,o,a=r;for(o=new Array(a.length),e=0,t=a.length;t>e;e+=1)n=a[e],l=Object.keys(n),o[e]=[l[0],n[l[0]]];return o}var Type=require("../type"),_toString=Object.prototype.toString;module.exports=new Type("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs});
19167
19168},{"../type":51}],64:[function(require,module,exports){
19169"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}});
19170
19171},{"../type":51}],65:[function(require,module,exports){
19172"use strict";function resolveYamlSet(e){if(null===e)return!0;var r,t=e;for(r in t)if(_hasOwnProperty.call(t,r)&&null!==t[r])return!1;return!0}function constructYamlSet(e){return null!==e?e:{}}var Type=require("../type"),_hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=new Type("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet});
19173
19174},{"../type":51}],66:[function(require,module,exports){
19175"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return null!==r?r:""}});
19176
19177},{"../type":51}],67:[function(require,module,exports){
19178"use strict";function resolveYamlTimestamp(e){return null===e?!1:null!==YAML_DATE_REGEXP.exec(e)?!0:null!==YAML_TIMESTAMP_REGEXP.exec(e)}function constructYamlTimestamp(e){var t,r,n,l,a,m,s,T,i,E,u=0,o=null;if(t=YAML_DATE_REGEXP.exec(e),null===t&&(t=YAML_TIMESTAMP_REGEXP.exec(e)),null===t)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,l=+t[3],!t[4])return new Date(Date.UTC(r,n,l));if(a=+t[4],m=+t[5],s=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(T=+t[10],i=+(t[11]||0),o=6e4*(60*T+i),"-"===t[9]&&(o=-o)),E=new Date(Date.UTC(r,n,l,a,m,s,u)),o&&E.setTime(E.getTime()-o),E}function representYamlTimestamp(e){return e.toISOString()}var Type=require("../type"),YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");module.exports=new Type("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});
19179
19180},{"../type":51}],68:[function(require,module,exports){
19181function parse(e){if(e=""+e,!(e.length>1e4)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(a){var r=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return r*y;case"days":case"day":case"d":return r*d;case"hours":case"hour":case"hrs":case"hr":case"h":return r*h;case"minutes":case"minute":case"mins":case"min":case"m":return r*m;case"seconds":case"second":case"secs":case"sec":case"s":return r*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r}}}}function short(e){return e>=d?Math.round(e/d)+"d":e>=h?Math.round(e/h)+"h":e>=m?Math.round(e/m)+"m":e>=s?Math.round(e/s)+"s":e+"ms"}function long(e){return plural(e,d,"day")||plural(e,h,"hour")||plural(e,m,"minute")||plural(e,s,"second")||e+" ms"}function plural(s,e,a){return e>s?void 0:1.5*e>s?Math.floor(s/e)+" "+a:Math.ceil(s/e)+" "+a+"s"}var s=1e3,m=60*s,h=60*m,d=24*h,y=365.25*d;module.exports=function(s,e){return e=e||{},"string"==typeof s?parse(s):e["long"]?long(s):short(s)};
19182
19183},{}],69:[function(require,module,exports){
19184/**!
19185 * Ono v2.2.1
19186 *
19187 * @link https://github.com/BigstickCarpet/ono
19188 * @license MIT
19189 */
19190"use strict";function create(e){return function(r,t,o,n){var c,a=module.exports.formatter;"string"==typeof r?(c=a.apply(null,arguments),r=t=void 0):c="string"==typeof t?a.apply(null,slice.call(arguments,1)):a.apply(null,slice.call(arguments,2)),r instanceof Error||(t=r,r=void 0),r&&(c+=(c?" \n":"")+r.message);var i=new e(c);return extendError(i,r),extendToJSON(i),extend(i,t),i}}function extendError(e,r){r&&(extendStack(e,r),extend(e,r,!0))}function extendToJSON(e){e.toJSON=errorToJSON,e.inspect=errorToString}function extend(e,r,t){if(r&&"object"==typeof r)for(var o=Object.keys(r),n=0;n<o.length;n++){var c=o[n];if(!(t&&vendorSpecificErrorProperties.indexOf(c)>=0))try{e[c]=r[c]}catch(a){}}}function errorToJSON(){var e={},r=Object.keys(this);r=r.concat(vendorSpecificErrorProperties);for(var t=0;t<r.length;t++){var o=r[t],n=this[o],c=typeof n;"undefined"!==c&&"function"!==c&&(e[o]=n)}return e}function errorToString(){return JSON.stringify(this,null,2).replace(/\\n/g,"\n")}function extendStack(e,r){if(hasLazyStack(r))extendStackProperty(e,r);else{var t=r.stack;t&&(e.stack+=" \n\n"+r.stack)}}function hasLazyStack(e){if(!supportsLazyStack)return!1;var r=Object.getOwnPropertyDescriptor(e,"stack");return r?"function"==typeof r.get:!1}function extendStackProperty(e,r){var t=Object.getOwnPropertyDescriptor(r,"stack");if(t){var o=Object.getOwnPropertyDescriptor(e,"stack");Object.defineProperty(e,"stack",{get:function(){return o.get.apply(e)+" \n\n"+r.stack},enumerable:!1,configurable:!0})}}var util=require("util"),slice=Array.prototype.slice,vendorSpecificErrorProperties=["name","message","description","number","fileName","lineNumber","columnNumber","sourceURL","line","column","stack"];module.exports=create(Error),module.exports.error=create(Error),module.exports.eval=create(EvalError),module.exports.range=create(RangeError),module.exports.reference=create(ReferenceError),module.exports.syntax=create(SyntaxError),module.exports.type=create(TypeError),module.exports.uri=create(URIError),module.exports.formatter=util.format;var supportsLazyStack=function(){return!(!Object.getOwnPropertyDescriptor||!Object.defineProperty||"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent))}();
19191
19192},{"util":97}],70:[function(require,module,exports){
19193(function (process){
19194"use strict";function nextTick(e){for(var s=new Array(arguments.length-1),n=0;n<s.length;)s[n++]=arguments[n];process.nextTick(function(){e.apply(null,s)})}!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?module.exports=nextTick:module.exports=process.nextTick;
19195
19196}).call(this,require('_process'))
19197
19198},{"_process":71}],71:[function(require,module,exports){
19199function cleanUpNextTick(){draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue()}function drainQueue(){if(!draining){var e=setTimeout(cleanUpNextTick);draining=!0;for(var n=queue.length;n;){for(currentQueue=queue,queue=[];++queueIndex<n;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,n=queue.length}currentQueue=null,draining=!1,clearTimeout(e)}}function Item(e,n){this.fun=e,this.array=n}function noop(){}var process=module.exports={},queue=[],draining=!1,currentQueue,queueIndex=-1;process.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];queue.push(new Item(e,n)),1!==queue.length||draining||setTimeout(drainQueue,0)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
19200
19201},{}],72:[function(require,module,exports){
19202(function (global){
19203/*! https://mths.be/punycode v1.4.1 by @mathias */
19204!function(e){function o(e){throw new RangeError(T[e])}function n(e,o){for(var n=e.length,r=[];n--;)r[n]=o(e[n]);return r}function r(e,o){var r=e.split("@"),t="";r.length>1&&(t=r[0]+"@",e=r[1]),e=e.replace(S,".");var u=e.split("."),i=n(u,o).join(".");return t+i}function t(e){for(var o,n,r=[],t=0,u=e.length;u>t;)o=e.charCodeAt(t++),o>=55296&&56319>=o&&u>t?(n=e.charCodeAt(t++),56320==(64512&n)?r.push(((1023&o)<<10)+(1023&n)+65536):(r.push(o),t--)):r.push(o);return r}function u(e){return n(e,function(e){var o="";return e>65535&&(e-=65536,o+=P(e>>>10&1023|55296),e=56320|1023&e),o+=P(e)}).join("")}function i(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:b}function f(e,o){return e+22+75*(26>e)-((0!=o)<<5)}function c(e,o,n){var r=0;for(e=n?M(e/j):e>>1,e+=M(e/o);e>L*C>>1;r+=b)e=M(e/L);return M(r+(L+1)*e/(e+m))}function l(e){var n,r,t,f,l,s,d,a,p,h,v=[],g=e.length,w=0,m=I,j=A;for(r=e.lastIndexOf(E),0>r&&(r=0),t=0;r>t;++t)e.charCodeAt(t)>=128&&o("not-basic"),v.push(e.charCodeAt(t));for(f=r>0?r+1:0;g>f;){for(l=w,s=1,d=b;f>=g&&o("invalid-input"),a=i(e.charCodeAt(f++)),(a>=b||a>M((x-w)/s))&&o("overflow"),w+=a*s,p=j>=d?y:d>=j+C?C:d-j,!(p>a);d+=b)h=b-p,s>M(x/h)&&o("overflow"),s*=h;n=v.length+1,j=c(w-l,n,0==l),M(w/n)>x-m&&o("overflow"),m+=M(w/n),w%=n,v.splice(w++,0,m)}return u(v)}function s(e){var n,r,u,i,l,s,d,a,p,h,v,g,w,m,j,F=[];for(e=t(e),g=e.length,n=I,r=0,l=A,s=0;g>s;++s)v=e[s],128>v&&F.push(P(v));for(u=i=F.length,i&&F.push(E);g>u;){for(d=x,s=0;g>s;++s)v=e[s],v>=n&&d>v&&(d=v);for(w=u+1,d-n>M((x-r)/w)&&o("overflow"),r+=(d-n)*w,n=d,s=0;g>s;++s)if(v=e[s],n>v&&++r>x&&o("overflow"),v==n){for(a=r,p=b;h=l>=p?y:p>=l+C?C:p-l,!(h>a);p+=b)j=a-h,m=b-h,F.push(P(f(h+j%m,0))),a=M(j/m);F.push(P(f(a,0))),l=c(r,w,u==i),r=0,++u}++r,++n}return F.join("")}function d(e){return r(e,function(e){return F.test(e)?l(e.slice(4).toLowerCase()):e})}function a(e){return r(e,function(e){return O.test(e)?"xn--"+s(e):e})}var p="object"==typeof exports&&exports&&!exports.nodeType&&exports,h="object"==typeof module&&module&&!module.nodeType&&module,v="object"==typeof global&&global;v.global!==v&&v.window!==v&&v.self!==v||(e=v);var g,w,x=2147483647,b=36,y=1,C=26,m=38,j=700,A=72,I=128,E="-",F=/^xn--/,O=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=b-y,M=Math.floor,P=String.fromCharCode;if(g={version:"1.4.1",ucs2:{decode:t,encode:u},decode:l,encode:s,toASCII:a,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(p&&h)if(module.exports==p)h.exports=g;else for(w in g)g.hasOwnProperty(w)&&(p[w]=g[w]);else e.punycode=g}(this);
19205
19206}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19207
19208},{}],73:[function(require,module,exports){
19209"use strict";function hasOwnProperty(r,e){return Object.prototype.hasOwnProperty.call(r,e)}module.exports=function(r,e,t,n){e=e||"&",t=t||"=";var o={};if("string"!=typeof r||0===r.length)return o;var a=/\+/g;r=r.split(e);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var p=r.length;s>0&&p>s&&(p=s);for(var y=0;p>y;++y){var u,c,i,l,f=r[y].replace(a,"%20"),v=f.indexOf(t);v>=0?(u=f.substr(0,v),c=f.substr(v+1)):(u=f,c=""),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)};
19210
19211},{}],74:[function(require,module,exports){
19212"use strict";function map(r,e){if(r.map)return r.map(e);for(var t=[],n=0;n<r.length;n++)t.push(e(r[n],n));return t}var stringifyPrimitive=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}};module.exports=function(r,e,t,n){return e=e||"&",t=t||"=",null===r&&(r=void 0),"object"==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],function(r){return i+encodeURIComponent(stringifyPrimitive(r))}).join(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).join(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):""};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)},objectKeys=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e};
19213
19214},{}],75:[function(require,module,exports){
19215"use strict";exports.decode=exports.parse=require("./decode"),exports.encode=exports.stringify=require("./encode");
19216
19217},{"./decode":73,"./encode":74}],76:[function(require,module,exports){
19218module.exports=require("./lib/_stream_duplex.js");
19219
19220},{"./lib/_stream_duplex.js":77}],77:[function(require,module,exports){
19221"use strict";function Duplex(e){return this instanceof Duplex?(Readable.call(this,e),Writable.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",onend)):new Duplex(e)}function onend(){this.allowHalfOpen||this._writableState.ended||processNextTick(onEndNT,this)}function onEndNT(e){e.end()}function forEach(e,t){for(var r=0,i=e.length;i>r;r++)t(e[r],r)}var objectKeys=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};module.exports=Duplex;var processNextTick=require("process-nextick-args"),util=require("core-util-is");util.inherits=require("inherits");var Readable=require("./_stream_readable"),Writable=require("./_stream_writable");util.inherits(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}
19222
19223},{"./_stream_readable":79,"./_stream_writable":81,"core-util-is":28,"inherits":35,"process-nextick-args":70}],78:[function(require,module,exports){
19224"use strict";function PassThrough(r){return this instanceof PassThrough?void Transform.call(this,r):new PassThrough(r)}module.exports=PassThrough;var Transform=require("./_stream_transform"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(PassThrough,Transform),PassThrough.prototype._transform=function(r,s,i){i(null,r)};
19225
19226},{"./_stream_transform":80,"core-util-is":28,"inherits":35}],79:[function(require,module,exports){
19227(function (process){
19228"use strict";function ReadableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this.decoder=new StringDecoder(e.encoding),this.encoding=e.encoding)}function Readable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Readable?(this._readableState=new ReadableState(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),void Stream.call(this)):new Readable(e)}function readableAddChunk(e,t,r,n,a){var i=chunkInvalid(t,r);if(i)e.emit("error",i);else if(null===r)t.reading=!1,onEofChunk(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!a){var d=new Error("stream.push() after EOF");e.emit("error",d)}else if(t.endEmitted&&a){var d=new Error("stream.unshift() after end event");e.emit("error",d)}else{var o;!t.decoder||a||n||(r=t.decoder.write(r),o=!t.objectMode&&0===r.length),a||(t.reading=!1),o||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,a?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&emitReadable(e))),maybeReadMore(e,t)}else a||(t.reading=!1);return needMoreData(t)}function needMoreData(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function computeNewHighWaterMark(e){return e>=MAX_HWM?e=MAX_HWM:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function howMuchToRead(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=computeNewHighWaterMark(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function chunkInvalid(e,t){var r=null;return Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function onEofChunk(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,emitReadable(e)}}function emitReadable(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(debug("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?processNextTick(emitReadable_,e):emitReadable_(e))}function emitReadable_(e){debug("emit readable"),e.emit("readable"),flow(e)}function maybeReadMore(e,t){t.readingMore||(t.readingMore=!0,processNextTick(maybeReadMore_,e,t))}function maybeReadMore_(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(debug("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function pipeOnDrain(e){return function(){var t=e._readableState;debug("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&EElistenerCount(e,"data")&&(t.flowing=!0,flow(e))}}function nReadingNextTick(e){debug("readable nexttick read 0"),e.read(0)}function resume(e,t){t.resumeScheduled||(t.resumeScheduled=!0,processNextTick(resume_,e,t))}function resume_(e,t){t.reading||(debug("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),flow(e),t.flowing&&!t.reading&&e.read(0)}function flow(e){var t=e._readableState;if(debug("flow",t.flowing),t.flowing)do var r=e.read();while(null!==r&&t.flowing)}function fromList(e,t){var r,n=t.buffer,a=t.length,i=!!t.decoder,d=!!t.objectMode;if(0===n.length)return null;if(0===a)r=null;else if(d)r=n.shift();else if(!e||e>=a)r=i?n.join(""):1===n.length?n[0]:Buffer.concat(n,a),n.length=0;else if(e<n[0].length){var o=n[0];r=o.slice(0,e),n[0]=o.slice(e)}else if(e===n[0].length)r=n.shift();else{r=i?"":new Buffer(e);for(var l=0,u=0,s=n.length;s>u&&e>l;u++){var o=n[0],h=Math.min(e-l,o.length);i?r+=o.slice(0,h):o.copy(r,l,0,h),h<o.length?n[0]=o.slice(h):n.shift(),l+=h}}return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,processNextTick(endReadableNT,t,e))}function endReadableNT(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function forEach(e,t){for(var r=0,n=e.length;n>r;r++)t(e[r],r)}function indexOf(e,t){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1}module.exports=Readable;var processNextTick=require("process-nextick-args"),isArray=require("isarray"),Buffer=require("buffer").Buffer;Readable.ReadableState=ReadableState;var EE=require("events"),EElistenerCount=function(e,t){return e.listeners(t).length},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer,util=require("core-util-is");util.inherits=require("inherits");var debugUtil=require("util"),debug=void 0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};var StringDecoder;util.inherits(Readable,Stream);var Duplex,Duplex;Readable.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding,t!==r.encoding&&(e=new Buffer(e,t),t="")),readableAddChunk(this,r,e,t,!1)},Readable.prototype.unshift=function(e){var t=this._readableState;return readableAddChunk(this,t,e,"",!0)},Readable.prototype.isPaused=function(){return this._readableState.flowing===!1},Readable.prototype.setEncoding=function(e){return StringDecoder||(StringDecoder=require("string_decoder/").StringDecoder),this._readableState.decoder=new StringDecoder(e),this._readableState.encoding=e,this};var MAX_HWM=8388608;Readable.prototype.read=function(e){debug("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return debug("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?endReadable(this):emitReadable(this),null;if(e=howMuchToRead(e,t),0===e&&t.ended)return 0===t.length&&endReadable(this),null;var n=t.needReadable;debug("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&(n=!0,debug("length less than watermark",n)),(t.ended||t.reading)&&(n=!1,debug("reading or ended",n)),n&&(debug("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=howMuchToRead(r,t));var a;return a=e>0?fromList(e,t):null,null===a&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&endReadable(this),null!==a&&this.emit("data",a),a},Readable.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Readable.prototype.pipe=function(e,t){function r(e){debug("onunpipe"),e===s&&a()}function n(){debug("onend"),e.end()}function a(){debug("cleanup"),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",r),s.removeListener("end",n),s.removeListener("end",a),s.removeListener("data",i),b=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function i(t){debug("ondata");var r=e.write(t);!1===r&&(1!==h.pipesCount||h.pipes[0]!==e||1!==s.listenerCount("data")||b||(debug("false write response, pause",s._readableState.awaitDrain),s._readableState.awaitDrain++),s.pause())}function d(t){debug("onerror",t),u(),e.removeListener("error",d),0===EElistenerCount(e,"error")&&e.emit("error",t)}function o(){e.removeListener("finish",l),u()}function l(){debug("onfinish"),e.removeListener("close",o),u()}function u(){debug("unpipe"),s.unpipe(e)}var s=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,debug("pipe count=%d opts=%j",h.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,p=f?n:a;h.endEmitted?processNextTick(p):s.once("end",p),e.on("unpipe",r);var c=pipeOnDrain(s);e.on("drain",c);var b=!1;return s.on("data",i),e._events&&e._events.error?isArray(e._events.error)?e._events.error.unshift(d):e._events.error=[d,e._events.error]:e.on("error",d),e.once("close",o),e.once("finish",l),e.emit("pipe",s),h.flowing||(debug("pipe resume"),s.resume()),e},Readable.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;n>a;a++)r[a].emit("unpipe",this);return this}var i=indexOf(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},Readable.prototype.on=function(e,t){var r=Stream.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&emitReadable(this,n):processNextTick(nReadingNextTick,this))}return r},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.resume=function(){var e=this._readableState;return e.flowing||(debug("resume"),e.flowing=!0,resume(this,e)),this},Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Readable.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(debug("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(a){if(debug("wrapped data"),t.decoder&&(a=t.decoder.write(a)),(!t.objectMode||null!==a&&void 0!==a)&&(t.objectMode||a&&a.length)){var i=n.push(a);i||(r=!0,e.pause())}});for(var a in e)void 0===this[a]&&"function"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));var i=["error","close","destroy","pause","resume"];return forEach(i,function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){debug("wrapped _read",t),r&&(r=!1,e.resume())},n},Readable._fromList=fromList;
19229
19230}).call(this,require('_process'))
19231
19232},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"isarray":37,"process-nextick-args":70,"stream":86,"string_decoder/":91,"util":23}],80:[function(require,module,exports){
19233"use strict";function TransformState(r){this.afterTransform=function(t,n){return afterTransform(r,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function afterTransform(r,t,n){var e=r._transformState;e.transforming=!1;var i=e.writecb;if(!i)return r.emit("error",new Error("no writecb in Transform class"));e.writechunk=null,e.writecb=null,null!==n&&void 0!==n&&r.push(n),i(t);var a=r._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&r._read(a.highWaterMark)}function Transform(r){if(!(this instanceof Transform))return new Transform(r);Duplex.call(this,r),this._transformState=new TransformState(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,r&&("function"==typeof r.transform&&(this._transform=r.transform),"function"==typeof r.flush&&(this._flush=r.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(r){done(t,r)}):done(t)})}function done(r,t){if(t)return r.emit("error",t);var n=r._writableState,e=r._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(e.transforming)throw new Error("calling transform done when still transforming");return r.push(null)}module.exports=Transform;var Duplex=require("./_stream_duplex"),util=require("core-util-is");util.inherits=require("inherits"),util.inherits(Transform,Duplex),Transform.prototype.push=function(r,t){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,r,t)},Transform.prototype._transform=function(r,t,n){throw new Error("not implemented")},Transform.prototype._write=function(r,t,n){var e=this._transformState;if(e.writecb=n,e.writechunk=r,e.writeencoding=t,!e.transforming){var i=this._readableState;(e.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},Transform.prototype._read=function(r){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};
19234
19235},{"./_stream_duplex":77,"core-util-is":28,"inherits":35}],81:[function(require,module,exports){
19236(function (process){
19237"use strict";function nop(){}function WriteReq(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}function WritableState(e,t){Duplex=Duplex||require("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,t instanceof Duplex&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){onwrite(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this),this.corkedRequestsFree.next=new CorkedRequest(this)}function Writable(e){return Duplex=Duplex||require("./_stream_duplex"),this instanceof Writable||this instanceof Duplex?(this._writableState=new WritableState(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),void Stream.call(this)):new Writable(e)}function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r),processNextTick(t,r)}function validChunk(e,t,r,i){var n=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var s=new TypeError("Invalid non-string/buffer chunk");e.emit("error",s),processNextTick(i,s),n=!1}return n}function decodeChunk(e,t,r){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new Buffer(t,r)),t}function writeOrBuffer(e,t,r,i,n){r=decodeChunk(t,r,i),Buffer.isBuffer(r)&&(i="buffer");var s=t.objectMode?1:r.length;t.length+=s;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest=new WriteReq(r,i,n),u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else doWrite(e,t,!1,s,r,i,n);return f}function doWrite(e,t,r,i,n,s,f){t.writelen=i,t.writecb=f,t.writing=!0,t.sync=!0,r?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function onwriteError(e,t,r,i,n){--t.pendingcb,r?processNextTick(n,i):n(i),e._writableState.errorEmitted=!0,e.emit("error",i)}function onwriteStateUpdate(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function onwrite(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(onwriteStateUpdate(r),t)onwriteError(e,r,i,t,n);else{var s=needFinish(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||clearBuffer(e,r),i?asyncWrite(afterWrite,e,r,s,n):afterWrite(e,r,s,n)}}function afterWrite(e,t,r,i){r||onwriteDrain(e,t),t.pendingcb--,i(),finishMaybe(e,t)}function onwriteDrain(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function clearBuffer(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var f=0;r;)n[f]=r,r=r.next,f+=1;doWrite(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=s.next,s.next=null}else{for(;r;){var u=r.chunk,o=r.encoding,a=r.callback,c=t.objectMode?1:u.length;if(doWrite(e,t,!1,c,u,o,a),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function needFinish(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function prefinish(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function finishMaybe(e,t){var r=needFinish(t);return r&&(0===t.pendingcb?(prefinish(e,t),t.finished=!0,e.emit("finish")):prefinish(e,t)),r}function endWritable(e,t,r){t.ending=!0,finishMaybe(e,t),r&&(t.finished?processNextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function CorkedRequest(e){var t=this;this.next=null,this.entry=null,this.finish=function(r){var i=t.entry;for(t.entry=null;i;){var n=i.callback;e.pendingcb--,n(r),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}module.exports=Writable;var processNextTick=require("process-nextick-args"),asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:processNextTick,Buffer=require("buffer").Buffer;Writable.WritableState=WritableState;var util=require("core-util-is");util.inherits=require("inherits");var internalUtil={deprecate:require("util-deprecate")},Stream;!function(){try{Stream=require("stream")}catch(e){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer;util.inherits(Writable,Stream);var Duplex;WritableState.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var Duplex;Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},Writable.prototype.write=function(e,t,r){var i=this._writableState,n=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=nop),i.ended?writeAfterEnd(this,r):validChunk(this,i,e,r)&&(i.pendingcb++,n=writeOrBuffer(this,i,e,t,r)),n},Writable.prototype.cork=function(){var e=this._writableState;e.corked++},Writable.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||clearBuffer(this,e))},Writable.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},Writable.prototype._write=function(e,t,r){r(new Error("not implemented"))},Writable.prototype._writev=null,Writable.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||endWritable(this,i,r)};
19238
19239}).call(this,require('_process'))
19240
19241},{"./_stream_duplex":77,"_process":71,"buffer":25,"core-util-is":28,"events":32,"inherits":35,"process-nextick-args":70,"stream":86,"util-deprecate":95}],82:[function(require,module,exports){
19242module.exports=require("./lib/_stream_passthrough.js");
19243
19244},{"./lib/_stream_passthrough.js":78}],83:[function(require,module,exports){
19245var Stream=function(){try{return require("stream")}catch(r){}}();exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=Stream||exports,exports.Readable=exports,exports.Writable=require("./lib/_stream_writable.js"),exports.Duplex=require("./lib/_stream_duplex.js"),exports.Transform=require("./lib/_stream_transform.js"),exports.PassThrough=require("./lib/_stream_passthrough.js");
19246
19247},{"./lib/_stream_duplex.js":77,"./lib/_stream_passthrough.js":78,"./lib/_stream_readable.js":79,"./lib/_stream_transform.js":80,"./lib/_stream_writable.js":81,"stream":86}],84:[function(require,module,exports){
19248module.exports=require("./lib/_stream_transform.js");
19249
19250},{"./lib/_stream_transform.js":80}],85:[function(require,module,exports){
19251module.exports=require("./lib/_stream_writable.js");
19252
19253},{"./lib/_stream_writable.js":81}],86:[function(require,module,exports){
19254function Stream(){EE.call(this)}module.exports=Stream;var EE=require("events").EventEmitter,inherits=require("inherits");inherits(Stream,EE),Stream.Readable=require("readable-stream/readable.js"),Stream.Writable=require("readable-stream/writable.js"),Stream.Duplex=require("readable-stream/duplex.js"),Stream.Transform=require("readable-stream/transform.js"),Stream.PassThrough=require("readable-stream/passthrough.js"),Stream.Stream=Stream,Stream.prototype.pipe=function(e,r){function t(r){e.writable&&!1===e.write(r)&&m.pause&&m.pause()}function n(){m.readable&&m.resume&&m.resume()}function a(){u||(u=!0,e.end())}function o(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function i(e){if(s(),0===EE.listenerCount(this,"error"))throw e}function s(){m.removeListener("data",t),e.removeListener("drain",n),m.removeListener("end",a),m.removeListener("close",o),m.removeListener("error",i),e.removeListener("error",i),m.removeListener("end",s),m.removeListener("close",s),e.removeListener("close",s)}var m=this;m.on("data",t),e.on("drain",n),e._isStdio||r&&r.end===!1||(m.on("end",a),m.on("close",o));var u=!1;return m.on("error",i),e.on("error",i),m.on("end",s),m.on("close",s),e.on("close",s),e.emit("pipe",m),e};
19255
19256},{"events":32,"inherits":35,"readable-stream/duplex.js":76,"readable-stream/passthrough.js":82,"readable-stream/readable.js":83,"readable-stream/transform.js":84,"readable-stream/writable.js":85}],87:[function(require,module,exports){
19257(function (global){
19258var ClientRequest=require("./lib/request"),extend=require("xtend"),statusCodes=require("builtin-status-codes"),url=require("url"),http=exports;http.request=function(t,e){t="string"==typeof t?url.parse(t):extend(t);var r=-1===global.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||r,o=t.hostname||t.host,n=t.port,u=t.path||"/";o&&-1!==o.indexOf(":")&&(o="["+o+"]"),t.url=(o?s+"//"+o:"")+(n?":"+n:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var C=new ClientRequest(t);return e&&C.on("response",e),C},http.get=function(t,e){var r=http.request(t,e);return r.end(),r},http.Agent=function(){},http.Agent.defaultMaxSockets=4,http.STATUS_CODES=statusCodes,http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"];
19259
19260}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19261
19262},{"./lib/request":89,"builtin-status-codes":26,"url":93,"xtend":98}],88:[function(require,module,exports){
19263(function (global){
19264function checkTypeSupport(e){try{return xhr.responseType=e,xhr.responseType===e}catch(r){}return!1}function isFunction(e){return"function"==typeof e}exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableByteStream),exports.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),exports.blobConstructor=!0}catch(e){}var xhr=new global.XMLHttpRequest;xhr.open("GET",global.location.host?"/":"https://example.com");var haveArrayBuffer="undefined"!=typeof global.ArrayBuffer,haveSlice=haveArrayBuffer&&isFunction(global.ArrayBuffer.prototype.slice);exports.arraybuffer=haveArrayBuffer&&checkTypeSupport("arraybuffer"),exports.msstream=!exports.fetch&&haveSlice&&checkTypeSupport("ms-stream"),exports.mozchunkedarraybuffer=!exports.fetch&&haveArrayBuffer&&checkTypeSupport("moz-chunked-arraybuffer"),exports.overrideMimeType=isFunction(xhr.overrideMimeType),exports.vbArray=isFunction(global.VBArray),xhr=null;
19265
19266}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19267
19268},{}],89:[function(require,module,exports){
19269(function (process,global,Buffer){
19270function decideMode(e){return capability.fetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&e?"arraybuffer":capability.vbArray&&e?"text:vbarray":"text"}function statusValid(e){try{var t=e.status;return null!==t&&0!==t}catch(r){return!1}}var capability=require("./capability"),inherits=require("inherits"),response=require("./response"),stream=require("stream"),toArrayBuffer=require("to-arraybuffer"),IncomingMessage=response.IncomingMessage,rStates=response.readyStates,ClientRequest=module.exports=function(e){var t=this;stream.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new Buffer(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(r){t.setHeader(r,e.headers[r])});var r;if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!capability.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}t._mode=decideMode(r),t.on("finish",function(){t._onFinish()})};inherits(ClientRequest,stream.Writable),ClientRequest.prototype.setHeader=function(e,t){var r=this,o=e.toLowerCase();-1===unsafeHeaders.indexOf(o)&&(r._headers[o]={name:e,value:t})},ClientRequest.prototype.getHeader=function(e){var t=this;return t._headers[e.toLowerCase()].value},ClientRequest.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},ClientRequest.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t,r=e._opts,o=e._headers;if("POST"!==r.method&&"PUT"!==r.method&&"PATCH"!==r.method||(t=capability.blobConstructor?new global.Blob(e._body.map(function(e){return toArrayBuffer(e)}),{type:(o["content-type"]||{}).value||""}):Buffer.concat(e._body).toString()),"fetch"===e._mode){var n=Object.keys(o).map(function(e){return[o[e].name,o[e].value]});global.fetch(e._opts.url,{method:e._opts.method,headers:n,body:t,mode:"cors",credentials:r.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)})}else{var s=e._xhr=new global.XMLHttpRequest;try{s.open(e._opts.method,e._opts.url,!0)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}"responseType"in s&&(s.responseType=e._mode.split(":")[0]),"withCredentials"in s&&(s.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in s&&s.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(o).forEach(function(e){s.setRequestHeader(o[e].name,o[e].value)}),e._response=null,s.onreadystatechange=function(){switch(s.readyState){case rStates.LOADING:case rStates.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(s.onprogress=function(){e._onXHRProgress()}),s.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{s.send(t)}catch(i){return void process.nextTick(function(){e.emit("error",i)})}}}},ClientRequest.prototype._onXHRProgress=function(){var e=this;statusValid(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},ClientRequest.prototype._connect=function(){var e=this;e._destroyed||(e._response=new IncomingMessage(e._xhr,e._fetchResponse,e._mode),e.emit("response",e._response))},ClientRequest.prototype._write=function(e,t,r){var o=this;o._body.push(e),r()},ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},ClientRequest.prototype.end=function(e,t,r){var o=this;"function"==typeof e&&(r=e,e=void 0),stream.Writable.prototype.end.call(o,e,t,r)},ClientRequest.prototype.flushHeaders=function(){},ClientRequest.prototype.setTimeout=function(){},ClientRequest.prototype.setNoDelay=function(){},ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];
19271
19272}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
19273
19274},{"./capability":88,"./response":90,"_process":71,"buffer":25,"inherits":35,"stream":86,"to-arraybuffer":92}],90:[function(require,module,exports){
19275(function (process,global,Buffer){
19276var capability=require("./capability"),inherits=require("inherits"),stream=require("stream"),rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},IncomingMessage=exports.IncomingMessage=function(e,r,s){function a(){u.read().then(function(e){if(!t._destroyed){if(e.done)return void t.push(null);t.push(new Buffer(e.value)),a()}})}var t=this;if(stream.Readable.call(t),t._mode=s,t.headers={},t.rawHeaders=[],t.trailers={},t.rawTrailers=[],t.on("end",function(){process.nextTick(function(){t.emit("close")})}),"fetch"===s){t._fetchResponse=r,t.statusCode=r.status,t.statusMessage=r.statusText;for(var n,o,i=r.headers[Symbol.iterator]();n=(o=i.next()).value,!o.done;)t.headers[n[0].toLowerCase()]=n[1],t.rawHeaders.push(n[0],n[1]);var u=r.body.getReader();a()}else{t._xhr=e,t._pos=0,t.statusCode=e.status,t.statusMessage=e.statusText;var h=e.getAllResponseHeaders().split(/\r?\n/);if(h.forEach(function(e){var r=e.match(/^([^:]+):\s*(.*)/);if(r){var s=r[1].toLowerCase();"set-cookie"===s?(void 0===t.headers[s]&&(t.headers[s]=[]),t.headers[s].push(r[2])):void 0!==t.headers[s]?t.headers[s]+=", "+r[2]:t.headers[s]=r[2],t.rawHeaders.push(r[1],r[2])}}),t._charset="x-user-defined",!capability.overrideMimeType){var d=t.rawHeaders["mime-type"];if(d){var f=d.match(/;\s*charset=([^;])(;|$)/);f&&(t._charset=f[1].toLowerCase())}t._charset||(t._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable),IncomingMessage.prototype._read=function(){},IncomingMessage.prototype._onXHRProgress=function(){var e=this,r=e._xhr,s=null;switch(e._mode){case"text:vbarray":if(r.readyState!==rStates.DONE)break;try{s=new global.VBArray(r.responseBody).toArray()}catch(a){}if(null!==s){e.push(new Buffer(s));break}case"text":try{s=r.responseText}catch(a){e._mode="text:vbarray";break}if(s.length>e._pos){var t=s.substr(e._pos);if("x-user-defined"===e._charset){for(var n=new Buffer(t.length),o=0;o<t.length;o++)n[o]=255&t.charCodeAt(o);e.push(n)}else e.push(t,e._charset);e._pos=s.length}break;case"arraybuffer":if(r.readyState!==rStates.DONE)break;s=r.response,e.push(new Buffer(new Uint8Array(s)));break;case"moz-chunked-arraybuffer":if(s=r.response,r.readyState!==rStates.LOADING||!s)break;e.push(new Buffer(new Uint8Array(s)));break;case"ms-stream":if(s=r.response,r.readyState!==rStates.LOADING)break;var i=new global.MSStreamReader;i.onprogress=function(){i.result.byteLength>e._pos&&(e.push(new Buffer(new Uint8Array(i.result.slice(e._pos)))),e._pos=i.result.byteLength)},i.onload=function(){e.push(null)},i.readAsArrayBuffer(s)}e._xhr.readyState===rStates.DONE&&"ms-stream"!==e._mode&&e.push(null)};
19277
19278}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
19279
19280},{"./capability":88,"_process":71,"buffer":25,"inherits":35,"stream":86}],91:[function(require,module,exports){
19281function assertEncoding(e){if(e&&!isBufferEncoding(e))throw new Error("Unknown encoding: "+e)}function passThroughWrite(e){return e.toString(this.encoding)}function utf16DetectIncompleteChar(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=require("buffer").Buffer,isBufferEncoding=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;break;default:return void(this.write=passThroughWrite)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};StringDecoder.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var h=t.charCodeAt(t.length-1);if(!(h>=55296&&56319>=h)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,h=t.charCodeAt(i);if(h>=55296&&56319>=h){var c=this.surrogateSize;return this.charLength+=c,this.charReceived+=c,this.charBuffer.copy(this.charBuffer,c,0,c),e.copy(this.charBuffer,0,0,c),t.substring(0,i)}return t},StringDecoder.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}this.charReceived=t},StringDecoder.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,h=this.charBuffer,i=this.encoding;t+=h.slice(0,r).toString(i)}return t};
19282
19283},{"buffer":25}],92:[function(require,module,exports){
19284var Buffer=require("buffer").Buffer;module.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(Buffer.isBuffer(e)){for(var f=new Uint8Array(e.length),r=e.length,t=0;r>t;t++)f[t]=e[t];return f.buffer}throw new Error("Argument must be a Buffer")};
19285
19286},{"buffer":25}],93:[function(require,module,exports){
19287"use strict";function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function urlParse(t,s,e){if(t&&util.isObject(t)&&t instanceof Url)return t;var h=new Url;return h.parse(t,s,e),h}function urlFormat(t){return util.isString(t)&&(t=urlParse(t)),t instanceof Url?t.format():Url.prototype.format.call(t)}function urlResolve(t,s){return urlParse(t,!1,!0).resolve(s)}function urlResolveObject(t,s){return t?urlParse(t,!1,!0).resolveObject(s):s}var punycode=require("punycode"),util=require("./util");exports.parse=urlParse,exports.resolve=urlResolve,exports.resolveObject=urlResolveObject,exports.format=urlFormat,exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n"," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require("querystring");Url.prototype.parse=function(t,s,e){if(!util.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var h=t.indexOf("?"),r=-1!==h&&h<t.indexOf("#")?"?":"#",a=t.split(r),o=/\\/g;a[0]=a[0].replace(o,"/"),t=a.join(r);var n=t;if(n=n.trim(),!e&&1===t.split("#").length){var i=simplePathPattern.exec(n);if(i)return this.path=n,this.href=n,this.pathname=i[1],i[2]?(this.search=i[2],s?this.query=querystring.parse(this.search.substr(1)):this.query=this.search.substr(1)):s&&(this.search="",this.query={}),this}var l=protocolPattern.exec(n);if(l){l=l[0];var u=l.toLowerCase();this.protocol=u,n=n.substr(l.length)}if(e||l||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var p="//"===n.substr(0,2);!p||l&&hostlessProtocol[l]||(n=n.substr(2),this.slashes=!0)}if(!hostlessProtocol[l]&&(p||l&&!slashedProtocol[l])){for(var c=-1,f=0;f<hostEndingChars.length;f++){var m=n.indexOf(hostEndingChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}var v,g;g=-1===c?n.lastIndexOf("@"):n.lastIndexOf("@",c),-1!==g&&(v=n.slice(0,g),n=n.slice(g+1),this.auth=decodeURIComponent(v)),c=-1;for(var f=0;f<nonHostChars.length;f++){var m=n.indexOf(nonHostChars[f]);-1!==m&&(-1===c||c>m)&&(c=m)}-1===c&&(c=n.length),this.host=n.slice(0,c),n=n.slice(c),this.parseHost(),this.hostname=this.hostname||"";var y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y)for(var P=this.hostname.split(/\./),f=0,d=P.length;d>f;f++){var q=P[f];if(q&&!q.match(hostnamePartPattern)){for(var b="",O=0,j=q.length;j>O;O++)b+=q.charCodeAt(O)>127?"x":q[O];if(!b.match(hostnamePartPattern)){var x=P.slice(0,f),U=P.slice(f+1),C=q.match(hostnamePartStart);C&&(x.push(C[1]),U.unshift(C[2])),U.length&&(n="/"+U.join(".")+n),this.hostname=x.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=punycode.toASCII(this.hostname));var A=this.port?":"+this.port:"",w=this.hostname||"";this.host=w+A,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!unsafeProtocol[u])for(var f=0,d=autoEscape.length;d>f;f++){var E=autoEscape[f];if(-1!==n.indexOf(E)){var I=encodeURIComponent(E);I===E&&(I=escape(E)),n=n.split(E).join(I)}}var R=n.indexOf("#");-1!==R&&(this.hash=n.substr(R),n=n.slice(0,R));var S=n.indexOf("?");if(-1!==S?(this.search=n.substr(S),this.query=n.substr(S+1),s&&(this.query=querystring.parse(this.query)),n=n.slice(0,S)):s&&(this.search="",this.query={}),n&&(this.pathname=n),slashedProtocol[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var A=this.pathname||"",k=this.search||"";this.path=A+k}return this.href=this.format(),this},Url.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var s=this.protocol||"",e=this.pathname||"",h=this.hash||"",r=!1,a="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(a=querystring.stringify(this.query));var o=this.search||a&&"?"+a||"";return s&&":"!==s.substr(-1)&&(s+=":"),this.slashes||(!s||slashedProtocol[s])&&r!==!1?(r="//"+(r||""),e&&"/"!==e.charAt(0)&&(e="/"+e)):r||(r=""),h&&"#"!==h.charAt(0)&&(h="#"+h),o&&"?"!==o.charAt(0)&&(o="?"+o),e=e.replace(/[?#]/g,function(t){return encodeURIComponent(t)}),o=o.replace("#","%23"),s+r+e+o+h},Url.prototype.resolve=function(t){return this.resolveObject(urlParse(t,!1,!0)).format()},Url.prototype.resolveObject=function(t){if(util.isString(t)){var s=new Url;s.parse(t,!1,!0),t=s}for(var e=new Url,h=Object.keys(this),r=0;r<h.length;r++){var a=h[r];e[a]=this[a]}if(e.hash=t.hash,""===t.href)return e.href=e.format(),e;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),n=0;n<o.length;n++){var i=o[n];"protocol"!==i&&(e[i]=t[i])}return slashedProtocol[e.protocol]&&e.hostname&&!e.pathname&&(e.path=e.pathname="/"),e.href=e.format(),e}if(t.protocol&&t.protocol!==e.protocol){if(!slashedProtocol[t.protocol]){for(var l=Object.keys(t),u=0;u<l.length;u++){var p=l[u];e[p]=t[p]}return e.href=e.format(),e}if(e.protocol=t.protocol,t.host||hostlessProtocol[t.protocol])e.pathname=t.pathname;else{for(var c=(t.pathname||"").split("/");c.length&&!(t.host=c.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==c[0]&&c.unshift(""),c.length<2&&c.unshift(""),e.pathname=c.join("/")}if(e.search=t.search,e.query=t.query,e.host=t.host||"",e.auth=t.auth,e.hostname=t.hostname||t.host,e.port=t.port,e.pathname||e.search){var f=e.pathname||"",m=e.search||"";e.path=f+m}return e.slashes=e.slashes||t.slashes,e.href=e.format(),e}var v=e.pathname&&"/"===e.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=g||v||e.host&&t.pathname,P=y,d=e.pathname&&e.pathname.split("/")||[],c=t.pathname&&t.pathname.split("/")||[],q=e.protocol&&!slashedProtocol[e.protocol];if(q&&(e.hostname="",e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===c[0]?c[0]=t.host:c.unshift(t.host)),t.host=null),y=y&&(""===c[0]||""===d[0])),g)e.host=t.host||""===t.host?t.host:e.host,e.hostname=t.hostname||""===t.hostname?t.hostname:e.hostname,e.search=t.search,e.query=t.query,d=c;else if(c.length)d||(d=[]),d.pop(),d=d.concat(c),e.search=t.search,e.query=t.query;else if(!util.isNullOrUndefined(t.search)){if(q){e.hostname=e.host=d.shift();var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return e.search=t.search,e.query=t.query,util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e}if(!d.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var O=d.slice(-1)[0],j=(e.host||t.host||d.length>1)&&("."===O||".."===O)||""===O,x=0,U=d.length;U>=0;U--)O=d[U],"."===O?d.splice(U,1):".."===O?(d.splice(U,1),x++):x&&(d.splice(U,1),x--);if(!y&&!P)for(;x--;x)d.unshift("..");!y||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),j&&"/"!==d.join("/").substr(-1)&&d.push("");var C=""===d[0]||d[0]&&"/"===d[0].charAt(0);if(q){e.hostname=e.host=C?"":d.length?d.shift():"";var b=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;b&&(e.auth=b.shift(),e.host=e.hostname=b.shift())}return y=y||e.host&&d.length,y&&!C&&d.unshift(""),d.length?e.pathname=d.join("/"):(e.pathname=null,e.path=null),util.isNull(e.pathname)&&util.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=t.auth||e.auth,e.slashes=e.slashes||t.slashes,e.href=e.format(),e},Url.prototype.parseHost=function(){var t=this.host,s=portPattern.exec(t);s&&(s=s[0],":"!==s&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t)};
19288
19289},{"./util":94,"punycode":72,"querystring":75}],94:[function(require,module,exports){
19290"use strict";module.exports={isString:function(n){return"string"==typeof n},isObject:function(n){return"object"==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}};
19291
19292},{}],95:[function(require,module,exports){
19293(function (global){
19294function deprecate(r,e){function o(){if(!t){if(config("throwDeprecation"))throw new Error(e);config("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}if(config("noDeprecation"))return r;var t=!1;return o}function config(r){try{if(!global.localStorage)return!1}catch(e){return!1}var o=global.localStorage[r];return null==o?!1:"true"===String(o).toLowerCase()}module.exports=deprecate;
19295
19296}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19297
19298},{}],96:[function(require,module,exports){
19299module.exports=function(o){return o&&"object"==typeof o&&"function"==typeof o.copy&&"function"==typeof o.fill&&"function"==typeof o.readUInt8};
19300
19301},{}],97:[function(require,module,exports){
19302(function (process,global){
19303function inspect(e,r){var t={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),isBoolean(r)?t.showHidden=r:r&&exports._extend(t,r),isUndefined(t.showHidden)&&(t.showHidden=!1),isUndefined(t.depth)&&(t.depth=2),isUndefined(t.colors)&&(t.colors=!1),isUndefined(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=stylizeWithColor),formatValue(t,e,t.depth)}function stylizeWithColor(e,r){var t=inspect.styles[r];return t?"["+inspect.colors[t][0]+"m"+e+"["+inspect.colors[t][1]+"m":e}function stylizeNoColor(e,r){return e}function arrayToHash(e){var r={};return e.forEach(function(e,t){r[e]=!0}),r}function formatValue(e,r,t){if(e.customInspect&&r&&isFunction(r.inspect)&&r.inspect!==exports.inspect&&(!r.constructor||r.constructor.prototype!==r)){var n=r.inspect(t,e);return isString(n)||(n=formatValue(e,n,t)),n}var i=formatPrimitive(e,r);if(i)return i;var o=Object.keys(r),s=arrayToHash(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),isError(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return formatError(r);if(0===o.length){if(isFunction(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(isRegExp(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(isDate(r))return e.stylize(Date.prototype.toString.call(r),"date");if(isError(r))return formatError(r)}var c="",a=!1,l=["{","}"];if(isArray(r)&&(a=!0,l=["[","]"]),isFunction(r)){var p=r.name?": "+r.name:"";c=" [Function"+p+"]"}if(isRegExp(r)&&(c=" "+RegExp.prototype.toString.call(r)),isDate(r)&&(c=" "+Date.prototype.toUTCString.call(r)),isError(r)&&(c=" "+formatError(r)),0===o.length&&(!a||0==r.length))return l[0]+c+l[1];if(0>t)return isRegExp(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var f;return f=a?formatArray(e,r,t,s,o):o.map(function(n){return formatProperty(e,r,t,s,n,a)}),e.seen.pop(),reduceToSingleString(f,c,l)}function formatPrimitive(e,r){if(isUndefined(r))return e.stylize("undefined","undefined");if(isString(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}return isNumber(r)?e.stylize(""+r,"number"):isBoolean(r)?e.stylize(""+r,"boolean"):isNull(r)?e.stylize("null","null"):void 0}function formatError(e){return"["+Error.prototype.toString.call(e)+"]"}function formatArray(e,r,t,n,i){for(var o=[],s=0,u=r.length;u>s;++s)hasOwnProperty(r,String(s))?o.push(formatProperty(e,r,t,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(formatProperty(e,r,t,n,i,!0))}),o}function formatProperty(e,r,t,n,i,o){var s,u,c;if(c=Object.getOwnPropertyDescriptor(r,i)||{value:r[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),hasOwnProperty(n,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=isNull(t)?formatValue(e,c.value,null):formatValue(e,c.value,t-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),isUndefined(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function reduceToSingleString(e,r,t){var n=0,i=e.reduce(function(e,r){return n++,r.indexOf("\n")>=0&&n++,e+r.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(""===r?"":r+"\n ")+" "+e.join(",\n ")+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function isArray(e){return Array.isArray(e)}function isBoolean(e){return"boolean"==typeof e}function isNull(e){return null===e}function isNullOrUndefined(e){return null==e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isSymbol(e){return"symbol"==typeof e}function isUndefined(e){return void 0===e}function isRegExp(e){return isObject(e)&&"[object RegExp]"===objectToString(e)}function isObject(e){return"object"==typeof e&&null!==e}function isDate(e){return isObject(e)&&"[object Date]"===objectToString(e)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(e){return"function"==typeof e}function isPrimitive(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function objectToString(e){return Object.prototype.toString.call(e)}function pad(e){return 10>e?"0"+e.toString(10):e.toString(10)}function timestamp(){var e=new Date,r=[pad(e.getHours()),pad(e.getMinutes()),pad(e.getSeconds())].join(":");return[e.getDate(),months[e.getMonth()],r].join(" ")}function hasOwnProperty(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var formatRegExp=/%[sdj%]/g;exports.format=function(e){if(!isString(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(inspect(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,i=n.length,o=String(e).replace(formatRegExp,function(e){if("%%"===e)return"%";if(t>=i)return e;switch(e){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(r){return"[Circular]"}default:return e}}),s=n[t];i>t;s=n[++t])o+=isNull(s)||!isObject(s)?" "+s:" "+inspect(s);return o},exports.deprecate=function(e,r){function t(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(e,r).apply(this,arguments)};if(process.noDeprecation===!0)return e;var n=!1;return t};var debugs={},debugEnviron;exports.debuglog=function(e){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!debugs[e])if(new RegExp("\\b"+e+"\\b","i").test(debugEnviron)){var r=process.pid;debugs[e]=function(){var t=exports.format.apply(exports,arguments);console.error("%s %d: %s",e,r,t)}}else debugs[e]=function(){};return debugs[e]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=require("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=require("inherits"),exports._extend=function(e,r){if(!r||!isObject(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e};
19304
19305}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
19306
19307},{"./support/isBuffer":96,"_process":71,"inherits":35}],98:[function(require,module,exports){
19308function extend(){for(var r={},e=0;e<arguments.length;e++){var t=arguments[e];for(var n in t)hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;
19309
19310},{}]},{},[3])(3)
19311});
19312</script>
19313
19314 <script>
19315// https://github.com/isaacs/json-stringify-safe v5.0.1
19316function stringify(obj, replacer, spaces, cycleReplacer) {
19317 return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
19318}
19319
19320function serializer(replacer, cycleReplacer) {
19321 var stack = [], keys = []
19322
19323 if (cycleReplacer == null) cycleReplacer = function(key, value) {
19324 if (stack[0] === value) return "[Circular ~]"
19325 return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"
19326 }
19327
19328 return function(key, value) {
19329 if (stack.length > 0) {
19330 var thisPos = stack.indexOf(this)
19331 ~thisPos ? stack.splice(thisPos + 1) : stack.push(this)
19332 ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key)
19333 if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value)
19334 }
19335 else stack.push(value)
19336
19337 return replacer == null ? value : replacer.call(this, key, value)
19338 }
19339}
19340</script>
19341
19342 <script>
19343/* Web Font Loader v1.6.24 - (c) Adobe Systems, Google. License: Apache 2.0 */
19344(function(){function aa(a,b,d){return a.call.apply(a.bind,arguments)}function ba(a,b,d){if(!a)throw Error();if(2<arguments.length){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}return function(){return a.apply(b,arguments)}}function p(a,b,d){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,d,c){b=a.c.createElement(b);if(d)for(var e in d)d.hasOwnProperty(e)&&("style"==e?b.style.cssText=d[e]:b.setAttribute(e,d[e]));c&&b.appendChild(a.c.createTextNode(c));return b}function u(a,b,d){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(d,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
19345function w(a,b,d){b=b||[];d=d||[];for(var c=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<c.length;g+=1)if(b[e]===c[g]){f=!0;break}f||c.push(b[e])}b=[];for(e=0;e<c.length;e+=1){f=!1;for(g=0;g<d.length;g+=1)if(c[e]===d[g]){f=!0;break}f||b.push(c[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var d=a.className.split(/\s+/),c=0,e=d.length;c<e;c++)if(d[c]==b)return!0;return!1}
19346function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
19347function A(a,b,d){function c(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:"stylesheet",href:b,media:"all"});var e=!1,f=!0,g=null,k=d||null;da?(b.onload=function(){e=!0;c()},b.onerror=function(){e=!0;g=Error("Stylesheet failed to load");c()}):setTimeout(function(){e=!0;c()},0);u(a,"head",b)}
19348function B(a,b,d,c){var e=a.c.getElementsByTagName("head")[0];if(e){var f=t(a,"script",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(g=!0,d&&d(null),f.onload=f.onreadystatechange=null,"HEAD"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,d&&d(Error("Script load timeout")))},c||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||"-"}G.prototype.c=function(a){for(var b=[],d=0;d<arguments.length;d++)b.push(arguments[d].replace(/[\W_]+/g,"").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a="n";var d=(b||"n4").match(/^([nio])([1-9])$/i);d&&(this.a=d[1],this.f=parseInt(d[2],10))}function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}function J(a){var b=[];a=a.split(/,\s*/);for(var d=0;d<a.length;d++){var c=a[d].replace(/['"]/g,"");-1!=c.indexOf(" ")||/^\d/.test(c)?b.push("'"+c+"'"):b.push(c)}return b.join(",")}function K(a){return a.a+a.f}function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic");return b}
19349function ga(a){var b=4,d="n",c=null;a&&((c=a.match(/(normal|oblique|italic)/i))&&c[1]&&(d=c[1].substr(0,1).toLowerCase()),(c=a.match(/([1-9]00|normal|bold)/i))&&c[1]&&(/bold/i.test(c[1])?b=7:/[1-9]00/.test(c[1])&&(b=parseInt(c[1].substr(0,1),10))));return d+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G("-");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),d=[],c=[a.a.c("wf","loading")];b||d.push(a.a.c("wf","inactive"));w(a.f,d,c)}L(a,"inactive")}function L(a,b,d){if(a.j&&a.h[b])if(d)a.h[b](d.c,K(d));else a.h[b]()};function ja(){this.c={}}function ka(a,b,d){var c=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&c.push(f(b[e],d))}return c};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":"true"},this.f)}function O(a){u(a.c,"body",a.a)}function P(a){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+J(a.c)+";"+("font-style:"+I(a)+";font-weight:"+(a.f+"00")+";")};function Q(a,b,d,c,e,f){this.g=a;this.j=b;this.a=c;this.c=d;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,d=q(),c=new Promise(function(c,e){function k(){q()-d>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?c():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,c){setTimeout(c,b.f)});Promise.race([e,c]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,d,c,e,f,g){this.v=a;this.B=b;this.c=d;this.a=c;this.s=g||"BESbswy";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+",serif",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+",sans-serif",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H("serif",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H("sans-serif",K(this.a));a=
19350P(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:"serif",C:"sans-serif"},T=null;function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f["sans-serif"]=this.o.a.offsetWidth;this.A=q();la(this)};
19351function ma(a,b,d){for(var c in S)if(S.hasOwnProperty(c)&&b===a.f[S[c]]&&d===a.f[S[c]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,d=a.h.a.offsetWidth,c;(c=b===a.f.serif&&d===a.f["sans-serif"])||(c=U()&&ma(a,b,d));c?q()-a.A>=a.w?U()&&ma(a,b,d)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,d){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=d}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c("wf",a.c,K(a).toString(),"active")],[b.a.c("wf",a.c,K(a).toString(),"loading"),b.a.c("wf",a.c,K(a).toString(),"inactive")]);L(b,"fontactive",a);this.o=!0;oa(this)};
19352W.prototype.h=function(a){var b=this.a;if(b.g){var d=y(b.f,b.a.c("wf",a.c,K(a).toString(),"active")),c=[],e=[b.a.c("wf",a.c,K(a).toString(),"loading")];d||c.push(b.a.c("wf",a.c,K(a).toString(),"inactive"));w(b.f,c,e)}L(b,"fontinactive",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active")],[a.a.c("wf","loading"),a.a.c("wf","inactive")]),L(a,"active")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};
19353function ra(a,b,d,c,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=c||null||{};if(0===d.length&&f)M(b.a);else{b.f+=d.length;f&&(b.j=f);var h,m=[];for(h=0;h<d.length;h++){var l=d[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c("wf",x.c,K(x).toString(),"loading")]);L(r,"fontloading",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,
19354n);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,d){var c=[],e=d.timeout;ia(b);var c=ka(a.a,d,a.c),f=new W(a.c,b,e);a.h=c.length;b=0;for(d=c.length;b<d;b++)c[b].load(function(b,c,d){ra(a,f,b,c,d)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,d){var c=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,"");return c+"//"+a+"/"+b+".js"+(d?"?v="+d:"")}
19355sa.prototype.load=function(a){function b(){if(e["__mti_fntLst"+d]){var c=e["__mti_fntLst"+d](),g=[],k;if(c)for(var h=0;h<c.length;h++){var m=c[h].fontfamily;void 0!=c[h].fontStyle&&void 0!=c[h].fontWeight?(k=c[h].fontStyle+c[h].fontWeight,g.push(new H(m,k))):g.push(new H(m))}a(g)}else setTimeout(function(){b()},50)}var d=this.a.projectId,c=this.a.version;if(d){var e=this.c.m;B(this.c,ta(this,d,c),function(c){c?a([]):b()}).id="__MonotypeAPIScript__"+d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,d,c=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(d=c.length;b<d;b++)A(this.c,c[b],D(g));var k=[];b=0;for(d=e.length;b<d;b++)if(c=e[b].split(":"),c[1])for(var h=c[1].split(","),m=0;m<h.length;m+=1)k.push(new H(c[0],h[m]));else k.push(new H(c[0]));F(g,function(){a(k,f)})};function va(a,b,d){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=d||""}var wa="//fonts.googleapis.com/css";function xa(a,b){for(var d=b.length,c=0;c<d;c++){var e=b[c].split(":");3==e.length&&a.f.push(e.pop());var f="";2==e.length&&""!=e[1]&&(f=":");a.a.push(e.join(f))}}
19356function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=a.c.indexOf("kit="))return a.c;for(var b=a.a.length,d=[],c=0;c<b;c++)d.push(a.a[c].replace(/ /g,"+"));b=a.c+"?family="+d.join("%7C");0<a.f.length&&(b+="&subset="+a.f.join(","));0<a.g.length&&(b+="&text="+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}
19357var Aa={latin:"BESbswy",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Ba={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Ca={i:"i",italic:"i",n:"n",normal:"n"},Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;
19358function Ea(a){for(var b=a.f.length,d=0;d<b;d++){var c=a.f[d].split(":"),e=c[0].replace(/\+/g," "),f=["n4"];if(2<=c.length){var g;var k=c[1];g=[];if(k)for(var k=k.split(","),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l="";else{l=n[2];l=null==l||""==l?"n":Ca[l];n=n[1];if(null==n||""==n)n="4";else var r=Ba[n],n=r?r:isNaN(n)?"4":n.substr(0,1);l=[l,n].join("")}}else l="";l&&g.push(l)}0<g.length&&(f=g);3==c.length&&(c=c[2],g=[],c=c?c.split(","):
19359g,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c<f.length;c+=1)a.a.push(new H(e,f[c]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,d=this.c,c=new va(this.a.api,z(d),this.a.text),e=this.a.families;xa(c,e);var f=new za(e);Ea(f);A(d,ya(c),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,d=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){b=d.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{d.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,d=this.c.m,c=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());
19360</script>
19361
19362 <script>
19363 var schemaWrapper = {};
19364 schemaWrapper.definitions = Object.assign({}, defs);
19365 defsParser = new $RefParser();
19366 defsParser.dereference(schemaWrapper).catch(function(err) {
19367 console.log(err);
19368 });
19369 </script>
19370 <script>
19371 $(document).ready(function () {
19372 $('.nav-tabs-examples').find('a:first').tab('show');
19373 $(this).scrollspy({ target: '#scrollingNav', offset: 18 });
19374 });
19375 </script>
19376</body>
19377</html>