amihaiemil / docker-java-api

Lightweight Java Docker client
BSD 3-Clause "New" or "Revised" License
270 stars 53 forks source link

JsonResource.java: Continue making other Json resources from the API (e.g. Image), extend this class, so we can avoid the N+1 query problem. Through this mechanism, each resource holds the JsonObject that was returned by the API at the moment of its creation. If the client would like to make sure that the resource's JsonObject is updated, they should call the inspect() method. #366

Closed zoeself closed 4 years ago

zoeself commented 4 years ago

The TODO 114-bb7b9082 from #114 has to be resolved:

Continue making other Json resources from the API (e.g. Image), extend this class, so we can avoid the N+1 query problem. Through this mechanism, each resource holds the JsonObject that was returned by the API at the moment of its creation. If the client would like to make sure that the resource's JsonObject is updated, they should call the inspect() method.

It is is located at src/main/java/com/amihaiemil/docker/JsonResource.java#L45-L50.

It was created by @amihaiemil on 2018-05-17T10:28:38Z. Estimation is 30 minutes. If you have any technical questions, don't ask me, I won't be able to help. Open new issues instead.

charlesmike commented 4 years ago

@zoeself thank you for reporting this. I'll assign someone to take care of it soon.

0crat commented 4 years ago

Job gh:amihaiemil/docker-java-api#366 is not assigned, can't get performer