Allow running Diagram-command without connecting to CDF
sdorheim opened this issue · 3 comments
sdorheim commented
Allow running Diagram-command without connecting to CDF
spex66 commented
that should be in fact already implemented :)
- and you can define
--cdf-project
to pick one from multiple configured inidp-mappings
poetry run bootstrap diagram --cdf-project shiny-test /configs/config-simple-v2-draft.yml
name of the selected project is reflected in the diagram now too, that it is easier to understand "IdP Groups for CDF Project: ''shiny-test"
are visualized
spex66 commented
I think we can close this @sdorheim?
- two options to make this happen
a) provide acognite
config section in yaml-config => and you still can decide with-cdf-project shiny-test
you want todiagram
b) don't provide acognite
section at all, anddiagram
still works (tested right now)
what is not working is:
- a
cognite
section available with not-working values (like i.e.BOOTSTRAP_IDP_CLIENT_ID
/BOOTSTRAP_IDP_CLIENT_SECRET
)
spex66 commented
implemented as explained in last comment
closing it