diff --git a/store/pkg/proto/v0/store.swagger.json b/store/pkg/proto/v0/store.swagger.json new file mode 100644 index 0000000000..bb3740f16c --- /dev/null +++ b/store/pkg/proto/v0/store.swagger.json @@ -0,0 +1,245 @@ +{ + "swagger": "2.0", + "info": { + "title": "ownCloud Infinite Scale store", + "version": "1.0.0", + "contact": { + "name": "ownCloud GmbH", + "url": "https://github.com/owncloud/ocis", + "email": "support@owncloud.com" + }, + "license": { + "name": "Apache-2.0", + "url": "https://github.com/owncloud/ocis/blob/master/LICENSE" + } + }, + "tags": [ + { + "name": "Store" + } + ], + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "typeUrl": { + "type": "string" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "storeDatabasesResponse": { + "type": "object", + "properties": { + "databases": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "storeDeleteOptions": { + "type": "object", + "properties": { + "database": { + "type": "string" + }, + "table": { + "type": "string" + } + } + }, + "storeDeleteResponse": { + "type": "object" + }, + "storeField": { + "type": "object", + "properties": { + "type": { + "type": "string", + "title": "type of value e.g string, int, int64, bool, float64" + }, + "value": { + "type": "string", + "title": "the actual value" + } + } + }, + "storeListOptions": { + "type": "object", + "properties": { + "database": { + "type": "string" + }, + "table": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "suffix": { + "type": "string" + }, + "limit": { + "type": "string", + "format": "uint64" + }, + "offset": { + "type": "string", + "format": "uint64" + } + } + }, + "storeListResponse": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "storeReadOptions": { + "type": "object", + "properties": { + "database": { + "type": "string" + }, + "table": { + "type": "string" + }, + "prefix": { + "type": "boolean" + }, + "suffix": { + "type": "boolean" + }, + "limit": { + "type": "string", + "format": "uint64" + }, + "offset": { + "type": "string", + "format": "uint64" + }, + "where": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/storeField" + } + } + } + }, + "storeReadResponse": { + "type": "object", + "properties": { + "records": { + "type": "array", + "items": { + "$ref": "#/definitions/storeRecord" + } + } + } + }, + "storeRecord": { + "type": "object", + "properties": { + "key": { + "type": "string", + "title": "key of the recorda" + }, + "value": { + "type": "string", + "format": "byte", + "title": "value in the record" + }, + "expiry": { + "type": "string", + "format": "int64", + "title": "time.Duration (signed int64 nanoseconds)" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/storeField" + }, + "title": "the associated metadata" + } + } + }, + "storeTablesResponse": { + "type": "object", + "properties": { + "tables": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "storeWriteOptions": { + "type": "object", + "properties": { + "database": { + "type": "string" + }, + "table": { + "type": "string" + }, + "expiry": { + "type": "string", + "format": "int64", + "title": "time.Time" + }, + "ttl": { + "type": "string", + "format": "int64", + "title": "time.Duration" + } + } + }, + "storeWriteResponse": { + "type": "object" + } + }, + "externalDocs": { + "description": "Developer Manual", + "url": "https://owncloud.github.io/extensions/store/" + } +} diff --git a/thumbnails/pkg/proto/v0/thumbnails.swagger.json b/thumbnails/pkg/proto/v0/thumbnails.swagger.json new file mode 100644 index 0000000000..8ce0fa459a --- /dev/null +++ b/thumbnails/pkg/proto/v0/thumbnails.swagger.json @@ -0,0 +1,92 @@ +{ + "swagger": "2.0", + "info": { + "title": "ownCloud Infinite Scale thumbnails", + "version": "1.0.0", + "contact": { + "name": "ownCloud GmbH", + "url": "https://github.com/owncloud/ocis", + "email": "support@owncloud.com" + }, + "license": { + "name": "Apache-2.0", + "url": "https://github.com/owncloud/ocis/blob/master/LICENSE" + } + }, + "tags": [ + { + "name": "ThumbnailService" + } + ], + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "GetRequestFileType": { + "type": "string", + "enum": [ + "PNG", + "JPG" + ], + "default": "PNG", + "description": "The file types to which the thumbnail cna get encoded to." + }, + "protobufAny": { + "type": "object", + "properties": { + "typeUrl": { + "type": "string" + }, + "value": { + "type": "string", + "format": "byte" + } + } + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "v0GetResponse": { + "type": "object", + "properties": { + "thumbnail": { + "type": "string", + "format": "byte", + "title": "The thumbnail as a binary" + }, + "mimetype": { + "type": "string", + "title": "The mimetype of the thumbnail" + } + }, + "title": "The service response" + } + }, + "externalDocs": { + "description": "Developer Manual", + "url": "https://owncloud.github.io/extensions/thumbnails/" + } +} diff --git a/vendor-bin/behat/composer.json b/vendor-bin/behat/composer.json new file mode 100644 index 0000000000..37572e1818 --- /dev/null +++ b/vendor-bin/behat/composer.json @@ -0,0 +1,24 @@ +{ + "config" : { + "platform": { + "php": "7.4" + } + }, + "require": { + "behat/behat": "^3.8", + "behat/gherkin": "4.7.1", + "behat/mink": "1.7.1", + "behat/mink-extension": "^2.3", + "behat/mink-selenium2-driver": "^1.4", + "ciaranmcnulty/behat-stepthroughextension" : "dev-master", + "jarnaiz/behat-junit-formatter": "^1.3", + "rdx/behat-variables": "^1.2", + "sensiolabs/behat-page-object-extension": "^2.3", + "symfony/translation": "^4.4", + "sabre/xml": "^2.2", + "guzzlehttp/guzzle": "^7.2", + "phpunit/phpunit": "^9.4", + "laminas/laminas-ldap": "^2.10", + "ankitpokhrel/tus-php": "^2.1" + } + } \ No newline at end of file