Skip to content

Commit

Permalink
Add 'spring-boot-configuration-processor' dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
David Turanski authored and ilayaperumalg committed Aug 13, 2018
1 parent a4c2c58 commit f66c0cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spring-cloud-dataflow-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
<groupId>org.springframework.analytics</groupId>
<artifactId>spring-analytics</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,27 @@
* Configuration properties used in {@link DataFlowClientAutoConfiguration}
*
* @author Vinicius Carvalho
* @author David Turanski
*/
@ConfigurationProperties(prefix = DataFlowPropertyKeys.PREFIX + "client")
public class DataFlowClientProperties {

/**
* The Data Flow server URI.
*/
private String serverUri = "http://localhost:9393";

private Authentication authentication = new Authentication();

/**
* Skip Ssl validation.
*/
private boolean skipSslValidation = true;


/**
* Enable Data Flow DSL access.
*/
private boolean enableDsl = false;

public boolean isEnableDsl() {
Expand Down Expand Up @@ -80,8 +91,14 @@ public void setBasic(Basic basic) {

public static class Basic {

/**
* The login username.
*/
private String username;

/**
* The login password.
*/
private String password;

public String getUsername() {
Expand Down

0 comments on commit f66c0cf

Please sign in to comment.