1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/resources/metadata/integrationArtifactTriggerIntegrationTest.yaml

66 lines
2.5 KiB
YAML
Raw Normal View History

metadata:
name: integrationArtifactTriggerIntegrationTest
description: Test the service endpoint of your iFlow
longDescription: |
With this step you can test your intergration flow exposed by SAP BTP Integration on a tenant using OData API.Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
spec:
inputs:
secrets:
- name: integrationFlowServiceKeyCredentialsId
description: Jenkins secret text credential ID containing the service key to the Process Integration Runtime service instance of plan 'integration-flow'
type: jenkins
params:
- name: integrationFlowServiceKey
type: string
description: Service key JSON string to access the Process Integration Runtime service instance of plan 'integration-flow'
scope:
- PARAMETERS
mandatory: true
secret: true
resourceRef:
- name: integrationFlowServiceKeyCredentialsId
type: secret
param: integrationFlowServiceKey
- name: integrationFlowId
type: string
description: Specifies the ID of the Integration Flow artifact
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
- name: integrationFlowServiceEndpointUrl
resourceRef:
- name: commonPipelineEnvironment
param: custom/integrationFlowServiceEndpoint
type: string
description: Specifies the URL endpoint of the iFlow. Please provide in the format `<protocol>://<host>:<port>`. Supported protocols are `http` and `https`.
scope:
- PARAMETERS
mandatory: true
- name: contentType
type: string
description: Specifies the content type of the file defined in messageBodyPath e.g. application/json
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: messageBodyPath
type: string
description: Speficfies the relative file path to the message body.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
outputs:
resources:
- name: commonPipelineEnvironment
type: piperEnvironment
params:
- name: custom/integrationFlowTriggerIntegrationTestResponseBody
- name: custom/integrationFlowTriggerIntegrationTestResponseHeaders