hysds / hysds-framework

HySDS framework releases
Apache License 2.0
4 stars 7 forks source link

Customizing tosca/figaro #10

Open ldang opened 6 years ago

ldang commented 6 years ago

In both Tosca and Figaro, there are configuration variables that enable us to change the website title as well as the "badge" that is displayed. This could be very helpful in customizing the FacetSearch and Figaro web ui to make it easier to distinguish between HySDS instances for different projects, as well as making sure the menu links are correct. We can tie the "badge" into "venue", so we can distinguish between the different venues on the same project.

If we are using sdskit/sdscli to configure things, then the files we will want to change are in

~/.sds/files/tosca_settings.cfg.tmpl

TOSCA_TITLE = "HySDS Facet Search"
TOSCA_SUBTITLE = "Datasets"
TOSCA_TITLE_BADGE = "INT1"
SHOW_BADGE = True

~/.sds/files/figaro_settings.cfg.tmpl

# verify the Kibana, Metrics, RabbitMQ, GRQ, ElasticSearch URLs