aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources/csv_files
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/resources/csv_files')
-rw-r--r--vid-app-common/src/test/resources/csv_files/csv_to_json.csv99
-rw-r--r--vid-app-common/src/test/resources/csv_files/empty_file.csv18
-rw-r--r--vid-app-common/src/test/resources/csv_files/missing_content.csv2
-rw-r--r--vid-app-common/src/test/resources/csv_files/missing_values.csv2
-rw-r--r--vid-app-common/src/test/resources/csv_files/one_line.csv1
5 files changed, 122 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/csv_files/csv_to_json.csv b/vid-app-common/src/test/resources/csv_files/csv_to_json.csv
new file mode 100644
index 000000000..02229caf8
--- /dev/null
+++ b/vid-app-common/src/test/resources/csv_files/csv_to_json.csv
@@ -0,0 +1,99 @@
+payload,request-parameters,,,vnf-name,ibcx0099v
+payload,request-parameters,[vm],,vm-name,ibcx0001vm001
+payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm001dbg001
+payload,request-parameters,[vm],[vnfc],vnfc-function-code,dbg
+payload,request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1
+payload,request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair
+payload,request-parameters,[vm],[vnfc],ipaddress-v4-oam-vip,135.21.166.39
+payload,request-parameters,[vm],,vm-name,ibcx0001vm002
+payload,request-parameters,[vm],[vnfc],vnfc-name,ibcx0001vm002dbg001
+payload,request-parameters,[vm],[vnfc],vnfc-function-code,dbg
+payload,request-parameters,[vm],[vnfc],vnfc-type,DBE-VM #1
+payload,request-parameters,[vm],[vnfc],group-notation,ibcx0001vm001dbg001pair
+,,,,,
+payload,request-parameters,,,template-name,vdbe_template1
+payload,configuration,,,configuration-string," <configuration xmlns=""http://xml.juniper.net/xnm/1.1/xnm""
+ xmlns:a=""http://xml.juniper.net/junos/15.1X49/junos"" >
+ <version>15.1X49-D50.3</version>
+ <groups>
+ <name>node0</name>
+ <system>
+ <host-name>$node0_hostname</host-name>
+ <backup-router>
+ <address>$node0_backup_router_address</address>
+ <destination>0.0.0.0/0</destination>
+ </backup-router>
+ </system>
+ </groups>
+ </configuration>"
+payload,configuration,,,configuration-json,"{
+ ""version"": ""15.1X49-D50.3"",
+ ""groups"": {
+ ""name"": ""node0"",
+ ""system"": {
+ ""host-name"": ""$node0_hostname"",
+ ""backup-router"": {
+ ""address"": ""$node0_backup_router_address"",
+ ""destination"": ""0.0.0.0/0""
+ }
+ }
+ }
+}"
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+payload,configuration-parameters,nat_source_sp_v6rogerssnat_address1,2001:1890:fc45:f025:135:25:246:c806/128
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
diff --git a/vid-app-common/src/test/resources/csv_files/empty_file.csv b/vid-app-common/src/test/resources/csv_files/empty_file.csv
new file mode 100644
index 000000000..8a4b14f25
--- /dev/null
+++ b/vid-app-common/src/test/resources/csv_files/empty_file.csv
@@ -0,0 +1,18 @@
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,,
+,,,,, \ No newline at end of file
diff --git a/vid-app-common/src/test/resources/csv_files/missing_content.csv b/vid-app-common/src/test/resources/csv_files/missing_content.csv
new file mode 100644
index 000000000..9b9e14db1
--- /dev/null
+++ b/vid-app-common/src/test/resources/csv_files/missing_content.csv
@@ -0,0 +1,2 @@
+payload,request-parameters,,,ibcx0099v
+payload,request-parameters,,aa,vv \ No newline at end of file
diff --git a/vid-app-common/src/test/resources/csv_files/missing_values.csv b/vid-app-common/src/test/resources/csv_files/missing_values.csv
new file mode 100644
index 000000000..0e914f026
--- /dev/null
+++ b/vid-app-common/src/test/resources/csv_files/missing_values.csv
@@ -0,0 +1,2 @@
+payload,,,,,
+payload,request-parameters,,aa,vv
diff --git a/vid-app-common/src/test/resources/csv_files/one_line.csv b/vid-app-common/src/test/resources/csv_files/one_line.csv
new file mode 100644
index 000000000..315e93989
--- /dev/null
+++ b/vid-app-common/src/test/resources/csv_files/one_line.csv
@@ -0,0 +1 @@
+payload,request-parameters,,,vnf-name,ibcx0099v \ No newline at end of file