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/apiProxyList.yaml
Mayur Belur Mohan cdea4b7713
ApiProxyList Command (#3794)
* ApiProxyList Command

* CodeReview Fixes

* CodeReview Fixes

* CodeReview FIxes

* CodeReview Fixes

* CodeReview FIxes

* CodeReview Fixes

* fixing unit test

* doc fixes

* Update documentation/docs/steps/apiProxyList.md

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>

* CodeReview Fixes

* CodeReview Fixes

* CodeReview Fixes

* codereview fix

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2022-06-21 13:08:00 +02:00

95 lines
2.6 KiB
YAML

metadata:
name: apiProxyList
description: Get the List of an API Proxy from the API Portal
longDescription: |
With this step you can get list of all API Proxy from the API Portal using the OData API. Learn more about the API Management API for getting list of an API proxy 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: top
type: int
description: Show only the first n items.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: skip
type: int
description: Skip the first n items.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: filter
type: string
description: Filter items by property values.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: count
type: bool
description: Include count of items.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: search
type: string
description: Search items by search phrases.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: orderby
type: string
description: Order by property values.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: select
type: string
description: Select properties to be returned.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
- name: expand
type: string
description: Expand related entities.
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
outputs:
resources:
- name: commonPipelineEnvironment
type: piperEnvironment
params:
- name: custom/apiProxyList