From 8382101e6c43578b6c78dfc10bacbd165e413c69 Mon Sep 17 00:00:00 2001 From: "Straubs, Ralph (rs8887)" Date: Mon, 13 Jul 2020 10:26:50 -0400 Subject: Support multiple Policy/Controller types using 'controller.type' property It provides a feature base to allow for custom Policy and Drools Controllers. Issue-ID: POLICY-2415 Change-Id: Ibe3f11e3ecd925537ffd03d2420bb3b8214029c9 Signed-off-by: Straubs, Ralph (rs8887) Signed-off-by: jhh --- .../org/onap/policy/drools/properties/DroolsPropertyConstants.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'policy-core') diff --git a/policy-core/src/main/java/org/onap/policy/drools/properties/DroolsPropertyConstants.java b/policy-core/src/main/java/org/onap/policy/drools/properties/DroolsPropertyConstants.java index f14486bc..197c972d 100644 --- a/policy-core/src/main/java/org/onap/policy/drools/properties/DroolsPropertyConstants.java +++ b/policy-core/src/main/java/org/onap/policy/drools/properties/DroolsPropertyConstants.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-core * ================================================================================ - * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2020 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. @@ -26,6 +26,8 @@ public class DroolsPropertyConstants { public static final String PROPERTY_CONTROLLER_NAME = "controller.name"; + public static final String PROPERTY_CONTROLLER_TYPE = "controller.type"; + public static final String DEFAULT_CONTROLLER_POLICY_TYPE_VERSION = "1.0.0"; public static final String PROPERTY_CONTROLLER_POLICY_TYPES = "controller.policy.types"; -- cgit 1.2.3-korg