Done ticket GEPAFINBE-32
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
spring.application.name=tendermanagement
|
||||
|
||||
# Multipart Configuration
|
||||
spring.servlet.multipart.max-file-size=50MB
|
||||
spring.servlet.multipart.max-request-size=50MB
|
||||
spring.servlet.multipart.max-file-size=15MB
|
||||
spring.servlet.multipart.max-request-size=15MB
|
||||
|
||||
spring.profiles.active=testing
|
||||
|
||||
@@ -31,6 +31,7 @@ aws.s3.region=eu-west-1
|
||||
aws.s3.bucket.name=mementoresources
|
||||
aws.s3.url = https://mementoresources.s3.eu-west-1.amazonaws.com/
|
||||
aws.s3.url.folder=gepafin
|
||||
aws.s3.url.folder.delegation=gepafin/delegation
|
||||
# JWT configuration
|
||||
# Ensure these values match your expectations
|
||||
security.authentication.jwt.secret=my-secret-token-to-change-in-prod-environment-your-super-secure-randomly-generated-key
|
||||
|
||||
@@ -841,5 +841,45 @@
|
||||
<sqlFile dbms="postgresql"
|
||||
path="classpath:db/dump/updated_form_field_data_03-10-2024.sql" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="08-10-2024_1" author="Rajesh Khore">
|
||||
<createTable tableName="user_company_delegation">
|
||||
<column name="id" type="INTEGER" autoIncrement="true">
|
||||
<constraints nullable="false" primaryKey="true"
|
||||
primaryKeyName="user_company_delegation_pkey" />
|
||||
</column>
|
||||
<column name="USER_ID" type="INTEGER" />
|
||||
<column name="COMPANY_ID" type="INTEGER" />
|
||||
<column name="BENEFICIARY_ID" type="INTEGER" />
|
||||
<column name="FILE_NAME" type="VARCHAR(255)" />
|
||||
<column name="FILE_PATH" type="VARCHAR(255)" />
|
||||
<column name="STATUS" type="VARCHAR(50)" />
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE" />
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE" />
|
||||
</createTable>
|
||||
|
||||
<!-- Optional: If you have any indexes, constraints, or foreign keys -->
|
||||
<addForeignKeyConstraint
|
||||
baseTableName="user_company_delegation" baseColumnNames="USER_ID"
|
||||
referencedTableName="gepafin_user" referencedColumnNames="ID"
|
||||
constraintName="fk_user_company_delegation_gepafin_user" />
|
||||
|
||||
<addForeignKeyConstraint
|
||||
baseTableName="user_company_delegation" baseColumnNames="COMPANY_ID"
|
||||
referencedTableName="company" referencedColumnNames="ID"
|
||||
constraintName="fk_user_company_delegation_company" />
|
||||
|
||||
<addForeignKeyConstraint
|
||||
baseTableName="user_company_delegation"
|
||||
baseColumnNames="BENEFICIARY_ID" referencedTableName="beneficiary"
|
||||
referencedColumnNames="ID"
|
||||
constraintName="fk_user_company_delegation_beneficiary" />
|
||||
|
||||
</changeSet>
|
||||
<changeSet id="08-10-2024_2" author="Rajesh Khore">
|
||||
<addColumn tableName="user_with_company">
|
||||
<column name="IS_LEGAL_REPRESENTANT" type="BOOLEAN" />
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
@@ -206,3 +206,14 @@ vatnumber.already.exists=VatNumber already exists.
|
||||
invalid.email=Invalid email.
|
||||
company.id.mandatory=Company id is mandatory.
|
||||
user.already.connected.to.company=The user is already connected to this company.
|
||||
validation.error.missing.firstName=First name is required.
|
||||
validation.error.missing.lastName=Last name is required.
|
||||
validation.error.missing.codiceFiscale=Codice Fiscale is required.
|
||||
delegation.file.upload.success=Delegation file uploaded successfully.
|
||||
delegation.fetch.success=Delegation fetched successfully.
|
||||
delegation.template.generation.error=Something went wrong while generating the delegation template.
|
||||
validation.error.file.empty=The uploaded file is empty.
|
||||
validation.error.file.invalidType=Only .p7m files are accepted.
|
||||
upload.error.s3=Failed to upload the file to S3.
|
||||
|
||||
|
||||
|
||||
@@ -199,3 +199,14 @@ vatnumber.already.exists=Il numero di partita IVA esiste gi
|
||||
invalid.email=Email non valida.
|
||||
company.id.mandatory=L'ID dell'azienda è obbligatorio.
|
||||
user.already.connected.to.company=L'utente è già collegato a questa azienda.
|
||||
validation.error.missing.firstName=Il nome è obbligatorio.
|
||||
validation.error.missing.lastName=Il cognome è obbligatorio.
|
||||
validation.error.missing.codiceFiscale=Il Codice Fiscale è obbligatorio.
|
||||
delegation.file.upload.success=File di delega caricato con successo.
|
||||
delegation.fetch.success=Delega recuperata con successo.
|
||||
delegation.template.generation.error=Si è verificato un errore durante la generazione del modello di delega.
|
||||
validation.error.file.empty=Il file caricato è vuoto.
|
||||
validation.error.file.invalidType=Sono accettati solo file .p7m.
|
||||
upload.error.s3=Impossibile caricare il file su S3.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user