Comparing version 1.5.2 to 1.5.3
@@ -49,3 +49,3 @@ 'use strict'; | ||
return _extends({ | ||
type, | ||
type: type, | ||
noop: true | ||
@@ -60,3 +60,3 @@ }, rest); | ||
method: 'POST', | ||
body: (0, _objectAssign2.default)({}, params, { name }) | ||
body: (0, _objectAssign2.default)({}, params, { name: name }) | ||
}; | ||
@@ -68,3 +68,3 @@ }; | ||
type: 'remove-api', | ||
endpoint: { name: 'api', params: { name } }, | ||
endpoint: { name: 'api', params: { name: name } }, | ||
method: 'DELETE' | ||
@@ -77,3 +77,3 @@ }; | ||
type: 'update-api', | ||
endpoint: { name: 'api', params: { name } }, | ||
endpoint: { name: 'api', params: { name: name } }, | ||
method: 'PATCH', | ||
@@ -87,3 +87,3 @@ body: params | ||
type: 'add-api-plugin', | ||
endpoint: { name: 'api-plugins', params: { apiId, pluginName } }, | ||
endpoint: { name: 'api-plugins', params: { apiId: apiId, pluginName: pluginName } }, | ||
method: 'POST', | ||
@@ -97,3 +97,3 @@ body: (0, _objectAssign2.default)({}, params, { name: pluginName }) | ||
type: 'remove-api-plugin', | ||
endpoint: { name: 'api-plugin', params: { apiId, pluginId } }, | ||
endpoint: { name: 'api-plugin', params: { apiId: apiId, pluginId: pluginId } }, | ||
method: 'DELETE' | ||
@@ -106,3 +106,3 @@ }; | ||
type: 'update-api-plugin', | ||
endpoint: { name: 'api-plugin', params: { apiId, pluginId } }, | ||
endpoint: { name: 'api-plugin', params: { apiId: apiId, pluginId: pluginId } }, | ||
method: 'PATCH', | ||
@@ -116,3 +116,3 @@ body: params | ||
type: 'add-global-plugin', | ||
endpoint: { name: 'plugins', params: { pluginName } }, | ||
endpoint: { name: 'plugins', params: { pluginName: pluginName } }, | ||
method: 'POST', | ||
@@ -126,3 +126,3 @@ body: (0, _objectAssign2.default)({}, params, { name: pluginName }) | ||
type: 'remove-global-plugin', | ||
endpoint: { name: 'plugin', params: { pluginId } }, | ||
endpoint: { name: 'plugin', params: { pluginId: pluginId } }, | ||
method: 'DELETE' | ||
@@ -135,3 +135,3 @@ }; | ||
type: 'update-global-plugin', | ||
endpoint: { name: 'plugin', params: { pluginId } }, | ||
endpoint: { name: 'plugin', params: { pluginId: pluginId } }, | ||
method: 'PATCH', | ||
@@ -147,3 +147,3 @@ body: params | ||
method: 'POST', | ||
body: { username, custom_id } | ||
body: { username: username, custom_id: custom_id } | ||
}; | ||
@@ -155,3 +155,3 @@ } | ||
type: 'update-customer', | ||
endpoint: { name: 'consumer', params: { consumerId } }, | ||
endpoint: { name: 'consumer', params: { consumerId: consumerId } }, | ||
method: 'PATCH', | ||
@@ -165,3 +165,3 @@ body: params | ||
type: 'remove-customer', | ||
endpoint: { name: 'consumer', params: { consumerId } }, | ||
endpoint: { name: 'consumer', params: { consumerId: consumerId } }, | ||
method: 'DELETE' | ||
@@ -174,3 +174,3 @@ }; | ||
type: 'add-customer-credential', | ||
endpoint: { name: 'consumer-credentials', params: { consumerId, plugin } }, | ||
endpoint: { name: 'consumer-credentials', params: { consumerId: consumerId, plugin: plugin } }, | ||
method: 'POST', | ||
@@ -184,3 +184,3 @@ body: params | ||
type: 'update-customer-credential', | ||
endpoint: { name: 'consumer-credential', params: { consumerId, plugin, credentialId } }, | ||
endpoint: { name: 'consumer-credential', params: { consumerId: consumerId, plugin: plugin, credentialId: credentialId } }, | ||
method: 'PATCH', | ||
@@ -194,3 +194,3 @@ body: params | ||
type: 'remove-customer-credential', | ||
endpoint: { name: 'consumer-credential', params: { consumerId, plugin, credentialId } }, | ||
endpoint: { name: 'consumer-credential', params: { consumerId: consumerId, plugin: plugin, credentialId: credentialId } }, | ||
method: 'DELETE' | ||
@@ -203,3 +203,3 @@ }; | ||
type: 'add-customer-acls', | ||
endpoint: { name: 'consumer-acls', params: { consumerId } }, | ||
endpoint: { name: 'consumer-acls', params: { consumerId: consumerId } }, | ||
method: 'POST', | ||
@@ -215,5 +215,5 @@ body: { | ||
type: 'remove-customer-acls', | ||
endpoint: { name: 'consumer-acl', params: { consumerId, aclId } }, | ||
endpoint: { name: 'consumer-acl', params: { consumerId: consumerId, aclId: aclId } }, | ||
method: 'DELETE' | ||
}; | ||
} |
@@ -13,3 +13,3 @@ 'use strict'; | ||
method: 'POST', | ||
body: { key, cert } | ||
body: { key: key, cert: cert } | ||
}; | ||
@@ -21,3 +21,3 @@ }; | ||
type: 'remove-certificate', | ||
endpoint: { name: 'certificate', params: { certificateId } }, | ||
endpoint: { name: 'certificate', params: { certificateId: certificateId } }, | ||
method: 'DELETE' | ||
@@ -32,3 +32,3 @@ }; | ||
method: 'POST', | ||
body: { name, ssl_certificate_id } | ||
body: { name: name, ssl_certificate_id: ssl_certificate_id } | ||
}; | ||
@@ -40,5 +40,5 @@ }; | ||
type: 'remove-certificate-sni', | ||
endpoint: { name: 'certificate-sni', params: { sniName } }, | ||
endpoint: { name: 'certificate-sni', params: { sniName: sniName } }, | ||
method: 'DELETE' | ||
}; | ||
}; |
@@ -24,3 +24,3 @@ 'use strict'; | ||
method: 'POST', | ||
body: (0, _objectAssign2.default)({}, params, { name }) | ||
body: (0, _objectAssign2.default)({}, params, { name: name }) | ||
}; | ||
@@ -32,3 +32,3 @@ } | ||
type: 'remove-upstream', | ||
endpoint: { name: 'upstream', params: { name } }, | ||
endpoint: { name: 'upstream', params: { name: name } }, | ||
method: 'DELETE' | ||
@@ -41,3 +41,3 @@ }; | ||
type: 'update-upstream', | ||
endpoint: { name: 'upstream', params: { name } }, | ||
endpoint: { name: 'upstream', params: { name: name } }, | ||
method: 'PATCH', | ||
@@ -51,3 +51,3 @@ body: params | ||
type: 'add-upstream-target', | ||
endpoint: { name: 'upstream-targets', params: { upstreamId, targetName } }, | ||
endpoint: { name: 'upstream-targets', params: { upstreamId: upstreamId, targetName: targetName } }, | ||
method: 'POST', | ||
@@ -61,3 +61,3 @@ body: (0, _objectAssign2.default)({}, params, { target: targetName }) | ||
type: 'remove-upstream-target', | ||
endpoint: { name: 'upstream-targets', params: { upstreamId, targetName } }, | ||
endpoint: { name: 'upstream-targets', params: { upstreamId: upstreamId, targetName: targetName } }, | ||
method: 'POST', | ||
@@ -64,0 +64,0 @@ body: { target: targetName, weight: 0 } |
@@ -32,4 +32,4 @@ 'use strict'; | ||
return createApi({ | ||
router, | ||
ignoreConsumers, | ||
router: router, | ||
ignoreConsumers: ignoreConsumers, | ||
getPaginatedJson: cache ? getPaginatedJsonCache : getPaginatedJson | ||
@@ -45,3 +45,3 @@ }); | ||
return { | ||
router, | ||
router: router, | ||
fetchApis: function fetchApis() { | ||
@@ -54,3 +54,3 @@ return getPaginatedJson(router({ name: 'apis' })); | ||
fetchPlugins: function fetchPlugins(apiId) { | ||
return getPaginatedJson(router({ name: 'api-plugins', params: { apiId } })); | ||
return getPaginatedJson(router({ name: 'api-plugins', params: { apiId: apiId } })); | ||
}, | ||
@@ -61,6 +61,6 @@ fetchConsumers: function fetchConsumers() { | ||
fetchConsumerCredentials: function fetchConsumerCredentials(consumerId, plugin) { | ||
return getPaginatedJson(router({ name: 'consumer-credentials', params: { consumerId, plugin } })); | ||
return getPaginatedJson(router({ name: 'consumer-credentials', params: { consumerId: consumerId, plugin: plugin } })); | ||
}, | ||
fetchConsumerAcls: function fetchConsumerAcls(consumerId) { | ||
return getPaginatedJson(router({ name: 'consumer-acls', params: { consumerId } })); | ||
return getPaginatedJson(router({ name: 'consumer-acls', params: { consumerId: consumerId } })); | ||
}, | ||
@@ -71,6 +71,6 @@ fetchUpstreams: function fetchUpstreams() { | ||
fetchTargets: function fetchTargets(upstreamId) { | ||
return getPaginatedJson(router({ name: 'upstream-targets', params: { upstreamId } })); | ||
return getPaginatedJson(router({ name: 'upstream-targets', params: { upstreamId: upstreamId } })); | ||
}, | ||
fetchTargetsV11Active: function fetchTargetsV11Active(upstreamId) { | ||
return getPaginatedJson(router({ name: 'upstream-targets-active', params: { upstreamId } })); | ||
return getPaginatedJson(router({ name: 'upstream-targets-active', params: { upstreamId: upstreamId } })); | ||
}, | ||
@@ -90,3 +90,3 @@ fetchCertificates: function fetchCertificates() { | ||
return getPluginScheme(plugin, function (plugin) { | ||
return router({ name: 'plugins-scheme', params: { plugin } }); | ||
return router({ name: 'plugins-scheme', params: { plugin: plugin } }); | ||
}); | ||
@@ -145,3 +145,3 @@ })); | ||
if (!response.ok) { | ||
var error = new Error(`${uri}: ${response.status} ${response.statusText}`); | ||
var error = new Error(uri + ': ' + response.status + ' ' + response.statusText); | ||
error.response = response; | ||
@@ -148,0 +148,0 @@ |
@@ -55,3 +55,3 @@ 'use strict'; | ||
console.log(`Loading config ${_commander2.default.path}`); | ||
console.log('Loading config ' + _commander2.default.path); | ||
@@ -97,7 +97,7 @@ var config = (0, _configLoader2.default)(_commander2.default.path); | ||
console.log(`Apply config to ${host}`.green); | ||
console.log(('Apply config to ' + host).green); | ||
(0, _core2.default)(config, (0, _adminApi2.default)({ host, https, ignoreConsumers, cache }), _logger.screenLogger).catch(function (error) { | ||
console.error(`${error}`.red, '\n', error.stack); | ||
(0, _core2.default)(config, (0, _adminApi2.default)({ host: host, https: https, ignoreConsumers: ignoreConsumers, cache: cache }), _logger.screenLogger).catch(function (error) { | ||
console.error(('' + error).red, '\n', error.stack); | ||
process.exit(1); | ||
}); |
@@ -64,8 +64,8 @@ 'use strict'; | ||
(0, _readKongApi2.default)((0, _adminApi2.default)({ host: _commander2.default.host, https: _commander2.default.https, ignoreConsumers: _commander2.default.ignoreConsumers })).then(function (results) { | ||
return _extends({ host: _commander2.default.host, https: _commander2.default.https, headers }, results); | ||
return _extends({ host: _commander2.default.host, https: _commander2.default.https, headers: headers }, results); | ||
}).then((0, _prettyConfig.pretty)(_commander2.default.format)).then(function (config) { | ||
process.stdout.write(config + '\n'); | ||
}).catch(function (error) { | ||
console.error(`${error}`.red, '\n', error.stack); | ||
console.error(('' + error).red, '\n', error.stack); | ||
process.exit(1); | ||
}); |
@@ -7,2 +7,4 @@ 'use strict'; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
var _fs = require('fs'); | ||
@@ -33,3 +35,3 @@ | ||
if (!_fs2.default.existsSync(configPath)) { | ||
log.error(`Supplied --path '${configPath}' doesn't exist`.red); | ||
log.error(('Supplied --path \'' + configPath + '\' doesn\'t exist').red); | ||
return process.exit(1); | ||
@@ -50,3 +52,3 @@ } | ||
if (config === null || typeof config !== 'object' || Object.keys(config).length == 0) { | ||
if (config === null || (typeof config === 'undefined' ? 'undefined' : _typeof(config)) !== 'object' || Object.keys(config).length == 0) { | ||
log.error('Config file must export an object!\n' + CONFIG_SYNTAX_HELP); | ||
@@ -53,0 +55,0 @@ |
@@ -35,3 +35,3 @@ 'use strict'; | ||
if (false === schema.hasOwnProperty(name)) { | ||
throw new Error(`Unknown credential "${name}"`); | ||
throw new Error('Unknown credential "' + name + '"'); | ||
} | ||
@@ -44,6 +44,6 @@ | ||
if (schema.hasOwnProperty(name)) { | ||
throw new Error(`There is already a schema with name '${name}'`); | ||
throw new Error('There is already a schema with name \'' + name + '\''); | ||
} | ||
if (!val || !val.hasOwnProperty('id')) { | ||
throw new Error(`Credential schema ${name} should have a property named "id"`); | ||
throw new Error('Credential schema ' + name + ' should have a property named "id"'); | ||
} | ||
@@ -59,3 +59,3 @@ schema[name] = val; | ||
if (vals.length != 2) { | ||
throw new Error(`Use <pluginname>:<keyname> format in ${val}`); | ||
throw new Error('Use <pluginname>:<keyname> format in ' + val); | ||
} | ||
@@ -62,0 +62,0 @@ addSchema(vals[0], { id: vals[1] }); |
108
lib/core.js
@@ -105,3 +105,3 @@ 'use strict'; | ||
internalLogger.logger({ type: 'experimental-features', message: `Using experimental feature: local state`.blue.bold }); | ||
internalLogger.logger({ type: 'experimental-features', message: 'Using experimental feature: local state'.blue.bold }); | ||
_context2.next = 4; | ||
@@ -322,3 +322,3 @@ return (0, _readKongApi2.default)(adminApi); | ||
logger({ type: 'noop', params }); | ||
logger({ type: 'noop', params: params }); | ||
@@ -329,3 +329,3 @@ return _context4.abrupt('return', Promise.resolve('No-op')); | ||
logger({ type: 'request', params, uri: adminApi.router(params.endpoint) }); | ||
logger({ type: 'request', params: params, uri: adminApi.router(params.endpoint) }); | ||
@@ -339,3 +339,3 @@ return _context4.abrupt('return', adminApi.requestEndpoint(params.endpoint, params).then(function (response) { | ||
statusText: response.statusText, | ||
params | ||
params: params | ||
}, response.text()]); | ||
@@ -350,3 +350,3 @@ }).then(function (_ref5) { | ||
if (!response.ok) { | ||
var error = new Error(`${response.statusText}\n${content}`); | ||
var error = new Error(response.statusText + '\n' + content); | ||
error.response = response; | ||
@@ -417,3 +417,3 @@ | ||
(0, _invariant2.default)(api, `Unable to find api ${apiName}`); | ||
(0, _invariant2.default)(api, 'Unable to find api ' + apiName); | ||
@@ -425,3 +425,3 @@ return api; | ||
(0, _invariant2.default)(id, `API ${apiName} doesn't have an Id`); | ||
(0, _invariant2.default)(id, 'API ' + apiName + ' doesn\'t have an Id'); | ||
@@ -435,3 +435,3 @@ return id; | ||
(0, _invariant2.default)(plugin, `Unable to find global plugin ${pluginName} for consumer ${pluginConsumerID}`); | ||
(0, _invariant2.default)(plugin, 'Unable to find global plugin ' + pluginName + ' for consumer ' + pluginConsumerID); | ||
@@ -445,3 +445,3 @@ return plugin; | ||
(0, _invariant2.default)(plugin, `Unable to find plugin ${pluginName}`); | ||
(0, _invariant2.default)(plugin, 'Unable to find plugin ' + pluginName); | ||
@@ -453,3 +453,3 @@ return plugin; | ||
(0, _invariant2.default)(pluginId, `Unable to find plugin id for ${apiName} and ${pluginName}`); | ||
(0, _invariant2.default)(pluginId, 'Unable to find plugin id for ' + apiName + ' and ' + pluginName); | ||
@@ -461,3 +461,3 @@ return pluginId; | ||
(0, _invariant2.default)(globalPluginId, `Unable to find global plugin id ${pluginName}`); | ||
(0, _invariant2.default)(globalPluginId, 'Unable to find global plugin id ' + pluginName); | ||
@@ -499,3 +499,3 @@ return globalPluginId; | ||
getConsumer: function getConsumer(username) { | ||
(0, _invariant2.default)(username, `Username is required`); | ||
(0, _invariant2.default)(username, 'Username is required'); | ||
@@ -506,3 +506,3 @@ var consumer = consumers.find(function (c) { | ||
(0, _invariant2.default)(consumer, `Unable to find consumer ${username}`); | ||
(0, _invariant2.default)(consumer, 'Unable to find consumer ' + username); | ||
@@ -513,7 +513,7 @@ return consumer; | ||
getConsumerId: function getConsumerId(username) { | ||
(0, _invariant2.default)(username, `Username is required`); | ||
(0, _invariant2.default)(username, 'Username is required'); | ||
var consumerId = world.getConsumer(username)._info.id; | ||
(0, _invariant2.default)(consumerId, `Unable to find consumer id ${username} ${consumerId}`); | ||
(0, _invariant2.default)(consumerId, 'Unable to find consumer id ' + username + ' ' + consumerId); | ||
@@ -528,3 +528,3 @@ return consumerId; | ||
(0, _invariant2.default)(credential, `Unable to find consumer credential ${username} ${name}`); | ||
(0, _invariant2.default)(credential, 'Unable to find consumer credential ' + username + ' ' + name); | ||
@@ -539,3 +539,3 @@ return credential; | ||
(0, _invariant2.default)(acl, `Unable to find consumer acl ${username} ${groupName}`); | ||
(0, _invariant2.default)(acl, 'Unable to find consumer acl ' + username + ' ' + groupName); | ||
@@ -548,3 +548,3 @@ return acl; | ||
(0, _invariant2.default)(credentialId, `Unable to find consumer credential id ${username} ${name}`); | ||
(0, _invariant2.default)(credentialId, 'Unable to find consumer credential id ' + username + ' ' + name); | ||
@@ -557,3 +557,3 @@ return credentialId; | ||
(0, _invariant2.default)(aclId, `Unable to find consumer acl id ${username} ${groupName}`); | ||
(0, _invariant2.default)(aclId, 'Unable to find consumer acl id ' + username + ' ' + groupName); | ||
@@ -613,3 +613,3 @@ return aclId; | ||
(0, _invariant2.default)(upstream, `Unable to find upstream ${upstreamName}`); | ||
(0, _invariant2.default)(upstream, 'Unable to find upstream ' + upstreamName); | ||
@@ -621,3 +621,3 @@ return upstream; | ||
(0, _invariant2.default)(id, `Upstream ${upstreamName} doesn't have an Id`); | ||
(0, _invariant2.default)(id, 'Upstream ' + upstreamName + ' doesn\'t have an Id'); | ||
@@ -635,3 +635,3 @@ return id; | ||
(0, _invariant2.default)(target, `Unable to find target ${targetName}`); | ||
(0, _invariant2.default)(target, 'Unable to find target ' + targetName); | ||
@@ -680,3 +680,3 @@ return target; | ||
(0, _invariant2.default)(certificate, `Unable to find certificate for ${key.substr(1, 50)}`); | ||
(0, _invariant2.default)(certificate, 'Unable to find certificate for ' + key.substr(1, 50)); | ||
@@ -737,3 +737,3 @@ return certificate; | ||
(0, _invariant2.default)(credential.length <= 1, `consumer shouldn't have multiple ${name} credentials with ${idName} = ${attributes[idName]}`); | ||
(0, _invariant2.default)(credential.length <= 1, 'consumer shouldn\'t have multiple ' + name + ' credentials with ' + idName + ' = ' + attributes[idName]); | ||
@@ -756,3 +756,3 @@ return credential.length ? credential[0] : undefined; | ||
if (api.ensure == 'removed') { | ||
return world.hasApi(api.name) ? (0, _actions.removeApi)(api.name) : (0, _actions.noop)({ type: 'noop-api', api }); | ||
return world.hasApi(api.name) ? (0, _actions.removeApi)(api.name) : (0, _actions.noop)({ type: 'noop-api', api: api }); | ||
} | ||
@@ -762,3 +762,3 @@ | ||
if (world.isApiUpToDate(api)) { | ||
return (0, _actions.noop)({ type: 'noop-api', api }); | ||
return (0, _actions.noop)({ type: 'noop-api', api: api }); | ||
} | ||
@@ -783,3 +783,3 @@ | ||
if (['removed', 'present'].indexOf(ensure) === -1) { | ||
throw new Error(`Invalid ensure "${ensure}"`); | ||
throw new Error('Invalid ensure "' + ensure + '"'); | ||
} | ||
@@ -790,11 +790,11 @@ } | ||
if (false == api.hasOwnProperty('name')) { | ||
throw Error(`"Api name is required: ${JSON.stringify(api, null, ' ')}`); | ||
throw Error('"Api name is required: ' + JSON.stringify(api, null, ' ')); | ||
} | ||
if (false == api.hasOwnProperty('attributes')) { | ||
throw Error(`"${api.name}" api has to declare "upstream_url" attribute`); | ||
throw Error('"' + api.name + '" api has to declare "upstream_url" attribute'); | ||
} | ||
if (false == api.attributes.hasOwnProperty('upstream_url')) { | ||
throw Error(`"${api.name}" api has to declare "upstream_url" attribute`); | ||
throw Error('"' + api.name + '" api has to declare "upstream_url" attribute'); | ||
} | ||
@@ -819,3 +819,3 @@ } | ||
newPluginDef = _extends({}, plugin, { attributes: _extends({ config: _extends({ anonymous }, config) }, attributes) }); | ||
newPluginDef = _extends({}, plugin, { attributes: _extends({ config: _extends({ anonymous: anonymous }, config) }, attributes) }); | ||
} | ||
@@ -831,3 +831,3 @@ | ||
newPluginDef = _extends({}, plugin, { attributes: _extends({ consumer_id }, _attributes) }); | ||
newPluginDef = _extends({}, plugin, { attributes: _extends({ consumer_id: consumer_id }, _attributes) }); | ||
} | ||
@@ -850,3 +850,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-plugin', plugin }); | ||
return (0, _actions.noop)({ type: 'noop-plugin', plugin: plugin }); | ||
} | ||
@@ -856,3 +856,3 @@ | ||
if (world.isApiPluginUpToDate(apiName, plugin, consumerID)) { | ||
return (0, _actions.noop)({ type: 'noop-plugin', plugin }); | ||
return (0, _actions.noop)({ type: 'noop-plugin', plugin: plugin }); | ||
} | ||
@@ -879,3 +879,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-global-plugin', plugin }); | ||
return (0, _actions.noop)({ type: 'noop-global-plugin', plugin: plugin }); | ||
} | ||
@@ -885,3 +885,3 @@ | ||
if (world.isGlobalPluginUpToDate(plugin, consumerID)) { | ||
return (0, _actions.noop)({ type: 'noop-global-plugin', plugin }); | ||
return (0, _actions.noop)({ type: 'noop-global-plugin', plugin: plugin }); | ||
} | ||
@@ -906,3 +906,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-consumer', consumer }); | ||
return (0, _actions.noop)({ type: 'noop-consumer', consumer: consumer }); | ||
} | ||
@@ -918,3 +918,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-consumer', consumer }); | ||
return (0, _actions.noop)({ type: 'noop-consumer', consumer: consumer }); | ||
}; | ||
@@ -965,3 +965,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-credential', credential, credentialIdName }); | ||
return (0, _actions.noop)({ type: 'noop-credential', credential: credential, credentialIdName: credentialIdName }); | ||
} | ||
@@ -975,3 +975,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-credential', credential, credentialIdName: _credentialIdName }); | ||
return (0, _actions.noop)({ type: 'noop-credential', credential: credential, credentialIdName: _credentialIdName }); | ||
} | ||
@@ -990,7 +990,7 @@ | ||
if (false == credential.hasOwnProperty('attributes')) { | ||
throw Error(`${credential.name} has to declare attributes.${credentialIdName}`); | ||
throw Error(credential.name + ' has to declare attributes.' + credentialIdName); | ||
} | ||
if (false == credential.attributes.hasOwnProperty(credentialIdName)) { | ||
throw Error(`${credential.name} has to declare attributes.${credentialIdName}`); | ||
throw Error(credential.name + ' has to declare attributes.' + credentialIdName); | ||
} | ||
@@ -1003,3 +1003,3 @@ } | ||
if (false == acl.hasOwnProperty(aclIdName)) { | ||
throw Error(`ACLs has to declare property ${aclIdName}`); | ||
throw Error('ACLs has to declare property ' + aclIdName); | ||
} | ||
@@ -1029,7 +1029,7 @@ } | ||
return (0, _actions.noop)({ type: 'noop-acl', acl }); | ||
return (0, _actions.noop)({ type: 'noop-acl', acl: acl }); | ||
} | ||
if (world.hasConsumerAcl(username, acl.group)) { | ||
return (0, _actions.noop)({ type: 'noop-acl', acl }); | ||
return (0, _actions.noop)({ type: 'noop-acl', acl: acl }); | ||
} | ||
@@ -1051,3 +1051,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-upstream', upstream }); | ||
return (0, _actions.noop)({ type: 'noop-upstream', upstream: upstream }); | ||
} | ||
@@ -1057,3 +1057,3 @@ | ||
if (world.isUpstreamUpToDate(upstream)) { | ||
return (0, _actions.noop)({ type: 'noop-upstream', upstream }); | ||
return (0, _actions.noop)({ type: 'noop-upstream', upstream: upstream }); | ||
} | ||
@@ -1077,3 +1077,3 @@ | ||
return (0, _actions.noop)({ type: 'noop-target', target }); | ||
return (0, _actions.noop)({ type: 'noop-target', target: target }); | ||
} | ||
@@ -1083,3 +1083,3 @@ | ||
if (world.isUpstreamTargetUpToDate(upstreamName, target)) { | ||
return (0, _actions.noop)({ type: 'noop-target', target }); | ||
return (0, _actions.noop)({ type: 'noop-target', target: target }); | ||
} | ||
@@ -1100,3 +1100,3 @@ | ||
if (false == upstream.hasOwnProperty('name')) { | ||
throw Error(`Upstream name is required: ${JSON.stringify(upstream, null, ' ')}`); | ||
throw Error('Upstream name is required: ' + JSON.stringify(upstream, null, ' ')); | ||
} | ||
@@ -1116,3 +1116,3 @@ } | ||
return (0, _actions.noop)({ type: 'noop-certificate', identityClue }); | ||
return (0, _actions.noop)({ type: 'noop-certificate', identityClue: identityClue }); | ||
} | ||
@@ -1122,3 +1122,3 @@ | ||
if (world.isCertificateUpToDate(certificate)) { | ||
return (0, _actions.noop)({ type: 'noop-certificate', identityClue }); | ||
return (0, _actions.noop)({ type: 'noop-certificate', identityClue: identityClue }); | ||
} | ||
@@ -1148,7 +1148,7 @@ | ||
return (0, _actions.noop)({ type: 'noop-certificate-sni-removed', sni }); | ||
return (0, _actions.noop)({ type: 'noop-certificate-sni-removed', sni: sni }); | ||
} | ||
if (hasSNI) { | ||
return (0, _actions.noop)({ type: 'noop-certificate-sni', sni }); | ||
return (0, _actions.noop)({ type: 'noop-certificate-sni', sni: sni }); | ||
} | ||
@@ -1155,0 +1155,0 @@ |
@@ -19,2 +19,4 @@ 'use strict'; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; } | ||
@@ -58,3 +60,3 @@ | ||
targets = _context.sent; | ||
return _context.abrupt('return', _extends({}, item, { targets })); | ||
return _context.abrupt('return', _extends({}, item, { targets: targets })); | ||
@@ -166,3 +168,3 @@ case 4: | ||
plugins = _context4.sent; | ||
return _context4.abrupt('return', _extends({}, item, { plugins })); | ||
return _context4.abrupt('return', _extends({}, item, { plugins: plugins })); | ||
@@ -202,3 +204,3 @@ case 4: | ||
console.log(`Consumers with only custom_id not supported: ${consumer.custom_id}`); | ||
console.log('Consumers with only custom_id not supported: ' + consumer.custom_id); | ||
@@ -225,3 +227,3 @@ return _context5.abrupt('return', consumer); | ||
return _extends({}, acc, { [name]: credentials }); | ||
return _extends({}, acc, _defineProperty({}, name, credentials)); | ||
}, {}), | ||
@@ -258,3 +260,3 @@ acls: aclsFetched | ||
_context6.next = 21; | ||
return fetchUpstreamsWithTargets({ version, fetchUpstreams, fetchTargets: _semver2.default.gte(version, '0.12.0') ? fetchTargets : fetchTargetsV11Active }); | ||
return fetchUpstreamsWithTargets({ version: version, fetchUpstreams: fetchUpstreams, fetchTargets: _semver2.default.gte(version, '0.12.0') ? fetchTargets : fetchTargetsV11Active }); | ||
@@ -264,3 +266,3 @@ case 21: | ||
_context6.next = 24; | ||
return fetchCertificatesForVersion({ version, fetchCertificates }); | ||
return fetchCertificatesForVersion({ version: version, fetchCertificates: fetchCertificates }); | ||
@@ -274,4 +276,4 @@ case 24: | ||
upstreams: upstreamsWithTargets, | ||
certificates, | ||
version | ||
certificates: certificates, | ||
version: version | ||
}); | ||
@@ -278,0 +280,0 @@ |
@@ -23,3 +23,3 @@ 'use strict'; | ||
return censoredKeys.indexOf(key) === -1 ? value : `*****${value.slice(-4)}`; | ||
return censoredKeys.indexOf(key) === -1 ? value : '*****' + value.slice(-4); | ||
}; | ||
@@ -35,15 +35,15 @@ var censorLogData = function censorLogData(data) { | ||
var api = _ref.api; | ||
return console.log(`api ${api.name.bold} ${'is up to date'.bold.green}`); | ||
return console.log('api ' + api.name.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-plugin': function noopPlugin(_ref2) { | ||
var plugin = _ref2.plugin; | ||
return console.log(`- plugin ${plugin.name.bold} ${'is up to date'.bold.green}`); | ||
return console.log('- plugin ' + plugin.name.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-global-plugin': function noopGlobalPlugin(_ref3) { | ||
var plugin = _ref3.plugin; | ||
return console.log(`global plugin ${plugin.name.bold} ${'is up to date'.bold.green}`); | ||
return console.log('global plugin ' + plugin.name.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-consumer': function noopConsumer(_ref4) { | ||
var consumer = _ref4.consumer; | ||
return console.log(`consumer ${consumer.username.bold} ${'is up to date'.bold.green}`); | ||
return console.log('consumer ' + consumer.username.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
@@ -53,23 +53,23 @@ 'noop-credential': function noopCredential(_ref5) { | ||
credentialIdName = _ref5.credentialIdName; | ||
return console.log(`- credential ${credential.name.bold} with ${credentialIdName.bold}: ${censor('key', credential.attributes[credentialIdName]).bold} ${'is up to date'.bold.green}`); | ||
return console.log('- credential ' + credential.name.bold + ' with ' + credentialIdName.bold + ': ' + censor('key', credential.attributes[credentialIdName]).bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-upstream': function noopUpstream(_ref6) { | ||
var upstream = _ref6.upstream; | ||
return console.log(`upstream ${upstream.name.bold} ${'is up to date'.bold.green}`); | ||
return console.log('upstream ' + upstream.name.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-target': function noopTarget(_ref7) { | ||
var target = _ref7.target; | ||
return console.log(`target ${target.target.bold} ${'is up to date'.bold.green}`); | ||
return console.log('target ' + target.target.bold + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-certificate': function noopCertificate(_ref8) { | ||
var identityClue = _ref8.identityClue; | ||
return console.log(`certificate ${identityClue}... ${'is up to date'.bold.green}`); | ||
return console.log('certificate ' + identityClue + '... ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-certificate-sni': function noopCertificateSni(_ref9) { | ||
var sni = _ref9.sni; | ||
return console.log(`certificate sni ${sni.name} ${'is up to date'.bold.green}`); | ||
return console.log('certificate sni ' + sni.name + ' ' + 'is up to date'.bold.green); | ||
}, | ||
'noop-certificate-sni-removed': function noopCertificateSniRemoved(_ref10) { | ||
var sni = _ref10.sni; | ||
return console.log(`certificate sni ${sni.name} ${'is NOT present'.bold.green}`); | ||
return console.log('certificate sni ' + sni.name + ' ' + 'is NOT present'.bold.green); | ||
}, | ||
@@ -87,3 +87,3 @@ | ||
body = _ref11$params.body; | ||
return console.log(`\n${method.bold.blue}`, uri.blue, "\n", body ? censorLogData(body) : ''); | ||
return console.log('\n' + method.bold.blue, uri.blue, "\n", body ? censorLogData(body) : ''); | ||
}, | ||
@@ -95,3 +95,3 @@ response: function response(_ref12) { | ||
content = _ref12.content; | ||
return console.log(ok ? `${status} ${statusText.bold}`.green : `${status} ${statusText.bold}`.red, censorLogData(content)); | ||
return console.log(ok ? (status + ' ' + statusText.bold).green : (status + ' ' + statusText.bold).red, censorLogData(content)); | ||
}, | ||
@@ -105,3 +105,3 @@ debug: function debug() {}, | ||
var version = _ref14.version; | ||
return console.log(`Kong version: ${version}`); | ||
return console.log('Kong version: ' + version); | ||
}, | ||
@@ -108,0 +108,0 @@ unknown: function unknown(message) { |
@@ -17,8 +17,8 @@ "use strict"; | ||
return { | ||
cert, | ||
key, | ||
cert: cert, | ||
key: key, | ||
snis: (snis || []).map(function (name) { | ||
return { name }; | ||
return { name: name }; | ||
}), | ||
_info | ||
_info: _info | ||
}; | ||
@@ -25,0 +25,0 @@ }); |
@@ -19,10 +19,10 @@ "use strict"; | ||
return { | ||
name, | ||
name: name, | ||
attributes: { | ||
slots | ||
slots: slots | ||
}, | ||
_info: { | ||
id, | ||
created_at, | ||
orderlist | ||
id: id, | ||
created_at: created_at, | ||
orderlist: orderlist | ||
} | ||
@@ -38,3 +38,3 @@ }; | ||
return _extends({ name, targets: parseUpstreamTargets(upstream.targets) }, rest); | ||
return _extends({ name: name, targets: parseUpstreamTargets(upstream.targets) }, rest); | ||
}); | ||
@@ -52,10 +52,10 @@ }; | ||
return { | ||
target, | ||
target: target, | ||
attributes: { | ||
weight | ||
weight: weight | ||
}, | ||
_info: { | ||
id, | ||
upstream_id, | ||
created_at | ||
id: id, | ||
upstream_id: upstream_id, | ||
created_at: created_at | ||
} | ||
@@ -62,0 +62,0 @@ }; |
@@ -47,3 +47,3 @@ 'use strict'; | ||
return (0, _stateSelector2.default)({ | ||
_info: { version }, | ||
_info: { version: version }, | ||
apis: parseApis(state.apis, version), | ||
@@ -78,5 +78,5 @@ consumers: parseConsumers(state.consumers), | ||
return { | ||
username, | ||
custom_id, | ||
_info | ||
username: username, | ||
custom_id: custom_id, | ||
_info: _info | ||
}; | ||
@@ -90,3 +90,3 @@ }; | ||
return { group, _info }; | ||
return { group: group, _info: _info }; | ||
}; | ||
@@ -103,3 +103,3 @@ | ||
return _extends({}, parseConsumer(_extends({ username, custom_id }, _info)), { | ||
return _extends({}, parseConsumer(_extends({ username: username, custom_id: custom_id }, _info)), { | ||
acls: Array.isArray(acls) ? acls.map(parseAcl) : [], | ||
@@ -136,4 +136,4 @@ credentials: zip(Object.keys(credentials), Object.values(credentials)).map(parseCredential).reduce(function (acc, x) { | ||
name: credentialName, | ||
attributes, | ||
_info: { id, consumer_id, created_at } | ||
attributes: attributes, | ||
_info: { id: id, consumer_id: consumer_id, created_at: created_at } | ||
}; | ||
@@ -162,14 +162,14 @@ }); | ||
return { | ||
name, | ||
name: name, | ||
plugins: [], | ||
attributes: { | ||
request_host, | ||
request_path, | ||
strip_request_path, | ||
preserve_host, | ||
upstream_url | ||
request_host: request_host, | ||
request_path: request_path, | ||
strip_request_path: strip_request_path, | ||
preserve_host: preserve_host, | ||
upstream_url: upstream_url | ||
}, | ||
_info: { | ||
id, | ||
created_at | ||
id: id, | ||
created_at: created_at | ||
} | ||
@@ -198,20 +198,20 @@ }; | ||
return { | ||
name, | ||
name: name, | ||
attributes: { | ||
hosts, | ||
uris, | ||
methods, | ||
strip_uri, | ||
preserve_host, | ||
upstream_url, | ||
retries, | ||
upstream_connect_timeout, | ||
upstream_read_timeout, | ||
upstream_send_timeout, | ||
https_only, | ||
http_if_terminated | ||
hosts: hosts, | ||
uris: uris, | ||
methods: methods, | ||
strip_uri: strip_uri, | ||
preserve_host: preserve_host, | ||
upstream_url: upstream_url, | ||
retries: retries, | ||
upstream_connect_timeout: upstream_connect_timeout, | ||
upstream_read_timeout: upstream_read_timeout, | ||
upstream_send_timeout: upstream_send_timeout, | ||
https_only: https_only, | ||
http_if_terminated: http_if_terminated | ||
}, | ||
_info: { | ||
id, | ||
created_at | ||
id: id, | ||
created_at: created_at | ||
} | ||
@@ -227,3 +227,3 @@ }; | ||
return _extends({ name, plugins: parseApiPlugins(api.plugins) }, rest); | ||
return _extends({ name: name, plugins: parseApiPlugins(api.plugins) }, rest); | ||
}; | ||
@@ -250,13 +250,13 @@ }; | ||
return { | ||
name, | ||
name: name, | ||
attributes: { | ||
enabled, | ||
consumer_id, | ||
enabled: enabled, | ||
consumer_id: consumer_id, | ||
config: stripConfig(config) | ||
}, | ||
_info: { | ||
id, | ||
id: id, | ||
//api_id, | ||
consumer_id, | ||
created_at | ||
consumer_id: consumer_id, | ||
created_at: created_at | ||
} | ||
@@ -284,13 +284,13 @@ }; | ||
return { | ||
name, | ||
name: name, | ||
attributes: { | ||
enabled, | ||
consumer_id, | ||
enabled: enabled, | ||
consumer_id: consumer_id, | ||
config: stripConfig(config) | ||
}, | ||
_info: { | ||
id, | ||
api_id, | ||
consumer_id, | ||
created_at | ||
id: id, | ||
api_id: api_id, | ||
consumer_id: consumer_id, | ||
created_at: created_at | ||
} | ||
@@ -297,0 +297,0 @@ }; |
@@ -43,5 +43,5 @@ 'use strict'; | ||
return { | ||
name, | ||
attributes, | ||
_info: { id, consumer_id, created_at } | ||
name: name, | ||
attributes: attributes, | ||
_info: { id: id, consumer_id: consumer_id, created_at: created_at } | ||
}; | ||
@@ -48,0 +48,0 @@ }; |
@@ -59,3 +59,3 @@ 'use strict'; | ||
exports.default = combine({ | ||
_info, | ||
_info: _info, | ||
apis: _apis2.default, | ||
@@ -62,0 +62,0 @@ plugins: _plugins2.default, |
@@ -68,6 +68,6 @@ 'use strict'; | ||
exports.default = { | ||
addHeader, | ||
clearHeaders, | ||
get, | ||
request | ||
addHeader: addHeader, | ||
clearHeaders: clearHeaders, | ||
get: get, | ||
request: request | ||
}; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var protocol = https ? 'https' : 'http'; | ||
var adminApiRoot = `${protocol}://${host}`; | ||
var adminApiRoot = protocol + '://' + host; | ||
return function (_ref) { | ||
@@ -17,57 +17,57 @@ var name = _ref.name, | ||
case 'apis': | ||
return `${adminApiRoot}/apis`; | ||
return adminApiRoot + '/apis'; | ||
case 'api': | ||
return `${adminApiRoot}/apis/${params.name}`; | ||
return adminApiRoot + '/apis/' + params.name; | ||
case 'api-plugins': | ||
return `${adminApiRoot}/apis/${params.apiId}/plugins`; | ||
return adminApiRoot + '/apis/' + params.apiId + '/plugins'; | ||
case 'api-plugin': | ||
return `${adminApiRoot}/apis/${params.apiId}/plugins/${params.pluginId}`; | ||
return adminApiRoot + '/apis/' + params.apiId + '/plugins/' + params.pluginId; | ||
case 'consumers': | ||
return `${adminApiRoot}/consumers`; | ||
return adminApiRoot + '/consumers'; | ||
case 'consumer': | ||
return `${adminApiRoot}/consumers/${params.consumerId}`; | ||
return adminApiRoot + '/consumers/' + params.consumerId; | ||
case 'consumer-credentials': | ||
return `${adminApiRoot}/consumers/${params.consumerId}/${params.plugin}`; | ||
return adminApiRoot + '/consumers/' + params.consumerId + '/' + params.plugin; | ||
case 'consumer-credential': | ||
return `${adminApiRoot}/consumers/${params.consumerId}/${params.plugin}/${params.credentialId}`; | ||
return adminApiRoot + '/consumers/' + params.consumerId + '/' + params.plugin + '/' + params.credentialId; | ||
case 'consumer-acls': | ||
return `${adminApiRoot}/consumers/${params.consumerId}/acls`; | ||
return adminApiRoot + '/consumers/' + params.consumerId + '/acls'; | ||
case 'consumer-acl': | ||
return `${adminApiRoot}/consumers/${params.consumerId}/acls/${params.aclId}`; | ||
return adminApiRoot + '/consumers/' + params.consumerId + '/acls/' + params.aclId; | ||
case 'plugins': | ||
return `${adminApiRoot}/plugins`; | ||
return adminApiRoot + '/plugins'; | ||
case 'plugin': | ||
return `${adminApiRoot}/plugins/${params.pluginId}`; | ||
return adminApiRoot + '/plugins/' + params.pluginId; | ||
case 'plugins-enabled': | ||
return `${adminApiRoot}/plugins/enabled`; | ||
return adminApiRoot + '/plugins/enabled'; | ||
case 'plugins-scheme': | ||
return `${adminApiRoot}/plugins/schema/${params.plugin}`; | ||
return adminApiRoot + '/plugins/schema/' + params.plugin; | ||
case 'upstreams': | ||
return `${adminApiRoot}/upstreams`; | ||
return adminApiRoot + '/upstreams'; | ||
case 'upstream': | ||
return `${adminApiRoot}/upstreams/${params.name}`; | ||
return adminApiRoot + '/upstreams/' + params.name; | ||
case 'upstream-targets': | ||
return `${adminApiRoot}/upstreams/${params.upstreamId}/targets`; | ||
return adminApiRoot + '/upstreams/' + params.upstreamId + '/targets'; | ||
// Note: this uri must end with a slash for kong version 11 | ||
case 'upstream-targets-active': | ||
return `${adminApiRoot}/upstreams/${params.upstreamId}/targets/active/`; | ||
return adminApiRoot + '/upstreams/' + params.upstreamId + '/targets/active/'; | ||
case 'certificates': | ||
return `${adminApiRoot}/certificates`; | ||
return adminApiRoot + '/certificates'; | ||
case 'certificate': | ||
return `${adminApiRoot}/certificates/${params.certificateId}`; | ||
return adminApiRoot + '/certificates/' + params.certificateId; | ||
case 'certificate-snis': | ||
return `${adminApiRoot}/snis/`; | ||
return adminApiRoot + '/snis/'; | ||
case 'certificate-sni': | ||
return `${adminApiRoot}/snis/${params.sniName}`; | ||
return adminApiRoot + '/snis/' + params.sniName; | ||
case 'root': | ||
return `${adminApiRoot}`; | ||
return '' + adminApiRoot; | ||
default: | ||
throw new Error(`Unknown route "${name}"`); | ||
throw new Error('Unknown route "' + name + '"'); | ||
} | ||
}; | ||
} |
@@ -22,3 +22,3 @@ 'use strict'; | ||
(0, _invariant2.default)(consumer, `Unable to find a consumer for ${id}`); | ||
(0, _invariant2.default)(consumer, 'Unable to find a consumer for ' + id); | ||
@@ -43,6 +43,6 @@ return consumer; | ||
return _extends({ name, attributes: _extends({}, attributes, { config: _extends({ anonymous_username: username }, restOfConfig) }) }, plugin); | ||
return _extends({ name: name, attributes: _extends({}, attributes, { config: _extends({ anonymous_username: username }, restOfConfig) }) }, plugin); | ||
} | ||
return _extends({ name, attributes: _extends({}, attributes, { config }) }, plugin); | ||
return _extends({ name: name, attributes: _extends({}, attributes, { config: config }) }, plugin); | ||
}; | ||
@@ -58,3 +58,3 @@ | ||
if (!consumer_id) { | ||
return _extends({ name, attributes }, plugin); | ||
return _extends({ name: name, attributes: attributes }, plugin); | ||
} | ||
@@ -65,3 +65,3 @@ | ||
return _extends({ name, attributes: _extends({ username }, attributes) }, plugin); | ||
return _extends({ name: name, attributes: _extends({ username: username }, attributes) }, plugin); | ||
}; | ||
@@ -68,0 +68,0 @@ |
@@ -6,2 +6,5 @@ 'use strict'; | ||
}); | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
exports.normalize = normalize; | ||
@@ -11,3 +14,3 @@ exports.repeatableOptionCallback = repeatableOptionCallback; | ||
function normalize(attr) { | ||
if (attr === null || typeof attr !== 'object' || Object.prototype.toString.call(attr) === '[object Array]') { | ||
if (attr === null || (typeof attr === 'undefined' ? 'undefined' : _typeof(attr)) !== 'object' || Object.prototype.toString.call(attr) === '[object Array]') { | ||
return attr; | ||
@@ -14,0 +17,0 @@ } |
{ | ||
"name": "kongfig", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "A tool for Kong to allow declarative configuration.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/mybuilder/kongfig", |
Sorry, the diff of this file is not supported yet
576472
3985