Introduction
There are two ways to test for empty string, both using switch statements.
Method One
Method Two
Example
Example Graph
This can be triggered by POSTING the below body to localhost:8181/restconf/operations/SLI-API:execute-graph
{ "input" : { "module-name" : "TEST", "rpc-name" : "REST", "mode" : "sync", "sli-parameter" : [ { "parameter-name" : "NOT_USED", "string-value": "NOT_USED" } ] } }