diff --git a/nifcloudcli/data/_retry.json b/nifcloudcli/data/_retry.json index 4cb9500..53ac90c 100644 --- a/nifcloudcli/data/_retry.json +++ b/nifcloudcli/data/_retry.json @@ -84,20 +84,6 @@ "general_server_error": {"$ref": "general_server_error"} } } - }, - "hatoba": { - "__default__": { - "policies": { - "general_server_error": {"$ref": "general_server_error"} - } - } - }, - "script": { - "__default__": { - "policies": { - "general_server_error": {"$ref": "general_server_error"} - } - } } } } diff --git a/nifcloudcli/data/endpoints.json b/nifcloudcli/data/endpoints.json index 0d88151..06e4d4d 100644 --- a/nifcloudcli/data/endpoints.json +++ b/nifcloudcli/data/endpoints.json @@ -70,23 +70,6 @@ "jp-west-1": {} } }, - "hatoba": { - "endpoints": { - "jp-east-1": {} - } - }, - "script" : { - "endpoints" : { - "aws-global" : { - "credentialScope" : { - "region" : "jp-east-1" - }, - "hostname" : "script.api.nifcloud.com" - } - }, - "isRegionalized" : false, - "partitionEndpoint" : "aws-global" - }, "ess" : { "endpoints" : { "aws-global" : { diff --git a/nifcloudcli/link.py b/nifcloudcli/link.py index 38ed914..885443f 100644 --- a/nifcloudcli/link.py +++ b/nifcloudcli/link.py @@ -4,11 +4,6 @@ def get_document_site_url(service_id, operation_name): if service_id == "computing": link = '%s/rest/%s.htm' % (NIFCLOUD_DOC_BASE, operation_name) - elif service_id == "script": - link = '%s/script/start.htm' % (NIFCLOUD_DOC_BASE) - elif service_id == "hatoba": - link = '%s/kubernetes-service-hatoba/%s.htm' % (NIFCLOUD_DOC_BASE, - operation_name) elif service_id == "storage": link = '%s/object-storage-service/%s.htm' % (NIFCLOUD_DOC_BASE, operation_name) diff --git a/tests/integration/test_cli.py b/tests/integration/test_cli.py index ca65387..692729b 100644 --- a/tests/integration/test_cli.py +++ b/tests/integration/test_cli.py @@ -10,7 +10,6 @@ def test_cli_help(self): "nas", "dns", "ess", - "script", "storage", "service-activity", ] diff --git a/tests/unit/test_link.py b/tests/unit/test_link.py index 4e6774d..81c43d6 100644 --- a/tests/unit/test_link.py +++ b/tests/unit/test_link.py @@ -34,11 +34,6 @@ def test_get_document_site_url_computing(self, operation): expected = f"https://{self.DOC_DOMAIN}/api/rest/{operation}.htm" assert actual == expected - def test_get_document_site_url_script(self): - actual = get_document_site_url("script", "") - expected = f"https://{self.DOC_DOMAIN}/api/script/start.htm" - assert actual == expected - @pytest.mark.parametrize( "operation", [