Skip to content
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

Pubber endpoint configuration working with mosquitto broker #497

Merged
merged 23 commits into from
Nov 9, 2022

Conversation

grafnu
Copy link
Collaborator

@grafnu grafnu commented Nov 6, 2022

No description provided.

@grafnu grafnu marked this pull request as ready for review November 7, 2022 12:46
}
EOF

ps ax | fgrep java | fgrep /tmp/pubber_config.json | fgrep -v grep | awk '{print $1}' | xargs -r kill
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something like I'm doing eleswhere?

function kill_existing() {
kill $(pgrep -f 'java.*pubber-.*jar')
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

"protocol": "mqtt",
"hostname": "mqtt.googleapis.com",
"port": 8883,
"client_id": "prasjdhsadas",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this - just a placeholder?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file is just for testing against various kinds of schema violations.... not even sure that it counts as a placeholder.


sudo touch ${PASSWORD_FILE}
sudo mosquitto_passwd -b ${PASSWORD_FILE} ${USERNAME} ${PASSWORD}
sudo chmod 666 ${PASSWORD_FILE}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually we can't do this kind of stuff

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which kind of stuff, exactly?

@grafnu grafnu merged commit 167f8b3 into faucetsdn:master Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants