Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

BO-82 "cm::services::stream" extend with status-secret token param #1664

Merged
merged 4 commits into from Feb 28, 2017

Conversation

kris-lab
Copy link
Contributor

@kris-lab kris-lab commented Feb 13, 2017

@kris-lab kris-lab self-assigned this Feb 13, 2017
@kris-lab
Copy link
Contributor Author

@tomaszdurka please review

class cm::services::stream(
$port = 8090,
class cm::services::stream (
$port = 8090,
$ssl_cert,
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: should you order params by non-optonial in front?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am OK to have it optional. I thought you wanna enforce this token for higher security.

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, tbh. I am just describing possibilities from socket-redis library itself.
I guess we could have done that there.

On the other hand I think it's nice to be able to start this library locally without any extra configuration.

$statusPort = '8085',
$logDir = '/var/log/socket-redis',
$statusPort = '8085',
$statusToken = 'supersecret',
Copy link
Contributor

Choose a reason for hiding this comment

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

This is optional param, let's not make it mandatory here?
image

$socket_ports = [8091, 8092, 8093, 8094],
$status_port = 8085
$status_port = 8085,
$status_token = 'supersecret',
Copy link
Contributor

Choose a reason for hiding this comment

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

I would make it optional here too, but as you wish.

@kris-lab
Copy link
Contributor Author

@tomaszdurka please re-review, all is optional.

Copy link
Contributor

@tomaszdurka tomaszdurka left a comment

Choose a reason for hiding this comment

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

lgtm

@kris-lab
Copy link
Contributor Author

@tomaszdurka please re-review again, there was missing secret config for daemon!

@tomaszdurka
Copy link
Contributor

ok, but still failing

@kris-lab
Copy link
Contributor Author

retest this please

@kris-lab
Copy link
Contributor Author

@tomaszdurka specs are fine, CI was having troubles again.

@tomaszdurka
Copy link
Contributor

lgtm then

@kris-lab kris-lab changed the title "cm::services::stream" extend with status-secret token param BO-82 "cm::services::stream" extend with status-secret token param Feb 27, 2017
@kris-lab kris-lab merged commit f63cf10 into cargomedia:master Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants