Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare DeployTargetConfig related api fields as unstable #2877

Merged
merged 1 commit into from
Oct 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions services/api/src/typeDefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,10 +704,8 @@ const typeDefs = gql`
metadata: JSON
"""
DeployTargetConfigs are a way to define which deploy targets are used for a project\n
*Important:* This is an alpha feature, and is subject to change in any release. Use this at your own risk\n
Ensure you stay up to date on changes that may occur with this feature
"""
deployTargetConfigs: [DeployTargetConfig]
deployTargetConfigs: [DeployTargetConfig] @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
}

"""
Expand Down Expand Up @@ -1118,16 +1116,16 @@ const typeDefs = gql`
"""
Returns the DeployTargetConfig by a deployTargetConfig Id
"""
deployTargetConfigById(id: Int!) : DeployTargetConfig
deployTargetConfigById(id: Int!) : DeployTargetConfig @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
"""
Returns all DeployTargetConfig by a project Id
"""
deployTargetConfigsByProjectId(project: Int!) : [DeployTargetConfig]
deployTargetConfigsByProjectId(project: Int!) : [DeployTargetConfig] @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
"""
Returns all DeployTargetConfig by a deployTarget Id (aka: Openshift Id)
"""
deployTargetConfigsByDeployTarget(deployTarget: Int!) : [DeployTargetConfig]
allDeployTargetConfigs: [DeployTargetConfig]
deployTargetConfigsByDeployTarget(deployTarget: Int!) : [DeployTargetConfig] @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
allDeployTargetConfigs: [DeployTargetConfig] @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
}

# Must provide id OR name
Expand Down Expand Up @@ -2002,10 +2000,10 @@ const typeDefs = gql`
updateBillingModifier(input: UpdateBillingModifierInput!): BillingModifier
deleteBillingModifier(input: DeleteBillingModifierInput!): String
deleteAllBillingModifiersByBillingGroup(input: GroupInput!): String
addDeployTargetConfig(input: AddDeployTargetConfigInput!): DeployTargetConfig
updateDeployTargetConfig(input: UpdateDeployTargetConfigInput!): DeployTargetConfig
deleteDeployTargetConfig(input: DeleteDeployTargetConfigInput!): String
deleteAllDeployTargetConfigs: String
addDeployTargetConfig(input: AddDeployTargetConfigInput!): DeployTargetConfig @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
updateDeployTargetConfig(input: UpdateDeployTargetConfigInput!): DeployTargetConfig @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
deleteDeployTargetConfig(input: DeleteDeployTargetConfigInput!): String @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
deleteAllDeployTargetConfigs: String @deprecated(reason: "Unstable API, subject to breaking changes in any release. Use at your own risk")
}

type Subscription {
Expand Down