Skip to content

Conversation

@edeati
Copy link

@edeati edeati commented Apr 21, 2021

Csiro extra test rules

lawley and others added 30 commits March 30, 2021 12:53
…d required modifications to create descriptiontype refset table
Also introduce new test category and allow for SQL test re-load
…ules-2

* feature/csiro-extra-rules-1:
  this skew test requires same sourcetime equality as well
  Add tests checking for extraneous SNAPSHOT entries
  Missed another field in test
  Fix test
  Include tests in manifest
  Check for version skew in dependency targets
  MDRS rows should all be in the MDRS refset
  initial MDRS validation tests (derived from Ontoserver)
… new test to check edition modiule dependencies in MDRS
…rules-20210421

* feature/csiro-extra-rules-1:
  this skew test requires same sourcetime equality as well
  Add tests checking for extraneous SNAPSHOT entries
  Missed another field in test
  Fix test
  Include tests in manifest
  Check for version skew in dependency targets
  MDRS rows should all be in the MDRS refset
  initial MDRS validation tests (derived from Ontoserver)
…nto feature/csiro-exctra-rules-20210421

* file-centric-snapshot-language-unknown-acceptability:
  Add curr_ to table name
  Only need to check for active lang refset entries
  Add file-centric-snapshot-language-unknown-acceptability test
…into feature/csiro-exctra-rules-20210421

* file-centric-snapshot-mdrs-referenced-module-inactive:
  Add curr_ to tablenames
  Only check active MDRS rows
  Referenced module in the MRDS is inactive
…rules-20210421

* feature/csiro-extra-rules-2:
  Added expected Belgian extension filename map
  Add file name mappint to edition for NL, AU, NZ, US, INT
  Fix module and version parsing, get them from release file names. Add new test to check edition modiule dependencies in MDRS
  Change root concept assertion's severity to  warning
  Root concept (concept that has no isa) shouldn't really have non-isa relationships
  Add test for root concepts that have non-isa relationships
  Add curr_ to table names
  And only look at active description types
  Only look at active descriptions
  Add file-centric-snapshot-description-invalid-descriptiontype test and required modifications to create descriptiontype refset table
return editionAndVersion;
}

private String mapFilnameToEdition(String name) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@Autowired
private AssertionService assertionService;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing their whitespace is probably outside our remit

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's probably just an artefact of an editor configuration

depends_on:
- db
environment:
- rvf.assertion.import.required=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is new config, which is really handy when authoring / updating the SQL rules, but it may not be what they want as a default?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed new config from docker-compose so it won't be part of the pull request

Comment on lines 90 to 95
// DK("DK", "DanishEdition"),
// SE("SE", "SwedishEdition"),
// NO("NO", "NorwegianEdition"),
// CH("CH", "SwissEdition"),
// IE("IE", "IrishEdition"),
// EE("EE", "EstonianEdition"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danish edition | 554471000005108
Swedish edition | 45991000052106
Norwegian edition | 51000202101
Irish edition | 11000220105
Estonian edition | 11000181102

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pushed a change to add these modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants