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

chore: Port Spring 2.7 -> 3.2, JDK17 #386

Closed
wants to merge 16 commits into from
Closed

Conversation

rnd4you
Copy link
Contributor

@rnd4you rnd4you commented Jan 3, 2024

Pull Request

This is for #351

Description

Spring 2.7 has been replaced with 3.2.

Fixes #351

Type of change

  • Code cleanup/refactoring - replace Spring version numbers and javax -> jakarta in several files
  • Documentation update - README.md English changed

Testing

All previous tests that used to work with Spring 2.7 are operating well with Spring 3.2 as well.

Checklist:

  • My code follows the style guidelines of this project
  • My code meets the required code coverage for lines (90% and above)
  • My code meets the required code coverage for branches (80% and above)
  • 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

@o-kopysov o-kopysov changed the title Port Spring 2.7 -> 3.2, JDK17 chore: Port Spring 2.7 -> 3.2, JDK17 Jan 3, 2024
@o-kopysov o-kopysov added this to the v1.4.0 milestone Jan 3, 2024
@o-kopysov o-kopysov added the dependencies Pull requests that update a dependency file label Jan 3, 2024
@o-kopysov o-kopysov marked this pull request as draft January 3, 2024 16:18
Copy link
Collaborator

@o-kopysov o-kopysov left a comment

Choose a reason for hiding this comment

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

You need to update all build steps to support SDK 17.

@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (28ef2d3) 90.90% compared to head (50e1e70) 90.90%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #386   +/-   ##
=========================================
  Coverage     90.90%   90.90%           
  Complexity      486      486           
=========================================
  Files            47       47           
  Lines          1737     1737           
  Branches        209      209           
=========================================
  Hits           1579     1579           
  Misses           94       94           
  Partials         64       64           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

README.md Outdated
@@ -11,39 +11,39 @@
[![Project Map](https://sourcespy.com/shield.svg)](https://sourcespy.com/github/samsunglpvs/)

## Introduction
Open-source code [refers](https://en.wikipedia.org/wiki/Open-source_software) to software that is freely available for use, study, modification, and distribution, subject to meeting the conditions of the corresponding license. Failure to comply with the license conditions can lead to legal disputes, financial liabilities, the requirement to disclose intellectual property, and reputational damage.
Open-source code [refers](https://en.wikipedia.org/wiki/Open-source_software) (that is a software that is freely available for use, study, modification, and distribution) must meet the conditions of the respective license(s) of all of its dependencies. Miscompliance may lead to legal disputes, financial liabilities, obligation to disclose proprietary intellectual property, as well as reputational damage.
Copy link
Collaborator

Choose a reason for hiding this comment

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

refers is a redundant word.

pom.xml Outdated
@@ -7,7 +7,7 @@
<groupId>com.lpvs</groupId>
<artifactId>lpvs</artifactId>
<name>LPVS</name>
<version>1.3.0</version>
<version>1.3.1</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

1.4.0

@@ -10,7 +10,7 @@
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import jakarta.persistence.*; // Spring 3.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove unnecessary comment

@o-kopysov
Copy link
Collaborator

Please resolve conflicts with main branch as well.

@rnd4you rnd4you force-pushed the rnd4you branch 3 times, most recently from 53bf11d to 59ab849 Compare January 5, 2024 22:21
rnd4you and others added 13 commits January 6, 2024 00:29
Signed-off-by: rnd4you <rnd4u.org@gmail.com>
Samsung#385)

fix: Change "npm install" to "npm ci" to install fixed version packages for docker image

Signed-off-by: Taras Drozdovskyi <t.drozdovsky@samsung.com>
Samsung#384)

* fix: Add throw Exception in case of error for LPVSWebhookUtil class

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* fix: Update catch code to process IllegalArgumentException

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

---------

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>
Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>
* feat: Add API for single pull request scan

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* docs: Add new endpoint description in YAML file

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* test: Cover new endpoint by unit tests

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* test: Update unit tests for LPVSPullRequestAction

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* fix: Update endpoint based on the code review comments

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* feat: Add API for single pull request scan

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* docs: Add new endpoint description in YAML file

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* test: Cover new endpoint by unit tests

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* test: Update unit tests for LPVSPullRequestAction

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* fix: Update endpoint based on the code review comments

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* fix: Fix build after incorrect rebase

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

* fix: Update code based on the review comments

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>

---------

Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>
Signed-off-by: rnd4you <rnd4u.org@gmail.com>
Signed-off-by: rnd4you <rnd4u.org@gmail.com>
@o-kopysov o-kopysov modified the milestones: v1.4.0, v1.4.1 Jan 8, 2024
Signed-off-by: rnd4you <rnd4u.org@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Spring Boot to v3.2.x
5 participants