odahu / odahu-flow

Apache License 2.0
12 stars 2 forks source link

When the user creates the model training, `createdAt` and `updatedAt` have very tiny difference but should be the same #663

Open BPylypenko opened 2 years ago

BPylypenko commented 2 years ago

Description When the user creates the model training, createdAt and updatedAt have very tiny difference but should be the same.

Other related entities:

Steps to Reproduce

  1. Go to the Swagger API: (<odahu-cluster-name>/swagger/index.html#/Training/)
  2. Make POST request.
  3. Notice that createdAt and updatedAt values have tiny difference.
  4. Make GET request for the training from step (2).
  5. Notice that createdAt and updatedAt values are shorter than from step (3).

Specification: model-training-specification.txt

Actual result The createdAt and updatedAt fields have different values after creation of entity. And POST request returns longer values than GET request.

Expected result The createdAt and updatedAt values are the same. And GET request returns the same as POST request.

Attachments POST request: Screenshot 2022-02-15 at 11 46 47

GET request after POST: Screenshot 2022-02-15 at 12 01 16

Environment: