Repository navigation
update docker service related model - #917
Conversation
| labels.put("com.docker.java.usage","test"); | ||
| dockerClient.createServiceCmd(new ServiceSpec() | ||
| .withName(SERVICE_NAME) | ||
| .withName(SERVICE_NAME).withLabels(labels) |
There was a problem hiding this comment.
please call fluent from new line
|
could i postpone it until i resolve tests refactoring (atm fixing parallel execution issues)? |
|
Btw, are you testing master code? |
bec651c to
145d9e5
Compare
|
yes, I am testing on master code, please take your time for refactoring |
|
please rebase |
e16c24c to
ffb12c9
Compare
|
got |
|
m... i didn't look at swarm tests after migration. What IDE do you use? |
ffb12c9 to
3d0b84d
Compare
|
IntelliJ IDEA |
| * a counter that triggers an update even if no relevant parameters have been changed | ||
| * a random value will work if it is incrementing. | ||
| */ | ||
| @JsonProperty("ForceUpdate") |
There was a problem hiding this comment.
usually we don't define default values and using includeNonNull
There was a problem hiding this comment.
Ok, I will update test case to set the value explicitly instead of relying default value
|
@fengxx feel free to change it, i only converted tests from testng, but they were failing even before. Not sure how to use them in travis. |
5c2b9b0 to
37e4cef
Compare
37e4cef to
76fb8f1
Compare
|
i thought bit more about swarm mode tests. Probably swarm init/etc should be done with DIND image and all other operations against just swarm endpoint, WDYT? |
|
Any update on this? |
add labels and forceUpdate add PortConfig.PublishMode change command from String to List<String>
76fb8f1 to
07c44cf
Compare
|
Rebase on master |
07c44cf to
fe8dbb6
Compare
Codecov Report
@@ Coverage Diff @@
## master #917 +/- ##
==========================================
- Coverage 61.87% 60.26% -1.61%
==========================================
Files 410 421 +11
Lines 8159 8383 +224
Branches 521 538 +17
==========================================
+ Hits 5048 5052 +4
- Misses 2815 3035 +220
Partials 296 296
Continue to review full report at Codecov.
|
|
Thanks for your work @fengxx and @KostyaSha! Really appreciate it being able to use services now. I just opened #958 regarding some services issues. Maybe one of you guys has an idea. |
change command from String to List, see also spec
add labels and forceUpdate
This change is