spring-attic / cloudfoundry-service-broker

Sample project for Spring Cloud - Cloud Foundry Service Broker
Apache License 2.0
41 stars 90 forks source link

Master does not compile and produces warnings #23

Closed asaikali closed 6 years ago

asaikali commented 6 years ago
 ./gradlew build
The plugin id 'spring-boot' is deprecated. Please use 'org.springframework.boot' instead.
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
:processResources
:classes
:findMainClass
:jar
:bootRepackage
:assemble
:compileTestJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/Users/asaikali/git/demos/cloudfoundry-service-broker/src/test/java/org/springframework/cloud/servicebroker/mongodb/service/MongoServiceInstanceServiceTest.java:155: error: no suitable constructor found for CreateServiceInstanceRequest(String,String,String,String)
        return new CreateServiceInstanceRequest(SVC_DEF_ID, SVC_PLAN_ID, "organizationGuid", "spaceGuid")
               ^
    constructor CreateServiceInstanceRequest.CreateServiceInstanceRequest() is not applicable
      (actual and formal argument lists differ in length)
    constructor CreateServiceInstanceRequest.CreateServiceInstanceRequest(String,String,String,String,Context,Map<String,Object>) is not applicable
      (actual and formal argument lists differ in length)
    constructor CreateServiceInstanceRequest.CreateServiceInstanceRequest(String,String,String,String,Map<String,Object>) is not applicable
      (actual and formal argument lists differ in length)
1 error
1 warning
:compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Compilation failed; see the compiler error output for details.

* 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.905 secs
scottfrederick commented 6 years ago

Fixed via #24 and 69704ae9b95cbd834a9717889586fcca54300e8e