From 53d83244c1bf36af86e90ce5fe758a369f73563e Mon Sep 17 00:00:00 2001 From: "serena.spinoso" Date: Sat, 25 Feb 2017 12:00:55 +0100 Subject: Add verigraph code base JIRA: PARSER-111 Change-Id: Ie76e14fabbb6c388ebc89d9a15dd3021b25fa892 Signed-off-by: serena.spinoso --- verigraph/src/main/webapp/json/antispam.json | 11 ++++++ verigraph/src/main/webapp/json/cache.json | 11 ++++++ verigraph/src/main/webapp/json/database.json | 5 +++ verigraph/src/main/webapp/json/dpi.json | 11 ++++++ verigraph/src/main/webapp/json/endhost.json | 42 +++++++++++++++++++++++ verigraph/src/main/webapp/json/endpoint.json | 9 +++++ verigraph/src/main/webapp/json/fieldmodifier.json | 12 +++++++ verigraph/src/main/webapp/json/firewall.json | 11 ++++++ verigraph/src/main/webapp/json/mailclient.json | 22 ++++++++++++ verigraph/src/main/webapp/json/mailserver.json | 12 +++++++ verigraph/src/main/webapp/json/nat.json | 11 ++++++ verigraph/src/main/webapp/json/vpnaccess.json | 22 ++++++++++++ verigraph/src/main/webapp/json/vpnexit.json | 22 ++++++++++++ verigraph/src/main/webapp/json/webclient.json | 22 ++++++++++++ verigraph/src/main/webapp/json/webserver.json | 12 +++++++ 15 files changed, 235 insertions(+) create mode 100644 verigraph/src/main/webapp/json/antispam.json create mode 100644 verigraph/src/main/webapp/json/cache.json create mode 100644 verigraph/src/main/webapp/json/database.json create mode 100644 verigraph/src/main/webapp/json/dpi.json create mode 100644 verigraph/src/main/webapp/json/endhost.json create mode 100644 verigraph/src/main/webapp/json/endpoint.json create mode 100644 verigraph/src/main/webapp/json/fieldmodifier.json create mode 100644 verigraph/src/main/webapp/json/firewall.json create mode 100644 verigraph/src/main/webapp/json/mailclient.json create mode 100644 verigraph/src/main/webapp/json/mailserver.json create mode 100644 verigraph/src/main/webapp/json/nat.json create mode 100644 verigraph/src/main/webapp/json/vpnaccess.json create mode 100644 verigraph/src/main/webapp/json/vpnexit.json create mode 100644 verigraph/src/main/webapp/json/webclient.json create mode 100644 verigraph/src/main/webapp/json/webserver.json (limited to 'verigraph/src/main/webapp/json') 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 -- cgit 1.2.3-korg