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

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