Skip to content

Axway-API-Management-Plus/apim-cli-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axway APIM-CLI GitHub Action

This action helps you to use the Axway APIM CLI in a GitHub Actions workflow. You can import APIs, Applications, Organizations, and Users into an API-Manager in Batch-Mode based on a specified directory structure.

Additionally, you can call the APIM CLI directly with a given command according to your needs.

Inputs

command

Run an APIM-CLI command. For example: 'apim api get -h api.demo.axway.com -u serviceaccount -p ${{ secrets.password }}'.

Example usage

    - name: Get all applications
      uses: Axway-API-Management-Plus/apim-cli-github-action@v1.14.8
        with:
          command: apim api get -h api.demo.axway.com -u serviceaccount -p ${{ secrets.password }}
        env:
          LOG_LEVEL: 'DEBUG'
    - name: Import APIs
      uses: Axway-API-Management-Plus/apim-cli-github-action@v1.14.8
        with:
          command: "apim api import -c api-config.json -a api.json -h maverick.demo.axway.com -u apiadmin -p ${{ secrets.password }}"