Coder Social home page Coder Social logo

Comments (5)

ruxandraRosu avatar ruxandraRosu commented on August 24, 2024 1

@cmgrote It looks like it's updating also the relationalColumnType entity. The operation was only a semantic assignment. I've attached some event samples.
event1.txt
event2.txt
event3.txt
event4.txt
event5.txt
event6.txt

from egeria-connector-ibm-information-server.

ruxandraRosu avatar ruxandraRosu commented on August 24, 2024 1

Yes, it's more of an optimisation issue, it doesn't break anything from what I've seen

from egeria-connector-ibm-information-server.

cmgrote avatar cmgrote commented on August 24, 2024

Hi @ruxandraRosu -- would be good if we can rule out that these are coming through from an environment where metadata pre-existed before the IGC Repository Connector was pointed at it (and possibly before event notification was enabled in the environment). In a scenario where metadata pre-existed, recall that the IGC Repository Connector's Event Mapper will automatically "catch-up" to ensure that all relationships (and entities at the ends of those relationships) for the asset you update in IGC also have events triggered...

Assuming that we first setup event notification in the environment, and connect the IGC Repository Connector to the same environment while it is empty (before any metadata has been populated), I would expect that making a SemanticAssignment relationship alone would result in the following:

  • 2 UPDATED_ENTITY events (one for the GlossaryTerm, one for the Referenceable assigned to it)
  • 1 NEW_RELATIONSHIP event

If you can share details on the messages themselves it would be interesting to see if there might be something else happening: eg. another UPDATED_ENTITY and UPDATED_RELATIONSHIPs because of some other relationship also being triggered from some other property that was changed at the same time as the SemanticAssignment was setup. The 2+1 I mention above I would only expect if you modify eg. a database column in IGC and only change its assigned_to_terms property (and nothing else). If other properties are also changed, and one of those properties represents a relationship, that will trigger other relationships as well...

All of that said, it's probably worth waiting until #544 is merged before re-testing, as that makes a number of other changes which may impact here as well.

from egeria-connector-ibm-information-server.

cmgrote avatar cmgrote commented on August 24, 2024

Thanks! That example is a good one, as currently changes aren't really distinctly identified between things like RelationalColumn and RelationalColumnType I'm likely outputting both when a property on IGC's database_column (which effectively represents both OMRS entities) changes. I'll try to investigate how to better distinguish these to limit the messages. Is it safe to assume this is more of an optimisation than a breaking issue currently, though?

from egeria-connector-ibm-information-server.

cmgrote avatar cmgrote commented on August 24, 2024

Browsing through the latest set of sample payloads (after the type simplification from TypeEmbeddedAttribute and NestedSchemaAttribute) this duplication appears to be resolved -- at least for these SemanticAssignment examples.

Will close for now, but suggest we open a new issue if we identify any duplication elsewhere.

from egeria-connector-ibm-information-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.