Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally restrict types when running the CTS #7798

Merged
merged 6 commits into from
Jul 24, 2023

Conversation

mandy-chessell
Copy link
Contributor

@mandy-chessell mandy-chessell commented Jul 24, 2023

Description

CTS Update

The CTS repository workbench now supports an option called testEntityTypes to provide a list of entity types. The repository workbench will then restrict the instance tests to:

  • These listed entities.
  • Their super types.
  • Any relationships that have the selected entity types at both ends.
  • Any classifications that can be attached to the selected entity types.

If the new option is either an empty list or not set then all known types from the technology under test is tested.

Integration connector update

There is a new method on the integration context that allows an integration connector to test if refresh is running. The associated flag is maintined by the integration daemon's IntegrationConnectorHandler.

This enables the integration connector to ignore events while refresh is running since most of these events are likely to be the result of the integration connector's activity.

The Atlas integration connector is now using this feature.

Related Issue(s)

None

Testing

  • Running the CTS notebook with the new option.
  • Running the Atlas integration connector which is no longer processing events during refresh.

Release Notes & Documentation

There is a matching PR going into egeria docs.

Additional notes

The CTS jupyter notebook now uses the new workbench option - see odpi/egeria-coco-labs#68

fyi @dwolfson

Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Jul 24, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@mandy-chessell mandy-chessell merged commit 58c2006 into odpi:main Jul 24, 2023
4 checks passed
", relationshipLabel='" + relationshipLabel + '\'' +
", propagateTags=" + propagateTags +
", endDef1=" + endDef1 +
", endDef2=" + endDef2 +

Check notice

Code scanning / CodeQL

Use of default toString() Note

Default toString(): AtlasRelationshipEndDef inherits toString() from Object, and so is not suitable for printing.
"relationshipCategory=" + relationshipCategory +
", relationshipLabel='" + relationshipLabel + '\'' +
", propagateTags=" + propagateTags +
", endDef1=" + endDef1 +

Check notice

Code scanning / CodeQL

Use of default toString() Note

Default toString(): AtlasRelationshipEndDef inherits toString() from Object, and so is not suitable for printing.
private final List<RelationshipDef> relationshipDefs = new ArrayList<>();
private final List<ClassificationDef> classificationDefs = new ArrayList<>();

RepositoryConformanceWorkPad repositoryConformanceWorkPad;

Check warning

Code scanning / CodeQL

Field masks field in super class Warning test

This field shadows another field called
repositoryConformanceWorkPad
in a superclass.
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.

1 participant