From 70d175ec3b14e379a6a52de4124a0dfd0ca26a3e Mon Sep 17 00:00:00 2001 From: Dimitris Kavvathas Date: Mon, 11 Jul 2022 12:34:35 +0200 Subject: [PATCH] SONAR-16609 Rename private module 'core-extension-governance' to 'core-extension-enterprise-server' --- .cirrus.yml | 6 +++--- server/sonar-web/scripts/utils.js | 2 +- .../src/main/js/app/components/extensions/Extension.tsx | 2 +- server/sonar-web/src/main/js/types/extension.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index a6df0609344..615044c9a04 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -99,7 +99,7 @@ yarn_cache_template: &YARN_CACHE_TEMPLATE cat \ server/sonar-web/yarn.lock \ server/sonar-docs/yarn.lock \ - private/core-extension-governance/yarn.lock \ + private/core-extension-enterprise-server/yarn.lock \ private/core-extension-license/yarn.lock \ private/core-extension-securityreport/yarn.lock @@ -114,7 +114,7 @@ eslint_report_cache_template: &ESLINT_REPORT_CACHE_TEMPLATE - server/sonar-web/eslint-report/ - private/core-extension-securityreport/eslint-report/ - private/core-extension-license/eslint-report/ - - private/core-extension-governance/eslint-report/ + - private/core-extension-enterprise-server/eslint-report/ - private/core-extension-developer-server/eslint-report/ fingerprint_script: echo $CIRRUS_BUILD_ID @@ -124,7 +124,7 @@ jest_report_cache_template: &JEST_REPORT_CACHE_TEMPLATE - server/sonar-web/coverage/ - private/core-extension-securityreport/coverage/ - private/core-extension-license/coverage/ - - private/core-extension-governance/coverage/ + - private/core-extension-enterprise-server/coverage/ - private/core-extension-developer-server/coverage/ fingerprint_script: echo $CIRRUS_BUILD_ID diff --git a/server/sonar-web/scripts/utils.js b/server/sonar-web/scripts/utils.js index f4c88c3672d..dc865f203a6 100644 --- a/server/sonar-web/scripts/utils.js +++ b/server/sonar-web/scripts/utils.js @@ -26,7 +26,7 @@ const readFileAsync = promisify(fs.readFile); const l10nFilePath = '../../../sonar-core/src/main/resources/org/sonar/l10n/core.properties'; const extensionsL10nFilepaths = [ - '../../../private/core-extension-governance/src/main/resources/org/sonar/l10n/governance.properties', + '../../../private/core-extension-enterprise-server/src/main/resources/org/sonar/l10n/governance.properties', '../../../private/core-extension-license/src/main/resources/org/sonar/l10n/license.properties', '../../../private/core-extension-developer-server/src/main/resources/org/sonar/l10n/developer-server.properties', '../../../private/core-extension-securityreport/src/main/resources/org/sonar/l10n/securityreport.properties' diff --git a/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx b/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx index e7fc3f0a962..5d6ce37936d 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx +++ b/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx @@ -81,7 +81,7 @@ export class Extension extends React.PureComponent { theme, baseUrl: getBaseUrl(), l10nBundle: getCurrentL10nBundle(), - // See SONAR-16207 and core-extension-governance/src/main/js/portfolios/components/Header.tsx + // See SONAR-16207 and core-extension-enterprise-server/src/main/js/portfolios/components/Header.tsx // for more information on why we're passing this as a prop to an extension. updateCurrentUserHomepage: this.props.updateCurrentUserHomepage, ...this.props.options diff --git a/server/sonar-web/src/main/js/types/extension.ts b/server/sonar-web/src/main/js/types/extension.ts index ccc7c6656c3..96447f110a3 100644 --- a/server/sonar-web/src/main/js/types/extension.ts +++ b/server/sonar-web/src/main/js/types/extension.ts @@ -55,7 +55,7 @@ export interface ExtensionStartMethodParameter { }; baseUrl: string; l10nBundle: L10nBundle; - // See SONAR-16207 and core-extension-governance/src/main/js/portfolios/components/Header.tsx + // See SONAR-16207 and core-extension-enterprise-server/src/main/js/portfolios/components/Header.tsx // for more information on why we're passing this as a prop to an extension. updateCurrentUserHomepage: (homepage: HomePage) => void; } -- 2.39.5