This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
files.sh
executable file
·128 lines (112 loc) · 7.7 KB
/
files.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/bin/bash
TIMESTAMPFORMAT=`date +%d-%m-%Y_%H%M%S`
CONFIGFILE=$(dirname "$0")/config.sh
EVENTDATAFILE=/etc/newman/data/eventData.json
COREDATAENVFILE=/etc/newman/environment/CoredataEnv.postman_environment.json
COREDATACOLLFILE=/etc/newman/collections/core-data.postman_collection.json
EVENTDATADUMP=/etc/newman/DataDumps/coredata/eventDb.json
READINGDATADUMP=/etc/newman/DataDumps/coredata/readingDb.json
VDDATADUMP=/etc/newman/DataDumps/coredata/valueDescriptorDb.json
READINGDATAFILE=/etc/newman/data/readingData.json
VDDATAFILE=/etc/newman/data/valueDescriptorData.json
METADATA_ENVFILE=/etc/newman/environment/MetadataEnv.postman_environment.json
METADATA_COLLFILE=/etc/newman/collections/core-metadata.postman_collection.json
ADDRESSABLE_DATAFILE=/etc/newman/data/addressableData.json
ADDRESSABLE_DATADUMP=/etc/newman/DataDumps/metadata/addressableDb.json
DEVICE_DATAFILE=/etc/newman/data/deviceData.json
DEVICE_DATADUMP=/etc/newman/DataDumps/metadata/deviceDb.json
DEVICESERVICE_DATAFILE=/etc/newman/data/deviceServiceData.json
DEVICESERVICE_DATADUMP=/etc/newman/DataDumps/metadata/deviceserviceDb.json
COMMAND_DATAFILE=/etc/newman/data/commandData.json
COMMAND_DATADUMP=/etc/newman/DataDumps/metadata/commandDb.json
DEVICEMANAGER_DATAFILE=/etc/newman/data/deviceManagerData.json
DEVICEMANAGER_DATADUMP=/etc/newman/DataDumps/metadata/deviceManagerDb.json
DEVICEPROFILE_DATAFILE=/etc/newman/data/deviceProfileData.json
DEVICEPROFILE_DATADUMP=/etc/newman/DataDumps/metadata/deviceProfileDb.json
PROVISION_DATAFILE=/etc/newman/data/provisionWatcherData.json
PROVISION_DATADUMP=/etc/newman/DataDumps/metadata/provisioWatcherDb.json
DEVICEREPORT_DATAFILE=/etc/newman/data/deviceReportData.json
DEVICEREPORT_DATADUMP=/etc/newman/DataDumps/metadata/deviceReportDb.json
SCHEDULE_DATAFILE=/etc/newman/data/scheduleData.json
SCHEDULE_DATADUMP=/etc/newman/DataDumps/metadata/scheduleDb.json
SCHEDULEEVENT_DATAFILE=/etc/newman/data/scheduleEventData.json
SCHEDULEEVENT_DATADUMP=/etc/newman/DataDumps/metadata/scheduleEventDb.json
CORECOMMANDENVFILE=/etc/newman/environment/command.postman_environment.json
CORECOMMANDCOLLFILE=/etc/newman/collections/core-command.postman_collection.json
ADDRESSABLECCDATADUMP=/etc/newman/DataDumps/command/addressableDb.json
DEVICECCDATADUMP=/etc/newman/DataDumps/command/deviceDb.json
DEVICEPROFILECCDATADUMP=/etc/newman/DataDumps/command/deviceProfileDb.json
DEVICESERVICECCDATADUMP=/etc/newman/DataDumps/command/deviceServiceDb.json
COMMANDCCDATADUMP=/etc/newman/DataDumps/command/commandDb.json
CORECOMMANDDATAFILE=/etc/newman/data/coreCommandData.json
SUPPORTNOTIFICATION_NOTIFICATION_DATADUMP=/etc/newman/DataDumps/supportNotifications/notificationDb.json
SUPPORTNOTIFICATION_SUBSCRIPTION_DATADUMP=/etc/newman/DataDumps/supportNotifications/subscriptionDb.json
SUPPORTNOTIFICATION_TRANSMISSION_DATADUMP=/etc/newman/DataDumps/supportNotifications/transmissionDb.json
INTERVAL_DATAFILE=/etc/newman/data/intervalData.json
INTERVAL_DATADUMP=etc/newman/DataDumps/intervalDb.json
INTERVALACTION_DATAFILE=/etc/newman/data/intervalActionData.json
INTERVALACTION_DUMPFILE=/ect/newman/DataDumps/intervalActionDb.json
if [ -f $CONFIGFILE ]; then
source $CONFIGFILE
else
echo "Error: Configuration script does not exist."
exit $?
fi
#EVENTREPORT200FILE=$eventReportPath200Status/event$TIMESTAMPFORMAT.html
#EVENTREPORT4XXFILE=$eventReportPath4XXStatus/event$TIMESTAMPFORMAT.html
#READINGREPORT200FILE=$readingReportPath200Status/reading$TIMESTAMPFORMAT.html
#READINGREPORT4XXFILE=$readingReportPath4XXStatus/reading$TIMESTAMPFORMAT.html
#VDREPORT200FILE=$vdReportPath200Status/valuedescriptor$TIMESTAMPFORMAT.html
#VDREPORT4XXFILE=$vdReportPath4XXStatus/valuedescriptor$TIMESTAMPFORMAT.html
#
#ADDRESSABLE_200FILE=$addressableReportPath200Status/addressable$TIMESTAMPFORMAT.html
#ADDRESSABLE_4XXFILE=$addressableReportPath4XXStatus/addressable$TIMESTAMPFORMAT.html
#COMMAND_200FILE=$commandReportPath200Status/command$TIMESTAMPFORMAT.html
#COMMAND_4XXFILE=$commandReportPath4XXStatus/command$TIMESTAMPFORMAT.html
#DEVICE_200FILE=$deviceReportPath200Status/device$TIMESTAMPFORMAT.html
#DEVICE_4XXFILE=$deviceReportPath4XXStatus/device$TIMESTAMPFORMAT.html
#DEVICEMANAGER_200FILE=$deviceManagerPath200Status/deviceManager$TIMESTAMPFORMAT.html
#DEVICEMANAGER_4XXFILE=$deviceManagerPath4XXStatus/deviceManager$TIMESTAMPFORMAT.html
#DEVICEPROFILE_200FILE=$deviceProfileReportPath200Status/deviceProfile$TIMESTAMPFORMAT.html
#DEVICEPROFILE_4XXFILE=$deviceProfileReportPath4XXStatus/deviceProfile$TIMESTAMPFORMAT.html
#DEVICEREPORT_200FILE=$deviceRepReportPath200Status/deviceReport$TIMESTAMPFORMAT.html
#DEVICEREPORT_4XXFILE=$deviceRepReportPath4XXStatus/deviceReport$TIMESTAMPFORMAT.html
#DEVICESERVICE_200FILE=$deviceServiceReportPath200Status/deviceService$TIMESTAMPFORMAT.html
#DEVICESERVICE_4XXFILE=$deviceServiceReportPath4XXStatus/deviceService$TIMESTAMPFORMAT.html
#PROVISIONWATCHER_200FILE=$provisionWatcherReportPath200Status/provisionWatcher$TIMESTAMPFORMAT.html
#PROVISIONWATCHER_4XXFILE=$provisionWatcherReportPath4XXStatus/provisionWatcher$TIMESTAMPFORMAT.html
#SCHEDULE_200FILE=$scheduleReportPath200Status/schedule$TIMESTAMPFORMAT.html
#SCHEDULE_4XXFILE=$scheduleReportPath4XXStatus/schedule$TIMESTAMPFORMAT.html
#SCHEDULEEVENT_200FILE=$scheduleEventReportPath200Status/scheduleEvent$TIMESTAMPFORMAT.html
#SCHEDULEEVENT_4XXFILE=$scheduleEventReportPath4XXStatus/scheduleEvent$TIMESTAMPFORMAT.html
#
#DEVICECCREPORT200FILE=$deviceCcReportPath200Status/device$TIMESTAMPFORMAT.html
#DEVICECCREPORT4XXFILE=$deviceCcReportPath4XXStatus/device$TIMESTAMPFORMAT.html
EVENTREPORT200FILE=$eventReportPath200Status/event$TIMESTAMPFORMAT.xml
EVENTREPORT4XXFILE=$eventReportPath4XXStatus/event$TIMESTAMPFORMAT.xml
READINGREPORT200FILE=$readingReportPath200Status/reading$TIMESTAMPFORMAT.xml
READINGREPORT4XXFILE=$readingReportPath4XXStatus/reading$TIMESTAMPFORMAT.xml
VDREPORT200FILE=$vdReportPath200Status/valuedescriptor$TIMESTAMPFORMAT.xml
VDREPORT4XXFILE=$vdReportPath4XXStatus/valuedescriptor$TIMESTAMPFORMAT.xml
ADDRESSABLE_200FILE=$addressableReportPath200Status/addressable$TIMESTAMPFORMAT.xml
ADDRESSABLE_4XXFILE=$addressableReportPath4XXStatus/addressable$TIMESTAMPFORMAT.xml
COMMAND_200FILE=$commandReportPath200Status/command$TIMESTAMPFORMAT.xml
COMMAND_4XXFILE=$commandReportPath4XXStatus/command$TIMESTAMPFORMAT.xml
DEVICE_200FILE=$deviceReportPath200Status/device$TIMESTAMPFORMAT.xml
DEVICE_4XXFILE=$deviceReportPath4XXStatus/device$TIMESTAMPFORMAT.xml
DEVICEMANAGER_200FILE=$deviceManagerPath200Status/deviceManager$TIMESTAMPFORMAT.xml
DEVICEMANAGER_4XXFILE=$deviceManagerPath4XXStatus/deviceManager$TIMESTAMPFORMAT.xml
DEVICEPROFILE_200FILE=$deviceProfileReportPath200Status/deviceProfile$TIMESTAMPFORMAT.xml
DEVICEPROFILE_4XXFILE=$deviceProfileReportPath4XXStatus/deviceProfile$TIMESTAMPFORMAT.xml
DEVICEREPORT_200FILE=$deviceRepReportPath200Status/deviceReport$TIMESTAMPFORMAT.xml
DEVICEREPORT_4XXFILE=$deviceRepReportPath4XXStatus/deviceReport$TIMESTAMPFORMAT.xml
DEVICESERVICE_200FILE=$deviceServiceReportPath200Status/deviceService$TIMESTAMPFORMAT.xml
DEVICESERVICE_4XXFILE=$deviceServiceReportPath4XXStatus/deviceService$TIMESTAMPFORMAT.xml
PROVISIONWATCHER_200FILE=$provisionWatcherReportPath200Status/provisionWatcher$TIMESTAMPFORMAT.xml
PROVISIONWATCHER_4XXFILE=$provisionWatcherReportPath4XXStatus/provisionWatcher$TIMESTAMPFORMAT.xml
SCHEDULE_200FILE=$scheduleReportPath200Status/schedule$TIMESTAMPFORMAT.xml
SCHEDULE_4XXFILE=$scheduleReportPath4XXStatus/schedule$TIMESTAMPFORMAT.xml
SCHEDULEEVENT_200FILE=$scheduleEventReportPath200Status/scheduleEvent$TIMESTAMPFORMAT.xml
SCHEDULEEVENT_4XXFILE=$scheduleEventReportPath4XXStatus/scheduleEvent$TIMESTAMPFORMAT.xml
DEVICECCREPORT200FILE=$deviceCcReportPath200Status/device$TIMESTAMPFORMAT.xml
DEVICECCREPORT4XXFILE=$deviceCcReportPath4XXStatus/device$TIMESTAMPFORMAT.xml