Closed robmoffat closed 1 year ago
@minesh-s-patel @iansloyan
Yes I have access now, thank you @robmoffat
README file is available in this PR: https://github.com/REGnosys/rosetta-cdm/blob/5026e807e1f6889a48fec9ea8cc8832ddf62a4b1/README.md
Update for 13 October 2022:
@minesh-s-patel added @robmoffat & @maoo to the cdm-reviewers team so we can access Regnosis/rosetta-cdm
@minesh-s-patel has created a README
We need a new name for the rosetta-cdm repo (added checkbox above)
CVE Scanning: xText
needs to be updated for the CVE scanning to pass - @minesh-s-patel would like to raise an issue for this and do the work (2 weeks effort) in January. This sounded reasonable to me since it wasn't a runtime dependency. @maoo can you comment thanks.
Discussed how EasyCLA works. I've hooked @minesh-s-patel up with the documentation. He's going to look into how this will work given Rosetta Studio's model of committing on behalf of its users.
@robmoffat
The Current CDM Github will have its first stable release (3.0.0) in the next couple of weeks. The 3.0.0 will be the candidate version that will be contributed to FINOS.
Tech tasks in order
Update 19th October 2022:
From @minesh-s-patel:
The Current CDM Github will have its first stable release (3.0.0) in the next couple of weeks
CDM 3.0.0 on Nov 7th.
From @iansloyan:
Agreed in the meeting:
From 24 Oct Meeting:
common-domain-model
is the accepted slug nameFrom 28 Oct Meeting:
Hi @minesh-s-patel,
@maoo and I are looking at trying to complete the code validation steps ahead of the repo transfer later this week. We are running into some build issues both on rosetta-cdm
and rosetta-dsl
.
First, on rosetta-dsl
:
mvn install
...
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project com.regnosys.rosetta: Could not resolve dependencies for project com.regnosys.rosetta:com.regnosys.rosetta:eclipse-plugin:0.0.0.master: Could not find artifact org.eclipse.xsemantics:org.eclipse.xsemantics.runtime:jar:1.20.0-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
On rosetta-cdm
:
mvn org.owasp:dependency-check-maven:check -DfailBuildOnCVSS=7
....
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cdm: Could not resolve dependencies for project com.isda:cdm:jar:0.0.0.master: The following artifacts could not be resolved: com.regnosys.rosetta:com.regnosys.rosetta.lib:jar:4.44.2, com.regnosys.rosetta:com.regnosys.rosetta.blueprints:jar:4.44.2, com.regnosys:rosetta-common:jar:3.18.0, com.regnosys:rosetta-testing:jar:3.18.0, com.regnosys:ingest-test-framework:jar:3.18.0: Failure to find com.regnosys.rosetta:com.regnosys.rosetta.lib:jar:4.44.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
@maoo tells me there is an issue raised for this already: https://github.com/REGnosys/rosetta-dsl/pull/417 This is the one right?
From 9 Nov Meeting:
xsemantics
issue: RegnoSYS have found the developer to do a proper release of this library into maven central, but this now needs a whole update of rosetta-del
dependencies before it can be built publicly.Nov 16:
@minesh-s-patel update on the Finos Technical Checklist:
Releasing: @minesh-s-patel says:
Consumption Numbers: @iansloyan says that:
NB: ICMA contribution is a mandatory dependency. No sight of where this is right now. @iansloyan says it is going through the approval process.
23rd Nov:
rosetta-dsl
and cdm
are done. rosetta-dsl
dev release completed with "cleaned up" dependencies. Outputs from code generations of CDM now free of CVEs. ✅ mvn clean install
. /test
for users to look at. It also exercises the model by generating this data. It is not a part of the built cdm
but is required for a build. mvn
build, it's not on the critical path and can be tidied up later.30th Nov:
Independent Build
mvn clean install
- no closed deps / bad licenses (apart from test mentioned above, but this is acceptable)rosetta-testing
, rosetta-common
now open-sourced.repositories
in pom.xml
uses the RegnoSYS artifactory settingCVE Scanning
LIcense Scanning
@iansloyan 's PR
The GitHub Actions PR cannot be merged because the REGnosys CDM Repo does not support github actions (CDM project: https://github.com/REGnosys/rosetta-cdm/pull/1847). This PR can be merged once migrated to the open source finos org.
@robmoffat
I ran the following command (from your github actions PR) and the build was successful
What was the issue you was seeing?
mvn org.codehaus.mojo:license-maven-plugin:2.0.0:download-licenses
I think we have a clean run for licences. @maoo @robmoffat CAn you confirm when you have a sec?
> export ALLOW_LICENSES="'The Apache Software License, Version 2.0' and licenses/license/name!='BSD' and licenses/license/name!='BSD-style license' and licenses/license/name!='Apache License, Version 2.0'"
> export REPORT_PATH="target/generated-resources/licenses.xml"
> mvn org.codehaus.mojo:license-maven-plugin:2.0.0:download-licenses
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for cdm-parent 0.0.0.master:
[INFO]
[INFO] cdm-parent ......................................... SUCCESS [ 1.283 s]
[INFO] rosetta-source ..................................... SUCCESS [ 11.508 s]
[INFO] scheme-import ...................................... SUCCESS [ 7.329 s]
[INFO] rosetta-project .................................... SUCCESS [ 3.068 s]
[INFO] tests .............................................. SUCCESS [ 1.698 s]
[INFO] isda-demo .......................................... SUCCESS [ 0.195 s]
[INFO] cdm-distribution ................................... SUCCESS [ 0.201 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.544 s
[INFO] Finished at: 2022-12-13T09:42:45Z
[INFO] ------------------------------------------------------------------------
> xq "//dependency[licenses/license/name!=$ALLOW_LICENSES]" ./$REPORT_PATH
<results/>
@robmoffat
Can you please mark the following as checked?
Logo is accepted by stakeholders (We used the logo at OSFF - so we can mark that one off) Minesh identifies all (future) contributors to CDM The code bindings build process runs successfully. Status: waiting on refactor to new namespaces / structure > 7th Nov The codebase doesn’t have any unfriendly licenses across direct and transitive libraries
Only thing on my list:
The codebase doesn’t have HIGH or CRITICAL CVEs across direct and transitive libraries
This is incorrectly marked as done.
Rob & Mao: Add section about contributing via Legend (add limitations)
Most of the other actions are either for ISDA/ISLA/ICMA/FINOS or require information in order to complete (e.g. what to put in the NOTICE file?)
CVE and license scanning are green on Rosetta CDM. Well done @minesh-s-patel !
https://github.com/finos/rosetta-cdm/actions/runs/3684917909 https://github.com/finos/rosetta-cdm/actions/runs/3684696554
14th Dec:
Main areas still to resolve prior to onboarding:
NOTICE
file - we need legal to give the copy for this.CONTRIBUTING.md
- legal track need to review and approve this.After Onboarding:
cdm.finos.org
to existing docsLICENSE
: as soon as it's added to FINOScdm.finos.org
GitHub pages, and re-point links. (Assign to RegnoSYS)Just moved all checks into https://github.com/finos/community/issues/224 . Closing this issue as dup.
Contribution process (v. 1.1, last updated on December 20, 2021)
Below is the list of tasks that FINOS Team and the contribution author go through in order to complete the FINOS contribution process.
Identify project meta (Lead: FINOS Contrib POC, Support: FINOS Marketing)
Common Domain Model
common-domain-model
yes
requested
Data & Business Logic > Models
yes and no
yes
2.179.4
yes
yes
yes
yes
- https://www.isda.org/2019/10/14/isda-common-domain-model/Maintainers, contributors and CLAs (Lead: FINOS Contrib POC, Support: FINOS infra)
Project Communication Channel(s)
Code validation (only if code is contributed) (Lead: FINOS Infra)
Code bindings have no direct/transitive dependencies
will be tackled after transfer, see below
Generated code
Approval (Lead: FINOS Infra)
Code transfer (Lead: FINOS Infra)
rosetta-cdm
) Ian Suggestion:common-domain-model
ACCEPTEDAdmin
to all repositories to transferCONTRIBUTING.md
- For Legal Track - Merge contents from https://cdm.docs.rosetta-technology.io/source/contribution.html#how-to-contribute , https://github.com/finos/rosetta-cdm#contribution-via-rosetta and https://github.com/finos/standards-project-blueprintLICENSE
(look for{}
placeholders) For Legal Track<project-name>-maintainers
GitHub team and invite usersfinos-admins
(Maintain
role) andfinos-staff
(Triage
role) team permissionsInfra setup (Lead: FINOS Infra)
staging
branch onfinos/finos-landscape
finos/metadata
changes on master (will udpdatelandscape.yml
infinos/finos-landscape
)staging
branch onfinos/finos-landscape
org.finos.cdm
finos-admin
credentials) and manage all other code binding releases -will happen after contribution
Announcement (Lead: FINOS Contrib POC)