BrobridgeOrg / gravity-cli

Gravity CLI
MIT License
2 stars 3 forks source link

The "method" field obtained using the gravity-cli product sub command will only display "INSERT". #8

Open TaroBill opened 6 months ago

TaroBill commented 6 months ago

Version: [47ca8b6]

Reproduce:

  1. Start nats-jetstream and gravity-dispatcher services
  2. Create data product and ruleset create
  3. Execute "gravity-cli pub" command 331473340-27ad00a5-ab71-444e-b847-9dd646ee9219
  4. Execute "gravity-cli product sub" command The "method" field displays "INSERT" when "create" is expected. 331473346-c8a9bff7-a01b-45bc-9f4c-e2684d0e9679
william-wyliang commented 5 months ago

This is supposed to be a printing error. Is that correct, @cfsghost?

cfsghost commented 1 month ago

the bug has been addressed in the gravity-dispatcher.

it has been fixed, you can test the latest release from gravity-dispatcher repository with the tag version v0.0.4+.

https://github.com/BrobridgeOrg/gravity-dispatcher/releases/tag/v0.0.4

TaroBill commented 1 month ago
william-wyliang commented 1 month ago

@cfsghost, the issue is partially solved. However, the problem still exists elsewhere. Please take a look at it. @TaroBill, the third snapshot (with "method":"create") above was used to show the part that successfully passed the test, right?