Skip to content

Commit 3c4a61a

Browse files
authored
Merge pull request #981 from finos/980-appd-interop-appchannels-id
980 Correcting appd interop.appChannels to use id instead of name
2 parents c68e5bb + 68c1c10 commit 3c4a61a

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1515

1616
* Updated definition of the `Instrument` context type to include optional market identifiers ([#819](https://github.com/finos/FDC3/pull/819))
1717
* Corrected API functions and object types to always use `string` instead of `String` ([#924](https://github.com/finos/FDC3/pull/924))
18+
* 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))
1819

1920
### Deprecated
2021
* 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))

src/app-directory/specification/appd.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,13 @@ components:
718718
items:
719719
type: object
720720
required:
721-
- name
721+
- id
722722
properties:
723-
name:
723+
id:
724724
type: string
725-
description: The name of the App Channel.
725+
description: >
726+
The id of the App Channel.
727+
N.b. in FDC3 2.0 this field was incorrectly called `name`.
726728
description:
727729
type: string
728730
description: A description of how the channel is used.
@@ -897,7 +899,7 @@ components:
897899
tooltip: FDC3 Workbench
898900
lang: en-US
899901
icons:
900-
- src: http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
902+
- src: https://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
901903
screenshots:
902904
- src: https://fdc3.finos.org/docs/assets/fdc3-logo.png
903905
label: FDC3 logo
@@ -1064,7 +1066,7 @@ components:
10641066
- fdc3.instrument
10651067
- fdc3.organization
10661068
appChannels:
1067-
- name: myApp.quotes,
1069+
- id: myApp.quotes,
10681070
description: >-
10691071
Used to share a stream of quotes for currently displayed instrument and may be used to change the currently displayed symbol,
10701072
broadcasts:
@@ -1176,7 +1178,7 @@ components:
11761178
- fdc3.instrument
11771179
- fdc3.organization
11781180
appChannels:
1179-
- name: myApp.quotes,
1181+
- id: myApp.quotes,
11801182
description: >-
11811183
Used to share a stream of quotes for currently displayed instrument and may be used to change the currently displayed symbol,
11821184
broadcasts:
@@ -1195,7 +1197,7 @@ components:
11951197
tooltip: FDC3 Workbench
11961198
lang: en-US
11971199
icons:
1198-
- src: http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
1200+
- src: https://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
11991201
screenshots:
12001202
- src: https://fdc3.finos.org/docs/assets/fdc3-logo.png,
12011203
label: FDC3 logo

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,13 @@ components:
718718
items:
719719
type: object
720720
required:
721-
- name
721+
- id
722722
properties:
723-
name:
723+
id:
724724
type: string
725-
description: The name of the App Channel.
725+
description: >
726+
The id of the App Channel.
727+
N.b. in FDC3 2.0 this field was incorrectly called `name`.
726728
description:
727729
type: string
728730
description: A description of how the channel is used.
@@ -897,7 +899,7 @@ components:
897899
tooltip: FDC3 Workbench
898900
lang: en-US
899901
icons:
900-
- src: http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
902+
- src: https://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
901903
screenshots:
902904
- src: https://fdc3.finos.org/docs/assets/fdc3-logo.png
903905
label: FDC3 logo
@@ -1064,7 +1066,7 @@ components:
10641066
- fdc3.instrument
10651067
- fdc3.organization
10661068
appChannels:
1067-
- name: myApp.quotes,
1069+
- id: myApp.quotes,
10681070
description: >-
10691071
Used to share a stream of quotes for currently displayed instrument and may be used to change the currently displayed symbol,
10701072
broadcasts:
@@ -1176,7 +1178,7 @@ components:
11761178
- fdc3.instrument
11771179
- fdc3.organization
11781180
appChannels:
1179-
- name: myApp.quotes,
1181+
- id: myApp.quotes,
11801182
description: >-
11811183
Used to share a stream of quotes for currently displayed instrument and may be used to change the currently displayed symbol,
11821184
broadcasts:
@@ -1195,7 +1197,7 @@ components:
11951197
tooltip: FDC3 Workbench
11961198
lang: en-US
11971199
icons:
1198-
- src: http://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
1200+
- src: https://fdc3.finos.org/toolbox/fdc3-workbench/fdc3-icon-256.png
11991201
screenshots:
12001202
- src: https://fdc3.finos.org/docs/assets/fdc3-logo.png,
12011203
label: FDC3 logo

0 commit comments

Comments
 (0)