summaryrefslogtreecommitdiffstats
path: root/applications/guard/src/test/resources/META-INF/createtest.sql
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-03-27 06:40:18 -0400
committerJoshua Reich <jreich@research.att.com>2019-04-01 15:35:43 -0700
commitd2daf7ef5d003b5c5ae6a7083ccf676cc87a1d7b (patch)
tree99d83d3772181df83ca48138ca3e86ef757cb443 /applications/guard/src/test/resources/META-INF/createtest.sql
parentd3438454879ec3f3c31ca8af2fc5903b7f8697ae (diff)
Adding guard PIP
Adding the PIP support into the translator to setup the count attribute as an attribute generated by PIP and not sent by calling application. Added JUnit for OperationsHistoryPipEngine. Issue-ID: POLICY-1471 Change-Id: I71773ee8ea0e6c02873506d973a604899383d4b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/guard/src/test/resources/META-INF/createtest.sql')
-rw-r--r--applications/guard/src/test/resources/META-INF/createtest.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/applications/guard/src/test/resources/META-INF/createtest.sql b/applications/guard/src/test/resources/META-INF/createtest.sql
new file mode 100644
index 00000000..c7389f33
--- /dev/null
+++ b/applications/guard/src/test/resources/META-INF/createtest.sql
@@ -0,0 +1,16 @@
+#
+# Create the operations history table
+#
+CREATE TABLE `operationshistory`
+ (
+ `id` bigint not null,
+ `closedLoopName` varchar(255) not null,
+ `requestId` varchar(50) not null,
+ `subrequestId` varchar(50) not null,
+ `actor` varchar(50) not null,
+ `operation` varchar(50) not null,
+ `target` varchar(50) not null,
+ `starttime` timestamp not null,
+ `outcome` varchar(50) not null,
+ `message` varchar(255) not null,
+ `endtime` timestamp not null);