Skip to content

Enables to write a query to find artifacts that are locked in Decision Center

License

Notifications You must be signed in to change notification settings

DecisionsDev/dc-query-extension

Repository files navigation

GitHub last commit License

Decision Center query extension

This sample makes it possible to write a query to find the locked rule artifacts (rules, Decision Tables,...), ruleflows or variable sets.

How to write such queries

Find all rule artifacts
    such that each rule artifact is locked
Find all ruleflows
    such that each ruleflow is locked
Find all rule variable sets
    such that each variable set is locked

How does it work

New sentences 'element' is locked (applying to rule artifacts, ruleflows and variable sets) are declared in the files:

The implementation classes are:

The mapping between the declarations and the implementation classes is in

The integration of the query extension is done thanks to the file:

You can read about creating and integrating a query extension in the documentation set:

Pre-requisites

The sample can be built and run with IBM Operational Decision Manager, versions 8.9.x, 8.10.x or 8.11.

Building

using Maven

  • Edit the pom.xml file to define the dependency to Decision Center Jars and the URL of your remote repository
  • Run the maven command:
mvn clean install

using Ant

  • Edit the build.properties file to set the odm.dir property to your ODM install directory.
  • Run the default Ant target to build query-extension.jar
ant -f build.xml

Running

To run the sample, add the JAR generated in the target directory to decisioncenter.war (in WEB-INF/lib).

Issues and contributions

For issues relating specifically to the Dockerfiles and scripts, please use the GitHub issue tracker. We welcome contributions following our guidelines.

License

The Dockerfiles and associated scripts found in this project are licensed under the Apache License 2.0.

Notice

© Copyright IBM Corporation 2022.

About

Enables to write a query to find artifacts that are locked in Decision Center

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages