IBM / IFT-Developer-Zone

IFT-Developer-Zone
58 stars 34 forks source link

All endpoint CSV outputs #22

Closed maxzuo closed 4 years ago

maxzuo commented 4 years ago

All endpoints have csv output option now.

Couple updates to package.json (more to come)

Fair heads-up: handling of transactions json output is a little poor (controller.ts), could use refactoring, would appreciate thoughts/tips.

nrbarry commented 4 years ago

Testing this, it seems that the impacted transactions endpoint would ideally include the EPC id and product that was included in the transaction as well... I now realize that is not in the JSON output as well so this is probably a bigger ask and should probably be a separate submission but thinking out loud.

maxzuo commented 4 years ago

It might be bigger than this PR, I can take a look tomorrow morning and I'll be prepared to discuss during standup/parking lot.