eclipse-tractusx / portal-backend

Portal Backend
Apache License 2.0
10 stars 22 forks source link

feat(documents): added documentSize #1164

Closed AnuragNagpure closed 4 days ago

AnuragNagpure commented 1 week ago

Description

POST Endpoint to be adjusted: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents API should store Length in Kilobyte. New Databasefield in table documents -> document_size type Long

GET Endpoints to be adjusted: /api/registration/application/{applicationId}/documentType/{documentTypeId}/documents

Execute SQL script to update the documents.document_size field for existing entries.

Why

New documentSize field added in docuents table also script for already existing document to get its size in database added. Post/Get endpoints associated with documents table enhanced.

Issue

880

Checklist

Please delete options that are not relevant.

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud