Skip to content

Commit a699ef5

Browse files
authored
Merge pull request #982 from finos/900-deprecate-custom-config
Add deprecation tags to customConfig entries in appD schema
2 parents 6877199 + 8bfb259 commit a699ef5

3 files changed

Lines changed: 26 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1919
* Corrected the appD `interop.appChannels` metadata to use an `id` field to identify channels, rather than `name` ([#981](https://github.com/finos/FDC3/pull/981))
2020

2121
### Deprecated
22+
2223
* Deprecated the `name` field in AppD records, to match deprecation of API signatures and metadata objects using `name` (see ([#722](https://github.com/finos/FDC3/pull/722))
2324
)) in 2.0 ([#928])(https://github.com/finos/FDC3/pull/928))
24-
2525
* Deprecated `IntentMetadata.displayName` and the appD record's `interop.intents.listensFor[].displayName` field in favour of using intent names for display (which are required to be recognizable) as it can be set differently for each application in the appD ([#926](https://github.com/finos/FDC3/pull/926))
26+
* Deprecated the `customConfig` field in an AppD record due to the lack of a standard API to retrieve it. To be replaced with an `applicationConfig` element with a Desktop Agent API call to retrieve it in a future version (see [#1006](https://github.com/finos/FDC3/issues/1006) for more details). Also deprecates the `customCOnfig` element of an Intent configuration due to a lack of documented use cases. ([#982](https://github.com/finos/FDC3/pull/982))
2627

2728
### Fixed
2829

src/app-directory/specification/appd.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,15 @@ components:
433433
The name of the company that owns the application. The publisher has
434434
control over their namespace/app/signature.
435435
customConfig:
436+
deprecated: true
436437
type: array
437438
description: >-
438439
An optional set of name value pairs that can be used to deliver
439-
custom data from an App Directory to a launcher.
440+
custom data from an App Directory to a launcher. Deprecated due to a
441+
lack of a standard means of retrieval via the Desktop Agent API. To
442+
be replaced in a future version with an `applicationConfig` element
443+
and standard API to retrieve it. See issue
444+
[#1006](https://github.com/finos/FDC3/issues/1006) for details.
440445
items:
441446
$ref: '#/components/schemas/NameValuePair'
442447
hostManifests:
@@ -611,7 +616,7 @@ components:
611616
type: object # keys should be constrained to valid language tags '^[a-z]{2}(-[a-zA-Z0-9]{2,8}){0,1}$' - not possible to express in OpenAPI without moving to v3.1.0 and the javascript/jsonschema version
612617
description: >
613618
Provides localized alternatives to any field of the AppD record, which may also refer to an alternative
614-
version of the application that is also localized (e.g. by providing customConfig or an alternative URL).
619+
version of the application that is also localized (e.g. by providing an alternative URL).
615620
The keys to this object should be language tags as defined by IETF RFC 5646, e.g. en, en-GB or fr-FR.
616621
additionalProperties:
617622
x-additionalPropertiesName: Language tag
@@ -641,10 +646,11 @@ components:
641646
or a combination that indicates a channel that returns a particular context type
642647
(e.g. "channel<fdc3.instrument>").
643648
customConfig:
649+
deprecated: true
644650
type: object
645651
description: >-
646652
Custom configuration for the intent that may be required for a
647-
particular desktop agent.
653+
particular desktop agent. Deprecated due to a lack of defined use cases.
648654
Interop:
649655
type: object
650656
description: |
@@ -773,10 +779,11 @@ components:
773779
A comma separated list of the types of contexts the intent offered by the application can process.
774780
where the first part of the context type is the namespace e.g."fdc3.contact, org.symphony.contact"
775781
customConfig:
782+
deprecated: true
776783
type: object
777784
description: >-
778785
Custom configuration for the intent that may be required for a
779-
particular desktop agent.
786+
particular desktop agent. Deprecated due to a lack of defined use cases.
780787
ApplicationV1:
781788
description: >
782789
(Deprecated v1 API version) Defines an application retrieved from an FDC3 App Directory, which can
@@ -863,6 +870,7 @@ components:
863870
items:
864871
$ref: '#/components/schemas/IconV1'
865872
customConfig:
873+
deprecated: true
866874
type: array
867875
description: >-
868876
An optional set of name value pairs that can be used to deliver

website/static/schemas/next/app-directory.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,15 @@ components:
433433
The name of the company that owns the application. The publisher has
434434
control over their namespace/app/signature.
435435
customConfig:
436+
deprecated: true
436437
type: array
437438
description: >-
438439
An optional set of name value pairs that can be used to deliver
439-
custom data from an App Directory to a launcher.
440+
custom data from an App Directory to a launcher. Deprecated due to a
441+
lack of a standard means of retrieval via the Desktop Agent API. To
442+
be replaced in a future version with an `applicationConfig` element
443+
and standard API to retrieve it. See issue
444+
[#1006](https://github.com/finos/FDC3/issues/1006) for details.
440445
items:
441446
$ref: '#/components/schemas/NameValuePair'
442447
hostManifests:
@@ -611,7 +616,7 @@ components:
611616
type: object # keys should be constrained to valid language tags '^[a-z]{2}(-[a-zA-Z0-9]{2,8}){0,1}$' - not possible to express in OpenAPI without moving to v3.1.0 and the javascript/jsonschema version
612617
description: >
613618
Provides localized alternatives to any field of the AppD record, which may also refer to an alternative
614-
version of the application that is also localized (e.g. by providing customConfig or an alternative URL).
619+
version of the application that is also localized (e.g. by providing an alternative URL).
615620
The keys to this object should be language tags as defined by IETF RFC 5646, e.g. en, en-GB or fr-FR.
616621
additionalProperties:
617622
x-additionalPropertiesName: Language tag
@@ -641,10 +646,11 @@ components:
641646
or a combination that indicates a channel that returns a particular context type
642647
(e.g. "channel<fdc3.instrument>").
643648
customConfig:
649+
deprecated: true
644650
type: object
645651
description: >-
646652
Custom configuration for the intent that may be required for a
647-
particular desktop agent.
653+
particular desktop agent. Deprecated due to a lack of defined use cases.
648654
Interop:
649655
type: object
650656
description: |
@@ -773,10 +779,11 @@ components:
773779
A comma separated list of the types of contexts the intent offered by the application can process.
774780
where the first part of the context type is the namespace e.g."fdc3.contact, org.symphony.contact"
775781
customConfig:
782+
deprecated: true
776783
type: object
777784
description: >-
778785
Custom configuration for the intent that may be required for a
779-
particular desktop agent.
786+
particular desktop agent. Deprecated due to a lack of defined use cases.
780787
ApplicationV1:
781788
description: >
782789
(Deprecated v1 API version) Defines an application retrieved from an FDC3 App Directory, which can
@@ -863,6 +870,7 @@ components:
863870
items:
864871
$ref: '#/components/schemas/IconV1'
865872
customConfig:
873+
deprecated: true
866874
type: array
867875
description: >-
868876
An optional set of name value pairs that can be used to deliver

0 commit comments

Comments
 (0)