You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@aurora.apache.org by Bill Farner <wf...@apache.org> on 2015/04/29 04:24:17 UTC

Review Request 33658: Remove redundant enable_api_security argument.

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

Review request for Aurora and Kevin Sweeney.


Bugs: AURORA-1291
    https://issues.apache.org/jira/browse/AURORA-1291


Repository: aurora


Description
-------

Remove redundant enable_api_security argument.


Diffs
-----

  docs/security.md db2e92495661800ef513334568810f16fcf513e1 
  examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
  examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
  src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
  src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 

Diff: https://reviews.apache.org/r/33658/diff/


Testing
-------


Thanks,

Bill Farner


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Bill Farner <wf...@apache.org>.

> On April 29, 2015, 6:13 p.m., Kevin Sweeney wrote:
> > src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java, line 150
> > <https://reviews.apache.org/r/33658/diff/2/?file=944645#file944645line150>
> >
> >     ": "

Done.


- Bill


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


On April 29, 2015, 9:24 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33658/
> -----------------------------------------------------------
> 
> (Updated April 29, 2015, 9:24 p.m.)
> 
> 
> Review request for Aurora and Kevin Sweeney.
> 
> 
> Bugs: AURORA-1291
>     https://issues.apache.org/jira/browse/AURORA-1291
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove redundant enable_api_security argument.
> 
> 
> Diffs
> -----
> 
>   docs/security.md db2e92495661800ef513334568810f16fcf513e1 
>   examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
>   examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
>   src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
>   src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 
> 
> Diff: https://reviews.apache.org/r/33658/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Kevin Sweeney <ke...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33658/#review81990
-----------------------------------------------------------

Ship it!


Thanks for taking this on!


src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java
<https://reviews.apache.org/r/33658/#comment132557>

    ": "


- Kevin Sweeney


On April 28, 2015, 7:30 p.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33658/
> -----------------------------------------------------------
> 
> (Updated April 28, 2015, 7:30 p.m.)
> 
> 
> Review request for Aurora and Kevin Sweeney.
> 
> 
> Bugs: AURORA-1291
>     https://issues.apache.org/jira/browse/AURORA-1291
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove redundant enable_api_security argument.
> 
> 
> Diffs
> -----
> 
>   docs/security.md db2e92495661800ef513334568810f16fcf513e1 
>   examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
>   examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
>   src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
>   src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 
> 
> Diff: https://reviews.apache.org/r/33658/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Aurora ReviewBot <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33658/#review81921
-----------------------------------------------------------

Ship it!


Master (e311dbe) is green with this patch.
  ./build-support/jenkins/build.sh

I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On April 29, 2015, 2:30 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33658/
> -----------------------------------------------------------
> 
> (Updated April 29, 2015, 2:30 a.m.)
> 
> 
> Review request for Aurora and Kevin Sweeney.
> 
> 
> Bugs: AURORA-1291
>     https://issues.apache.org/jira/browse/AURORA-1291
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove redundant enable_api_security argument.
> 
> 
> Diffs
> -----
> 
>   docs/security.md db2e92495661800ef513334568810f16fcf513e1 
>   examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
>   examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
>   src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
>   src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 
> 
> Diff: https://reviews.apache.org/r/33658/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bill Farner
> 
>


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33658/
-----------------------------------------------------------

(Updated April 29, 2015, 9:24 p.m.)


Review request for Aurora and Kevin Sweeney.


Bugs: AURORA-1291
    https://issues.apache.org/jira/browse/AURORA-1291


Repository: aurora


Description
-------

Remove redundant enable_api_security argument.


Diffs (updated)
-----

  docs/security.md db2e92495661800ef513334568810f16fcf513e1 
  examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
  examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
  src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
  src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 

Diff: https://reviews.apache.org/r/33658/diff/


Testing
-------


Thanks,

Bill Farner


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Bill Farner <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33658/
-----------------------------------------------------------

(Updated April 29, 2015, 2:30 a.m.)


Review request for Aurora and Kevin Sweeney.


Changes
-------

Fix integration test broken by first diff.


Bugs: AURORA-1291
    https://issues.apache.org/jira/browse/AURORA-1291


Repository: aurora


Description
-------

Remove redundant enable_api_security argument.


Diffs (updated)
-----

  docs/security.md db2e92495661800ef513334568810f16fcf513e1 
  examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
  examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
  src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
  src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 

Diff: https://reviews.apache.org/r/33658/diff/


Testing
-------


Thanks,

Bill Farner


Re: Review Request 33658: Remove redundant enable_api_security argument.

Posted by Aurora ReviewBot <wf...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33658/#review81920
-----------------------------------------------------------


Master (e311dbe) is red with this patch.
  ./build-support/jenkins/build.sh

:licenseTest UP-TO-DATE
:license UP-TO-DATE
:pmdMain
:test

org.apache.aurora.scheduler.http.api.security.ApiSecurityIT > testAuroraAdmin FAILED
    java.lang.IllegalStateException at ApiSecurityIT.java:258
    java.lang.RuntimeException
        Caused by: java.lang.AssertionError

org.apache.aurora.scheduler.http.api.security.ApiSecurityIT > testReadOnlyScheduler FAILED
    java.lang.IllegalStateException at ApiSecurityIT.java:181
    java.lang.RuntimeException
        Caused by: java.lang.AssertionError

org.apache.aurora.scheduler.http.api.security.ApiSecurityIT > testAuroraSchedulerManager FAILED
    java.lang.IllegalStateException at ApiSecurityIT.java:208
    java.lang.RuntimeException
        Caused by: java.lang.AssertionError

866 tests completed, 3 failed, 2 skipped
:test FAILED
:jacocoTestReport
Coverage report generated: file:///home/jenkins/jenkins-slave/workspace/AuroraBot/dist/reports/jacoco/test/html/index.html
:analyzeReport
Instruction coverage of 0.8938251262226166 exceeds minimum coverage of 0.89.
Branch coverage is 0.8260460742830278, but must be greater than 0.835

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/jenkins/jenkins-slave/workspace/AuroraBot/dist/reports/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4 mins 17.04 secs


I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On April 29, 2015, 2:24 a.m., Bill Farner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33658/
> -----------------------------------------------------------
> 
> (Updated April 29, 2015, 2:24 a.m.)
> 
> 
> Review request for Aurora and Kevin Sweeney.
> 
> 
> Bugs: AURORA-1291
>     https://issues.apache.org/jira/browse/AURORA-1291
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Remove redundant enable_api_security argument.
> 
> 
> Diffs
> -----
> 
>   docs/security.md db2e92495661800ef513334568810f16fcf513e1 
>   examples/vagrant/upstart/aurora-scheduler-kerberos.conf ef502b7dcc48c716f71ab5ce920084917564f6ff 
>   examples/vagrant/upstart/aurora-scheduler.conf 82ad42fd0a626672dca80a5362fc07d804b3e412 
>   src/main/java/org/apache/aurora/scheduler/http/api/security/ApiSecurityModule.java ca8e23b57a2fc17ca72102b64c70bb21b47bb860 
>   src/test/java/org/apache/aurora/scheduler/app/local/LocalSchedulerMain.java a91c4a2e911e24d4d4d5a9b8eb6544491affd890 
> 
> Diff: https://reviews.apache.org/r/33658/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bill Farner
> 
>