Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(documents): added documentSize #1164

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

AnuragNagpure
Copy link
Contributor

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.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

@Phil91 Phil91 added this to the Release 25.03 milestone Nov 19, 2024
@AnuragNagpure AnuragNagpure force-pushed the feature/880-document_size branch from 5ca2dc1 to 141f185 Compare November 20, 2024 09:27
@AnuragNagpure AnuragNagpure force-pushed the feature/880-document_size branch from 6108f14 to c9b243e Compare November 21, 2024 10:59
@AnuragNagpure AnuragNagpure requested a review from Phil91 November 21, 2024 11:12
@Phil91 Phil91 changed the title feat(documents): documentSize column added with migration script in documents table feat(documents): added documentSize Nov 22, 2024
@Phil91 Phil91 merged commit 29ee3c3 into eclipse-tractusx:main Nov 22, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

2 participants