github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/create-formation-template/create-formation-template-with-webhooks.graphql (about) 1 # Code generated by Compass integration tests, DO NOT EDIT. 2 mutation { 3 result: createFormationTemplate( 4 in: { 5 name: "create-formation-template-with-webhook-name" 6 applicationTypes: ["app-type-1", "app-type-2"] 7 runtimeTypes: ["runtime-type"] 8 runtimeTypeDisplayName: "runtime-type-display-name" 9 runtimeArtifactKind: SUBSCRIPTION 10 webhooks: [ 11 { type: FORMATION_LIFECYCLE, url: "http://localhost:6439/", mode: SYNC } 12 ] 13 } 14 ) { 15 id 16 name 17 applicationTypes 18 runtimeTypes 19 runtimeTypeDisplayName 20 runtimeArtifactKind 21 leadingProductIDs 22 webhooks { 23 id 24 applicationID 25 applicationTemplateID 26 runtimeID 27 formationTemplateID 28 type 29 mode 30 correlationIdKey 31 retryInterval 32 timeout 33 url 34 urlTemplate 35 inputTemplate 36 headerTemplate 37 outputTemplate 38 statusTemplate 39 auth { 40 credential { 41 ... on BasicCredentialData { 42 username 43 password 44 } 45 ... on CertificateOAuthCredentialData { 46 clientId 47 certificate 48 url 49 } 50 ... on OAuthCredentialData { 51 clientId 52 clientSecret 53 url 54 } 55 } 56 oneTimeToken { 57 __typename 58 token 59 used 60 expiresAt 61 } 62 certCommonName 63 accessStrategy 64 additionalHeaders 65 additionalQueryParams 66 requestAuth { 67 csrf { 68 tokenEndpointURL 69 credential { 70 ... on BasicCredentialData { 71 username 72 password 73 } 74 ... on OAuthCredentialData { 75 clientId 76 clientSecret 77 url 78 } 79 ... on CertificateOAuthCredentialData { 80 clientId 81 certificate 82 url 83 } 84 } 85 additionalHeaders 86 additionalQueryParams 87 } 88 } 89 } 90 createdAt 91 } 92 } 93 }