private String name;
private String version;
- private PdpState state;
+ private PdpState pdpGroupstate;
private String description;
private Map<String, String> properties;
private List<PdpSubGroup> pdpSubgroups;
--- /dev/null
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * 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.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.models.pap.concepts;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * Response to PDP Group State Change REST API.
+ */
+@Getter
+@Setter
+@ToString
+public class PdpGroupStateChangeResponse extends SimpleResponse {
+
+}
public class PdpInstanceDetails {
private String instanceId;
- private PdpState state;
+ private PdpState pdpState;
private PdpHealthStatus healthy;
private String message;
}
package org.onap.policy.models.pap.concepts;
import java.util.List;
+
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
-import org.onap.policy.pdp.common.models.Policy;
/**
* Request deploy or update a set of policies using the <i>simple</i> PDP Group deployment
import lombok.Setter;
import lombok.ToString;
-import org.onap.policy.pdp.common.models.Policy;
-
/**
* Class to represent a group of all PDP's of the same pdp type running for a particular domain.
*
--- /dev/null
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2019 Nordix Foundation.
+ * ================================================================================
+ * 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.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.models.pap.concepts;
+
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+/**
+ * Class to represent a policy running in a PDP.
+ *
+ * @author Ram Krishna Verma (ram.krishna.verma@est.tech)
+ */
+@Getter
+@Setter
+@ToString
+public class Policy {
+
+ private String name;
+ private String policyVersion;
+ private String policyType;
+ private String policyTypeVersion;
+ private String policyTypeImpl;
+}