Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

GQI Adhoc Data Source retrieve information events

Solved563 views30th April 2024Adhoc data source GQI information event
3
Gerwin van der Kamp [DevOps Enabler]2.91K 17th April 2024 0 Comments

Hi all,

I’m looking into an way to retrieve some information events in an adhoc datasource.

Searching on Dojo i found: https://community.dataminer.services/question/how-to-create-an-alarmfilter-for-alarm-properties/?hilite=GetAlarmDetailsFromDbMessage

However here its mentioned that https://community.dataminer.services/question/how-to-get-history-of-alarms-in-a-protocol/ GetAlarmDetailsFromDbMessage is going flagged as obsolete.

So the question is how can i pass the Engine.SLNetRaw in use for DatabaseRepositoryRegistryBuilder

var repostoryRegistery = SLDataGateway.API.Repositories.Registry.DatabaseRepositoryRegistryBuilder.Default
.WithConnection(Engine.SLNetRaw)
.Build();

in the withConnection within the GQI Ad hoc datasource

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th April 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Ronald Gerard [SLC] [DevOps Advocate]1.74K Posted 18th April 2024 2 Comments

Hi Gerwin,

Some background
At this moment, GQI does not directly provide a Connection object to Ad Hoc data sources yet. The main reason for this is because in general, GQI does not need it. Instead, we have a message callback that is linked to the original client connection, but we do not have a reference or ownership of that connection.

This message callback is also what lies underneath the GQIDMS object provided to the Ad Hoc data sources.

Current solution
In order to get such a Connection object, a separate SLNet connection needs to be established, based on the original client connection.
You can do this by requesting an authentication ticket and authenticating a new connection with that.

You can refer to this example on GitHub for the actual implementation.

! Important note: creating many new connections like this will have an impact the system and they should only be used for queries that are used sparingly to not flood the system.

In the future, we plan on creating and exposing the Connection object directly to the Ad Hoc data sources, so they can be managed, cached, reused etc. efficiently without having to worry about the impact.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th April 2024
Gerwin van der Kamp [DevOps Enabler] commented 18th April 2024

Wont it be easier to make information events available as an default source like the alarms?

Ronald Gerard [SLC] [DevOps Advocate] commented 18th April 2024

Yes indeed, that would require the least effort to use. However, this has relatively low priority. Our main goal at the moment is to provide the means by which any data source can be achieved instead of focusing on specific use cases.
The vision for the future is to let everyone contribute and to make common data sources like that available through GitHub and the DataMiner Catalog.
In the long term, this should become as easy as using a default data source.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs