aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INFO.yaml26
-rw-r--r--gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/EngineStatusTest.java40
-rw-r--r--gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/StatisticsResponseTest.java39
3 files changed, 86 insertions, 19 deletions
diff --git a/INFO.yaml b/INFO.yaml
index 0e2de92..c569d9a 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -1,7 +1,8 @@
---
-project: 'policy/gui'
+project: 'policy-gui'
project_creation_date: '2017-06-20'
lifecycle_state: 'Incubation'
+project_category: ''
project_lead: &onap_releng_ptl
name: 'Pamela Dragosh'
email: 'pdragosh@research.att.com'
@@ -9,6 +10,7 @@ project_lead: &onap_releng_ptl
company: 'ATT'
timezone: 'America/New York'
primary_contact: *onap_releng_ptl
+realtime_discussion: ''
issue_tracking:
type: 'jira'
url: 'https://jira.onap.org/projects/POLICY'
@@ -24,24 +26,9 @@ meetings:
server: 'n/a'
channel: 'n/a'
repeats: 'weekly'
- time: '13:00 UTC'
+ time: '09:00 EST'
repositories:
- - 'policy-apex-pdp'
- - 'policy-api'
- - 'policy-common'
- - 'policy-core'
- - 'policy-distribution'
- - 'policy-docker'
- - 'policy-drools-applications'
- - 'policy-drools-pdp'
- - 'policy-engine'
- - 'policy-gui'
- - 'policy-models'
- - 'policy-oom'
- - 'policy-pap'
- - 'policy-parent'
- - 'policy-pdp'
- - 'policy-xacml-pdp'
+ - 'policy/gui'
committers:
- <<: *onap_releng_ptl
- name: 'Jorge Hernandez'
@@ -69,6 +56,7 @@ tsc:
changes:
- type: 'Addition'
name: 'Jim Hahn'
- name: 'Ram Krishna Verma'
link: https://lists.onap.org/g/onap-tsc/message/4977
+ - type: 'Addition'
+ name: 'Ram Krishna Verma'
link: https://lists.onap.org/g/onap-tsc/message/4976
diff --git a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/EngineStatusTest.java b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/EngineStatusTest.java
new file mode 100644
index 0000000..46a19dc
--- /dev/null
+++ b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/EngineStatusTest.java
@@ -0,0 +1,40 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2020 AT&T
+ * ================================================================================
+ * 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.gui.pdp.monitoring.rest;
+
+import com.openpojo.reflection.filters.FilterClassName;
+import com.openpojo.validation.Validator;
+import com.openpojo.validation.ValidatorBuilder;
+import com.openpojo.validation.rule.impl.SetterMustExistRule;
+import com.openpojo.validation.test.impl.SetterTester;
+import org.junit.Test;
+
+public class EngineStatusTest {
+
+ @Test
+ public void testEngineStatus() {
+ final Validator validator = ValidatorBuilder.create().with(new SetterMustExistRule())
+ .with(new SetterTester()).build();
+ validator.validate(EngineStatus.class.getPackage().getName(),
+ new FilterClassName(EngineStatus.class.getName()));
+ }
+
+}
diff --git a/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/StatisticsResponseTest.java b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/StatisticsResponseTest.java
new file mode 100644
index 0000000..d38f08c
--- /dev/null
+++ b/gui-pdp-monitoring/src/test/java/org/onap/policy/gui/pdp/monitoring/rest/StatisticsResponseTest.java
@@ -0,0 +1,39 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Copyright (C) 2020 AT&T
+ * ================================================================================
+ * 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.gui.pdp.monitoring.rest;
+
+import com.openpojo.reflection.filters.FilterClassName;
+import com.openpojo.validation.Validator;
+import com.openpojo.validation.ValidatorBuilder;
+import com.openpojo.validation.rule.impl.SetterMustExistRule;
+import com.openpojo.validation.test.impl.SetterTester;
+import org.junit.Test;
+
+public class StatisticsResponseTest {
+
+ @Test
+ public void testStatisticsResponse() {
+ final Validator validator = ValidatorBuilder.create().with(new SetterMustExistRule())
+ .with(new SetterTester()).build();
+ validator.validate(StatisticsResponse.class.getPackage().getName(),
+ new FilterClassName(StatisticsResponse.class.getName()));
+ }
+}