aegershman / cf-report-usage-plugin

cf-cli plugin for creating reports of AI/SI usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reorganize logical flow of how data is populated

aegershman opened this issue · comments

In order to do anything like "rules" or dynamically configuring report headers, etc., there has to be (for the scope of this project at least) a fixed set of properties to pull from in the presenters. But how does that get populated.


currently, in order:

  • main
  • get list of orgs to run report on
  • org structs populated w/ data from apihelper
  • orgs passed to Reporter
  • Reporter is Executed
  • Reporter Execution tells "orgstat" static func to transform each "org" into an "org/space Stat" (change name)
  • "org/space Stat" are used when populating a Presenter
  • Presenter is final stop

will write down thoughts on alt path a bit later