From b695d1743c34e4fb1087c8766b8c41eb3aae926e Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Mon, 4 Feb 2019 08:54:50 -0600 Subject: Report KieBase names in rules artifacts. The rule writer at design time can embed the domain base model(s) supported at design time. This information can be extracted at runtime to match a controller with the domain/model functionality that it can support. Change-Id: I7f7f1320d7d601d50949d0cd09bc48982c222333 Issue-ID: POLICY-1500 Signed-off-by: Jorge Hernandez --- .../org/onap/policy/drools/controller/DroolsController.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'policy-management/src/main/java/org/onap/policy/drools/controller/DroolsController.java') diff --git a/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsController.java b/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsController.java index c582a1c0..1e7b8c79 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsController.java +++ b/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsController.java @@ -1,8 +1,8 @@ /* * ============LICENSE_START======================================================= - * policy-management + * ONAP * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -89,6 +89,13 @@ public interface DroolsController extends Startable, Lockable { */ public List getCanonicalSessionNames(); + /** + * get base domains. + * + * @return list of base domains. + */ + public List getBaseDomainNames(); + /** * offers an event to this controller for processing. * -- cgit 1.2.3-korg