diff options
Diffstat (limited to 'common/src/main/java/org/onap/so/client/RestProperties.java')
-rw-r--r-- | common/src/main/java/org/onap/so/client/RestProperties.java | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/common/src/main/java/org/onap/so/client/RestProperties.java b/common/src/main/java/org/onap/so/client/RestProperties.java index 7043e89b1e..9e4e99cb4e 100644 --- a/common/src/main/java/org/onap/so/client/RestProperties.java +++ b/common/src/main/java/org/onap/so/client/RestProperties.java @@ -25,15 +25,19 @@ import java.net.URL; public interface RestProperties { - public URL getEndpoint() throws MalformedURLException; - public String getSystemName(); - public default Integer getRetries() { - return Integer.valueOf(2); - } - public default Long getDelayBetweenRetries() { - return Long.valueOf(500); - } - public default boolean mapNotFoundToEmpty() { - return false; - } + public URL getEndpoint() throws MalformedURLException; + + public String getSystemName(); + + public default Integer getRetries() { + return Integer.valueOf(2); + } + + public default Long getDelayBetweenRetries() { + return Long.valueOf(500); + } + + public default boolean mapNotFoundToEmpty() { + return false; + } } |