Sign inSign up

tenforce/push-service

By tenforce

•Updated about 9 years ago

Proof of concept service that provides a WebSocket for the client to be notified when changes happen

Image
0

453

tenforce/push-service repository overview

License Build Status codecov

⁠Mu Push Service

Service that provides WebSocket for the client to be notified when changes happen to the database.

⁠Usage

You need to have the Delta service⁠ and mu-cl-resources⁠ to be running:

docker run -it --rm --name push-service -p 8080:80 \
    -e MU_SPARQL_ENDPOINT=http://delta:8890/sparql \
    -e MU_CL_RESOURCES_ENDPOINT=http://resources \
    -v <path_to_mu_cl_resource_config>:/config \
    tenforce/push-service

Also: don't forget to register this service in the subscribers of the Delta service:

subscribers.json:

{
  "potentials":[
    "http://push-service/update"
  ],
  "effectives":[
  ]
}

Tag summary

Content type

Image

Digest

Size

263.6 MB

Last updated

about 9 years ago

docker pull tenforce/push-service