diff --git a/__tests__/src/components/bookmarks/__snapshots__/list.test.jsx.snap b/__tests__/src/components/bookmarks/__snapshots__/list.test.jsx.snap new file mode 100644 index 00000000..ac06d9e8 --- /dev/null +++ b/__tests__/src/components/bookmarks/__snapshots__/list.test.jsx.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`YourComponent renders the component successfully 1`] = ` +
+
+`; diff --git a/abc.raml b/abc.raml new file mode 100644 index 00000000..57ea0bf3 --- /dev/null +++ b/abc.raml @@ -0,0 +1,85 @@ +#%RAML 1.0 + +title: Tenant API +baseUri: http://localhost:8081/{version} +version: v2 + +traits: + validate: !include ../traits/validation.raml + internal: !include ../traits/internal-error.raml +types: + tenantAttributes: !include ../schemas/tenantAttributes.schema + tenantJob: !include ../schemas/tenantJob.schema + errors: !include ../schemas/errors.schema + +/_/tenant: + post: + description: Create tenant job (create, upgrade, delete) + An implementation may choose to return 204 if the job is + completed by the initial operation; or it may return 201 + and start the operation in the background. + is: [validate,internal] + body: + application/json: + type: tenantAttributes + example: + value: !include ../examples/tenantAttributes.sample + responses: + 204: + description: "Job completed" + 201: + description: "Tenant job created" + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + headers: + Location: + description: URI of the job + 400: + description: "Bad user request" + body: + text/plain: + /{operation_id}: + get: + description: Get tenant job + queryParameters: + wait: + description: wait until job change, but no longer than the wait + time - in milliseconds. 0 means "no wait" and is behavior if + omitted. + type: integer + required: false + default: 0 + is: [internal] + responses: + 200: + description: Tenant job returned OK + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: + delete: + description: Delete job + is: [internal] + responses: + 204: + description: Job deleted ok + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: diff --git a/abx.yaml b/abx.yaml new file mode 100644 index 00000000..e0931669 --- /dev/null +++ b/abx.yaml @@ -0,0 +1,85 @@ +#%RAML 1.0 + +title: Tenant API +baseUri: http://localhost:8081/{version} +version: v2 + +traits: + validate: !include ../traits/validation.raml + internal: !include ../traits/internal-error.raml +types: + tenantAttributes: !include ../schemas/tenantAttributes.schema + tenantJob: !include ../schemas/tenantJob.schema + errors: !include ../schemas/errors.schema + +/_/tenant: + post: + description: Create tenant job (create, upgrade, delete) + An implementation may choose to return 204 if the job is + completed by the initial operation; or it may return 201 + and start the operation in the background. + is: [validate, internal] + body: + application/json: + type: tenantAttributes + example: + value: !include ../examples/tenantAttributes.sample + responses: + 204: + description: "Job completed" + 201: + description: "Tenant job created" + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + headers: + Location: + description: URI of the job + 400: + description: "Bad user request" + body: + text/plain: + /{operation_id}: + get: + description: Get tenant job + queryParameters: + wait: + description: wait until job change, but no longer than the wait + time - in milliseconds. 0 means "no wait" and is behavior if + omitted. + type: integer + required: false + default: 0 + is: [internal] + responses: + 200: + description: Tenant job returned OK + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: + delete: + description: Delete job + is: [internal] + responses: + 204: + description: Job deleted ok + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: diff --git a/tenant.raml b/tenant.raml new file mode 100644 index 00000000..57ea0bf3 --- /dev/null +++ b/tenant.raml @@ -0,0 +1,85 @@ +#%RAML 1.0 + +title: Tenant API +baseUri: http://localhost:8081/{version} +version: v2 + +traits: + validate: !include ../traits/validation.raml + internal: !include ../traits/internal-error.raml +types: + tenantAttributes: !include ../schemas/tenantAttributes.schema + tenantJob: !include ../schemas/tenantJob.schema + errors: !include ../schemas/errors.schema + +/_/tenant: + post: + description: Create tenant job (create, upgrade, delete) + An implementation may choose to return 204 if the job is + completed by the initial operation; or it may return 201 + and start the operation in the background. + is: [validate,internal] + body: + application/json: + type: tenantAttributes + example: + value: !include ../examples/tenantAttributes.sample + responses: + 204: + description: "Job completed" + 201: + description: "Tenant job created" + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + headers: + Location: + description: URI of the job + 400: + description: "Bad user request" + body: + text/plain: + /{operation_id}: + get: + description: Get tenant job + queryParameters: + wait: + description: wait until job change, but no longer than the wait + time - in milliseconds. 0 means "no wait" and is behavior if + omitted. + type: integer + required: false + default: 0 + is: [internal] + responses: + 200: + description: Tenant job returned OK + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: + delete: + description: Delete job + is: [internal] + responses: + 204: + description: Job deleted ok + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: diff --git a/tennant.raml b/tennant.raml new file mode 100644 index 00000000..e69de29b diff --git a/vvxx.json b/vvxx.json new file mode 100644 index 00000000..57ea0bf3 --- /dev/null +++ b/vvxx.json @@ -0,0 +1,85 @@ +#%RAML 1.0 + +title: Tenant API +baseUri: http://localhost:8081/{version} +version: v2 + +traits: + validate: !include ../traits/validation.raml + internal: !include ../traits/internal-error.raml +types: + tenantAttributes: !include ../schemas/tenantAttributes.schema + tenantJob: !include ../schemas/tenantJob.schema + errors: !include ../schemas/errors.schema + +/_/tenant: + post: + description: Create tenant job (create, upgrade, delete) + An implementation may choose to return 204 if the job is + completed by the initial operation; or it may return 201 + and start the operation in the background. + is: [validate,internal] + body: + application/json: + type: tenantAttributes + example: + value: !include ../examples/tenantAttributes.sample + responses: + 204: + description: "Job completed" + 201: + description: "Tenant job created" + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + headers: + Location: + description: URI of the job + 400: + description: "Bad user request" + body: + text/plain: + /{operation_id}: + get: + description: Get tenant job + queryParameters: + wait: + description: wait until job change, but no longer than the wait + time - in milliseconds. 0 means "no wait" and is behavior if + omitted. + type: integer + required: false + default: 0 + is: [internal] + responses: + 200: + description: Tenant job returned OK + body: + application/json: + type: tenantJob + example: + value: !include ../examples/tenantJob.sample + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: + delete: + description: Delete job + is: [internal] + responses: + 204: + description: Job deleted ok + 400: + description: User error + body: + text/plain: + 404: + description: Not found + body: + text/plain: