Skip to content

Commit

Permalink
Merge pull request #3458 from project-koku/release_prod-stable.62771
Browse files Browse the repository at this point in the history
Deployment commit for prod-stable
  • Loading branch information
dlabrecq committed Oct 18, 2023
2 parents 0f0b085 + ecf944c commit 0085cb3
Show file tree
Hide file tree
Showing 13 changed files with 25,225 additions and 362 deletions.
19 changes: 15 additions & 4 deletions fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
proxyVerbose: true,
sassPrefix: `.${moduleName}`,
// sassPrefix: 'body', // For PF v5 testing only
// bundlePfModules: true, // For PF v5 testing only
// bundlePfModules: true, // See https://console.stage.redhat.com/platform-docs/frontend-components/proxies/webpack-proxy#includePFcssmodulesinyourbundle
stats,
standalone: process.env.LOCAL_API_PORT ? true : false,
useCache: true,
Expand Down Expand Up @@ -88,11 +88,10 @@ module.exports = {
},
routes: {
/**
* Cloud services config routes, typically localhost:8889
* Chrome services backend config routes, typically localhost:8000
*/
...(process.env.CLOUD_SERVICES_CONFIG_PORT && {
'/config': { host: `http://localhost:${process.env.CLOUD_SERVICES_CONFIG_PORT}` },
'/beta/config': { host: `http://localhost:${process.env.CLOUD_SERVICES_CONFIG_PORT}` },
'/api/chrome-service/v1/static': { host: `http://localhost:${process.env.CLOUD_SERVICES_CONFIG_PORT}` },
}),
/**
* Ephemeral routes, typically localhost:8000
Expand All @@ -108,5 +107,17 @@ module.exports = {
host: `http://${process.env.LOCAL_API_HOST || 'localhost'}:${process.env.LOCAL_API_PORT}`,
},
}),
/**
* FEC static routes, typically localhost:8003
* https://console.stage.redhat.com/platform-docs/frontend-components/proxies/webpack-proxy#Inventoryexample
*/
...(process.env.FEC_STATIC_PORT && {
'/apps/cost-management-mfe': {
host: `http://localhost:${process.env.FEC_STATIC_PORT}`,
},
'/beta/apps/cost-management-mfe': {
host: `http://localhost:${process.env.FEC_STATIC_PORT}`,
},
}),
},
};

0 comments on commit 0085cb3

Please sign in to comment.