finos / FDC3-conformance-framework

A framework for testing whether desktop containers implement the FDC3 standard
Apache License 2.0
14 stars 15 forks source link

Glue core 1.2 conformance #186

Closed gaganahluwalia closed 1 year ago

kriswest commented 1 year ago

@robmoffat this is a bunch of proprietary JS files going into the main branch of the conformance framework again. Was this not supposed to be kept on either a branch or an external URL?

kriswest commented 1 year ago

I still think all proprietary code should be in a branch, rather than the trunk of the repository. Glad the main app code is being pulled from outside, but there's still a load of custom there.

Finsemble doesn't need the specific config files. It'll run from the main ones - in fact this file is entirely redundant with the one in the directories folder. The other file, is in the appD 1.2 format, where you have no choice but to have a file per provider. Hence, the latter file is only useful if you're going to host a 1.2 standard appD for testing.

Technically, 1.2 compliance requires connection to an appD - although the FINOS appD isn't usable with additional apps (such as the 2.0 conformance apps as it will change test behaviour/results. It's also an arse as you'll need a copy of it per vendor as it only supports a single manifest per record. Hence, I don't think it's worth doing - but I also don't think we should be going with entirely proprietary approaches to set up - at least not in the trunk of the repo. Hence, I would like to see this stay on the branch - while finsemble specific config for 1.2 can move to its own (if we care about preserving the 1.2 format file - we're agnostic as we only support that now for backwards compatibility).

Connection to an appD in 2.0 is optional but strongly recommended. There I think we should provide a single file, with multiple host manifests for vendors in each record in trunk - and better if there is a live appD serving it (and only it). We should not promote or distribute alternatives to using that format in the trunk of the project - but will need them somewhere. Finally, vendors could be encouraged to drop a readme file in their branch and maintain with any details needed to run the test...

robmoffat commented 1 year ago

@gaganahluwalia we seem to have lost the changes I made here - can you take a look?

robmoffat commented 1 year ago

@kris - We've moved all the glue/connectifi code into the "optional" directory and added a README to explain that this one directory contains all the vendor-specific code.

Finsemble doesn't need the specific config files. It'll run from the main ones - in fact this file is entirely redundant with the one in the directories folder.

Yes, we just moved it into the same place. I think I prefer the idea of having vendor specific stuff in a folder over a branch since it will mean we can version the whole thing at the same time, and we don't have to merge in multiple different directions.

Regarding app directories, then: I think at some point I will be updating the FINOS app directory to have 3 sections:

Connection to an appD in 2.0 is optional but strongly recommended. There I think we should provide a single file, with multiple host manifests for vendors in each record in trunk - and better if there is a live appD serving it (and only it). We should not promote or distribute alternatives to using that format in the trunk of the project [...]

I mean, it would be nice if everyone did use the 2.0 appD format for 2.0 conformance. I asked Nick about raising an issue around this but he turned me down. I think we might lose that battle.

kriswest commented 1 year ago

Finsemble doesn't need the specific config files. It'll run from the main

ones - in fact this file https://github.com/finos/FDC3-conformance-framework/blob/c12bafdd8e6e6d8f18a84b617f03244245a7c5a5/options/finsemble/directory/local-conformance-1_2.finsemble.apps.json is entirely redundant with the one in the directories folder https://github.com/finos/FDC3-conformance-framework/blob/glue-core-1.2-conformance/directories/local-conformance-1_2.v2.json .

Yes, we just moved it into the same place. I think I prefer the idea of

having vendor specific stuff in a folder over a branch since it will mean we can version the whole thing at the same time, and we don't have to merge in multiple different directions.

No I meant (and linked to the one in the directories folder). I'll discuss with you when I see you.

On Wed, 8 Mar 2023 at 11:53, Rob Moffat @.***> wrote:

@kris https://github.com/kris - We've moved all the glue/connectifi code into the "optional" directory and added a README to explain that this one directory contains all the vendor-specific code.

Finsemble doesn't need the specific config files. It'll run from the main ones - in fact this file https://github.com/finos/FDC3-conformance-framework/blob/c12bafdd8e6e6d8f18a84b617f03244245a7c5a5/options/finsemble/directory/local-conformance-1_2.finsemble.apps.json is entirely redundant with the one in the directories folder https://github.com/finos/FDC3-conformance-framework/blob/glue-core-1.2-conformance/directories/local-conformance-1_2.v2.json .

Yes, we just moved it into the same place. I think I prefer the idea of having vendor specific stuff in a folder over a branch since it will mean we can version the whole thing at the same time, and we don't have to merge in multiple different directions.

Regarding app directories, then: I think at some point I will be updating the FINOS app directory to have 3 sections:

  • one for 1.2 conformance
  • one for 2.0 conformance
  • one for all the demo apps

Connection to an appD in 2.0 is optional but strongly recommended. There I think we should provide a single file, with multiple host manifests for vendors in each record in trunk - and better if there is a live appD serving it (and only it). We should not promote or distribute alternatives to using that format in the trunk of the project [...]

I mean, it would be nice if everyone did use the 2.0 appD format for 2.0 conformance. I asked Nick about raising an issue around this but he turned me down. I think we might lose that battle.

— Reply to this email directly, view it on GitHub https://github.com/finos/FDC3-conformance-framework/pull/186#issuecomment-1460044189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM7PBA5ZHT2YGKHRXSCQUDW3BXMDANCNFSM6AAAAAAVNDRTHY . You are receiving this because you commented.Message ID: @.***>

-- Kris West he • him Principal Engineer [image: Finsemble] https://finsemble.com/ @.*** finsemble.com