waltz-controls / magix-war-plugin

Waltz-Controls Magic Box war plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Magix Waltz-Controls war plugin

This plugin implements the "Green box" aka Magix from the diagram below:

Usage

Deploy to Tomcat

Broadcast a message:

POST http://localhost:8080/magix/api/broadcast   
                
{"action": "read", "target":"tango","payload":[{"host":"hzgxenvtest:10000","device": "sys/tg_test/0","name": "double_scalar"}]}

Or to a specific channel:

POST http://localhost:8080/magix/api/broadcast?channel=private   
                
{"action": "read", "target":"tango","payload":[{"host":"hzgxenvtest:10000","device": "sys/tg_test/0","name": "double_scalar"}]}

Message format is defined in Waltz-Controls RFC-1

Subscribe to SSE:

GET http://localhost:8080/magix/api/subscribe 

About

Waltz-Controls Magic Box war plugin

License:MIT License


Languages

Language:Java 89.6%Language:Shell 7.3%Language:Dockerfile 2.6%Language:JavaScript 0.5%