diff --git a/.docs/.swagger/api.yaml b/.docs/.swagger/api.yaml index d4ebb776a4b16668de067d83fa2b3f0df7275044..98a31728f962e933993d28b43088d6111639b1cf 100644 --- a/.docs/.swagger/api.yaml +++ b/.docs/.swagger/api.yaml @@ -202,7 +202,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Request pagination is malformed content: @@ -291,7 +291,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Request pagination is malformed content: @@ -382,7 +382,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Request pagination or table data select query is malformed content: @@ -642,7 +642,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Request pagination or table data select query is malformed content: @@ -712,17 +712,23 @@ paths: description: Retrieved subset data headers: Access-Control-Expose-Headers: - description: Expose `X-Count` custom header + description: Reverse proxy exposing of custom headers required: true style: simple X-Count: description: Number of rows + style: simple + X-Id: + description: The subset id required: true style: simple + X-Headers: + description: The list of headers separated by comma + style: simple content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Invalid pagination content: @@ -793,17 +799,23 @@ paths: description: Retrieved subset data headers: Access-Control-Expose-Headers: - description: Expose `X-Count` custom header + description: Reverse proxy exposing of custom headers required: true style: simple X-Count: description: Number of rows + style: simple + X-Id: + description: The subset id required: true style: simple + X-Headers: + description: The list of headers separated by comma + style: simple content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Invalid pagination content: @@ -1030,6 +1042,12 @@ paths: schema: type: integer format: int64 + - name: timestamp + in: query + required: false + schema: + type: string + format: date-time - name: page in: query required: false @@ -1042,12 +1060,6 @@ paths: schema: type: integer format: int64 - - name: timestamp - in: query - required: false - schema: - type: string - format: date-time requestBody: content: application/json: @@ -1060,7 +1072,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/QueryResultDto' + type: string '400': description: Malformed select query content: @@ -1125,6 +1137,12 @@ paths: schema: type: integer format: int64 + - name: timestamp + in: query + required: false + schema: + type: string + format: date-time responses: '200': description: Exported view data @@ -4625,29 +4643,6 @@ components: code: type: string example: error.service.code - QueryResultDto: - required: - - headers - - id - - result - type: object - properties: - result: - type: array - items: - type: object - additionalProperties: - type: object - headers: - type: array - items: - type: object - additionalProperties: - type: integer - format: int32 - id: - type: integer - format: int64 TupleUpdateDto: required: - data @@ -8211,7 +8206,7 @@ components: type: object properties: name: - maxLength: 64 + maxLength: 63 minLength: 1 type: string example: Air Quality @@ -8528,14 +8523,14 @@ components: type: string resumptionToken: type: string - parametersString: - type: string fromDate: type: string format: date-time untilDate: type: string format: date-time + parametersString: + type: string BannerMessageDto: required: - id diff --git a/.gitlab/gen-badge.sh b/.gitlab/gen-badge.sh index 154b22d62d36406440bea8196cdcd6a8dfcfd615..e25401107fc408f7adc50eed38696a638f89f534 100644 --- a/.gitlab/gen-badge.sh +++ b/.gitlab/gen-badge.sh @@ -9,6 +9,6 @@ if [ "${PIPELINE_COVERAGE}" != "null" ]; then else echo "[WARNING] Skipping badge generation, displaying default badge text: unknown" fi -curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg" -curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" +curl "${CI_SONAR_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg" +curl "${CI_SONAR_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" echo "[INFO] retrieved SonarQube badges" \ No newline at end of file