Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom application config, retrievable via a standardized function #1006

Open
kriswest opened this issue May 30, 2023 · 0 comments
Open

Custom application config, retrievable via a standardized function #1006

kriswest opened this issue May 30, 2023 · 0 comments
Labels
api FDC3 API Working Group app-directory enhancement New feature or request needs-pr

Comments

@kriswest
Copy link
Contributor

kriswest commented May 30, 2023

Enhancement Request

Use Case:

Issue #900 sought to clarify whether customConfig was still relevant in the appD spec since the hostManifests were introduced. At SWG meeting #1005 a number of participants spoke up for a use case for custom configuration that could be retrieved by an application using a standardized function, where the config might affect the behaviour of the app (and do so in vendor-agnostic fashion). E.g. a market sector visualization or blotter might be filtered by region (APAC, EMEA, etc.).

This is a different use case (intended for apps, vendor agnostic format) to that of the hostManifests entry (intended for the DA itself, proprietary format, may be retrievable via proprietary APIs).

The customConfig field is currently only retrievable via proprietary APIs as there is no standardized function for retrieving it. Were it to be retrievable in a standardized fashion, it might be used to vary the definition of applications via config alone, in a way that should work in all compliant desktop agents.

Further, it was suggested that the name of the element could also be refined to better identify its purpose, e.g. applicationConfig.

Hence, this issue seeks to:

  • deprecate customConfig in the appD record,
  • create applicationConfig as an unstandardized object with string field names in the appD record,
  • create a means of retrieving any applicationConfig defined for an app in their appD record,
    • For example it might be added to the ImplementationMetadata object returned by fdc3.getInfo() as appConfig or a dedicated function might be added to the API, e.g. const config = await fdc3.getAppConfig()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api FDC3 API Working Group app-directory enhancement New feature or request needs-pr
Projects
None yet
Development

No branches or pull requests

1 participant