-
Notifications
You must be signed in to change notification settings - Fork 29
Get Functions
This function will retrieve the packages from the selected environment
The environment file
- $Result will contain the packages array
- In the console you will see this operation logger info.
Example: getPackages "$env"
This function will retrieve the servicies from the selected environment
The environment file
- $Result will contain the servicies array
- In the console you will see this operation logger info.
Example: getServices "$env"
This function will retrieve a particular service filtered by the name, vendor and version.
- The environment file
- The name, version and vendor
- $Service will contain the full service json
- $Service_uuid will contain the service uuid
- $Service_status will contain the service status
- In the console you will see this operation logger info.
Example: getService "$env" "NS-squid-haproxy" "0.1" "eu.5gtango"
This function will retrieve a particular package filtered by the name, vendor and version.
- The environment file
- The name, version and vendor
- $Package will contain the full service json
- $Package_uuid will contain the service uuid
- $Package_status will contain the service status
- In the console you will see this operation logger info.
Example: getPackage "$env" "ns-package-example" "0.1" "eu.5gtango"
This function will retrieve the Policies from the selected environment
The environment file
- $Result will contain the Policies array
- In the console you will see this operation logger info.
Example: getPolicies "$env"
This function will retrieve the SLAS from the selected environment
The environment file
- $Result will contain the SLAS array
- In the console you will see this operation logger info.
Example: getSlas "$env"
This function will retrieve the Functions from the selected environment
The environment file
- $Result will contain the Functions array
- In the console you will see this operation logger info.
Example: getFunctions "$env"
This function will retrieve the Requests from the selected environment
The environment file
- $Result will contain the Requests array
- In the console you will see this operation logger info.
Example: getRequests "$env"
This function will retrieve the Slices from the selected environment
The environment file
- $Result will contain the Slices array
- In the console you will see this operation logger info.
Example: getSlices "$env"