Skip to content

Commit

Permalink
Updated resource with version update only
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawa12 committed Nov 5, 2024
1 parent dfa6963 commit 3aeada5
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"type": "SECRET_RESUBMISSION"
}
],
"description": "Available connections for [Kubernetes Automation with Workflows](https://dt-url.net/qx03q4d). A connection is bound to a Kubernetes cluster where the workflow actions operate. We recommend following the steps described [here](https://dt-url.net/mf03qvf) using the Dynatrace Operator, which automatically creates the connection.",
"displayName": "Kubernetes Automation Connections (Preview)",
"description": "Available connections for [Kubernetes Automation (Preview)](https://dt-url.net/qx03q4d). A connection is bound to a Kubernetes cluster where the workflow actions operate. We recommend following the steps described [here](https://dt-url.net/mf03qvf) using the Dynatrace Operator, which automatically creates the connection.",
"displayName": "Kubernetes Automation (Preview)",
"documentation": "",
"dynatrace": "1",
"enums": {},
Expand Down Expand Up @@ -135,5 +135,5 @@
]
}
},
"version": "0.1.9"
"version": "0.1.10"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/dynatrace-oss/terraform-provider-dynatrace/dynatrace/settings/services/settings20"
)

const SchemaVersion = "0.1.9"
const SchemaVersion = "0.1.10"
const SchemaID = "app:dynatrace.kubernetes.connector:connection"

func Service(credentials *settings.Credentials) settings.CRUDService[*connection.Settings] {
Expand Down
10 changes: 5 additions & 5 deletions dynatrace/api/app/dynatrace/slackconnection/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
}
],
"description": "Authentication details for Slack API",
"displayName": "Slack Connections",
"displayName": "Slack",
"documentation": "(for more information read the [Slack api documentation](https://api.slack.com/authentication/basics/ \"Visit Slack document\"))",
"dynatrace": "1",
"enums": {},
"maxObjects": 100,
"metadata": {
"appName": "Slack for Workflows"
"appName": "Slack"
},
"multiObject": true,
"ordered": false,
Expand All @@ -31,7 +31,7 @@
}
],
"default": "",
"description": "The name of the Slack connection",
"description": "Provide a unique and clearly identifiable connection name to your Slack App.",
"displayName": "Connection name",
"documentation": "",
"maxObjects": 1,
Expand Down Expand Up @@ -59,7 +59,7 @@
}
],
"default": "",
"description": "The bot token obtained from the Slack App Management UI",
"description": "The bot token obtained from the Slack App Management UI.",
"displayName": "Bot token",
"documentation": "Bot token in the format `xoxb-******`",
"maxObjects": 1,
Expand All @@ -79,5 +79,5 @@
],
"schemaId": "app:dynatrace.slack:connection",
"types": {},
"version": "0.0.13"
"version": "0.0.14"
}
2 changes: 1 addition & 1 deletion dynatrace/api/app/dynatrace/slackconnection/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"golang.org/x/oauth2/clientcredentials"
)

const SchemaVersion = "0.0.13"
const SchemaVersion = "0.0.14"
const SchemaID = "app:dynatrace.slack:connection"

func Service(credentials *settings.Credentials) settings.CRUDService[*slackconnection.Settings] {
Expand Down
11 changes: 9 additions & 2 deletions dynatrace/api/builtin/alerting/profile/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"constraints": [
{
"customMessage": "Management zone should be selected",
"customMessage": "You do not have global ‘settings.write’ permission. Please select a management zone where you have access to.",
"customValidatorId": "alerting-profile-mz-validator",
"skipAsyncValidation": false,
"type": "CUSTOM_VALIDATOR_REF"
Expand Down Expand Up @@ -534,6 +534,13 @@
"type": "set"
}
},
"schemaConstraints": [
{
"customValidatorId": "alerting-profile-unique-complex-filters-validator",
"skipAsyncValidation": false,
"type": "CUSTOM_VALIDATOR_REF"
}
],
"schemaGroups": [
"group:alerting"
],
Expand Down Expand Up @@ -986,5 +993,5 @@
"versionInfo": ""
}
},
"version": "8.5"
"version": "8.6"
}
2 changes: 1 addition & 1 deletion dynatrace/api/builtin/alerting/profile/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const SchemaID = "builtin:alerting.profile"
const SchemaVersion = "8.5"
const SchemaVersion = "8.6"

func Service(credentials *settings.Credentials) settings.CRUDService[*profile.Profile] {
return settings20.Service(credentials, SchemaID, SchemaVersion, &settings20.ServiceOptions[*profile.Profile]{LegacyID: settings.LegacyObjIDDecode, Duplicates: Duplicates})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@
},
{
"type": "NO_WHITESPACE"
},
{
"customMessage": "App ID must not start with 'dynatrace.'",
"pattern": "^(?!dynatrace\\.).*$",
"type": "PATTERN"
}
],
"default": "",
Expand Down Expand Up @@ -181,5 +186,5 @@
"versionInfo": ""
}
},
"version": "2"
"version": "2.3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/dynatrace-oss/terraform-provider-dynatrace/dynatrace/settings/services/settings20"
)

const SchemaVersion = "2"
const SchemaVersion = "2.3"
const SchemaID = "builtin:dt-javascript-runtime.app-monitoring"

func Service(credentials *settings.Credentials) settings.CRUDService[*appmonitoring.Settings] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"HOST_GROUP",
"environment"
],
"description": "The *Disk Edge* feature within Dynatrace provides automatic detection of performance anomalies related to disk infrastructure.\nUse these settings to tailor detection sensitivity to a specific disk's name and/or custom metadata. Defining custom properties can help with post processing of the event. \n\n**Policy Hierarchy and Scope**\n\nThe order of policies establishes a hierarchical structure. Disk is assigned to a policy it matches to (based on disk name and/or metadata) according to the policies hierarchy.\n\nPolicies can be defined within Host, Host Group and Tenant scope. Lower scope has priority over the higher one.\n\nTo learn more about Disk Edge visit its [official documentation](https://dt-url.net/diskEdgeDoc).",
"description": "The *Disk Edge* feature within Dynatrace provides automatic detection of performance anomalies related to disk infrastructure.\nUse these settings to tailor detection sensitivity to a specific disk's name and/or custom metadata. Defining custom properties can help with post processing of the event. \n\n**Policy Hierarchy and Scope**\n\nThe order of policies establishes a hierarchical structure. Disk is assigned to the first policy it matches to (based on disk name and/or metadata) according to the policies hierarchy.\n\nPolicies can be defined within Host, Host Group and Tenant scope. Lower scope has priority over the higher one.\n\nTo learn more about Disk Edge visit its [official documentation](https://dt-url.net/diskEdgeDoc).",
"displayName": "Anomaly detection for infrastructure: Disk Edge",
"documentation": "",
"dynatrace": "1",
Expand Down Expand Up @@ -798,5 +798,5 @@
"versionInfo": ""
}
},
"version": "0.0.16"
"version": "0.0.17"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/dynatrace-oss/terraform-provider-dynatrace/dynatrace/settings/services/settings20"
)

const SchemaVersion = "0.0.16"
const SchemaVersion = "0.0.17"
const SchemaID = "builtin:infrastructure.disk.edge.anomaly-detectors"

func Service(credentials *settings.Credentials) settings.CRUDService[*anomalydetectors.Settings] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,5 @@
"versionInfo": ""
}
},
"version": "1.0.20"
"version": "1.0.21"
}
2 changes: 1 addition & 1 deletion dynatrace/api/builtin/logmonitoring/logdpprules/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/dynatrace-oss/terraform-provider-dynatrace/dynatrace/settings/services/settings20"
)

const SchemaVersion = "1.0.20"
const SchemaVersion = "1.0.21"
const SchemaID = "builtin:logmonitoring.log-dpp-rules"

func Service(credentials *settings.Credentials) settings.CRUDService[*logdpprules.Settings] {
Expand Down

0 comments on commit 3aeada5

Please sign in to comment.