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

ORV2 2299 LOA #1486

Closed
wants to merge 75 commits into from
Closed

ORV2 2299 LOA #1486

wants to merge 75 commits into from

Conversation

gchauhan-aot
Copy link
Collaborator

@gchauhan-aot gchauhan-aot commented Jul 15, 2024

Description

This PR is for LOA DB set up and CRUD endpoints.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A: Tested manually

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:

gchauhan-aot and others added 30 commits July 4, 2024 09:44
# Conflicts:
#	database/mssql/scripts/versions/revert/v_31_ddl_revert.sql
#	database/mssql/scripts/versions/v_31_ddl.sql
#	database/mssql/test/versions/v_31_1_test.sql
#	database/mssql/test/versions/v_31_test.sh

@LogAsyncMethodExecution()
async deleteLoaDocument(companyId: number, loaId: number): Promise<number> {
const { affected } = await this.loaDetailRepository.update(
Copy link
Collaborator

@praju-aot praju-aot Jul 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please send the correct response message with success or failure instead of the affected row numbers

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@praju-aot Also the same should be done for async delete() as well? Sending success/failure rather than affected row numbers

@praju-aot praju-aot closed this Jul 19, 2024
@praju-aot
Copy link
Collaborator

Stale image

@praju-aot praju-aot reopened this Jul 19, 2024
Copy link

sonarcloud bot commented Jul 19, 2024

Quality Gate Failed Quality Gate failed for 'onroutebc dops'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Jul 19, 2024

Quality Gate Failed Quality Gate failed for 'onroutebc vehicles'

Failed conditions
0.5% Coverage on New Code (required ≥ 80%)
5.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dont merge a branch for anything that shouldn't be merged (yet or ever) dont review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants