From 15ca30105966a20d308bf8ad74d8598651949cfb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 24 Feb 2014 22:17:56 +0100 Subject: [PATCH] Remove extra whitespace from JSON files Remove end of line whitespace from JSON files. Related-Bug: #1217503 Change-Id: I5602fa43ead10bd64bb82dfc72b71b7a26d662d8 --- .../samples/db-create-databases-request.json | 10 +-- .../samples/db-enable-root-user-response.json | 2 +- .../samples/db-flavors-by-id-response.json | 12 +-- apidocs/src/samples/db-flavors-response.json | 82 +++++++++---------- .../db-list-users-pagination-response.json | 12 +-- .../src/samples/db-list-users-response.json | 16 ++-- apidocs/src/samples/db-version-response.json | 8 +- apidocs/src/samples/db-versions-response.json | 8 +- 8 files changed, 75 insertions(+), 75 deletions(-) diff --git a/apidocs/src/samples/db-create-databases-request.json b/apidocs/src/samples/db-create-databases-request.json index b7aea0a..92ea30c 100644 --- a/apidocs/src/samples/db-create-databases-request.json +++ b/apidocs/src/samples/db-create-databases-request.json @@ -1,15 +1,15 @@ { "databases": [ { - "character_set": "utf8", - "collate": "utf8_general_ci", + "character_set": "utf8", + "collate": "utf8_general_ci", "name": "testingdb" - }, + }, { "name": "anotherdb" - }, + }, { "name": "oneMoreDB" } ] -} \ No newline at end of file +} diff --git a/apidocs/src/samples/db-enable-root-user-response.json b/apidocs/src/samples/db-enable-root-user-response.json index e937b90..4be60a5 100644 --- a/apidocs/src/samples/db-enable-root-user-response.json +++ b/apidocs/src/samples/db-enable-root-user-response.json @@ -1,6 +1,6 @@ { "user": { - "name": "root", + "name": "root", "password": "12345" } } diff --git a/apidocs/src/samples/db-flavors-by-id-response.json b/apidocs/src/samples/db-flavors-by-id-response.json index 66cd7ba..3a34ee3 100644 --- a/apidocs/src/samples/db-flavors-by-id-response.json +++ b/apidocs/src/samples/db-flavors-by-id-response.json @@ -1,17 +1,17 @@ { "flavor": { - "id": 1, + "id": 1, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/1", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/1", "rel": "bookmark" } - ], - "name": "512MB Instance", + ], + "name": "512MB Instance", "ram": 512 } } diff --git a/apidocs/src/samples/db-flavors-response.json b/apidocs/src/samples/db-flavors-response.json index 115a2a3..f7bc58f 100644 --- a/apidocs/src/samples/db-flavors-response.json +++ b/apidocs/src/samples/db-flavors-response.json @@ -1,93 +1,93 @@ { "flavors": [ { - "id": 1, + "id": 1, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/1", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/1", "rel": "bookmark" } - ], - "name": "512MB Instance", + ], + "name": "512MB Instance", "ram": 512 - }, + }, { - "id": 2, + "id": 2, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/2", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/2", "rel": "bookmark" } - ], - "name": "1GB Instance", + ], + "name": "1GB Instance", "ram": 1024 - }, + }, { - "id": 3, + "id": 3, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/3", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/3", "rel": "bookmark" } - ], - "name": "2GB Instance", + ], + "name": "2GB Instance", "ram": 2048 - }, + }, { - "id": 4, + "id": 4, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/4", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/4", "rel": "bookmark" } - ], - "name": "4GB Instance", + ], + "name": "4GB Instance", "ram": 4096 - }, + }, { - "id": 5, + "id": 5, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/5", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/5", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/5", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/5", "rel": "bookmark" } - ], - "name": "8GB Instance", + ], + "name": "8GB Instance", "ram": 8192 - }, + }, { - "id": 6, + "id": 6, "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/6", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/6", "rel": "self" - }, + }, { - "href": "https://ord.databases.api.rackspacecloud.com/flavors/6", + "href": "https://ord.databases.api.rackspacecloud.com/flavors/6", "rel": "bookmark" } - ], - "name": "16GB Instance", + ], + "name": "16GB Instance", "ram": 16384 } ] diff --git a/apidocs/src/samples/db-list-users-pagination-response.json b/apidocs/src/samples/db-list-users-pagination-response.json index f1e8205..faea99a 100644 --- a/apidocs/src/samples/db-list-users-pagination-response.json +++ b/apidocs/src/samples/db-list-users-pagination-response.json @@ -1,24 +1,24 @@ { "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/users?marker=dbuser2&limit=2", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/44b277eb-39be-4921-be31-3d61b43651d7/users?marker=dbuser2&limit=2", "rel": "next" } - ], + ], "users": [ { - "databases": [], + "databases": [], "name": "dbuser1" - }, + }, { "databases": [ { "name": "databaseB" - }, + }, { "name": "databaseC" } - ], + ], "name": "dbuser2" } ] diff --git a/apidocs/src/samples/db-list-users-response.json b/apidocs/src/samples/db-list-users-response.json index 55afb56..c2650d4 100644 --- a/apidocs/src/samples/db-list-users-response.json +++ b/apidocs/src/samples/db-list-users-response.json @@ -1,30 +1,30 @@ { "users": [ { - "databases": [], + "databases": [], "name": "dbuser1" - }, + }, { "databases": [ { "name": "databaseB" - }, + }, { "name": "databaseC" } - ], + ], "name": "dbuser2" - }, + }, { - "databases": [], + "databases": [], "name": "dbuser3" - }, + }, { "databases": [ { "name": "sampledb" } - ], + ], "name": "demouser" } ] diff --git a/apidocs/src/samples/db-version-response.json b/apidocs/src/samples/db-version-response.json index e38dd74..fb1e7ac 100644 --- a/apidocs/src/samples/db-version-response.json +++ b/apidocs/src/samples/db-version-response.json @@ -1,13 +1,13 @@ { "version": { - "id": "v1.0", + "id": "v1.0", "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", "rel": "self" } - ], - "status": "CURRENT", + ], + "status": "CURRENT", "updated": "2012-01-01T00:00:00Z" } } diff --git a/apidocs/src/samples/db-versions-response.json b/apidocs/src/samples/db-versions-response.json index 5e4346d..4cd81df 100644 --- a/apidocs/src/samples/db-versions-response.json +++ b/apidocs/src/samples/db-versions-response.json @@ -1,14 +1,14 @@ { "versions": [ { - "id": "v1.0", + "id": "v1.0", "links": [ { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", + "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", "rel": "self" } - ], - "status": "CURRENT", + ], + "status": "CURRENT", "updated": "2012-01-01T00:00:00Z" } ]