Closed KrishnaIyer closed 3 years ago
For the warning message, this is common for application packages. A strictly correct solution would be to verify the package data against the individual application package, which is too much work for no real gain.
Could we simply drop the message, or add a switch
and display only for application packages where it is relevant? @adriansmares
For the warning message, this is common for application packages. A strictly correct solution would be to verify the package data against the individual application package, which is too much work for no real gain.
Could we simply drop the message, or add a
switch
and display only for application packages where it is relevant? @adriansmares
Having a map[string]struct{}
that signifies if a specific package (by name) needs data or not is fine by me. At the time of writing this applies only to the LoRaCloud DMS v1 package. Don't forget to update this for both associations
and default-associations
.
Summary
There are a couple of errors from the CLI when using the storage integration
Steps to Reproduce
Item 1;
Gives the following warning
Item 2:
This errors
What do you see now?
Warnings and errors as mentioned above.
What do you want to see instead?
No warning/error
Environment
TTS Cloud v3.10.4
How do you propose to implement this?
Item 1:
Item 2:
The docs use ISO 8601 format where as the CLI is parsing UTC. https://thethingsstack.io/integrations/storage/retrieve/ https://github.com/TheThingsNetwork/lorawan-stack/blob/535aafd0db07f70a6fff6621fc9030a8bb3e3bfb/cmd/ttn-lw-cli/commands/flags.go#L322
I've added an update to the docs here. If this is not the case and the code is parsing the wrong format, please fix that.
How do you propose to test this?
Run the CLI and test.
Can you do this yourself and submit a Pull Request?
Item 2 is already fixed here.
Item 1 under consultation from @neoaggelos