From 15cfe2a6d2df9f80a8fd3811636808c2a0b7d738 Mon Sep 17 00:00:00 2001 From: den-rgb Date: Thu, 8 Feb 2024 11:53:53 +0000 Subject: [PATCH] OCM-5976 | feat: Removing non defined api routes --- model/clusters_mgmt/v1/cluster_resource.model | 5 ----- model/clusters_mgmt/v1/dns_domain_resource.model | 5 ----- model/clusters_mgmt/v1/flavours_resource.model | 6 ------ model/clusters_mgmt/v1/provision_shard_resource.model | 4 ---- model/clusters_mgmt/v1/trusted_ips_resource.model | 6 ------ 5 files changed, 26 deletions(-) diff --git a/model/clusters_mgmt/v1/cluster_resource.model b/model/clusters_mgmt/v1/cluster_resource.model index aec5f931..812dec80 100644 --- a/model/clusters_mgmt/v1/cluster_resource.model +++ b/model/clusters_mgmt/v1/cluster_resource.model @@ -126,11 +126,6 @@ resource Cluster { target AWSInfrastructureAccessRoleGrants } - // Reference to the resource that manages the product type of the cluster - locator Product { - target Product - } - // Reference to the resource that manages the collection of upgrade policies defined for this cluster. locator UpgradePolicies { target UpgradePolicies diff --git a/model/clusters_mgmt/v1/dns_domain_resource.model b/model/clusters_mgmt/v1/dns_domain_resource.model index 9819c3d2..bfb91468 100644 --- a/model/clusters_mgmt/v1/dns_domain_resource.model +++ b/model/clusters_mgmt/v1/dns_domain_resource.model @@ -21,11 +21,6 @@ resource DNSDomain { out Body DNSDomain } - // Updates the details of the DNS domain. - method Update { - in out Body DNSDomain - } - // Delete the DNS domain. method Delete { } diff --git a/model/clusters_mgmt/v1/flavours_resource.model b/model/clusters_mgmt/v1/flavours_resource.model index a32cb0d0..7e4d99aa 100644 --- a/model/clusters_mgmt/v1/flavours_resource.model +++ b/model/clusters_mgmt/v1/flavours_resource.model @@ -61,12 +61,6 @@ resource Flavours { out Items []Flavour } - // Adds a new cluster flavour. - method Add { - // Details of the cluster flavour. - in out Body Flavour - } - // Reference to the resource that manages a specific flavour. locator Flavour { target Flavour diff --git a/model/clusters_mgmt/v1/provision_shard_resource.model b/model/clusters_mgmt/v1/provision_shard_resource.model index 5f79b76d..cd8716e6 100644 --- a/model/clusters_mgmt/v1/provision_shard_resource.model +++ b/model/clusters_mgmt/v1/provision_shard_resource.model @@ -25,8 +25,4 @@ resource ProvisionShard { method Update { in out Body ProvisionShard } - - // Delete the provision shard. - method Delete { - } } diff --git a/model/clusters_mgmt/v1/trusted_ips_resource.model b/model/clusters_mgmt/v1/trusted_ips_resource.model index e94fd21c..24571457 100644 --- a/model/clusters_mgmt/v1/trusted_ips_resource.model +++ b/model/clusters_mgmt/v1/trusted_ips_resource.model @@ -30,10 +30,4 @@ resource TrustedIps { // Retrieved list of trusted ip addresses. out Items []TrustedIp } - - // Reference to the resource that manages a specific trusted Ip address. - locator TrustedIp { - target TrustedIp - variable ID - } }