mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
ef2db4c2b0
* ApiProviderUpload Command * formatting fix * formatting fix * formatting fix * formatting fix * CodeReview Changes * CodeReview Fix * CodeReview fix * CodeReview Fix * CodeReview FIx * CodeReview FIxes * CodeReview Fixes * CodeReview Fixes * CodeReview Fixes * CodeReview Fix * CodeReview Fix * CodeReview Fixes * CodeReview Fix * Doc Fixes * CodeReview Fix * CodeReview Fixes * Doc Fixes * Update cmd/apiProviderUpload_test.go Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * CodeReview FIxes * Update cmd/apiProviderUpload.go Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * CodeReview Fixes Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
metadata:
|
|
name: apiProviderUpload
|
|
description: this steps creates an API provider artifact in the API Portal.
|
|
longDescription: |
|
|
This steps creates an API provider artifact in the API Portal using the OData API.
|
|
Learn more about API Management api for creating an API provider artifact [here](https://help.sap.com/viewer/66d066d903c2473f81ec33acfe2ccdb4/Cloud/en-US/e26b3320cd534ae4bc743af8013a8abb.html).
|
|
|
|
spec:
|
|
inputs:
|
|
secrets:
|
|
- name: apimApiServiceKeyCredentialsId
|
|
description: Jenkins secret text credential ID containing the service key to the API Management Runtime service instance of plan 'api'
|
|
type: jenkins
|
|
params:
|
|
- name: apiServiceKey
|
|
type: string
|
|
description: Service key JSON string to access the API Management Runtime service instance of plan 'api'
|
|
scope:
|
|
- PARAMETERS
|
|
mandatory: true
|
|
secret: true
|
|
resourceRef:
|
|
- name: apimApiServiceKeyCredentialsId
|
|
type: secret
|
|
param: apiServiceKey
|
|
- name: filePath
|
|
type: string
|
|
description: Specifies api provider json file relative path
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|