AgentApis

Get pending service change request for agents to poll.

get/agent/xpanse/poll/{serviceId}/{resourceName}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/agent/xpanse/poll/{serviceId}/{resourceName}
  • Auth: OAuth 2 (authorization code, authorization URL https://xpanse-demo.eclipseprojects.io/oauth/v2/authorize, token URL https://xpanse-demo.eclipseprojects.io/oauth/v2/token)

Path parameters

serviceIdstring uuid required

The id of the deployed service

resourceNamestring required

The name of the resource of deployed service

Response

pending service change update request details

changeIdstring uuid required

Id of the change request

serviceChangeParametersobject required

request parameters to be used to execute the change scripts. In case of Ansible, this will be used as extra vars.

ansibleInventoryobject

Inventory information for Ansible script.

Example response

{
  "ansibleScriptConfig": {
    "playbookName": "playbook-name.yml",
    "virtualEnv": "/tmp/virtualEnv",
    "pythonVersion": "3.10",
    "requirementsFile": "modules/requirements.txt"
  }
}

Changes

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Deployment State enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Invalid Service Object Request enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • warning

      added the new Service Object Not Found enum value to the response property for the response status

    • info

      api tag AgentApis added

    • info

      api tag Agent Api removed

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Action Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status

    • warning

      added the new Service Configuration Change Order Already Exists enum value to the response property for the response status