Skip to content

Commit

Permalink
Merge pull request #3795 from jlledom/THREESCALE-10588-remove-tech-pr…
Browse files Browse the repository at this point in the history
…eview

Remove "Tech Preview" notice
  • Loading branch information
jlledom committed May 17, 2024
2 parents 4b2eb62 + 3764ed3 commit bcf4643
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ en:
stats: 'Analytics API'
account_management: 'Account Management API'
policy_registry: 'Policy Registry API'
cms: 'Developer Portal API (Tech Preview)'
cms: 'Developer Portal API'
ro: 'Read Only'
rw: 'Read & Write'
notification_category_titles:
Expand Down Expand Up @@ -143,7 +143,7 @@ en:
analytics_api: 'Analytics API'
billing_api: 'Billing API'
master_api: 'Master API'
cms_api: 'Developer Portal API (Tech Preview)'
cms_api: 'Developer Portal API'
base:
index:
update_link_text: "Learn how to upgrade to Swagger 2"
Expand Down
2 changes: 1 addition & 1 deletion doc/active_docs/cms_api.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.1",
"info": {
"title": "Developer Portal API (Tech Preview)",
"title": "Developer Portal API",
"description": "API for managing the Developer Portal.",
"version": "1.0"
},
Expand Down
6 changes: 3 additions & 3 deletions test/integration/api_docs/services_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_index_and_show
assert_response :success
assert_equal ['host', 'apis'], index_result.keys

api_expected_names = ['Service Management API', 'Account Management API', 'Analytics API', 'Billing API', 'Policy Registry API', 'Developer Portal API (Tech Preview)']
api_expected_names = ['Service Management API', 'Account Management API', 'Analytics API', 'Billing API', 'Policy Registry API', 'Developer Portal API']
assert_same_elements api_expected_names, index_result['apis'].map { |api| api['name'] }

index_result['apis'].each do |api|
Expand Down Expand Up @@ -124,8 +124,8 @@ def test_show_onprem_account_management_api

def test_index_and_show
expected_names = {
saas: ['Service Management API', 'Account Management API', 'Analytics API', 'Billing API', 'Master API', 'Developer Portal API (Tech Preview)'],
onpremises: ['Service Management API', 'Account Management API', 'Analytics API', 'Master API', 'Developer Portal API (Tech Preview)']
saas: ['Service Management API', 'Account Management API', 'Analytics API', 'Billing API', 'Master API', 'Developer Portal API'],
onpremises: ['Service Management API', 'Account Management API', 'Analytics API', 'Master API', 'Developer Portal API']
}

[true, false].each do |onpremises|
Expand Down

0 comments on commit bcf4643

Please sign in to comment.