mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Mann <g...@mesosphere.io>
Subject Review Request 57840: Changed the namespaces of the secret generators.
Date Wed, 22 Mar 2017 13:38:47 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57840/
-----------------------------------------------------------

Review request for mesos and Anand Mazumdar.


Bugs: MESOS-6999
    https://issues.apache.org/jira/browse/MESOS-6999


Repository: mesos


Description
-------

This patch updates the namespaces of the secret generators.
The `SecretGenerator` is placed into `mesos::`, consistent
with other classes declared in files in the same directory.
The implementations in `src/authentication/` do not exhibit
a consistent pattern, so the `JWTSecretGenerator` was placed
in a namespace indicative of its directory structure:
`mesos::authentication::executor`.


Diffs
-----

  include/mesos/authentication/secret_generator.hpp f2fb0e7f41f2267f9764f0dab5b1e98ce83d2529

  include/mesos/module/secret_generator.hpp c8b7d8cb818b3a38a05d359b6755359f073c767d 
  src/authentication/executor/jwt_secret_generator.hpp a945358d1808c339355264e623862222a4d4243a

  src/authentication/executor/jwt_secret_generator.cpp 6aed6bdd753996e27bc27001104d27fc785d56d8

  src/slave/slave.hpp e2de66cc5b899b8b9a9ea27cc30f19a9e8fc11fb 
  src/slave/slave.cpp a4f4a9ca80b726de8e07571fd6d93120947c278b 
  src/tests/cluster.hpp 250b12fcffd035834817ff6060eb80c2cf3e0246 
  src/tests/secret_generator_tests.cpp 81fd54dfa0a508c20b6d11ff62d9a207066be8f4 


Diff: https://reviews.apache.org/r/57840/diff/1/


Testing
-------

`make check`


Thanks,

Greg Mann


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message