Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
0bd3adbf
Commit
0bd3adbf
authored
Oct 04, 2017
by
afreyssin
Browse files
Fix default values.
parent
2f14fd2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/joram/mom/extensions/restbridge/src/main/java/com/scalagent/joram/mom/dest/rest/RESTDistribution.java
View file @
0bd3adbf
...
@@ -73,7 +73,7 @@ public class RESTDistribution implements DistributionHandler {
...
@@ -73,7 +73,7 @@ public class RESTDistribution implements DistributionHandler {
private
String
destName
=
null
;
private
String
destName
=
null
;
private
String
idleTimeout
=
"60"
;
// TODO (AF): default value (Be careful in seconds)
private
String
idleTimeout
=
"60"
;
private
String
prodName
=
null
;
private
String
prodName
=
null
;
private
String
clientId
=
null
;
private
String
clientId
=
null
;
...
@@ -142,7 +142,7 @@ public class RESTDistribution implements DistributionHandler {
...
@@ -142,7 +142,7 @@ public class RESTDistribution implements DistributionHandler {
// Initializes Rest client and target
// Initializes Rest client and target
try
{
try
{
//
TODO (AF):
It seems that there is no exceptions thrown by these methods.
// It seems that there is no exceptions thrown by these methods.
client
=
ClientBuilder
.
newClient
(
new
ClientConfig
()
// TODO (AF): Fix these properties with configuration values
client
=
ClientBuilder
.
newClient
(
new
ClientConfig
()
// TODO (AF): Fix these properties with configuration values
.
property
(
ClientProperties
.
CONNECT_TIMEOUT
,
connectTimeout
)
.
property
(
ClientProperties
.
CONNECT_TIMEOUT
,
connectTimeout
)
.
property
(
ClientProperties
.
READ_TIMEOUT
,
readTimeout
));
.
property
(
ClientProperties
.
READ_TIMEOUT
,
readTimeout
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment