Skip to content

Commit

Permalink
Add depreaction msg for removed service
Browse files Browse the repository at this point in the history
  • Loading branch information
hkantare authored and Anil-CM committed Jan 2, 2025
1 parent 2a556df commit 2414e0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion ibm/service/apigateway/data_source_ibm_api_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (

func DataSourceIBMApiGateway() *schema.Resource {
return &schema.Resource{
Read: dataSourceIBMApiGatewayRead,
Read: dataSourceIBMApiGatewayRead,
DeprecationMessage: "This service is deprecated.",
Schema: map[string]*schema.Schema{
"service_instance_crn": {
Type: schema.TypeString,
Expand Down
13 changes: 7 additions & 6 deletions ibm/service/apigateway/resource_ibm_api_gateway_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ import (
func ResourceIBMApiGatewayEndPoint() *schema.Resource {

return &schema.Resource{
Create: resourceIBMApiGatewayEndPointCreate,
Read: resourceIBMApiGatewayEndPointGet,
Update: resourceIBMApiGatewayEndPointUpdate,
Delete: resourceIBMApiGatewayEndPointDelete,
Importer: &schema.ResourceImporter{},
Exists: resourceIBMApiGatewayEndPointExists,
Create: resourceIBMApiGatewayEndPointCreate,
Read: resourceIBMApiGatewayEndPointGet,
Update: resourceIBMApiGatewayEndPointUpdate,
Delete: resourceIBMApiGatewayEndPointDelete,
Importer: &schema.ResourceImporter{},
Exists: resourceIBMApiGatewayEndPointExists,
DeprecationMessage: "This service is deprecated.",
Schema: map[string]*schema.Schema{
"service_instance_crn": {
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ import (
func ResourceIBMApiGatewayEndpointSubscription() *schema.Resource {

return &schema.Resource{
Create: resourceIBMApiGatewayEndpointSubscriptionCreate,
Read: resourceIBMApiGatewayEndpointSubscriptionGet,
Update: resourceIBMApiGatewayEndpointSubscriptionUpdate,
Delete: resourceIBMApiGatewayEndpointSubscriptionDelete,
Importer: &schema.ResourceImporter{},
Exists: resourceIBMApiGatewayEndpointSubscriptionExists,
Create: resourceIBMApiGatewayEndpointSubscriptionCreate,
Read: resourceIBMApiGatewayEndpointSubscriptionGet,
Update: resourceIBMApiGatewayEndpointSubscriptionUpdate,
Delete: resourceIBMApiGatewayEndpointSubscriptionDelete,
Importer: &schema.ResourceImporter{},
Exists: resourceIBMApiGatewayEndpointSubscriptionExists,
DeprecationMessage: "This service is deprecated.",
Schema: map[string]*schema.Schema{
"artifact_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit 2414e0d

Please sign in to comment.