Started generator and handled error in apigen
diff --git a/xos/core/xoslib/.yo-rc.json b/xos/core/xoslib/.yo-rc.json
new file mode 100644
index 0000000..62d3e2d
--- /dev/null
+++ b/xos/core/xoslib/.yo-rc.json
@@ -0,0 +1,5 @@
+{
+  "generator-xos": {
+    "name": "sampleView"
+  }
+}
\ No newline at end of file
diff --git a/xos/core/xoslib/ngXosLib/src/ng-hpcapi.js b/xos/core/xoslib/ngXosLib/api/ng-hpcapi.js
similarity index 100%
rename from xos/core/xoslib/ngXosLib/src/ng-hpcapi.js
rename to xos/core/xoslib/ngXosLib/api/ng-hpcapi.js
diff --git a/xos/core/xoslib/ngXosLib/src/ng-xos.js b/xos/core/xoslib/ngXosLib/api/ng-xos.js
similarity index 100%
rename from xos/core/xoslib/ngXosLib/src/ng-xos.js
rename to xos/core/xoslib/ngXosLib/api/ng-xos.js
diff --git a/xos/core/xoslib/ngXosLib/src/ng-xoslib.js b/xos/core/xoslib/ngXosLib/api/ng-xoslib.js
similarity index 100%
rename from xos/core/xoslib/ngXosLib/src/ng-xoslib.js
rename to xos/core/xoslib/ngXosLib/api/ng-xoslib.js
diff --git a/xos/core/xoslib/ngXosLib/generator-xos/app/index.js b/xos/core/xoslib/ngXosLib/generator-xos/app/index.js
new file mode 100755
index 0000000..7824d89
--- /dev/null
+++ b/xos/core/xoslib/ngXosLib/generator-xos/app/index.js
@@ -0,0 +1,18 @@
+'use strict';
+
+var generators = require('yeoman-generator');
+
+module.exports = generators.Base.extend({
+  prompting: function(){
+    var done = this.async();
+    this.prompt({
+      type    : 'input',
+      name    : 'name',
+      message : 'Your project name',
+      default : this.config.get('name') // value set in .yo-rc.json
+    }, function (answers) {
+      this.log(answers.name);
+      done();
+    }.bind(this));
+  }
+});
diff --git a/xos/core/xoslib/ngXosLib/generator-xos/package.json b/xos/core/xoslib/ngXosLib/generator-xos/package.json
new file mode 100755
index 0000000..58b5a33
--- /dev/null
+++ b/xos/core/xoslib/ngXosLib/generator-xos/package.json
@@ -0,0 +1,17 @@
+{
+  "name": "generator-xos",
+  "version": "1.0.0",
+  "description": "View generator for XOS",
+  "main": "index.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "author": "Matteo Scandolo",
+  "license": "ISC",
+  "dependencies": {
+    "yeoman-generator": "^0.21.1"
+  },
+  "files": [
+    "app"
+  ]
+}
diff --git a/xos/core/xoslib/ngXosLib/src/xos-resources-definition.json b/xos/core/xoslib/ngXosLib/src/xos-resources-definition.json
deleted file mode 100644
index 0836bfa..0000000
--- a/xos/core/xoslib/ngXosLib/src/xos-resources-definition.json
+++ /dev/null
@@ -1 +0,0 @@
-{"swaggerVersion":"1.2","apis":[{"operations":[{"parameters":[],"nickname":"Hpc_Api_Root_GET","notes":"","summary":"","type":"object","method":"GET"}],"path":"/hpcapi/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Hpc_Health_Check_List_GET","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"enum":["dns","http","nameserver"],"name":"kind","paramType":"form","required":true,"type":"choice","defaultValue":"dns","description":""},{"name":"resource_name","paramType":"form","required":true,"type":"string","description":""},{"name":"result_contains","paramType":"form","required":false,"type":"string","description":""},{"name":"result_min_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"result_max_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Hpc_Health_Check_List_POST","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"POST"}],"path":"/hpcapi/hpchealthchecks/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/hpchealthchecks/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Hpc_Health_Check_Detail_GET","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"enum":["dns","http","nameserver"],"name":"kind","paramType":"form","required":true,"type":"choice","defaultValue":"dns","description":""},{"name":"resource_name","paramType":"form","required":true,"type":"string","description":""},{"name":"result_contains","paramType":"form","required":false,"type":"string","description":""},{"name":"result_min_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"result_max_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Hpc_Health_Check_Detail_PUT","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"enum":["dns","http","nameserver"],"name":"kind","paramType":"form","required":false,"type":"choice","defaultValue":"dns","description":""},{"name":"resource_name","paramType":"form","required":false,"type":"string","description":""},{"name":"result_contains","paramType":"form","required":false,"type":"string","description":""},{"name":"result_min_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"result_max_size","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Hpc_Health_Check_Detail_PATCH","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Hpc_Health_Check_Detail_DELETE","notes":"","summary":"","type":"HpcHealthCheckSerializer","method":"DELETE"}],"path":"/hpcapi/hpchealthchecks/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/hpchealthchecks/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Hpc_Service_List_GET","notes":"","summary":"","type":"HpcServiceSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"kind","paramType":"form","required":true,"type":"string","defaultValue":"generic","description":"Kind of service"},{"name":"name","paramType":"form","required":true,"type":"string","description":"Service Name"},{"name":"versionNumber","paramType":"form","required":true,"type":"string","description":"Version of Service Definition"},{"name":"published","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"view_url","paramType":"form","required":false,"type":"string","description":""},{"name":"icon_url","paramType":"form","required":false,"type":"string","description":""},{"name":"public_key","paramType":"form","required":false,"type":"string","description":"Public key string"},{"name":"service_specific_id","paramType":"form","required":false,"type":"string","description":""},{"name":"service_specific_attribute","paramType":"form","required":false,"type":"string","description":""},{"name":"cmi_hostname","paramType":"form","required":false,"type":"string","description":""},{"name":"hpc_port80","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Enable port 80 for HPC"},{"name":"watcher_hpc_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact hpc instance"},{"name":"watcher_dnsdemux_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsdemux instance"},{"name":"watcher_dnsredir_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsredir instance"}],"nickname":"Hpc_Service_List_POST","notes":"","summary":"","type":"HpcServiceSerializer","method":"POST"}],"path":"/hpcapi/hpcservices/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/hpcservices/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Hpc_Service_Detail_GET","notes":"","summary":"","type":"HpcServiceSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"kind","paramType":"form","required":true,"type":"string","defaultValue":"generic","description":"Kind of service"},{"name":"name","paramType":"form","required":true,"type":"string","description":"Service Name"},{"name":"versionNumber","paramType":"form","required":true,"type":"string","description":"Version of Service Definition"},{"name":"published","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"view_url","paramType":"form","required":false,"type":"string","description":""},{"name":"icon_url","paramType":"form","required":false,"type":"string","description":""},{"name":"public_key","paramType":"form","required":false,"type":"string","description":"Public key string"},{"name":"service_specific_id","paramType":"form","required":false,"type":"string","description":""},{"name":"service_specific_attribute","paramType":"form","required":false,"type":"string","description":""},{"name":"cmi_hostname","paramType":"form","required":false,"type":"string","description":""},{"name":"hpc_port80","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Enable port 80 for HPC"},{"name":"watcher_hpc_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact hpc instance"},{"name":"watcher_dnsdemux_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsdemux instance"},{"name":"watcher_dnsredir_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsredir instance"}],"nickname":"Hpc_Service_Detail_PUT","notes":"","summary":"","type":"HpcServiceSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"kind","paramType":"form","required":false,"type":"string","defaultValue":"generic","description":"Kind of service"},{"name":"name","paramType":"form","required":false,"type":"string","description":"Service Name"},{"name":"versionNumber","paramType":"form","required":false,"type":"string","description":"Version of Service Definition"},{"name":"published","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"view_url","paramType":"form","required":false,"type":"string","description":""},{"name":"icon_url","paramType":"form","required":false,"type":"string","description":""},{"name":"public_key","paramType":"form","required":false,"type":"string","description":"Public key string"},{"name":"service_specific_id","paramType":"form","required":false,"type":"string","description":""},{"name":"service_specific_attribute","paramType":"form","required":false,"type":"string","description":""},{"name":"cmi_hostname","paramType":"form","required":false,"type":"string","description":""},{"name":"hpc_port80","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Enable port 80 for HPC"},{"name":"watcher_hpc_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact hpc instance"},{"name":"watcher_dnsdemux_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsdemux instance"},{"name":"watcher_dnsredir_network","paramType":"form","required":false,"type":"string","description":"Network for hpc_watcher to contact dnsredir instance"}],"nickname":"Hpc_Service_Detail_PATCH","notes":"","summary":"","type":"HpcServiceSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Hpc_Service_Detail_DELETE","notes":"","summary":"","type":"HpcServiceSerializer","method":"DELETE"}],"path":"/hpcapi/hpcservices/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/hpcservices/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Origin_Server_List_GET","notes":"","summary":"","type":"OriginServerSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"origin_server_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"url","paramType":"form","required":true,"type":"string","description":""},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"authenticated","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":"Status for this Site"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Status for this Site"},{"enum":["http","rtmp","rtp","shout"],"name":"protocol","paramType":"form","required":true,"type":"choice","defaultValue":"HTTP","description":""},{"name":"redirects","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Indicates whether Origin Server redirects should be used for this Origin Server"},{"name":"description","paramType":"form","required":false,"type":"string","description":""}],"nickname":"Origin_Server_List_POST","notes":"","summary":"","type":"OriginServerSerializer","method":"POST"}],"path":"/hpcapi/originservers/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/originservers/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Origin_Server_Detail_GET","notes":"","summary":"","type":"OriginServerSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"origin_server_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"url","paramType":"form","required":true,"type":"string","description":""},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"authenticated","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":"Status for this Site"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Status for this Site"},{"enum":["http","rtmp","rtp","shout"],"name":"protocol","paramType":"form","required":true,"type":"choice","defaultValue":"HTTP","description":""},{"name":"redirects","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Indicates whether Origin Server redirects should be used for this Origin Server"},{"name":"description","paramType":"form","required":false,"type":"string","description":""}],"nickname":"Origin_Server_Detail_PUT","notes":"","summary":"","type":"OriginServerSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"origin_server_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"url","paramType":"form","required":false,"type":"string","description":""},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"authenticated","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":"Status for this Site"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Status for this Site"},{"enum":["http","rtmp","rtp","shout"],"name":"protocol","paramType":"form","required":false,"type":"choice","defaultValue":"HTTP","description":""},{"name":"redirects","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":"Indicates whether Origin Server redirects should be used for this Origin Server"},{"name":"description","paramType":"form","required":false,"type":"string","description":""}],"nickname":"Origin_Server_Detail_PATCH","notes":"","summary":"","type":"OriginServerSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Origin_Server_Detail_DELETE","notes":"","summary":"","type":"OriginServerSerializer","method":"DELETE"}],"path":"/hpcapi/originservers/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/originservers/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Cdn_Prefix_List_GET","notes":"","summary":"","type":"CDNPrefixSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"cdn_prefix_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"prefix","paramType":"form","required":true,"type":"string","description":"Registered Prefix for Domain"},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"defaultOriginServer","paramType":"form","required":false,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Cdn_Prefix_List_POST","notes":"","summary":"","type":"CDNPrefixSerializer","method":"POST"}],"path":"/hpcapi/cdnprefixs/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/cdnprefixs/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Cdn_Prefix_Detail_GET","notes":"","summary":"","type":"CDNPrefixSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"cdn_prefix_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"prefix","paramType":"form","required":true,"type":"string","description":"Registered Prefix for Domain"},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"defaultOriginServer","paramType":"form","required":false,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Cdn_Prefix_Detail_PUT","notes":"","summary":"","type":"CDNPrefixSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"cdn_prefix_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"prefix","paramType":"form","required":false,"type":"string","description":"Registered Prefix for Domain"},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"defaultOriginServer","paramType":"form","required":false,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Cdn_Prefix_Detail_PATCH","notes":"","summary":"","type":"CDNPrefixSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Cdn_Prefix_Detail_DELETE","notes":"","summary":"","type":"CDNPrefixSerializer","method":"DELETE"}],"path":"/hpcapi/cdnprefixs/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/cdnprefixs/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Service_Provider_List_GET","notes":"","summary":"","type":"ServiceProviderSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":true,"type":"string","description":""},{"name":"service_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Service Provider Name"},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service Provider"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Service_Provider_List_POST","notes":"","summary":"","type":"ServiceProviderSerializer","method":"POST"}],"path":"/hpcapi/serviceproviders/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/serviceproviders/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Service_Provider_Detail_GET","notes":"","summary":"","type":"ServiceProviderSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":true,"type":"string","description":""},{"name":"service_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Service Provider Name"},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service Provider"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Service_Provider_Detail_PUT","notes":"","summary":"","type":"ServiceProviderSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"name":"service_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":false,"type":"string","description":"Service Provider Name"},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Service Provider"},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""}],"nickname":"Service_Provider_Detail_PATCH","notes":"","summary":"","type":"ServiceProviderSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Service_Provider_Detail_DELETE","notes":"","summary":"","type":"ServiceProviderSerializer","method":"DELETE"}],"path":"/hpcapi/serviceproviders/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/serviceproviders/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Content_Provider_List_GET","notes":"","summary":"","type":"ContentProviderSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"content_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"serviceProvider","paramType":"form","required":true,"type":"string","description":""}],"nickname":"Content_Provider_List_POST","notes":"","summary":"","type":"ContentProviderSerializer","method":"POST"}],"path":"/hpcapi/contentproviders/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/contentproviders/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Content_Provider_Detail_GET","notes":"","summary":"","type":"ContentProviderSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"content_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"serviceProvider","paramType":"form","required":true,"type":"string","description":""}],"nickname":"Content_Provider_Detail_PUT","notes":"","summary":"","type":"ContentProviderSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"content_provider_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""},{"name":"name","paramType":"form","required":false,"type":"string","description":""},{"name":"enabled","paramType":"form","required":false,"type":"boolean","defaultValue":true,"description":""},{"name":"description","paramType":"form","required":false,"type":"string","description":"Description of Content Provider"},{"name":"serviceProvider","paramType":"form","required":false,"type":"string","description":""}],"nickname":"Content_Provider_Detail_PATCH","notes":"","summary":"","type":"ContentProviderSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Content_Provider_Detail_DELETE","notes":"","summary":"","type":"ContentProviderSerializer","method":"DELETE"}],"path":"/hpcapi/contentproviders/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/contentproviders/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Access_Map_List_GET","notes":"","summary":"","type":"AccessMapSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Name of the Access Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":true,"type":"string","description":"specifies which client requests are allowed"}],"nickname":"Access_Map_List_POST","notes":"","summary":"","type":"AccessMapSerializer","method":"POST"}],"path":"/hpcapi/accessmaps/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/accessmaps/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Access_Map_Detail_GET","notes":"","summary":"","type":"AccessMapSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":true,"type":"string","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Name of the Access Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":true,"type":"string","description":"specifies which client requests are allowed"}],"nickname":"Access_Map_Detail_PUT","notes":"","summary":"","type":"AccessMapSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"name","paramType":"form","required":false,"type":"string","description":"Name of the Access Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":false,"type":"string","description":"specifies which client requests are allowed"}],"nickname":"Access_Map_Detail_PATCH","notes":"","summary":"","type":"AccessMapSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Access_Map_Detail_DELETE","notes":"","summary":"","type":"AccessMapSerializer","method":"DELETE"}],"path":"/hpcapi/accessmaps/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/accessmaps/{pk}/","apiVersion":""}},{"operations":[{"parameters":[],"nickname":"Site_Map_List_GET","notes":"","summary":"","type":"SiteMapSerializer","method":"GET"},{"parameters":[{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"serviceProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"cdnPrefix","paramType":"form","required":false,"type":"string","description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Name of the Site Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":true,"type":"string","description":"specifies how to map requests to hpc instances"},{"name":"map_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Site_Map_List_POST","notes":"","summary":"","type":"SiteMapSerializer","method":"POST"}],"path":"/hpcapi/sitemaps/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/sitemaps/","apiVersion":""}},{"operations":[{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Site_Map_Detail_GET","notes":"","summary":"","type":"SiteMapSerializer","method":"GET"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":true,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"serviceProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"cdnPrefix","paramType":"form","required":false,"type":"string","description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"name":"name","paramType":"form","required":true,"type":"string","description":"Name of the Site Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":true,"type":"string","description":"specifies how to map requests to hpc instances"},{"name":"map_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Site_Map_Detail_PUT","notes":"","summary":"","type":"SiteMapSerializer","method":"PUT"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"},{"name":"enacted","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"policed","format":"date-time","paramType":"form","required":false,"type":"string","description":""},{"name":"backend_register","paramType":"form","required":false,"type":"string","defaultValue":"{}","description":""},{"name":"backend_status","paramType":"form","required":false,"type":"string","defaultValue":"0 - Provisioning in progress","description":""},{"name":"deleted","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"write_protect","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"lazy_blocked","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"no_sync","paramType":"form","required":false,"type":"boolean","defaultValue":false,"description":""},{"name":"contentProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"serviceProvider","paramType":"form","required":false,"type":"string","description":""},{"name":"cdnPrefix","paramType":"form","required":false,"type":"string","description":""},{"name":"hpcService","paramType":"form","required":false,"type":"string","description":""},{"name":"name","paramType":"form","required":false,"type":"string","description":"Name of the Site Map"},{"name":"description","paramType":"form","required":false,"type":"string","description":""},{"name":"map","paramType":"form","required":false,"type":"string","description":"specifies how to map requests to hpc instances"},{"name":"map_id","format":"int64","paramType":"form","required":false,"type":"integer","description":""}],"nickname":"Site_Map_Detail_PATCH","notes":"","summary":"","type":"SiteMapSerializer","method":"PATCH"},{"parameters":[{"paramType":"path","required":true,"type":"string","name":"pk"}],"nickname":"Site_Map_Detail_DELETE","notes":"","summary":"","type":"SiteMapSerializer","method":"DELETE"}],"path":"/hpcapi/sitemaps/{pk}/","description":"","apiDeclaration":{"swaggerVersion":"1.2","apis":[],"models":{},"basePath":"http://localhost:9999","resourcePath":"/hpcapi/hpcapi/sitemaps/{pk}/","apiVersion":""}}],"models":{"HpcServiceSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","description","enabled","kind","name","versionNumber","published","view_url","icon_url","public_key","service_specific_id","service_specific_attribute","cmi_hostname","hpc_port80","watcher_hpc_network","watcher_dnsdemux_network","watcher_dnsredir_network"],"id":"HpcServiceSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.081Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.081Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":"Description of Service","required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"kind":{"description":"Kind of service","defaultValue":"generic","required":true,"readOnly":false,"type":"string"},"name":{"description":"Service Name","required":true,"readOnly":false,"type":"string"},"versionNumber":{"description":"Version of Service Definition","required":true,"readOnly":false,"type":"string"},"published":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"view_url":{"description":null,"required":false,"readOnly":false,"type":"string"},"icon_url":{"description":null,"required":false,"readOnly":false,"type":"string"},"public_key":{"description":"Public key string","required":false,"readOnly":false,"type":"string"},"service_specific_id":{"description":null,"required":false,"readOnly":false,"type":"string"},"service_specific_attribute":{"description":null,"required":false,"readOnly":false,"type":"string"},"cmi_hostname":{"description":null,"required":false,"readOnly":false,"type":"string"},"hpc_port80":{"description":"Enable port 80 for HPC","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"watcher_hpc_network":{"description":"Network for hpc_watcher to contact hpc instance","required":false,"readOnly":false,"type":"string"},"watcher_dnsdemux_network":{"description":"Network for hpc_watcher to contact dnsdemux instance","required":false,"readOnly":false,"type":"string"},"watcher_dnsredir_network":{"description":"Network for hpc_watcher to contact dnsredir instance","required":false,"readOnly":false,"type":"string"}}},"HpcHealthCheckSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","hpcService","kind","resource_name","result_contains","result_min_size","result_max_size"],"id":"HpcHealthCheckSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.070Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.070Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"hpcService":{"description":null,"required":false,"readOnly":false,"type":"string"},"kind":{"enum":["dns","http","nameserver"],"description":null,"defaultValue":"dns","required":true,"readOnly":false,"type":"choice"},"resource_name":{"description":null,"required":true,"readOnly":false,"type":"string"},"result_contains":{"description":null,"required":false,"readOnly":false,"type":"string"},"result_min_size":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"result_max_size":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"}}},"OriginServerSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","origin_server_id","url","contentProvider","authenticated","enabled","protocol","redirects","description"],"id":"OriginServerSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.072Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.073Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"origin_server_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"url":{"description":null,"required":true,"readOnly":false,"type":"string"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"authenticated":{"description":"Status for this Site","defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"enabled":{"description":"Status for this Site","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"protocol":{"enum":["http","rtmp","rtp","shout"],"description":null,"defaultValue":"HTTP","required":true,"readOnly":false,"type":"choice"},"redirects":{"description":"Indicates whether Origin Server redirects should be used for this Origin Server","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"}}},"WriteContentProviderSerializer":{"required":["backend_status","name","serviceProvider"],"id":"WriteContentProviderSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"content_provider_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"name":{"description":null,"required":true,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":"Description of Content Provider","required":false,"readOnly":false,"type":"string"},"serviceProvider":{"description":null,"required":true,"readOnly":false,"type":"string"}}},"WriteHpcServiceSerializer":{"required":["backend_status","kind","name","versionNumber"],"id":"WriteHpcServiceSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":"Description of Service","required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"kind":{"description":"Kind of service","defaultValue":"generic","required":true,"readOnly":false,"type":"string"},"name":{"description":"Service Name","required":true,"readOnly":false,"type":"string"},"versionNumber":{"description":"Version of Service Definition","required":true,"readOnly":false,"type":"string"},"published":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"view_url":{"description":null,"required":false,"readOnly":false,"type":"string"},"icon_url":{"description":null,"required":false,"readOnly":false,"type":"string"},"public_key":{"description":"Public key string","required":false,"readOnly":false,"type":"string"},"service_specific_id":{"description":null,"required":false,"readOnly":false,"type":"string"},"service_specific_attribute":{"description":null,"required":false,"readOnly":false,"type":"string"},"cmi_hostname":{"description":null,"required":false,"readOnly":false,"type":"string"},"hpc_port80":{"description":"Enable port 80 for HPC","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"watcher_hpc_network":{"description":"Network for hpc_watcher to contact hpc instance","required":false,"readOnly":false,"type":"string"},"watcher_dnsdemux_network":{"description":"Network for hpc_watcher to contact dnsdemux instance","required":false,"readOnly":false,"type":"string"},"watcher_dnsredir_network":{"description":"Network for hpc_watcher to contact dnsredir instance","required":false,"readOnly":false,"type":"string"}}},"CDNPrefixSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","cdn_prefix_id","prefix","contentProvider","description","defaultOriginServer","enabled"],"id":"CDNPrefixSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.084Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.084Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"cdn_prefix_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"prefix":{"description":"Registered Prefix for Domain","required":true,"readOnly":false,"type":"string"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"description":{"description":"Description of Content Provider","required":false,"readOnly":false,"type":"string"},"defaultOriginServer":{"description":null,"required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"}}},"ServiceProviderSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","hpcService","service_provider_id","name","description","enabled"],"id":"ServiceProviderSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.075Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.075Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"hpcService":{"description":null,"required":true,"readOnly":false,"type":"string"},"service_provider_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"name":{"description":"Service Provider Name","required":true,"readOnly":false,"type":"string"},"description":{"description":"Description of Service Provider","required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"}}},"WriteSiteMapSerializer":{"required":["backend_status","name","map"],"id":"WriteSiteMapSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"contentProvider":{"description":null,"required":false,"readOnly":false,"type":"string"},"serviceProvider":{"description":null,"required":false,"readOnly":false,"type":"string"},"cdnPrefix":{"description":null,"required":false,"readOnly":false,"type":"string"},"hpcService":{"description":null,"required":false,"readOnly":false,"type":"string"},"name":{"description":"Name of the Site Map","required":true,"readOnly":false,"type":"string"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"},"map":{"description":"specifies how to map requests to hpc instances","required":true,"readOnly":false,"type":"string"},"map_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"}}},"WriteOriginServerSerializer":{"required":["backend_status","url","contentProvider","protocol"],"id":"WriteOriginServerSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"origin_server_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"url":{"description":null,"required":true,"readOnly":false,"type":"string"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"authenticated":{"description":"Status for this Site","defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"enabled":{"description":"Status for this Site","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"protocol":{"enum":["http","rtmp","rtp","shout"],"description":null,"defaultValue":"HTTP","required":true,"readOnly":false,"type":"choice"},"redirects":{"description":"Indicates whether Origin Server redirects should be used for this Origin Server","defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"}}},"WriteAccessMapSerializer":{"required":["backend_status","contentProvider","name","map"],"id":"WriteAccessMapSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"name":{"description":"Name of the Access Map","required":true,"readOnly":false,"type":"string"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"},"map":{"description":"specifies which client requests are allowed","required":true,"readOnly":false,"type":"string"}}},"AccessMapSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","contentProvider","name","description","map"],"id":"AccessMapSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.077Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.077Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"name":{"description":"Name of the Access Map","required":true,"readOnly":false,"type":"string"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"},"map":{"description":"specifies which client requests are allowed","required":true,"readOnly":false,"type":"string"}}},"SiteMapSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","contentProvider","serviceProvider","cdnPrefix","hpcService","name","description","map","map_id"],"id":"SiteMapSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.079Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.079Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"contentProvider":{"description":null,"required":false,"readOnly":false,"type":"string"},"serviceProvider":{"description":null,"required":false,"readOnly":false,"type":"string"},"cdnPrefix":{"description":null,"required":false,"readOnly":false,"type":"string"},"hpcService":{"description":null,"required":false,"readOnly":false,"type":"string"},"name":{"description":"Name of the Site Map","required":true,"readOnly":false,"type":"string"},"description":{"description":null,"required":false,"readOnly":false,"type":"string"},"map":{"description":"specifies how to map requests to hpc instances","required":true,"readOnly":false,"type":"string"},"map_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"}}},"WriteCDNPrefixSerializer":{"required":["backend_status","prefix","contentProvider"],"id":"WriteCDNPrefixSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"cdn_prefix_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"prefix":{"description":"Registered Prefix for Domain","required":true,"readOnly":false,"type":"string"},"contentProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"description":{"description":"Description of Content Provider","required":false,"readOnly":false,"type":"string"},"defaultOriginServer":{"description":null,"required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"}}},"WriteServiceProviderSerializer":{"required":["backend_status","hpcService","name"],"id":"WriteServiceProviderSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"hpcService":{"description":null,"required":true,"readOnly":false,"type":"string"},"service_provider_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"name":{"description":"Service Provider Name","required":true,"readOnly":false,"type":"string"},"description":{"description":"Description of Service Provider","required":false,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"}}},"ContentProviderSerializer":{"required":["humanReadableName","validators","id","created","updated","enacted","policed","backend_register","backend_status","deleted","write_protect","lazy_blocked","no_sync","content_provider_id","name","enabled","description","serviceProvider","users"],"id":"ContentProviderSerializer","properties":{"humanReadableName":{"description":null,"required":false,"readOnly":true,"type":"string"},"validators":{"description":null,"required":false,"readOnly":true,"type":"string"},"id":{"description":null,"required":false,"readOnly":true,"type":"string"},"created":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.086Z","required":false,"readOnly":true,"type":"string"},"updated":{"description":null,"format":"date-time","defaultValue":"2015-11-02T15:39:52.086Z","required":false,"readOnly":true,"type":"string"},"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"content_provider_id":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"name":{"description":null,"required":true,"readOnly":false,"type":"string"},"enabled":{"description":null,"defaultValue":true,"required":false,"readOnly":false,"type":"boolean"},"description":{"description":"Description of Content Provider","required":false,"readOnly":false,"type":"string"},"serviceProvider":{"description":null,"required":true,"readOnly":false,"type":"string"},"users":{"description":null,"items":{"type":"string"},"required":false,"readOnly":true,"type":"array"}}},"WriteHpcHealthCheckSerializer":{"required":["backend_status","kind","resource_name"],"id":"WriteHpcHealthCheckSerializer","properties":{"enacted":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"policed":{"description":null,"format":"date-time","required":false,"readOnly":false,"type":"string"},"backend_register":{"description":null,"defaultValue":"{}","required":false,"readOnly":false,"type":"string"},"backend_status":{"description":null,"defaultValue":"0 - Provisioning in progress","required":true,"readOnly":false,"type":"string"},"deleted":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"write_protect":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"lazy_blocked":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"no_sync":{"description":null,"defaultValue":false,"required":false,"readOnly":false,"type":"boolean"},"hpcService":{"description":null,"required":false,"readOnly":false,"type":"string"},"kind":{"enum":["dns","http","nameserver"],"description":null,"defaultValue":"dns","required":true,"readOnly":false,"type":"choice"},"resource_name":{"description":null,"required":true,"readOnly":false,"type":"string"},"result_contains":{"description":null,"required":false,"readOnly":false,"type":"string"},"result_min_size":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"},"result_max_size":{"description":null,"format":"int64","required":false,"readOnly":false,"type":"integer"}}}},"basePath":"http://localhost:9999","resourcePath":"/hpcapi","apiVersion":""}
\ No newline at end of file
diff --git a/xos/core/xoslib/ngXosLib/xos-resource-generator.js b/xos/core/xoslib/ngXosLib/xos-resource-generator.js
index ac954ad..9999f97 100644
--- a/xos/core/xoslib/ngXosLib/xos-resource-generator.js
+++ b/xos/core/xoslib/ngXosLib/xos-resource-generator.js
@@ -50,7 +50,7 @@
     }, 500);
 
     let def = yield fetchSwagger(`http://localhost:9999/docs/api-docs/${apiList[i]}`);
-    yield writeToFile(`src/ng-${apiList[i]}.js`, CodeGen.getAngularCode({ moduleName: `xos.${apiList[i]}`, className: `${apiList[i]}`, swagger: def, lint: false }));
+    yield writeToFile(`api/ng-${apiList[i]}.js`, CodeGen.getAngularCode({ moduleName: `xos.${apiList[i]}`, className: `${apiList[i]}`, swagger: def, lint: false }));
   
     clearInterval(loader);
     process.stdout.write('\n');
@@ -63,5 +63,7 @@
 
 })()
 .catch(function(e){
+  process.stdout.write('\n');
   console.error(e);
+  process.exit(e.code);
 });
diff --git a/xos/core/xoslib/xos-builder/gulp/server.js b/xos/core/xoslib/xos-builder/gulp/server.js
index b5de56a..719c156 100644
--- a/xos/core/xoslib/xos-builder/gulp/server.js
+++ b/xos/core/xoslib/xos-builder/gulp/server.js
@@ -10,7 +10,7 @@
 var httpProxy = require('http-proxy');
 
 var proxy = httpProxy.createProxyServer({
-  target: 'http://0.0.0.0:9000'
+  target: 'http://0.0.0.0:9999'
 });
 
 
@@ -31,7 +31,6 @@
       server: {
         baseDir: options.src,
         middleware: function(req, res, next){
-          console.log(req.url);
           if(req.url.indexOf('no_hyperlinks') !== -1){
             proxy.web(req, res);
           }
diff --git a/xos/core/xoslib/xos-builder/package.json b/xos/core/xoslib/xos-builder/package.json
index 370fac6..66de987 100644
--- a/xos/core/xoslib/xos-builder/package.json
+++ b/xos/core/xoslib/xos-builder/package.json
@@ -4,7 +4,8 @@
   "description": "Angular Application Builder tailored to XOS needings",
   "main": "xos-builder.js",
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "start": "gulp serve"
   },
   "keywords": [
     "XOS",
diff --git a/xos/core/xoslib/xos-builder/src/index.html b/xos/core/xoslib/xos-builder/src/index.html
index a383b6a..d9e5316 100644
--- a/xos/core/xoslib/xos-builder/src/index.html
+++ b/xos/core/xoslib/xos-builder/src/index.html
@@ -2,8 +2,18 @@
 <link rel="stylesheet" href="vendor/bootstrap-css/css/bootstrap.css" />
 <!-- endbower -->
 
-<div ng-app="xos.contentProviderApp">
-  <ng-view></ng-view>
+<style>
+  .container{
+    position: absolute;
+    top: 100px;
+    left: 200px;
+  }
+</style>
+
+<div class="container">
+  <div ng-app="xos.contentProviderApp">
+    <ng-view></ng-view>
+  </div>
 </div>
 
 <!-- bower:js -->
diff --git a/xos/core/xoslib/xos-builder/src/js/xosContentProvider.js b/xos/core/xoslib/xos-builder/src/js/xosContentProvider.js
index 026d0ce..d675934 100644
--- a/xos/core/xoslib/xos-builder/src/js/xosContentProvider.js
+++ b/xos/core/xoslib/xos-builder/src/js/xosContentProvider.js
@@ -5,10 +5,6 @@
 // - Add Cache
 // - Refactor routing with ui.router and child views (share the navigation and header)
 // - Add Eslint
-// - Add Es6 (Babel) and a build script
-// - Autogenerate ngResource from swagger definition json
-
-console.log('ciao aabb');
 
 angular.module('xos.contentProviderApp', [
   'ngResource',