Create Organisations, Users, Api Definitions, Key

Hello Martin,

Here you go :slight_smile: all logs from gateway as of today :

time="2016-01-25T11:01:42Z" level=info msg="Hostname set: " time="2016-01-25T11:01:42Z" level=info msg="Connection dropped, connecting.." time="2016-01-25T11:01:42Z" level=info msg="Setting up Server" time="2016-01-25T11:01:42Z" level=info msg="--> Standard listener (http)" time="2016-01-25T11:01:42Z" level=info msg="[HOST CHECK MANAGER] Starting Poller" time="2016-01-25T11:01:42Z" level=info msg="Detected 0 APIs" time="2016-01-25T11:01:42Z" level=info msg="Loading uptime tests..." time="2016-01-25T11:01:42Z" level=info msg="Loaded 0 policies " time="2016-01-25T11:01:42Z" level=info msg="Gateway started (v1.9.0.0)" time="2016-01-25T11:01:42Z" level=info msg="--> Listening on port: 8080" time="2016-01-25T11:08:38Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:08:48Z" level=error msg="Couldn't Decode, leaving as it may be legacy..." time="2016-01-25T11:08:48Z" level=info msg="Detected 2 APIs" time="2016-01-25T11:08:48Z" level=info msg="--> Loading API: Admin" time="2016-01-25T11:08:48Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:08:48Z" level=info msg="----> Checking security policy: Open" time="2016-01-25T11:08:48Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:08:48Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:08:48Z" level=info msg="----> Checking security policy: Token" time="2016-01-25T11:08:48Z" level=info msg="Loading uptime tests..." time="2016-01-25T11:08:48Z" level=error msg="[HOST CHECKER MANAGER] Failed to retrieve host list: Get http://localhost:8500/v1/catalog/service/oservice: dial tcp [::1]:8500: getsockopt: connection refused" time="2016-01-25T11:08:48Z" level=info msg="Loaded 0 policies " time="2016-01-25T11:08:48Z" level=info msg="API reload complete" time="2016-01-25T11:13:39Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:13:39Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:13:49Z" level=error msg="Couldn't Decode, leaving as it may be legacy..." time="2016-01-25T11:13:49Z" level=info msg="Detected 3 APIs" time="2016-01-25T11:13:49Z" level=info msg="--> Loading API: Admin" time="2016-01-25T11:13:49Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:13:49Z" level=info msg="----> Checking security policy: Open" time="2016-01-25T11:13:49Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:13:49Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:13:49Z" level=info msg="----> Checking security policy: Token" time="2016-01-25T11:13:49Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:13:49Z" level=error msg="Duplicate listen path found, skipping. API ID: 40f55b2c188742347b2c798b3990a4fd" time="2016-01-25T11:13:49Z" level=warning msg="----> Skipped!" time="2016-01-25T11:13:49Z" level=info msg="Loading uptime tests..." time="2016-01-25T11:13:49Z" level=error msg="[HOST CHECKER MANAGER] Failed to retrieve host list: Get http://localhost:8500/v1/catalog/service/oservice: dial tcp [::1]:8500: getsockopt: connection refused" time="2016-01-25T11:13:49Z" level=info msg="Loaded 0 policies " time="2016-01-25T11:13:49Z" level=info msg="API reload complete" time="2016-01-25T11:13:49Z" level=warning msg="Tracked quota reset for key: 56a603631384830001000002c5013f8a7ab447f967cda6757c946021" time="2016-01-25T11:20:22Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:20:22Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:20:32Z" level=error msg="Couldn't Decode, leaving as it may be legacy..." time="2016-01-25T11:20:32Z" level=info msg="Detected 3 APIs" time="2016-01-25T11:20:32Z" level=info msg="--> Loading API: Admin" time="2016-01-25T11:20:32Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:20:32Z" level=info msg="----> Checking security policy: Open" time="2016-01-25T11:20:32Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:20:32Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:20:32Z" level=info msg="----> Checking security policy: Token" time="2016-01-25T11:20:32Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:20:32Z" level=error msg="Duplicate listen path found, skipping. API ID: 40f55b2c188742347b2c798b3990a4fd" time="2016-01-25T11:20:32Z" level=warning msg="----> Skipped!" time="2016-01-25T11:20:32Z" level=info msg="Loading uptime tests..." time="2016-01-25T11:20:32Z" level=error msg="[HOST CHECKER MANAGER] Failed to retrieve host list: Get http://localhost:8500/v1/catalog/service/oservice: dial tcp [::1]:8500: getsockopt: connection refused" time="2016-01-25T11:20:32Z" level=info msg="Loaded 0 policies " time="2016-01-25T11:20:32Z" level=info msg="API reload complete" time="2016-01-25T11:20:32Z" level=warning msg="Tracked quota reset for key: 56a604f613848300010000045028521f4a964c21570f557c407120f8" time="2016-01-25T11:31:19Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:31:19Z" level=info msg="Reload signal received, reloading endpoints" time="2016-01-25T11:31:29Z" level=error msg="Could not create key for this API ID, API doesn't exist." apiID=e91a96042625426a741830143e408720 time="2016-01-25T11:31:29Z" level=error msg="Couldn't Decode, leaving as it may be legacy..." time="2016-01-25T11:31:29Z" level=info msg="Detected 4 APIs" time="2016-01-25T11:31:29Z" level=info msg="--> Loading API: Admin" time="2016-01-25T11:31:29Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:31:29Z" level=info msg="----> Checking security policy: Open" time="2016-01-25T11:31:29Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:31:29Z" level=info msg="----> Tracking: (no host)" time="2016-01-25T11:31:29Z" level=info msg="----> Checking security policy: Token" time="2016-01-25T11:31:29Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:31:29Z" level=error msg="Duplicate listen path found, skipping. API ID: e91a96042625426a741830143e408720" time="2016-01-25T11:31:29Z" level=warning msg="----> Skipped!" time="2016-01-25T11:31:29Z" level=info msg="--> Loading API: Order Service" time="2016-01-25T11:31:29Z" level=error msg="Duplicate listen path found, skipping. API ID: 40f55b2c188742347b2c798b3990a4fd" time="2016-01-25T11:31:29Z" level=warning msg="----> Skipped!" time="2016-01-25T11:31:29Z" level=info msg="Loading uptime tests..." time="2016-01-25T11:31:29Z" level=error msg="[HOST CHECKER MANAGER] Failed to retrieve host list: Get http://localhost:8500/v1/catalog/service/oservice: dial tcp [::1]:8500: getsockopt: connection refused" time="2016-01-25T11:31:29Z" level=info msg="Loaded 0 policies " time="2016-01-25T11:31:29Z" level=info msg="API reload complete" time="2016-01-25T11:33:11Z" level=error msg="Could not create key for this API ID, API doesn't exist." apiID=40f55b2c188742347b2c798b3990a4fd 2016/01/25 15:02:02 terminated time="2016-01-25T15:03:02Z" level=info msg="Hostname set: " time="2016-01-25T15:03:02Z" level=info msg="Connection dropped, connecting.." time="2016-01-25T15:03:02Z" level=info msg="Setting up Server" time="2016-01-25T15:03:02Z" level=info msg="--> Standard listener (http)" time="2016-01-25T15:03:02Z" level=info msg="[HOST CHECK MANAGER] Starting Poller" time="2016-01-25T15:03:02Z" level=info msg="Detected 0 APIs" time="2016-01-25T15:03:02Z" level=info msg="Loading uptime tests..." time="2016-01-25T15:03:02Z" level=info msg="Loaded 0 policies " time="2016-01-25T15:03:02Z" level=info msg="Gateway started (v1.9.0.0)" time="2016-01-25T15:03:02Z" level=info msg="--> Listening on port: 8080" 2016/01/25 15:06:30 terminated time="2016-01-25T15:07:31Z" level=info msg="Hostname set: " time="2016-01-25T15:07:31Z" level=info msg="Connection dropped, connecting.." time="2016-01-25T15:07:31Z" level=info msg="[HOST CHECK MANAGER] Starting Poller" time="2016-01-25T15:07:31Z" level=info msg="Setting up Server" time="2016-01-25T15:07:31Z" level=info msg="--> Standard listener (http)" time="2016-01-25T15:07:31Z" level=info msg="Detected 0 APIs" time="2016-01-25T15:07:31Z" level=info msg="Loading uptime tests..." time="2016-01-25T15:07:31Z" level=info msg="Loaded 0 policies " time="2016-01-25T15:07:31Z" level=info msg="Gateway started (v1.9.0.0)" time="2016-01-25T15:07:31Z" level=info msg="--> Listening on port: 8080"

Iā€™m only creating just the one api. The purpose will be to create multiple organisations and create that one api definition for each.