Skip to content

Commit

Permalink
feat(config): sw-2116 activate azure billing provider (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Feb 27, 2024
1 parent 410de05 commit 40ee160
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ exports[`ToolbarFieldBillingProvider Component should export select options: too
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"aws"})",
"value": "aws",
},
{
"selected": false,
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"azure"})",
"value": "azure",
},
]
`;

Expand Down Expand Up @@ -82,6 +87,11 @@ exports[`ToolbarFieldBillingProvider Component should render a basic component:
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"aws"})",
"value": "aws",
},
{
"selected": false,
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"azure"})",
"value": "azure",
},
]
}
placeholder="t(curiosity-toolbar.placeholder_billing, {"context":"provider"})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ exports[`ToolbarFieldSelectCategory Component should export select options: tool
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"aws"})",
"value": "aws",
},
{
"selected": false,
"title": "t(curiosity-toolbar.label_billing_provider, {"context":"azure"})",
"value": "azure",
},
],
"selected": false,
"title": "t(curiosity-toolbar.label_filter_billing, {"context":"provider"})",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_CATEGORY_TYPES": {
Expand Down Expand Up @@ -156,6 +157,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -314,6 +316,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_CATEGORY_TYPES": {
Expand Down Expand Up @@ -421,6 +424,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -580,6 +584,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_CATEGORY_TYPES": {
Expand Down Expand Up @@ -687,6 +692,7 @@ exports[`RHSM Constants should have specific properties: all exported constants
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -850,6 +856,7 @@ exports[`RHSM Constants should have specific properties: specific constants 1`]
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_CATEGORY_TYPES": {
Expand Down Expand Up @@ -957,6 +964,7 @@ exports[`RHSM Constants should have specific properties: specific constants 1`]
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": {
"AWS": "aws",
"AZURE": "azure",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down
4 changes: 2 additions & 2 deletions src/services/rhsm/rhsmConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ const RHSM_API_RESPONSE_GRANULARITY_TYPES = {
*/
const RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES = {
RED_HAT: 'red hat',
AWS: 'aws'
AWS: 'aws',
// GCP: 'gcp',
// AZURE: 'azure',
AZURE: 'azure'
// ORACLE: 'oracle',
// NONE: ''
};
Expand Down

0 comments on commit 40ee160

Please sign in to comment.