* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import lombok.Getter;
import org.onap.policy.models.pdp.concepts.PdpGroup;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.onap.policy.models.base.PfModelRuntimeException;
import org.onap.policy.models.pap.concepts.PdpGroupDeleteResponse;
import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyIdentifierOptVersion;
-import org.onap.policy.pap.main.rest.PapRestControllerV1;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import java.util.Iterator;
import java.util.Set;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.onap.policy.models.pap.concepts.PdpDeployPolicies;
import org.onap.policy.models.pap.concepts.PdpGroupDeployResponse;
import org.onap.policy.models.pdp.concepts.PdpGroups;
-import org.onap.policy.pap.main.rest.PapRestControllerV1;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import com.att.aft.dme2.internal.apache.commons.lang.ObjectUtils;
import java.util.ArrayList;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import java.util.Collection;
import java.util.Optional;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import java.util.Collection;
import java.util.stream.Collectors;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import java.util.Collection;
import java.util.Collections;
import org.onap.policy.pap.main.rest.HealthCheckRestControllerV1;
import org.onap.policy.pap.main.rest.PapAafFilter;
import org.onap.policy.pap.main.rest.PapStatisticsManager;
+import org.onap.policy.pap.main.rest.PdpGroupDeleteControllerV1;
+import org.onap.policy.pap.main.rest.PdpGroupDeployControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupHealthCheckControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupQueryControllerV1;
import org.onap.policy.pap.main.rest.PdpGroupStateChangeControllerV1;
import org.onap.policy.pap.main.rest.PolicyStatusControllerV1;
+import org.onap.policy.pap.main.rest.PolicyUndeployerImpl;
import org.onap.policy.pap.main.rest.StatisticsRestControllerV1;
-import org.onap.policy.pap.main.rest.depundep.PdpGroupDeleteControllerV1;
-import org.onap.policy.pap.main.rest.depundep.PdpGroupDeployControllerV1;
-import org.onap.policy.pap.main.rest.depundep.PolicyUndeployerImpl;
/**
* This class activates Policy Administration (PAP) as a complete service together with all its controllers, listeners &
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import static org.junit.Assert.assertFalse;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.junit.Assert.assertEquals;
import javax.ws.rs.core.Response;
import org.junit.Test;
import org.onap.policy.models.pap.concepts.PdpGroupDeleteResponse;
-import org.onap.policy.pap.main.rest.CommonPapRestServer;
/**
* Note: this tests failure cases; success cases are tested by tests in the "e2e" package.
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.Assert.assertEquals;
import org.onap.policy.models.pdp.enums.PdpState;
import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyIdentifier;
import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyIdentifierOptVersion;
-import org.onap.policy.pap.main.rest.depundep.ProviderBase.Updater;
+import org.onap.policy.pap.main.rest.ProviderBase.Updater;
public class TestPdpGroupDeleteProvider extends ProviderSuper {
private static final String EXPECTED_EXCEPTION = "expected exception";
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.onap.policy.models.pdp.concepts.PdpGroup;
import org.onap.policy.models.pdp.concepts.PdpSubGroup;
import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyIdentifierOptVersion;
-import org.onap.policy.pap.main.rest.CommonPapRestServer;
/**
* Note: this tests failure cases; success cases are tested by tests in the "e2e" package.
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.Assert.assertEquals;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.Assert.assertEquals;
* ============LICENSE_END=========================================================
*/
-package org.onap.policy.pap.main.rest.depundep;
+package org.onap.policy.pap.main.rest;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;