github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/create-application-template/create-application-template.graphql (about) 1 # Code generated by Compass integration tests, DO NOT EDIT. 2 mutation { 3 result: createApplicationTemplate( 4 in: { 5 name: "SAP app-template-name" 6 description: "app-template-desc" 7 applicationInput: { 8 name: "{{name}}" 9 providerName: "compass-tests" 10 description: "test {{display-name}}" 11 labels: { a: ["b", "c"], d: ["e", "f"] } 12 webhooks: [{ type: CONFIGURATION_CHANGED, url: "http://url.com" }] 13 healthCheckURL: "http://url.valid" 14 } 15 placeholders: [ 16 { 17 name: "name" 18 description: "app" 19 jsonPath: "new-placeholder-name-json-path" 20 } 21 { 22 name: "display-name" 23 description: "new-placeholder-display-name" 24 jsonPath: "new-placeholder-display-name-json-path" 25 } 26 ] 27 accessLevel: GLOBAL 28 labels: { subscriptionProviderId: "id-value!t12345", test: ["test"] } 29 } 30 ) { 31 id 32 name 33 description 34 applicationInput 35 placeholders { 36 name 37 description 38 jsonPath 39 } 40 webhooks { 41 id 42 applicationID 43 applicationTemplateID 44 runtimeID 45 type 46 mode 47 correlationIdKey 48 retryInterval 49 timeout 50 url 51 urlTemplate 52 inputTemplate 53 headerTemplate 54 outputTemplate 55 statusTemplate 56 auth { 57 credential { 58 ... on BasicCredentialData { 59 username 60 password 61 } 62 ... on CertificateOAuthCredentialData { 63 clientId 64 certificate 65 url 66 } 67 ... on OAuthCredentialData { 68 clientId 69 clientSecret 70 url 71 } 72 } 73 oneTimeToken { 74 __typename 75 token 76 used 77 expiresAt 78 } 79 certCommonName 80 accessStrategy 81 additionalHeaders 82 additionalQueryParams 83 requestAuth { 84 csrf { 85 tokenEndpointURL 86 credential { 87 ... on BasicCredentialData { 88 username 89 password 90 } 91 ... on OAuthCredentialData { 92 clientId 93 clientSecret 94 url 95 } 96 ... on CertificateOAuthCredentialData { 97 clientId 98 certificate 99 url 100 } 101 } 102 additionalHeaders 103 additionalQueryParams 104 } 105 } 106 } 107 createdAt 108 } 109 labels 110 accessLevel 111 } 112 }