Petals CLI SNAPSHOT

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
h2. Working with the Service Registry

{note}Qualified names, like service and interface names, are written as follows:\{namespace-uri\}local-part.{note}

h3. Showing the registry's full content

* <endpoints-list> is the list of endpoint name implementing the interface or service.

{note}Qualified names, like service and interface names, are written as follows:\{namespace-uri\}local-part.{note}

h4. Filtering the registry's full content

It is however possible to filter the dumped result.
{code}
petals-cli> registry-list [-e <endpoint-name-regexp>] [-s <service-name-regexp>] [-i <interface-name-regexp>] [-c <container-name-regexp>]
{code}

where:
* *<endpoint-name-regexp>* is a regular expression used as filter on the full end-point name.,
* *<service-name-regexp>* is a regular expression used as filter on the full service name.,
* *<interface-name-regexp>* is a regular expression used as filter on the full interface name.,
* *<container-name-regexp>* is a regular expression used as filter on the container name on which the endpoints are deployed.

The parameter order (endpoint, service, interface) does not matter.
All are optional. If none is specified, the entire regitry content is dumped.

{note}
The {{\{}} and {{\}}} are special in Java's regex dialect: they are the opening and closing tokens for the repetition quantifier {{\{n,m\}}} where {{n}} and {{m}} are integers. Hence the error message: "Illegal repetition".

You should escape them: "\\{http://petals.ow2.org/\\}Service".
{note}


h4. Controlling the output of the registry content dumped