zdavatz/smart-order

enable cockpit output

zdavatz opened this issue · 2 comments

Create a new directory in smart-order root called cockpit on the same directory level like the rose dir. The following files have to be served as JSON via HTTPS

_chargenrueckrufe_de.json
_chargenrueckrufe_fr.json
_dhcp_hcp_de.json
_dhcp_hcp_fr.json
_drugshortage.json

Each file needs a separate link, i.e.

cockpit=chargen_de
cockpit=chargen_fr
cockpit=dhcp_de
cockpit=dhcp_fr
cockpit=drugshortage

Calling the link will load the JSON file in the browser. The files can be generated with https://github.com/zdavatz/ymeteor using the the command meteor --once --settings swissmedic.json the files can be found in public/exports of ymeteor

Drugshortage file is created with: meteor --settings drugshortage.json --once

Frage: ich sehe im Log nicht, dass die neuen Files auch geladen werden durch das Polling.

Ja, es liest die Datei wenn Request kommt. Also Polling wird nicht gebraucht.