This documentation and the Cisco Observability Platform functionalities it describes are subject to change. Data saved on the platform may disappear and APIs may change without notice.


Validate a Solution

Validating a solution ensures that:

  • The structure and content of the manifest file are correct.
  • Knowledge objects are compliant with the schema in the type definition.

To validate a solution, run the following command from the directory containing the manifest file for your solution:

fsoc solution validate --tag <tag>

--tag is a mandatory header that must be set when you deploy your solution. See Tag a Solution.

Sample Output - Successful Execution

fsoc solution validate --tag <tag>
Creating solution zip: "/var/folders/f2/bqcq6lws1r36dlrzr6d771f80000gn/T/<solution-name>.zip"
Validating solution <solution-name> version 1.0.18 with tag <tag>
✓ Platform API call (POST /solution-manager/v1/solutions)
Successfully validated solution <solution-name> version 1.0.18 with tag <tag>.

Sample Output - Failed Execution

fsoc solution validate --tag <tag>
Creating solution zip: "/var/folders/f2/bqcq6lws1r36dlrzr6d771f80000gn/T/<solution-name>.zip"
Validating solution <solution-name> version 1.0.14 with tag <tag>
✓ Platform API call (POST /solution-manager/v1/solutions)

1 errors detected while validating solution
- Error Content: {Error:Requested version: 1.0.14 should be greater than latest availale for solution: <solution-name>, tag: <tag>, version: 1.0.17 Source:manifest.json}

   ⨯ 1 error(s) found while validating the solution