This is an automated email from the ASF dual-hosted git repository. kittohoward pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git
commit 4ff1190d22b9c2d52d22d0016c94c893cffa299b Author: howardkitto <[email protected]> AuthorDate: Wed Jun 26 08:42:32 2019 +0100 remove swagger dir and add NOTICE file --- swagger/README.md | 0 swagger/favicon-16x16.png | Bin 665 -> 0 bytes swagger/favicon-32x32.png | Bin 628 -> 0 bytes swagger/index.html | 60 ----------------- swagger/oauth2-redirect.html | 67 ------------------- swagger/swagger-ui-bundle.js | 100 ---------------------------- swagger/swagger-ui-bundle.js.map | 1 - swagger/swagger-ui-standalone-preset.js | 14 ---- swagger/swagger-ui-standalone-preset.js.map | 1 - swagger/swagger-ui.css | 3 - swagger/swagger-ui.css.map | 1 - swagger/swagger-ui.js | 9 --- swagger/swagger-ui.js.map | 1 - 13 files changed, 257 deletions(-) diff --git a/swagger/README.md b/swagger/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/swagger/favicon-16x16.png b/swagger/favicon-16x16.png deleted file mode 100755 index 8b194e6..0000000 Binary files a/swagger/favicon-16x16.png and /dev/null differ diff --git a/swagger/favicon-32x32.png b/swagger/favicon-32x32.png deleted file mode 100755 index 249737f..0000000 Binary files a/swagger/favicon-32x32.png and /dev/null differ diff --git a/swagger/index.html b/swagger/index.html deleted file mode 100755 index ae05ed6..0000000 --- a/swagger/index.html +++ /dev/null @@ -1,60 +0,0 @@ -<!-- HTML for static distribution bundle build --> -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="UTF-8"> - <title>Swagger UI</title> - <link rel="stylesheet" type="text/css" href="./swagger-ui.css" > - <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> - <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> - <style> - html - { - box-sizing: border-box; - overflow: -moz-scrollbars-vertical; - overflow-y: scroll; - } - - *, - *:before, - *:after - { - box-sizing: inherit; - } - - body - { - margin:0; - background: #fafafa; - } - </style> - </head> - - <body> - <div id="swagger-ui"></div> - - <script src="./swagger-ui-bundle.js"> </script> - <script src="./swagger-ui-standalone-preset.js"> </script> - <script> - window.onload = function() { - // Begin Swagger UI call region - const ui = SwaggerUIBundle({ - url: "./swagger-config.yaml", - dom_id: '#swagger-ui', - deepLinking: true, - presets: [ - SwaggerUIBundle.presets.apis, - SwaggerUIStandalonePreset - ], - plugins: [ - SwaggerUIBundle.plugins.DownloadUrl - ], - layout: "StandaloneLayout" - }) - // End Swagger UI call region - - window.ui = ui - } - </script> - </body> -</html> diff --git a/swagger/oauth2-redirect.html b/swagger/oauth2-redirect.html deleted file mode 100755 index fb68399..0000000 --- a/swagger/oauth2-redirect.html +++ /dev/null @@ -1,67 +0,0 @@ -<!doctype html> -<html lang="en-US"> -<body onload="run()"> -</body> -</html> -<script> - 'use strict'; - function run () { - var oauth2 = window.opener.swaggerUIRedirectOauth2; - var sentState = oauth2.state; - var redirectUrl = oauth2.redirectUrl; - var isValid, qp, arr; - - if (/code|token|error/.test(window.location.hash)) { - qp = window.location.hash.substring(1); - } else { - qp = location.search.substring(1); - } - - arr = qp.split("&") - arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';}) - qp = qp ? JSON.parse('{' + arr.join() + '}', - function (key, value) { - return key === "" ? value : decodeURIComponent(value) - } - ) : {} - - isValid = qp.state === sentState - - if (( - oauth2.auth.schema.get("flow") === "accessCode"|| - oauth2.auth.schema.get("flow") === "authorizationCode" - ) && !oauth2.auth.code) { - if (!isValid) { - oauth2.errCb({ - authId: oauth2.auth.name, - source: "auth", - level: "warning", - message: "Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server" - }); - } - - if (qp.code) { - delete oauth2.state; - oauth2.auth.code = qp.code; - oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl}); - } else { - let oauthErrorMsg - if (qp.error) { - oauthErrorMsg = "["+qp.error+"]: " + - (qp.error_description ? qp.error_description+ ". " : "no accessCode received from the server. ") + - (qp.error_uri ? "More info: "+qp.error_uri : ""); - } - - oauth2.errCb({ - authId: oauth2.auth.name, - source: "auth", - level: "error", - message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server" - }); - } - } else { - oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid, redirectUrl: redirectUrl}); - } - window.close(); - } -</script> diff --git a/swagger/swagger-ui-bundle.js b/swagger/swagger-ui-bundle.js deleted file mode 100755 index 30e0b81..0000000 --- a/swagger/swagger-ui-bundle.js +++ /dev/null @@ -1,100 +0,0 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e, [...] -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijkl [...] -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh <[email protected]> <http://feross.org> - * @license MIT - */ -var r=n(528),o=n(529),i=n(262);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a stri [...] -/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ -/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ -!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=!0},function(e,t,n){var r=n(161),o=Math.min;e.export [...] -/*! - * @description Recursive object extending - * @author Viacheslav Lotsmanov <[email protected]> - * @license MIT - * - * The MIT License (MIT) - * - * Copyright (c) 2013-2018 Viacheslav Lotsmanov - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -function n(e){return e instanceof t||e instanceof Date||e instanceof RegExp}function r(e){if(e instanceof t){var n=t.alloc?t.alloc(e.length):new t(e.length);return e.copy(n),n}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}function o(e,t){return"__proto__"===t?void 0:e[t]}var i=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];v [...] -/** - * Checks if an event is supported in the current execution environment. - * - * NOTE: This will not work correctly for non-generic events such as `change`, - * `reset`, `load`, `error`, and `select`. - * - * Borrows from Modernizr. - * - * @param {string} eventNameSuffix Event name, e.g. "click". - * @param {?boolean} capture Check if the capture phase is supported. - * @return {boolean} True if the event is supported. - * @internal - * @license Modernizr 3.0.0pre (Custom Build) | MIT - */,e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},function(e,t,n){"use strict";var r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function o(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState( [...] -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ -var n=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){if(Array.isArray(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);t=[];for(var r in e)o(e,r)&&t.push(r);return t}function a(e){return-1===e.indexOf("/")&&-1 [...] -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ -var r=n(231),o=n(390),i=n(390);t.applyOperation=i.applyOperation,t.applyPatch=i.applyPatch,t.applyReducer=i.applyReducer,t.getValueByPointer=i.getValueByPointer,t.validate=i.validate,t.validator=i.validator;var a=n(231);t.JsonPatchError=a.PatchError,t.deepClone=a._deepClone,t.escapePathComponent=a.escapePathComponent,t.unescapePathComponent=a.unescapePathComponent;var u=new WeakMap,s=function(){return function(e){this.observers=new Map,this.obj=e}}(),l=function(){return function(e,t){thi [...] -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(i),s=o.decode||r,l=0;l<a.length;l++){var c=a[l],f=c.indexOf("=");if(!(f<0)){var p=c.substr(0,f).trim(),d=c.substr(++f,c.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==n[p]&&(n[p]=u(d,s))}}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||o;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeErro [...] -/*! - * repeat-string <https://github.com/jonschlinkert/repeat-string> - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT License. - */var r,o="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o=(o+=e).substr(0,n)}},function(e,t,n){var r=n(55);e.exports=function(e){return r(e).toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(4)),o=f(n(2)),i=f(n(3)), [...] -/*! - * Autolinker.js - * 0.15.3 - * - * Copyright(c) 2015 Gregory Jacobs <[email protected]> - * MIT Licensed. http://www.opensource.org/licenses/mit-license.php - * - * https://github.com/gregjacobs/Autolinker.js - */ -var e,t,n,r,o=function(e){o.Util.assign(this,e)};return o.prototype={constructor:o,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(e){for(var t=this.getHtmlParser().parse(e),n=0,r=[],o=0,i=t.length;o<i;o++){var a=t[o],u=a.getType(),s=a.getText();if("element"===u)"a"===a.getTagName()&&(a.isClosing()?n=Math.max(n-1,0):n++),r.push(s);else if("entity"===u)r.push(s);else if(0===n){var l=t [...] -//# sourceMappingURL=swagger-ui-bundle.js.map \ No newline at end of file diff --git a/swagger/swagger-ui-bundle.js.map b/swagger/swagger-ui-bundle.js.map deleted file mode 100755 index 01fe314..0000000 --- a/swagger/swagger-ui-bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 19203fb7b00b076abfac","webpack:///./node_modules/react/react.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/babel-runtime/helpers/classCallCheck.js","webpack:///./node_modules/babel-runtime/helpers/createClass.js","webpack:///./node_modules/babel-runtime/core-js/object/get-prototype-of.js","webpack:///./node_modules/babel-runtime/helpers/possibleConstructor [...] \ No newline at end of file diff --git a/swagger/swagger-ui-standalone-preset.js b/swagger/swagger-ui-standalone-preset.js deleted file mode 100755 index 1b0d640..0000000 --- a/swagger/swagger-ui-standalone-preset.js +++ /dev/null @@ -1,14 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerUIStandalonePreset=e():t.SwaggerUIStandalonePreset=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Obje [...] -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijkl [...] -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh <[email protected]> <http://feross.org> - * @license MIT - */ -var r=n(325),i=n(326),o=n(167);function u(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(u()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a stri [...] -//# sourceMappingURL=swagger-ui-standalone-preset.js.map \ No newline at end of file diff --git a/swagger/swagger-ui-standalone-preset.js.map b/swagger/swagger-ui-standalone-preset.js.map deleted file mode 100755 index 2d57708..0000000 --- a/swagger/swagger-ui-standalone-preset.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 8cd1fb190fc7f82ae5fe","webpack:///./node_modules/@kyleshockey/js-yaml/lib/js-yaml/type.js","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/library/modules/_core.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/core-js/modules/_string-html.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./nod [...] \ No newline at end of file diff --git a/swagger/swagger-ui.css b/swagger/swagger-ui.css deleted file mode 100755 index 7779aae..0000000 --- a/swagger/swagger-ui.css +++ /dev/null @@ -1,3 +0,0 @@ -.swagger-ui{ - /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */font-family:sans-serif;color:#3b4151}.swagger-ui html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure [...] -/*# sourceMappingURL=swagger-ui.css.map*/ \ No newline at end of file diff --git a/swagger/swagger-ui.css.map b/swagger/swagger-ui.css.map deleted file mode 100755 index 3e2402c..0000000 --- a/swagger/swagger-ui.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":"","file":"swagger-ui.css","sourceRoot":""} \ No newline at end of file diff --git a/swagger/swagger-ui.js b/swagger/swagger-ui.js deleted file mode 100755 index cd0a82b..0000000 --- a/swagger/swagger-ui.js +++ /dev/null @@ -1,9 +0,0 @@ -(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory();else if(typeof define==="function"&&define.amd)define([],factory);else if(typeof exports==="object")exports["SwaggerUICore"]=factory();else root["SwaggerUICore"]=factory()})(typeof self!=="undefined"?self:this,function(){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installe [...] -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh <[email protected]> <http://feross.org> - * @license MIT - */ -var base64=__webpack_require__(383);var ieee754=__webpack_require__(384);var isArray=__webpack_require__(385);exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;Buffer.TYPED_ARRAY_SUPPORT=global.TYPED_ARRAY_SUPPORT!==undefined?global.TYPED_ARRAY_SUPPORT:typedArraySupport();exports.kMaxLength=kMaxLength();function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return arr.foo()===42&&t [...] -//# sourceMappingURL=swagger-ui.js.map \ No newline at end of file diff --git a/swagger/swagger-ui.js.map b/swagger/swagger-ui.js.map deleted file mode 100755 index 78b63d5..0000000 --- a/swagger/swagger-ui.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 6cb5c7f86a6d6e7d420d","webpack:///external \"react\"","webpack:///external \"prop-types\"","webpack:///./node_modules/babel-runtime/helpers/classCallCheck.js","webpack:///./node_modules/babel-runtime/helpers/createClass.js","webpack:///./node_modules/babel-runtime/core-js/object/get-prototype-of.js","webpack:///./node_modules/babel-runtime/helpers/possibleConstructorReturn.js","webpack:// [...] \ No newline at end of file
