README.md in cpee-logging-xes-yaml-1.0.3 vs README.md in cpee-logging-xes-yaml-1.0.4
- old
+ new
@@ -18,21 +18,23 @@
:host: cpee.org
:bind: 127.0.0.1
:log_dir: /var/log/cpee
```
-To connec the cpee to the log, one of two things can be done: (1) add a handler to
+To connect the cpee to the log, one of two things can be done: (1) add a handler to
a testset/template:
```xml
<handlers>
<handler url="http://localhost:9299/">
<events topic="activity">calling,receiving,done</events>
<events topic="dataelements">change</events>
<events topic="endpoints">change</events>
<events topic="attributes">change</events>
<events topic="task">instantiation</events>
+ <events topic="description">change</events>
+ <events topic="state">change</events>
</handler>
</handlers>
```
(2) add a default handler to the cpee by adding
@@ -44,11 +46,11 @@
...
use CPEE::implementation(@riddl_opts)
end.loop!
```
-to the server (or alternatively to a log.conf with :notification_init
+to the server (or alternatively to a cpee.conf with :notification_init
beeing a top-level yaml key). Then add a subscription file to
notifications/logging/subscription.xml
```xml
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0" url="http://localhost:9299/">
@@ -62,9 +64,15 @@
</topic>
<topic id="endpoints">
<event>change</event>
</topic>
<topic id="attributes">
+ <event>change</event>
+ </topic>
+ <topic id="description">
+ <event>change</event>
+ </topic>
+ <topic id="state">
<event>change</event>
</topic>
<topic id="task">
<event>instantiation</event>
</topic>