github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/register-runtime/register-runtime-with-webhooks.graphql (about) 1 # Code generated by Compass integration tests, DO NOT EDIT. 2 mutation { 3 result: registerRuntime( 4 in: { 5 name: "runtime-with-webhooks" 6 description: "runtime-1-description" 7 webhooks: [ 8 { 9 type: CONFIGURATION_CHANGED 10 url: "http://mywordpress.com/webhooks1" 11 auth: { 12 credential: { basic: { username: "admin", password: "secret" } } 13 additionalHeadersSerialized: "{\"header-A\":[\"ha1\",\"ha2\"],\"header-B\":[\"hb1\",\"hb2\"]}" 14 additionalQueryParamsSerialized: "{\"qA\":[\"qa1\",\"qa2\"],\"qB\":[\"qb1\",\"qb2\"]}" 15 } 16 } 17 ] 18 } 19 ) { 20 id 21 name 22 description 23 labels 24 status { 25 condition 26 timestamp 27 } 28 metadata { 29 creationTimestamp 30 } 31 auths { 32 id 33 auth { 34 credential { 35 ... on BasicCredentialData { 36 username 37 password 38 } 39 ... on CertificateOAuthCredentialData { 40 clientId 41 certificate 42 url 43 } 44 ... on OAuthCredentialData { 45 clientId 46 clientSecret 47 url 48 } 49 } 50 oneTimeToken { 51 __typename 52 token 53 used 54 expiresAt 55 } 56 certCommonName 57 accessStrategy 58 additionalHeaders 59 additionalQueryParams 60 requestAuth { 61 csrf { 62 tokenEndpointURL 63 credential { 64 ... on BasicCredentialData { 65 username 66 password 67 } 68 ... on OAuthCredentialData { 69 clientId 70 clientSecret 71 url 72 } 73 ... on CertificateOAuthCredentialData { 74 clientId 75 certificate 76 url 77 } 78 } 79 additionalHeaders 80 additionalQueryParams 81 } 82 } 83 } 84 } 85 runtimeContexts { 86 data { 87 id 88 key 89 value 90 labels 91 } 92 pageInfo { 93 startCursor 94 endCursor 95 hasNextPage 96 } 97 totalCount 98 } 99 webhooks { 100 id 101 applicationID 102 applicationTemplateID 103 runtimeID 104 formationTemplateID 105 type 106 mode 107 correlationIdKey 108 retryInterval 109 timeout 110 url 111 urlTemplate 112 inputTemplate 113 headerTemplate 114 outputTemplate 115 statusTemplate 116 auth { 117 credential { 118 ... on BasicCredentialData { 119 username 120 password 121 } 122 ... on CertificateOAuthCredentialData { 123 clientId 124 certificate 125 url 126 } 127 ... on OAuthCredentialData { 128 clientId 129 clientSecret 130 url 131 } 132 } 133 oneTimeToken { 134 __typename 135 token 136 used 137 expiresAt 138 } 139 certCommonName 140 accessStrategy 141 additionalHeaders 142 additionalQueryParams 143 requestAuth { 144 csrf { 145 tokenEndpointURL 146 credential { 147 ... on BasicCredentialData { 148 username 149 password 150 } 151 ... on OAuthCredentialData { 152 clientId 153 clientSecret 154 url 155 } 156 ... on CertificateOAuthCredentialData { 157 clientId 158 certificate 159 url 160 } 161 } 162 additionalHeaders 163 additionalQueryParams 164 } 165 } 166 } 167 createdAt 168 } 169 eventingConfiguration { 170 defaultURL 171 } 172 } 173 }