github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/register-application/register-application-with-webhooks.graphql (about)

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: registerApplication(
     4      in: {
     5        name: "wordpress"
     6        providerName: "compass"
     7        labels: {
     8          applicationType: "SAP Cloud for Customer"
     9          scenarios: ["test-scenario"]
    10        }
    11        webhooks: [
    12          {
    13            type: CONFIGURATION_CHANGED
    14            url: "http://mywordpress.com/webhooks1"
    15            auth: {
    16              credential: { basic: { username: "admin", password: "secret" } }
    17              additionalHeadersSerialized: "{\"header-A\":[\"ha1\",\"ha2\"],\"header-B\":[\"hb1\",\"hb2\"]}"
    18              additionalQueryParamsSerialized: "{\"qA\":[\"qa1\",\"qa2\"],\"qB\":[\"qb1\",\"qb2\"]}"
    19            }
    20          }
    21        ]
    22      }
    23    ) {
    24      id
    25      name
    26      providerName
    27      description
    28      baseUrl
    29      systemNumber
    30      systemStatus
    31      integrationSystemID
    32      applicationTemplateID
    33      labels
    34      deletedAt
    35      updatedAt
    36      error
    37      status {
    38        condition
    39        timestamp
    40      }
    41      webhooks {
    42        id
    43        applicationID
    44        applicationTemplateID
    45        runtimeID
    46        formationTemplateID
    47        type
    48        mode
    49        correlationIdKey
    50        retryInterval
    51        timeout
    52        url
    53        urlTemplate
    54        inputTemplate
    55        headerTemplate
    56        outputTemplate
    57        statusTemplate
    58        auth {
    59          credential {
    60            ... on BasicCredentialData {
    61              username
    62              password
    63            }
    64            ... on CertificateOAuthCredentialData {
    65              clientId
    66              certificate
    67              url
    68            }
    69            ... on OAuthCredentialData {
    70              clientId
    71              clientSecret
    72              url
    73            }
    74          }
    75          oneTimeToken {
    76            __typename
    77            token
    78            used
    79            expiresAt
    80          }
    81          certCommonName
    82          accessStrategy
    83          additionalHeaders
    84          additionalQueryParams
    85          requestAuth {
    86            csrf {
    87              tokenEndpointURL
    88              credential {
    89                ... on BasicCredentialData {
    90                  username
    91                  password
    92                }
    93                ... on OAuthCredentialData {
    94                  clientId
    95                  clientSecret
    96                  url
    97                }
    98                ... on CertificateOAuthCredentialData {
    99                  clientId
   100                  certificate
   101                  url
   102                }
   103              }
   104              additionalHeaders
   105              additionalQueryParams
   106            }
   107          }
   108        }
   109        createdAt
   110      }
   111      healthCheckURL
   112      bundles {
   113        data {
   114          id
   115          name
   116          description
   117          instanceAuthRequestInputSchema
   118          instanceAuths {
   119            id
   120            context
   121            inputParams
   122            auth {
   123              credential {
   124                ... on BasicCredentialData {
   125                  username
   126                  password
   127                }
   128                ... on CertificateOAuthCredentialData {
   129                  clientId
   130                  certificate
   131                  url
   132                }
   133                ... on OAuthCredentialData {
   134                  clientId
   135                  clientSecret
   136                  url
   137                }
   138              }
   139              oneTimeToken {
   140                __typename
   141                token
   142                used
   143                expiresAt
   144              }
   145              certCommonName
   146              accessStrategy
   147              additionalHeaders
   148              additionalQueryParams
   149              requestAuth {
   150                csrf {
   151                  tokenEndpointURL
   152                  credential {
   153                    ... on BasicCredentialData {
   154                      username
   155                      password
   156                    }
   157                    ... on OAuthCredentialData {
   158                      clientId
   159                      clientSecret
   160                      url
   161                    }
   162                    ... on CertificateOAuthCredentialData {
   163                      clientId
   164                      certificate
   165                      url
   166                    }
   167                  }
   168                  additionalHeaders
   169                  additionalQueryParams
   170                }
   171              }
   172            }
   173            status {
   174              condition
   175              timestamp
   176              message
   177              reason
   178            }
   179            runtimeID
   180            runtimeContextID
   181          }
   182          defaultInstanceAuth {
   183            credential {
   184              ... on BasicCredentialData {
   185                username
   186                password
   187              }
   188              ... on CertificateOAuthCredentialData {
   189                clientId
   190                certificate
   191                url
   192              }
   193              ... on OAuthCredentialData {
   194                clientId
   195                clientSecret
   196                url
   197              }
   198            }
   199            oneTimeToken {
   200              __typename
   201              token
   202              used
   203              expiresAt
   204            }
   205            certCommonName
   206            accessStrategy
   207            additionalHeaders
   208            additionalQueryParams
   209            requestAuth {
   210              csrf {
   211                tokenEndpointURL
   212                credential {
   213                  ... on BasicCredentialData {
   214                    username
   215                    password
   216                  }
   217                  ... on OAuthCredentialData {
   218                    clientId
   219                    clientSecret
   220                    url
   221                  }
   222                  ... on CertificateOAuthCredentialData {
   223                    clientId
   224                    certificate
   225                    url
   226                  }
   227                }
   228                additionalHeaders
   229                additionalQueryParams
   230              }
   231            }
   232          }
   233          apiDefinitions {
   234            data {
   235              id
   236              name
   237              description
   238              spec {
   239                id
   240                data
   241                format
   242                type
   243                fetchRequest {
   244                  url
   245                  auth {
   246                    credential {
   247                      ... on BasicCredentialData {
   248                        username
   249                        password
   250                      }
   251                      ... on CertificateOAuthCredentialData {
   252                        clientId
   253                        certificate
   254                        url
   255                      }
   256                      ... on OAuthCredentialData {
   257                        clientId
   258                        clientSecret
   259                        url
   260                      }
   261                    }
   262                    oneTimeToken {
   263                      __typename
   264                      token
   265                      used
   266                      expiresAt
   267                    }
   268                    certCommonName
   269                    accessStrategy
   270                    additionalHeaders
   271                    additionalQueryParams
   272                    requestAuth {
   273                      csrf {
   274                        tokenEndpointURL
   275                        credential {
   276                          ... on BasicCredentialData {
   277                            username
   278                            password
   279                          }
   280                          ... on OAuthCredentialData {
   281                            clientId
   282                            clientSecret
   283                            url
   284                          }
   285                          ... on CertificateOAuthCredentialData {
   286                            clientId
   287                            certificate
   288                            url
   289                          }
   290                        }
   291                        additionalHeaders
   292                        additionalQueryParams
   293                      }
   294                    }
   295                  }
   296                  mode
   297                  filter
   298                  status {
   299                    condition
   300                    message
   301                    timestamp
   302                  }
   303                }
   304              }
   305              targetURL
   306              group
   307              version {
   308                value
   309                deprecated
   310                deprecatedSince
   311                forRemoval
   312              }
   313            }
   314            pageInfo {
   315              startCursor
   316              endCursor
   317              hasNextPage
   318            }
   319            totalCount
   320          }
   321          eventDefinitions {
   322            data {
   323              id
   324              name
   325              description
   326              group
   327              spec {
   328                id
   329                data
   330                type
   331                format
   332                fetchRequest {
   333                  url
   334                  auth {
   335                    credential {
   336                      ... on BasicCredentialData {
   337                        username
   338                        password
   339                      }
   340                      ... on CertificateOAuthCredentialData {
   341                        clientId
   342                        certificate
   343                        url
   344                      }
   345                      ... on OAuthCredentialData {
   346                        clientId
   347                        clientSecret
   348                        url
   349                      }
   350                    }
   351                    oneTimeToken {
   352                      __typename
   353                      token
   354                      used
   355                      expiresAt
   356                    }
   357                    certCommonName
   358                    accessStrategy
   359                    additionalHeaders
   360                    additionalQueryParams
   361                    requestAuth {
   362                      csrf {
   363                        tokenEndpointURL
   364                        credential {
   365                          ... on BasicCredentialData {
   366                            username
   367                            password
   368                          }
   369                          ... on OAuthCredentialData {
   370                            clientId
   371                            clientSecret
   372                            url
   373                          }
   374                          ... on CertificateOAuthCredentialData {
   375                            clientId
   376                            certificate
   377                            url
   378                          }
   379                        }
   380                        additionalHeaders
   381                        additionalQueryParams
   382                      }
   383                    }
   384                  }
   385                  mode
   386                  filter
   387                  status {
   388                    condition
   389                    message
   390                    timestamp
   391                  }
   392                }
   393              }
   394              version {
   395                value
   396                deprecated
   397                deprecatedSince
   398                forRemoval
   399              }
   400            }
   401            pageInfo {
   402              startCursor
   403              endCursor
   404              hasNextPage
   405            }
   406            totalCount
   407          }
   408          documents {
   409            data {
   410              id
   411              title
   412              displayName
   413              description
   414              format
   415              kind
   416              data
   417              fetchRequest {
   418                url
   419                auth {
   420                  credential {
   421                    ... on BasicCredentialData {
   422                      username
   423                      password
   424                    }
   425                    ... on CertificateOAuthCredentialData {
   426                      clientId
   427                      certificate
   428                      url
   429                    }
   430                    ... on OAuthCredentialData {
   431                      clientId
   432                      clientSecret
   433                      url
   434                    }
   435                  }
   436                  oneTimeToken {
   437                    __typename
   438                    token
   439                    used
   440                    expiresAt
   441                  }
   442                  certCommonName
   443                  accessStrategy
   444                  additionalHeaders
   445                  additionalQueryParams
   446                  requestAuth {
   447                    csrf {
   448                      tokenEndpointURL
   449                      credential {
   450                        ... on BasicCredentialData {
   451                          username
   452                          password
   453                        }
   454                        ... on OAuthCredentialData {
   455                          clientId
   456                          clientSecret
   457                          url
   458                        }
   459                        ... on CertificateOAuthCredentialData {
   460                          clientId
   461                          certificate
   462                          url
   463                        }
   464                      }
   465                      additionalHeaders
   466                      additionalQueryParams
   467                    }
   468                  }
   469                }
   470                mode
   471                filter
   472                status {
   473                  condition
   474                  message
   475                  timestamp
   476                }
   477              }
   478            }
   479            pageInfo {
   480              startCursor
   481              endCursor
   482              hasNextPage
   483            }
   484            totalCount
   485          }
   486        }
   487        pageInfo {
   488          startCursor
   489          endCursor
   490          hasNextPage
   491        }
   492        totalCount
   493      }
   494      auths {
   495        id
   496        auth {
   497          credential {
   498            ... on BasicCredentialData {
   499              username
   500              password
   501            }
   502            ... on CertificateOAuthCredentialData {
   503              clientId
   504              certificate
   505              url
   506            }
   507            ... on OAuthCredentialData {
   508              clientId
   509              clientSecret
   510              url
   511            }
   512          }
   513          oneTimeToken {
   514            __typename
   515            token
   516            used
   517            expiresAt
   518          }
   519          certCommonName
   520          accessStrategy
   521          additionalHeaders
   522          additionalQueryParams
   523          requestAuth {
   524            csrf {
   525              tokenEndpointURL
   526              credential {
   527                ... on BasicCredentialData {
   528                  username
   529                  password
   530                }
   531                ... on OAuthCredentialData {
   532                  clientId
   533                  clientSecret
   534                  url
   535                }
   536                ... on CertificateOAuthCredentialData {
   537                  clientId
   538                  certificate
   539                  url
   540                }
   541              }
   542              additionalHeaders
   543              additionalQueryParams
   544            }
   545          }
   546        }
   547      }
   548      eventingConfiguration {
   549        defaultURL
   550      }
   551    }
   552  }