Closed jmandel closed 12 years ago
Updated smart_server's bootstrap process to handle these new manifests appropriately. We now define an explicit map when loading an app's manifest, so that by default we load a manifest as-is. But if needed, we can override URLs explicitly in smart_server/bootstrap_helpers/application_list.json.default
like so:
{ "manifest":"http://localhost:8001/framework/med_adherence/smart_manifest.json", "override_index": "http://localhost:8001/framework/med_adherence/index.html", "override_icon": "http://localhost:8001/framework/med_adherence/icon.png", "enabled_by_default": false }, ...
https://github.com/chb/smart_server/commit/4d3e56dc152618db43baf242283ed7044367a07d
The current behavior is that, when generating settings files, smart_manager.py
will copy this application_list.json.default
to application_list.json
and substitute in the smart_ui_server's base URI in the process.
We need a better way to host manifests on sample-apps.smartplatforms.org. Currently the manifests have:
which is super-confusing for anyone building a container who wants to load these directly, e.g. from:
(The OpenMRS team has pointed out how confusing this is.)