-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #744 from lilla28/feat/getOrCreateChannel-getUserC…
…hannels-getInfo FDC3 - Implement getOrCreateChannnel(), getInfo(), getAppMetadata(), bugfixes for intent handling, filtering
- Loading branch information
Showing
139 changed files
with
8,842 additions
and
2,902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,73 @@ | ||
{ | ||
"applications": [ | ||
{ | ||
"appId": "js-chart", | ||
"name": "js-chart", | ||
"title": "JS Chart", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:8080/" | ||
} | ||
}, | ||
{ | ||
"appId": "js-grid", | ||
"name": "js-grid", | ||
"title": "JS Grid", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:4200/" | ||
} | ||
}, | ||
"applications": [ | ||
{ | ||
"appId":"Conformance2", | ||
"name":"Conformance2", | ||
"title":"FDC3 2.0 Conformance Framework", | ||
"description":"FDC3 2.0 Conformance testing framework - developed for FINOS by Scott Logic", | ||
"type":"web", | ||
"details":{ | ||
"url":"https://finos.github.io/FDC3-conformance-framework/v2.0/app/" | ||
"appId": "js-chart", | ||
"name": "js-chart", | ||
"title": "JS Chart", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:8080/" | ||
} | ||
}, | ||
{ | ||
"appId": "js-grid", | ||
"name": "js-grid", | ||
"title": "JS Grid", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:4200/" | ||
} | ||
}, | ||
{ | ||
"appId": "Conformance2", | ||
"name": "Conformance2", | ||
"title": "FDC3 2.0 Conformance Framework", | ||
"description": "FDC3 2.0 Conformance testing framework - developed for FINOS by Scott Logic", | ||
"type": "web", | ||
"details": { | ||
"url": "https://finos.github.io/FDC3-conformance-framework/v2.0/app/" | ||
}, | ||
"screenshots":[{"src":"https://directory.fdc3.finos.org/assets/app/Conformance1.png"}], | ||
"screenshots": [ { "src": "https://directory.fdc3.finos.org/assets/app/Conformance1.png" } ], | ||
"hostManifests": { | ||
"sail":{"inject-api":"2.0"}, | ||
"sail": { "inject-api": "2.0" }, | ||
"Finsemble": { | ||
"window": { | ||
"top":"center","left":"0","width":800,"height":900 | ||
"top": "center", | ||
"left": "0", | ||
"width": 800, | ||
"height": 900 | ||
}, | ||
"foreign": { | ||
"components":{"App Launcher":{"launchableByUser":true},"Window Manager":{"FSBLHeader":true,"titlebarType":"injected"}} | ||
}, | ||
"interop":{"joinMultipleChannels":false} | ||
"components": { | ||
"App Launcher": { "launchableByUser": true }, | ||
"Window Manager": { | ||
"FSBLHeader": true, | ||
"titlebarType": "injected" | ||
} | ||
} | ||
}, | ||
"interop": { "joinMultipleChannels": false } | ||
} | ||
}, | ||
"version":"1.0.0", | ||
"publisher":"FINOS", | ||
"icons":[{"src":"https://fdc3.finos.org/assets/fdc3-logo.png"}] | ||
"version": "1.0.0", | ||
"publisher": "FINOS", | ||
"icons": [ { "src": "https://fdc3.finos.org/assets/fdc3-logo.png" } ] | ||
}, | ||
{ | ||
"appId": "js-trader-app", | ||
"name": "Js Trader App Example", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:4201/" | ||
} | ||
}, | ||
{ | ||
"appId": "js-order-book", | ||
"name": "Js Order Book Example", | ||
"type": "web", | ||
"details": { | ||
"url": "http://localhost:4202/" | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
quote_type = single | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. | ||
|
||
# Compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
/bazel-out | ||
/.vscode | ||
|
||
# Node | ||
/node_modules | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# IDEs and editors | ||
.idea/ | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# Visual Studio Code | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# Miscellaneous | ||
/.angular/cache | ||
.sass-cache/ | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
testem.log | ||
/typings | ||
|
||
# System files | ||
.DS_Store | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# OrderBook | ||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.8. | ||
This project demonstrates an order book which shows mocked marketdata with currently available symbols with their quantity price etc. | ||
|
||
## Development server | ||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. | ||
|
||
## Running unit tests | ||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
104 changes: 104 additions & 0 deletions
104
examples/fdc3-trade-simulator/js-order-book/angular.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"order-book": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"style": "scss" | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:application", | ||
"options": { | ||
"outputPath": "dist/order-book", | ||
"index": "src/index.html", | ||
"browser": "src/main.ts", | ||
"polyfills": [ | ||
"zone.js" | ||
], | ||
"tsConfig": "tsconfig.app.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"src/styles.scss" | ||
], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "500kb", | ||
"maximumError": "3mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "2kb", | ||
"maximumError": "4kb" | ||
} | ||
], | ||
"outputHashing": "all" | ||
}, | ||
"development": { | ||
"optimization": false, | ||
"extractLicenses": false, | ||
"sourceMap": true | ||
} | ||
}, | ||
"defaultConfiguration": "production" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"production": { | ||
"buildTarget": "order-book:build:production" | ||
}, | ||
"development": { | ||
"buildTarget": "order-book:build:development" | ||
} | ||
}, | ||
"defaultConfiguration": "development", | ||
"options": { | ||
"port": 4202 | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"buildTarget": "order-book:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"polyfills": [ | ||
"zone.js", | ||
"zone.js/testing" | ||
], | ||
"tsConfig": "tsconfig.spec.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
"src/styles.scss" | ||
], | ||
"scripts": [] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "@morgan-stanley/composeui-example-order-book", | ||
"version": "0.1.0-alpha.1", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"build": "ng build", | ||
"watch": "ng build --watch --configuration development", | ||
"test": "ng test --watch=false" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"@angular/animations": "^17.3.0", | ||
"@angular/common": "^17.3.0", | ||
"@angular/compiler": "^17.3.0", | ||
"@angular/core": "^17.3.0", | ||
"@angular/forms": "^17.3.0", | ||
"@angular/material": "17.3.10", | ||
"@angular/platform-browser": "^17.3.0", | ||
"@angular/platform-browser-dynamic": "^17.3.0", | ||
"@angular/router": "^17.3.0", | ||
"@finos/fdc3": "^2.0.0", | ||
"rxjs": "~7.8.0", | ||
"tslib": "^2.3.0", | ||
"zone.js": "~0.14.3" | ||
}, | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "^17.3.8", | ||
"@angular/cli": "^17.3.8", | ||
"@angular/compiler-cli": "^17.3.0", | ||
"@types/jasmine": "~5.1.0", | ||
"jasmine-core": "~5.1.0", | ||
"karma": "~6.4.0", | ||
"karma-chrome-launcher": "~3.2.0", | ||
"karma-coverage": "~2.2.0", | ||
"karma-jasmine": "~5.1.0", | ||
"karma-jasmine-html-reporter": "~2.1.0", | ||
"typescript": "~5.4.2" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
examples/fdc3-trade-simulator/js-order-book/src/app/app.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- Morgan Stanley makes this available to you under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> | ||
<div class="outer-wrapper"> | ||
<router-outlet></router-outlet> | ||
</div> |
Oops, something went wrong.