You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2020. It is now read-only.
The goal is for services to be able to retrieve desktop owner level settings. Much of the details surrounding what these look like can be found here.
The proposed API would be added to the v2 System namespace as:
fin.System.getServiceConfiguration({name: 'whatever'}).then(conf=>{conf.name//=> whateverconf.appDirectoryHost//=> https://app-directory.openfin.coconf.manifestUrl//=> https://example.org/services/whatever/app.jsonconf.config//=> {service specific json blob}}).catch(err=>{/* xyz service is not configured in desktop owner settings file... */})
Do we care about which app directory it was fetched from here (appDirectoryHost)?
This assumes that service configurations are not "private" per se, meaning that any app can get any service configuration. To restrict this info to just the service itself we would need some work provide apps with the concept of being a service and an identity as such.
I think that there is a larger conversation around service discovery and the apps themselves actually knowing that they are being launched as services that needs more discussion.