From d82414bd07c1ad1964ca32dd29f1ffa1c1e3f396 Mon Sep 17 00:00:00 2001 From: nerim Date: Mon, 23 Jun 2025 11:57:42 +0200 Subject: [PATCH] Replacing '202x Ingram Micro inc.' for '2025 CloudBlue' in all files --- __mocks__/fileMock.js | 2 +- __mocks__/styleMock.js | 2 +- connect_ext_ppr/__init__.py | 2 +- connect_ext_ppr/events.py | 2 +- connect_ext_ppr/schemas.py | 2 +- connect_ext_ppr/static/index.8907dee66ebdfb4a3a16.js | 4 ++-- connect_ext_ppr/static/settings.bd5ea671e480c7aabff3.js | 2 +- connect_ext_ppr/webapp.py | 2 +- fileMock.js | 2 +- jest.config.js | 2 +- package.json | 2 +- styleMock.js | 2 +- tests/__init__.py | 2 +- tests/conftest.py | 2 +- tests/test_events.py | 2 +- ui/src/pages/index.js | 2 +- ui/src/pages/settings.js | 2 +- ui/src/utils.js | 2 +- webpack.config.js | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/__mocks__/fileMock.js b/__mocks__/fileMock.js index b2ccb8a..93df62f 100644 --- a/__mocks__/fileMock.js +++ b/__mocks__/fileMock.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ module.exports = 'test-file-stub'; diff --git a/__mocks__/styleMock.js b/__mocks__/styleMock.js index 6adc875..51a28b3 100644 --- a/__mocks__/styleMock.js +++ b/__mocks__/styleMock.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ module.exports = {}; diff --git a/connect_ext_ppr/__init__.py b/connect_ext_ppr/__init__.py index c14ed70..7debe99 100644 --- a/connect_ext_ppr/__init__.py +++ b/connect_ext_ppr/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # diff --git a/connect_ext_ppr/events.py b/connect_ext_ppr/events.py index 385faed..1fed6f7 100644 --- a/connect_ext_ppr/events.py +++ b/connect_ext_ppr/events.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # from connect.client import ClientError diff --git a/connect_ext_ppr/schemas.py b/connect_ext_ppr/schemas.py index efe542e..372b21d 100644 --- a/connect_ext_ppr/schemas.py +++ b/connect_ext_ppr/schemas.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # from datetime import datetime diff --git a/connect_ext_ppr/static/index.8907dee66ebdfb4a3a16.js b/connect_ext_ppr/static/index.8907dee66ebdfb4a3a16.js index 67f7222..c2ac4f2 100644 --- a/connect_ext_ppr/static/index.8907dee66ebdfb4a3a16.js +++ b/connect_ext_ppr/static/index.8907dee66ebdfb4a3a16.js @@ -2820,7 +2820,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.esm.js\");\n/* harmony import */ var portal_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! portal-vue */ \"./node_modules/portal-vue/dist/portal-vue.common.js\");\n/* harmony import */ var _App_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue */ \"./ui/src/pages/App.vue\");\n/* harmony import */ var _tools_filters_utcToLocal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../tools/filters/utcToLocal */ \"./ui/src/tools/filters/utcToLocal.js\");\n/* harmony import */ var _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @cloudblueconnect/connect-ui-toolkit */ \"./node_modules/@cloudblueconnect/connect-ui-toolkit/dist/index.js\");\n/* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/routes */ \"./ui/src/routes/index.js\");\n/* harmony import */ var _styles_app_styl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/styles/app.styl */ \"./ui/src/styles/app.styl\");\n/* harmony import */ var _styles_index_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../styles/index.css */ \"./ui/styles/index.css\");\n/*\nCopyright (c) 2023, Ingram Micro\nAll rights reserved.\n*/\n\n\n\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(portal_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vue_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n\n(0,_cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_3__[\"default\"])().then(toolkit => {\n const router = new vue_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"]({\n mode: 'hash',\n routes: _routes__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n });\n\n router.afterEach(() => {\n document.documentElement.scrollIntoView();\n });\n\n vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].filter('utcToLocal', _tools_filters_utcToLocal__WEBPACK_IMPORTED_MODULE_2__.utcToLocal);\n\n const app = new vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]({\n render: h => h(_App_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n props: { toolkit },\n }),\n\n router,\n });\n\n app.$mount('#app');\n});\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/pages/index.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.esm.js\");\n/* harmony import */ var portal_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! portal-vue */ \"./node_modules/portal-vue/dist/portal-vue.common.js\");\n/* harmony import */ var _App_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue */ \"./ui/src/pages/App.vue\");\n/* harmony import */ var _tools_filters_utcToLocal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../tools/filters/utcToLocal */ \"./ui/src/tools/filters/utcToLocal.js\");\n/* harmony import */ var _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @cloudblueconnect/connect-ui-toolkit */ \"./node_modules/@cloudblueconnect/connect-ui-toolkit/dist/index.js\");\n/* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/routes */ \"./ui/src/routes/index.js\");\n/* harmony import */ var _styles_app_styl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/styles/app.styl */ \"./ui/src/styles/app.styl\");\n/* harmony import */ var _styles_index_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../styles/index.css */ \"./ui/styles/index.css\");\n/*\nCopyright (c) 2025, CloudBlue\nAll rights reserved.\n*/\n\n\n\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(portal_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\nvue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].use(vue_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n\n(0,_cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_3__[\"default\"])().then(toolkit => {\n const router = new vue_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"]({\n mode: 'hash',\n routes: _routes__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n });\n\n router.afterEach(() => {\n document.documentElement.scrollIntoView();\n });\n\n vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].filter('utcToLocal', _tools_filters_utcToLocal__WEBPACK_IMPORTED_MODULE_2__.utcToLocal);\n\n const app = new vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]({\n render: h => h(_App_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n props: { toolkit },\n }),\n\n router,\n });\n\n app.$mount('#app');\n});\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/pages/index.js?"); /***/ }), @@ -2985,7 +2985,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ abortDeploymentRequest: () => (/* binding */ abortDeploymentRequest),\n/* harmony export */ createDeploymentConfigurations: () => (/* binding */ createDeploymentConfigurations),\n/* harmony export */ createDeploymentRequest: () => (/* binding */ createDeploymentRequest),\n/* harmony export */ deleteDeploymentConfiguration: () => (/* binding */ deleteDeploymentConfiguration),\n/* harmony export */ getCollectionAndTotal: () => (/* binding */ getCollectionAndTotal),\n/* harmony export */ getContentRange: () => (/* binding */ getContentRange),\n/* harmony export */ getDeployment: () => (/* binding */ getDeployment),\n/* harmony export */ getDeploymentBatches: () => (/* binding */ getDeploymentBatches),\n/* harmony export */ getDeploymentConfigurations: () => (/* binding */ getDeploymentConfigurations),\n/* harmony export */ getDeploymentMarketplaces: () => (/* binding */ getDeploymentMarketplaces),\n/* harmony export */ getDeploymentRequestFailedTasks: () => (/* binding */ getDeploymentRequestFailedTasks),\n/* harmony export */ getDeploymentRequestMarketplaces: () => (/* binding */ getDeploymentRequestMarketplaces),\n/* harmony export */ getDeploymentRequestTasks: () => (/* binding */ getDeploymentRequestTasks),\n/* harmony export */ getDeploymentRequests: () => (/* binding */ getDeploymentRequests),\n/* harmony export */ getDeployments: () => (/* binding */ getDeployments),\n/* harmony export */ getDeploymentsRequest: () => (/* binding */ getDeploymentsRequest),\n/* harmony export */ getDeploymentsRequests: () => (/* binding */ getDeploymentsRequests),\n/* harmony export */ getHeader: () => (/* binding */ getHeader),\n/* harmony export */ getIntIndex: () => (/* binding */ getIntIndex),\n/* harmony export */ getPPR: () => (/* binding */ getPPR),\n/* harmony export */ getPPRs: () => (/* binding */ getPPRs),\n/* harmony export */ getProductHubs: () => (/* binding */ getProductHubs),\n/* harmony export */ getProducts: () => (/* binding */ getProducts),\n/* harmony export */ regeneratePPR: () => (/* binding */ regeneratePPR),\n/* harmony export */ retryDeploymentRequest: () => (/* binding */ retryDeploymentRequest),\n/* harmony export */ uploadPPR: () => (/* binding */ uploadPPR)\n/* harmony export */ });\n/* harmony import */ var _tools_rest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/tools/rest */ \"./ui/src/tools/rest.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/pipe.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/prop.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/curry.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/either.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/length.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ~utils */ \"./ui/src/tools/utils.js\");\n/*\nCopyright (c) 2023, Ingram Micro\nAll rights reserved.\n*/\n\n\n\n\n\n\n\nconst getIntIndex = index => (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(index), parseInt);\n\nconst getHeader = (0,ramda__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((name, headers) => headers?.get(name));\n\nconst getContentRange = (0,ramda__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((directiv, str) => {\n const directives = {\n start: 2,\n end: 3,\n size: 4,\n };\n const pattern = /(\\w+) (\\d+)-(\\d+)\\/(\\d+)/g;\n\n return getIntIndex(directives[directiv])(pattern.exec(str));\n});\n\nconst getCollectionAndTotal = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.template)({\n collection: ['body'],\n total: (0,ramda__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(\n (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])('headers'), getHeader('content-range'), getContentRange('size')),\n (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])('body'), ramda__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n ),\n});\n\nconst fullResponseGet = async url => {\n const response = await _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(url, true);\n\n return getCollectionAndTotal(response);\n};\n\nconst prepareUrl = (baseUrl, params) => {\n const processedParams = new URLSearchParams(params).toString();\n\n return `${baseUrl}?${processedParams}`;\n};\n\nconst getDeployments = (params) => fullResponseGet(prepareUrl('/api/deployments', params));\n\nconst getDeployment = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${id}`);\n\nconst getDeploymentConfigurations = (id, params) => fullResponseGet(prepareUrl(`/api/deployments/${id}/configurations`, params));\n\nconst createDeploymentConfigurations = (id, data) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${id}/configurations`, data);\n\nconst getPPRs = (id, params) => fullResponseGet(prepareUrl(`/api/deployments/${id}/pprs`, params));\n\nconst getPPR = (deploymentId, id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${deploymentId}/pprs/${id}`);\n\nconst regeneratePPR = id => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${id}/pprs`, {});\n\nconst deleteDeploymentConfiguration = (deploymentId, configurationId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].delete(`/api/deployments/${deploymentId}/configurations/${configurationId}`);\n\nconst getDeploymentsRequests = params => fullResponseGet(prepareUrl('/api/deployments/requests', params));\n\nconst getDeploymentRequests = (deploymentId, params) => fullResponseGet(prepareUrl(`/api/deployments/${deploymentId}/requests`, params));\n\nconst getDeploymentsRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/requests/${id}`);\n\nconst uploadPPR = (deploymentId, {\n id,\n location,\n size,\n name,\n mimeType,\n description,\n}) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${deploymentId}/pprs`, {\n file: {\n id,\n location,\n size,\n name,\n mime_type: mimeType,\n },\n description,\n});\n\nconst getProducts = () => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get('/api/products');\n\nconst getProductHubs = (productId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/products/${productId}/hubs`);\n\n\n\nconst getDeploymentBatches = (deploymentId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${deploymentId}/pricing/batches`);\n\nconst getDeploymentRequestTasks = (requestId, params) => fullResponseGet(prepareUrl(`/api/deployments/requests/${requestId}/tasks`, params));\n\nconst getDeploymentRequestFailedTasks = (requestId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/requests/${requestId}/tasks?status=error`);\n\nconst createDeploymentRequest = (body) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post('/api/deployments/requests', body);\n\nconst abortDeploymentRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/requests/${id}/abort`);\n\nconst retryDeploymentRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/requests/${id}/retry`);\n\n\nconst enrichByBatchInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.enrich)('id', ['pricelist', 'id'], 'pricelist');\n\nconst getDeploymentMarketplaces = async (deploymentId, params) => {\n const response = await fullResponseGet(prepareUrl(`/api/deployments/${deploymentId}/marketplaces`, params));\n const batches = await getDeploymentBatches(deploymentId);\n response.collection = enrichByBatchInfo(batches, response.collection);\n\n return response;\n};\n\nconst getDeploymentRequestMarketplaces = async (requestId, deploymentId, params) => {\n const response = await fullResponseGet(prepareUrl(`/api/deployments/requests/${requestId}/marketplaces`, params));\n const batches = await getDeploymentBatches(deploymentId);\n response.collection = enrichByBatchInfo(batches, response.collection);\n\n return response;\n};\n\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/utils.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ abortDeploymentRequest: () => (/* binding */ abortDeploymentRequest),\n/* harmony export */ createDeploymentConfigurations: () => (/* binding */ createDeploymentConfigurations),\n/* harmony export */ createDeploymentRequest: () => (/* binding */ createDeploymentRequest),\n/* harmony export */ deleteDeploymentConfiguration: () => (/* binding */ deleteDeploymentConfiguration),\n/* harmony export */ getCollectionAndTotal: () => (/* binding */ getCollectionAndTotal),\n/* harmony export */ getContentRange: () => (/* binding */ getContentRange),\n/* harmony export */ getDeployment: () => (/* binding */ getDeployment),\n/* harmony export */ getDeploymentBatches: () => (/* binding */ getDeploymentBatches),\n/* harmony export */ getDeploymentConfigurations: () => (/* binding */ getDeploymentConfigurations),\n/* harmony export */ getDeploymentMarketplaces: () => (/* binding */ getDeploymentMarketplaces),\n/* harmony export */ getDeploymentRequestFailedTasks: () => (/* binding */ getDeploymentRequestFailedTasks),\n/* harmony export */ getDeploymentRequestMarketplaces: () => (/* binding */ getDeploymentRequestMarketplaces),\n/* harmony export */ getDeploymentRequestTasks: () => (/* binding */ getDeploymentRequestTasks),\n/* harmony export */ getDeploymentRequests: () => (/* binding */ getDeploymentRequests),\n/* harmony export */ getDeployments: () => (/* binding */ getDeployments),\n/* harmony export */ getDeploymentsRequest: () => (/* binding */ getDeploymentsRequest),\n/* harmony export */ getDeploymentsRequests: () => (/* binding */ getDeploymentsRequests),\n/* harmony export */ getHeader: () => (/* binding */ getHeader),\n/* harmony export */ getIntIndex: () => (/* binding */ getIntIndex),\n/* harmony export */ getPPR: () => (/* binding */ getPPR),\n/* harmony export */ getPPRs: () => (/* binding */ getPPRs),\n/* harmony export */ getProductHubs: () => (/* binding */ getProductHubs),\n/* harmony export */ getProducts: () => (/* binding */ getProducts),\n/* harmony export */ regeneratePPR: () => (/* binding */ regeneratePPR),\n/* harmony export */ retryDeploymentRequest: () => (/* binding */ retryDeploymentRequest),\n/* harmony export */ uploadPPR: () => (/* binding */ uploadPPR)\n/* harmony export */ });\n/* harmony import */ var _tools_rest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/tools/rest */ \"./ui/src/tools/rest.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/pipe.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/prop.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/curry.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/either.js\");\n/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/length.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ~utils */ \"./ui/src/tools/utils.js\");\n/*\nCopyright (c) 2025, CloudBlue\nAll rights reserved.\n*/\n\n\n\n\n\n\n\nconst getIntIndex = index => (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(index), parseInt);\n\nconst getHeader = (0,ramda__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((name, headers) => headers?.get(name));\n\nconst getContentRange = (0,ramda__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((directiv, str) => {\n const directives = {\n start: 2,\n end: 3,\n size: 4,\n };\n const pattern = /(\\w+) (\\d+)-(\\d+)\\/(\\d+)/g;\n\n return getIntIndex(directives[directiv])(pattern.exec(str));\n});\n\nconst getCollectionAndTotal = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.template)({\n collection: ['body'],\n total: (0,ramda__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(\n (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])('headers'), getHeader('content-range'), getContentRange('size')),\n (0,ramda__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,ramda__WEBPACK_IMPORTED_MODULE_3__[\"default\"])('body'), ramda__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n ),\n});\n\nconst fullResponseGet = async url => {\n const response = await _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(url, true);\n\n return getCollectionAndTotal(response);\n};\n\nconst prepareUrl = (baseUrl, params) => {\n const processedParams = new URLSearchParams(params).toString();\n\n return `${baseUrl}?${processedParams}`;\n};\n\nconst getDeployments = (params) => fullResponseGet(prepareUrl('/api/deployments', params));\n\nconst getDeployment = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${id}`);\n\nconst getDeploymentConfigurations = (id, params) => fullResponseGet(prepareUrl(`/api/deployments/${id}/configurations`, params));\n\nconst createDeploymentConfigurations = (id, data) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${id}/configurations`, data);\n\nconst getPPRs = (id, params) => fullResponseGet(prepareUrl(`/api/deployments/${id}/pprs`, params));\n\nconst getPPR = (deploymentId, id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${deploymentId}/pprs/${id}`);\n\nconst regeneratePPR = id => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${id}/pprs`, {});\n\nconst deleteDeploymentConfiguration = (deploymentId, configurationId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].delete(`/api/deployments/${deploymentId}/configurations/${configurationId}`);\n\nconst getDeploymentsRequests = params => fullResponseGet(prepareUrl('/api/deployments/requests', params));\n\nconst getDeploymentRequests = (deploymentId, params) => fullResponseGet(prepareUrl(`/api/deployments/${deploymentId}/requests`, params));\n\nconst getDeploymentsRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/requests/${id}`);\n\nconst uploadPPR = (deploymentId, {\n id,\n location,\n size,\n name,\n mimeType,\n description,\n}) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/${deploymentId}/pprs`, {\n file: {\n id,\n location,\n size,\n name,\n mime_type: mimeType,\n },\n description,\n});\n\nconst getProducts = () => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get('/api/products');\n\nconst getProductHubs = (productId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/products/${productId}/hubs`);\n\n\n\nconst getDeploymentBatches = (deploymentId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/${deploymentId}/pricing/batches`);\n\nconst getDeploymentRequestTasks = (requestId, params) => fullResponseGet(prepareUrl(`/api/deployments/requests/${requestId}/tasks`, params));\n\nconst getDeploymentRequestFailedTasks = (requestId) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(`/api/deployments/requests/${requestId}/tasks?status=error`);\n\nconst createDeploymentRequest = (body) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post('/api/deployments/requests', body);\n\nconst abortDeploymentRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/requests/${id}/abort`);\n\nconst retryDeploymentRequest = (id) => _tools_rest__WEBPACK_IMPORTED_MODULE_0__[\"default\"].post(`/api/deployments/requests/${id}/retry`);\n\n\nconst enrichByBatchInfo = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.enrich)('id', ['pricelist', 'id'], 'pricelist');\n\nconst getDeploymentMarketplaces = async (deploymentId, params) => {\n const response = await fullResponseGet(prepareUrl(`/api/deployments/${deploymentId}/marketplaces`, params));\n const batches = await getDeploymentBatches(deploymentId);\n response.collection = enrichByBatchInfo(batches, response.collection);\n\n return response;\n};\n\nconst getDeploymentRequestMarketplaces = async (requestId, deploymentId, params) => {\n const response = await fullResponseGet(prepareUrl(`/api/deployments/requests/${requestId}/marketplaces`, params));\n const batches = await getDeploymentBatches(deploymentId);\n response.collection = enrichByBatchInfo(batches, response.collection);\n\n return response;\n};\n\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/utils.js?"); /***/ }) diff --git a/connect_ext_ppr/static/settings.bd5ea671e480c7aabff3.js b/connect_ext_ppr/static/settings.bd5ea671e480c7aabff3.js index 3c61ba1..910ee70 100644 --- a/connect_ext_ppr/static/settings.bd5ea671e480c7aabff3.js +++ b/connect_ext_ppr/static/settings.bd5ea671e480c7aabff3.js @@ -36,7 +36,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var portal_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! portal-vue */ \"./node_modules/portal-vue/dist/portal-vue.common.js\");\n/* harmony import */ var _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @cloudblueconnect/connect-ui-toolkit */ \"./node_modules/@cloudblueconnect/connect-ui-toolkit/dist/index.js\");\n/* harmony import */ var _styles_app_styl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/styles/app.styl */ \"./ui/src/styles/app.styl\");\n/* harmony import */ var _styles_index_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../styles/index.css */ \"./ui/styles/index.css\");\n/*\nCopyright (c) 2023, Ingram Micro\nAll rights reserved.\n*/\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(portal_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n(0,_cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({ 'settings-card': _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__.Card });\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/pages/settings.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var portal_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! portal-vue */ \"./node_modules/portal-vue/dist/portal-vue.common.js\");\n/* harmony import */ var _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @cloudblueconnect/connect-ui-toolkit */ \"./node_modules/@cloudblueconnect/connect-ui-toolkit/dist/index.js\");\n/* harmony import */ var _styles_app_styl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/styles/app.styl */ \"./ui/src/styles/app.styl\");\n/* harmony import */ var _styles_index_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../styles/index.css */ \"./ui/styles/index.css\");\n/*\nCopyright (c) 2025, CloudBlue\nAll rights reserved.\n*/\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(portal_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n(0,_cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({ 'settings-card': _cloudblueconnect_connect_ui_toolkit__WEBPACK_IMPORTED_MODULE_1__.Card });\n\n\n//# sourceURL=webpack://connect-extension-xvs/./ui/src/pages/settings.js?"); /***/ }) diff --git a/connect_ext_ppr/webapp.py b/connect_ext_ppr/webapp.py index f4a6840..fe1ad1d 100644 --- a/connect_ext_ppr/webapp.py +++ b/connect_ext_ppr/webapp.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # from concurrent.futures import ThreadPoolExecutor diff --git a/fileMock.js b/fileMock.js index b2ccb8a..93df62f 100644 --- a/fileMock.js +++ b/fileMock.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ module.exports = 'test-file-stub'; diff --git a/jest.config.js b/jest.config.js index 80c84a2..2d2db4d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ module.exports = { diff --git a/package.json b/package.json index 15ee3bd..c49ed58 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint:fix": "npm run lint -- --fix", "test": "NODE_ENV=test jest --no-cache --passWithNoTests" }, - "author": "Ingram Micro", + "author": "CloudBlue", "license": "Apache Software License 2.0", "dependencies": { "@cloudblueconnect/connect-ui-toolkit": "^26", diff --git a/styleMock.js b/styleMock.js index 6adc875..51a28b3 100644 --- a/styleMock.js +++ b/styleMock.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ module.exports = {}; diff --git a/tests/__init__.py b/tests/__init__.py index c14ed70..7debe99 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # diff --git a/tests/conftest.py b/tests/conftest.py index 047712b..5622d36 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # from contextlib import contextmanager diff --git a/tests/test_events.py b/tests/test_events.py index 0780ffa..43c2710 100644 --- a/tests/test_events.py +++ b/tests/test_events.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (c) 2023, Ingram Micro +# Copyright (c) 2025, CloudBlue # All rights reserved. # import json diff --git a/ui/src/pages/index.js b/ui/src/pages/index.js index b5387d0..c538ba2 100644 --- a/ui/src/pages/index.js +++ b/ui/src/pages/index.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ import Vue from 'vue'; diff --git a/ui/src/pages/settings.js b/ui/src/pages/settings.js index 5023899..edb4b03 100644 --- a/ui/src/pages/settings.js +++ b/ui/src/pages/settings.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ import Vue from 'vue'; diff --git a/ui/src/utils.js b/ui/src/utils.js index 57f8430..403e18b 100644 --- a/ui/src/utils.js +++ b/ui/src/utils.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ import rest from '@/tools/rest'; diff --git a/webpack.config.js b/webpack.config.js index a4b1047..f1afefc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2023, Ingram Micro +Copyright (c) 2025, CloudBlue All rights reserved. */ const path = require('path');