Skip to content
Snippets Groups Projects
Commit ce4ab24f authored by OZGCloud's avatar OZGCloud
Browse files

documentation for spring properties

parent b9863ce6
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ public class OzgCloudVorgangId extends StringBasedValue { ...@@ -11,7 +11,7 @@ public class OzgCloudVorgangId extends StringBasedValue {
} }
@ObjectFactory @ObjectFactory
public static OzgCloudVorgangId from(String id) { public static OzgCloudVorgangId from(String vorgangId) {
return new OzgCloudVorgangId(id); return new OzgCloudVorgangId(vorgangId);
} }
} }
...@@ -5,5 +5,5 @@ import org.mapstruct.Mapper; ...@@ -5,5 +5,5 @@ import org.mapstruct.Mapper;
@Mapper @Mapper
public interface OzgCloudVorgangIdMapper { public interface OzgCloudVorgangIdMapper {
OzgCloudVorgangId fromString(String id); OzgCloudVorgangId fromString(String vorgangId);
} }
...@@ -44,6 +44,18 @@ ...@@ -44,6 +44,18 @@
<groupId>org.assertj</groupId> <groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
</dependency> </dependency>
<!-- dev-tools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies> </dependencies>
......
package de.ozgcloud.client.autoconfigure;
import org.springframework.boot.context.properties.ConfigurationProperties;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@ConfigurationProperties("ozgcloud.vorgang-manager")
public class OzgCloudVorgangManagerProperties {
/**
* Network-Address of the Vorgang-Manager instance, starting with resolving
* protocoll. Example for local use: static://127.0.0.1:9090
*/
private String address;
/**
* Negotiation Type for the gRPC connection - possible Values: PLAINTEXT, TLS
*/
private String negotiationType = "TLS";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment