Skip to content

Commit

Permalink
Preload Fdc3 2.0 ComposeUIDesktopAgent for Embedded Browser (#243)
Browse files Browse the repository at this point in the history
* Add InjectFDC3()

* Generate IIFE bundle

* Copy Preload folder to output directory

* Add script to copy bundle

* Update .gitignore

* Rename ComposeDesktopAgent to ComposeUIDesktopAgent

* Re-export ComposeUIDesktopAgent as fdc3

* Remove async

* Add Bundle as an Embedded Resource

* Copy Preload folder to output directory

* Rename ComposeDesktopAgent to ComposeUIDesktopAgent

* Add Bundle as an Embedded Resource

* Read Bundle from Embedded Resource

* Query Full Resource Path

* Add Pre-build Event for Copying the Bundle

* Build JavaScript Before .Net

* Re-add Embedded Resource

* Update lock

* Fix import for tests

* Rename methods

* Use Implicitly Typed Variables

* update package-lock.json

* Add FDC3 IIFE Bundle Directly from dist

* Add test for ReadResource

* Add Pre-build Target

* Add License Headers

* Add ResourceCanBeRead

* Add FINOS FDC3 Workbench to Example Manifest

* Add FINOS FDC3 Workbench to Launch Settings

* Throwing Exception from Utility Function

* FDC3 IIFE Bundle Resource Name is a Static Constant

* Refactor with using declarations

* Rename test case

* Rename Preload namespace to FDC3

* Fix fdc3Version in ComposeUIDesktopAgent.getInfo()
  • Loading branch information
kruplm authored Jul 5, 2023
1 parent ce187cf commit 6871647
Show file tree
Hide file tree
Showing 14 changed files with 1,046 additions and 17,687 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/continuous-integration-prototypes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ jobs:
node-version: [ '18.x' ]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install Nuget dependencies
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet restore $_}

- name: Build .Net
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet build $_ --configuration Release --no-restore; if ($LASTEXITCODE -ne 0 ) {throw "Build for $_ FAILED"; }}

- name: Test .Net
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet test $_ --configuration Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"}


- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -49,10 +35,23 @@ jobs:

- name: Build JavaScript
run: npx lerna run build

- name: Test JavaScript
run: npx lerna run test

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install Nuget dependencies
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet restore $_}

- name: Build .Net
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet build $_ --configuration Release --no-restore; if ($LASTEXITCODE -ne 0 ) {throw "Build for $_ FAILED"; }}

- name: Test .Net
run: Get-ChildItem -Recurse -Include *.sln | ForEach-Object {dotnet test $_ --configuration Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"}

- name: Codecov
uses: codecov/[email protected]

Expand Down
Loading

0 comments on commit 6871647

Please sign in to comment.