Drop the setTrustCenterAlias and removeTrustCenterAlias mutations and the alias field on Audit in favor of generic setResourceAlias and removeResourceAlias mutations backed by the resourcealias service. Signed-off-by: Bryan Frimin <bryan@probo.com>
31 lines
541 B
GraphQL
31 lines
541 B
GraphQL
type ResourceAlias {
|
|
resourceId: ID!
|
|
alias: String!
|
|
}
|
|
|
|
input SetResourceAliasInput {
|
|
resourceId: ID!
|
|
alias: String!
|
|
}
|
|
|
|
input RemoveResourceAliasInput {
|
|
resourceId: ID!
|
|
}
|
|
|
|
type SetResourceAliasPayload {
|
|
resourceAlias: ResourceAlias!
|
|
}
|
|
|
|
type RemoveResourceAliasPayload {
|
|
deletedResourceId: ID!
|
|
}
|
|
|
|
extend type Mutation {
|
|
setResourceAlias(
|
|
input: SetResourceAliasInput!
|
|
): SetResourceAliasPayload!
|
|
removeResourceAlias(
|
|
input: RemoveResourceAliasInput!
|
|
): RemoveResourceAliasPayload!
|
|
}
|