Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rhosak): ent-4689 (sw-93) billing provider, remove none option #951

Merged
merged 1 commit into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ Array [
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
]
`;

Expand Down Expand Up @@ -81,11 +76,6 @@ exports[`ToolbarFieldBillingProvider Component should render a basic component:
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
]
}
placeholder="t(curiosity-toolbar.placeholder, {\\"context\\":\\"billing_provider\\"})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ Array [
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"aws\\"})",
"value": "aws",
},
Object {
"selected": false,
"title": "t(curiosity-toolbar.billing_provider, {\\"context\\":\\"none\\"})",
"value": "",
},
],
"selected": false,
"title": "t(curiosity-toolbar.category, {\\"context\\":\\"billing_provider\\"})",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -121,7 +120,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -247,7 +245,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -337,7 +334,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -464,7 +460,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -554,7 +549,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_RESPONSE_DATA": "data",
Expand Down Expand Up @@ -685,7 +679,6 @@ Object {
},
"RHSM_API_QUERY_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"RED_HAT": "red hat",
},
"RHSM_API_QUERY_GRANULARITY_TYPES": Object {
Expand Down Expand Up @@ -775,7 +768,6 @@ Object {
},
"RHSM_API_RESPONSE_BILLING_PROVIDER_TYPES": Object {
"AWS": "aws",
"NONE": "",
"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 @@ -208,11 +208,11 @@ 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',
// ORACLE: 'oracle',
NONE: ''
// NONE: ''
};

/**
Expand Down