summaryrefslogtreecommitdiffstats
path: root/verigraph/src/main/webapp/json
diff options
context:
space:
mode:
authorserena.spinoso <serena.spinoso@polito.it>2017-02-25 12:00:55 +0100
committerserena.spinoso <serena.spinoso@polito.it>2017-02-27 13:39:18 +0100
commit53d83244c1bf36af86e90ce5fe758a369f73563e (patch)
treef5780b3033763d6b3cd62c40f5d4a63dfac35f7a /verigraph/src/main/webapp/json
parentf0108f26fb1f62fefbbc4d5484b87241d563737b (diff)
Add verigraph code base
JIRA: PARSER-111 Change-Id: Ie76e14fabbb6c388ebc89d9a15dd3021b25fa892 Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
Diffstat (limited to 'verigraph/src/main/webapp/json')
-rw-r--r--verigraph/src/main/webapp/json/antispam.json11
-rw-r--r--verigraph/src/main/webapp/json/cache.json11
-rw-r--r--verigraph/src/main/webapp/json/database.json5
-rw-r--r--verigraph/src/main/webapp/json/dpi.json11
-rw-r--r--verigraph/src/main/webapp/json/endhost.json42
-rw-r--r--verigraph/src/main/webapp/json/endpoint.json9
-rw-r--r--verigraph/src/main/webapp/json/fieldmodifier.json12
-rw-r--r--verigraph/src/main/webapp/json/firewall.json11
-rw-r--r--verigraph/src/main/webapp/json/mailclient.json22
-rw-r--r--verigraph/src/main/webapp/json/mailserver.json12
-rw-r--r--verigraph/src/main/webapp/json/nat.json11
-rw-r--r--verigraph/src/main/webapp/json/vpnaccess.json22
-rw-r--r--verigraph/src/main/webapp/json/vpnexit.json22
-rw-r--r--verigraph/src/main/webapp/json/webclient.json22
-rw-r--r--verigraph/src/main/webapp/json/webserver.json12
15 files changed, 235 insertions, 0 deletions
diff --git a/verigraph/src/main/webapp/json/antispam.json b/verigraph/src/main/webapp/json/antispam.json
new file mode 100644
index 0000000..dae3db9
--- /dev/null
+++ b/verigraph/src/main/webapp/json/antispam.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Antispam",
+ "description": "Polito Antispam",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/cache.json b/verigraph/src/main/webapp/json/cache.json
new file mode 100644
index 0000000..0511e7b
--- /dev/null
+++ b/verigraph/src/main/webapp/json/cache.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Cache",
+ "description": "Polito Cache",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/database.json b/verigraph/src/main/webapp/json/database.json
new file mode 100644
index 0000000..5b02a50
--- /dev/null
+++ b/verigraph/src/main/webapp/json/database.json
@@ -0,0 +1,5 @@
+[
+
+
+
+]
diff --git a/verigraph/src/main/webapp/json/dpi.json b/verigraph/src/main/webapp/json/dpi.json
new file mode 100644
index 0000000..6e4dd6f
--- /dev/null
+++ b/verigraph/src/main/webapp/json/dpi.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Dpi",
+ "description": "Polito IDS",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/endhost.json b/verigraph/src/main/webapp/json/endhost.json
new file mode 100644
index 0000000..37c8881
--- /dev/null
+++ b/verigraph/src/main/webapp/json/endhost.json
@@ -0,0 +1,42 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Endhost",
+ "description": "Polito Endhost",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "body": {
+ "description": "HTTP body",
+ "type": "string"
+ },
+ "sequence": {
+ "description": "Sequence number",
+ "type": "integer"
+ },
+ "protocol": {
+ "description": "Protocol",
+ "type": "string",
+ "enum": ["HTTP_REQUEST", "HTTP_RESPONSE", "POP3_REQUEST", "POP3_RESPONSE"]
+ },
+ "email_from": {
+ "description": "E-mail sender",
+ "type": "string"
+ },
+ "url": {
+ "description": "URL",
+ "type": "string"
+ },
+ "options": {
+ "description": "Options",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Destination node",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "maxItems": 1
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/endpoint.json b/verigraph/src/main/webapp/json/endpoint.json
new file mode 100644
index 0000000..1e6a521
--- /dev/null
+++ b/verigraph/src/main/webapp/json/endpoint.json
@@ -0,0 +1,9 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Endpoint",
+ "description": "Polito Endpoint",
+ "type": "array",
+ "minItems": 0,
+ "maxItems":0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/fieldmodifier.json b/verigraph/src/main/webapp/json/fieldmodifier.json
new file mode 100644
index 0000000..8be9419
--- /dev/null
+++ b/verigraph/src/main/webapp/json/fieldmodifier.json
@@ -0,0 +1,12 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Field Modifier",
+ "description": "Polito Field Modifier",
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "minItems": 0,
+ "maxItems":0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/firewall.json b/verigraph/src/main/webapp/json/firewall.json
new file mode 100644
index 0000000..01ec63f
--- /dev/null
+++ b/verigraph/src/main/webapp/json/firewall.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Firewall",
+ "description": "Polito Firewall",
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "minItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/mailclient.json b/verigraph/src/main/webapp/json/mailclient.json
new file mode 100644
index 0000000..cacfd5f
--- /dev/null
+++ b/verigraph/src/main/webapp/json/mailclient.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Mail Client",
+ "description": "Polito Mail Client",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "mailserver": {
+ "description": "Mail server name",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mailserver"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/mailserver.json b/verigraph/src/main/webapp/json/mailserver.json
new file mode 100644
index 0000000..974b560
--- /dev/null
+++ b/verigraph/src/main/webapp/json/mailserver.json
@@ -0,0 +1,12 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Mail Server",
+ "description": "Polito Mail Server",
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "minItems": 0,
+ "maxItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/nat.json b/verigraph/src/main/webapp/json/nat.json
new file mode 100644
index 0000000..f2b973a
--- /dev/null
+++ b/verigraph/src/main/webapp/json/nat.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Nat",
+ "description": "Polito Nat",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/vpnaccess.json b/verigraph/src/main/webapp/json/vpnaccess.json
new file mode 100644
index 0000000..907118d
--- /dev/null
+++ b/verigraph/src/main/webapp/json/vpnaccess.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Vpn Access",
+ "description": "Polito Vpn Access",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "vpnexit": {
+ "description": "Vpn Exit",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "vpnexit"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/vpnexit.json b/verigraph/src/main/webapp/json/vpnexit.json
new file mode 100644
index 0000000..c80a138
--- /dev/null
+++ b/verigraph/src/main/webapp/json/vpnexit.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Vpn Exit",
+ "description": "Polito Vpn Exit",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "vpnaccess": {
+ "description": "Vpn Access",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "vpnaccess"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/webclient.json b/verigraph/src/main/webapp/json/webclient.json
new file mode 100644
index 0000000..dfbc55e
--- /dev/null
+++ b/verigraph/src/main/webapp/json/webclient.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Web client",
+ "description": "Polito Web Client",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "webserver": {
+ "description": "Web server name",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "webserver"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1,
+ "uniqueItems": true
+} \ No newline at end of file
diff --git a/verigraph/src/main/webapp/json/webserver.json b/verigraph/src/main/webapp/json/webserver.json
new file mode 100644
index 0000000..5d7a1c4
--- /dev/null
+++ b/verigraph/src/main/webapp/json/webserver.json
@@ -0,0 +1,12 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Web Server",
+ "description": "Polito Web Server",
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "minItems": 0,
+ "maxItems": 0,
+ "uniqueItems": true
+} \ No newline at end of file