-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swarm #394
Conversation
Introduce first config phase, "applied", in which a device is sent one or more inline payloads or URLs to retrieve. The device then applies the payloads.
bin/test_redirect
Outdated
fi | ||
|
||
site_path=sites/udmi_site_model | ||
device_id=AHU-22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can it be made clear why this is hardcoded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added comment (it's just hardcoded for testing)
|
||
pids=`ps ax | fgrep pubber | fgrep java | awk '{print $1}'` | ||
if [[ -n $pids ]]; then | ||
echo Killing pubber pids $pids |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should really be lock files etc instead of ps grepping.. at some point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added TODO
Merging swarm sprint branch into master. These changes have already been somewhat reviewed as parts of other PRs.