diff options
author | Taka Cho <takamune.cho@att.com> | 2021-02-19 09:00:43 -0500 |
---|---|---|
committer | Ajith Sreekumar <ajith.sreekumar@bell.ca> | 2021-02-19 17:41:43 +0000 |
commit | 2381590fc66aa088e0b016befaef09d21e618100 (patch) | |
tree | 6b307017031e92d0f6eb13b2461de1b212572364 /api-server-pool-state-control | |
parent | 4d2730e9a66609f028dfa6289e035b1fe4924400 (diff) |
deprecate server-pool in droolspdp
deprecate server-pool in droolspdp
Issue-ID: POLICY-3079
Change-Id: Id25aea57cc4d119bba73de22c6dc77ab9a56c95f
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'api-server-pool-state-control')
3 files changed, 0 insertions, 123 deletions
diff --git a/api-server-pool-state-control/pom.xml b/api-server-pool-state-control/pom.xml deleted file mode 100644 index 7627951c..00000000 --- a/api-server-pool-state-control/pom.xml +++ /dev/null @@ -1,46 +0,0 @@ -<!-- - ============LICENSE_START======================================================= - api-server-pool-state-control - ================================================================================ - Copyright (C) 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. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ============LICENSE_END========================================================= - --> - -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.onap.policy.drools-pdp</groupId> - <artifactId>drools-pdp</artifactId> - <version>1.8.0-SNAPSHOT</version> - </parent> - - <artifactId>api-server-pool-state-control</artifactId> - - <name>api-server-pool-state-control</name> - <description>APIs for server pool state control</description> - - <dependencies> - <dependency> - <groupId>org.onap.policy.drools-pdp</groupId> - <artifactId>policy-core</artifactId> - <version>${project.version}</version> - <scope>provided</scope> - </dependency> - </dependencies> - -</project>
\ No newline at end of file diff --git a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java b/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java deleted file mode 100644 index 7148f30e..00000000 --- a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java +++ /dev/null @@ -1,40 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * drools-pdp-state-control-api - * ================================================================================ - * Copyright (C) 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.drools.control.api; - -import org.onap.policy.common.utils.services.OrderedService; - -public interface DroolsPdpStateControlApi extends OrderedService { - - /** - * This method is called when wanting to interrupt the operation of the - * drools pdp. It locks the endpoints, stops the message processing - * and removes the instance of the drools pdp from the pool. - */ - void shutdown(); - - /** - * This method is called when wanting to resume the operation of the - * drools pdp. It unlocks the endpoints, resumes message processing - * and adds the instance of the drools pdp to the pool. - */ - void restart(); -} diff --git a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApiConstants.java b/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApiConstants.java deleted file mode 100644 index df88bf30..00000000 --- a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApiConstants.java +++ /dev/null @@ -1,37 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * drools-pdp-state-control-api - * ================================================================================ - * Copyright (C) 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.drools.control.api; - -import org.onap.policy.common.utils.services.OrderedServiceImpl; - -public class DroolsPdpStateControlApiConstants { - - /** - * 'FeatureAPI.impl.getList()' returns an ordered list of objects - * implementing the 'FeatureAPI' interface. - */ - public static final OrderedServiceImpl<DroolsPdpStateControlApi> impl = - new OrderedServiceImpl<>(DroolsPdpStateControlApi.class); - - private DroolsPdpStateControlApiConstants() { - // do nothing - } -} |