This is from the old Ant build (which Geode doesn't use):

$build.sh run-management-tests -DuseHTTP=true

What's the counterpart in the Geode gradle build?

-Kirk


On Thu, Oct 22, 2015 at 11:55 AM, John Blum <[email protected]> wrote:

>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39023/#review103635
> -----------------------------------------------------------
>
>
> You will also need to run the Management test suite using HTTP (especially
> for v8.x and earlier) with...
>
> $build.sh run-management-tests -DuseHTTP=true
>
> This will run all the Manager/Gfsh commands over HTTP using the Management
> REST API.  I am not exactly sure how to do this with the Apache Geode
> codebase and Gradle build, or even if the Management test suite is part of
> the Apache Geode codebase yet.
>
>
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/web/controllers/AbstractCommandsController.java
> (line 255)
> <https://reviews.apache.org/r/39023/#comment161695>
>
>     Make the "scheme" parameter final for consistency.
>
>     Typically, you should add parameters to the end of the method
> parameter list and also include a method such as...
>
>     protected static final String DEFAULT_SCHEME = "http";
>
>     ...
>
>     protected URI toUri(final String path) {
>       return toUri(path, DEFAULT_SCHEME);
>     }
>
>     This will help minimize the necessary code changes in areas of the
> code that are not affected by the scheme.
>
>
>
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/web/controllers/AbstractCommandsController.java
> (line 256)
> <https://reviews.apache.org/r/39023/#comment161703>
>
>     Structure as...
>
>     return
> ServletUriComponentsBuilder.fromCurrentContextPath().scheme(scheme)
>     .path(REST_API_VERSION).path(path).build().toUri();
>
>
>
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/web/controllers/ShellCommandsController.java
> (line 146)
> <https://reviews.apache.org/r/39023/#comment161700>
>
>     Make the "scheme" parameter final for consistency.
>
>
>
> gemfire-web/src/test/java/com/gemstone/gemfire/management/internal/web/controllers/ShellCommandsControllerJUnitTest.java
> (line 215)
> <https://reviews.apache.org/r/39023/#comment161702>
>
>     +1
>
>
> - John Blum
>
>
> On Oct. 5, 2015, 10:10 p.m., Jens Deppe wrote:
> >
> > -----------------------------------------------------------
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/39023/
> > -----------------------------------------------------------
> >
> > (Updated Oct. 5, 2015, 10:10 p.m.)
> >
> >
> > Review request for geode and John Blum.
> >
> >
> > Repository: geode
> >
> >
> > Description
> > -------
> >
> > GEODE-381 enable gfsh https usage through SSL terminated environments
> >
> >
> > Diffs
> > -----
> >
> >
>  
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/cli/commands/ShellCommands.java
> 4bdab90ef905731c19568b0d7638ebb5bbe577bb
> >
>  
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/web/controllers/AbstractCommandsController.java
> 73ce9265eb0f4d260b18919d3478738656fec073
> >
>  
> gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/web/controllers/ShellCommandsController.java
> ef4c49f1a5434cfae1e7fac2db3577cef7a0c834
> >   gemfire-web/build.gradle b9629d30a66d70e9283987ab2db8d4bb2b2f08a1
> >
>  
> gemfire-web/src/test/java/com/gemstone/gemfire/management/internal/web/controllers/ShellCommandsControllerJUnitTest.java
> 34aa28589cf1c30dbf37abe1c17f92749dea835a
> >
> > Diff: https://reviews.apache.org/r/39023/diff/
> >
> >
> > Testing
> > -------
> >
> > Ran Management JUnit tests
> >
> >
> > Thanks,
> >
> > Jens Deppe
> >
> >
>
>

Reply via email to