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

2311 be investigation refactoring jpa data classes #2344

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

AnatolVoluznev
Copy link
Collaborator

@AnatolVoluznev AnatolVoluznev commented Oct 16, 2022

2311: investigation refactoring jpa data classes

@gitpod-io
Copy link

gitpod-io bot commented Oct 16, 2022

@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@github-actions
Copy link

github-actions bot commented Oct 16, 2022

Gradle Unit and Integration Test Results

376 tests   - 99   365 ✔️  - 106   35s ⏱️ -35s
  81 suites  - 31       0 💤  -     4 
  81 files    - 31     11 +  11 

For more details on these failures, see this check.

Results for commit 119ca9c. ± Comparison against base commit acf565b.

This pull request removes 99 tests.
com.epam.brn.integration.AuthorizationAuthenticationIT ‑ test create new user in local DB when login new firebase user()
com.epam.brn.integration.AuthorizationAuthenticationIT ‑ test get admin-users when don't have permission for it()
com.epam.brn.integration.AuthorizationAuthenticationIT ‑ test get groups authentication invalid token()
com.epam.brn.integration.AuthorizationAuthenticationIT ‑ test get groups authentication()
com.epam.brn.integration.CloudControllerAwsIT ‑ should get correct signature and policy for S3 upload()
com.epam.brn.integration.CloudControllerAwsIT ‑ should not upload non allowed file by extension file to S3()
com.epam.brn.integration.CloudControllerAwsIT ‑ should upload allowed file to S3()
com.epam.brn.integration.CloudControllerGoogleIT ‑ should get correct URL for upload()
com.epam.brn.integration.ContributorControllerIT ‑ test add contributor()
com.epam.brn.integration.ContributorControllerIT ‑ test get all contributors()
…

♻️ This comment has been updated with latest results.

@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@AnatolVoluznev AnatolVoluznev changed the title 2311 be investigation refactoring jpa data classes WIP 2311 be investigation refactoring jpa data classes Oct 16, 2022
@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@ElenaSpb ElenaSpb self-assigned this Oct 18, 2022
Anatol Voluznev added 2 commits October 25, 2022 10:12
…-classes

# Conflicts:
#	src/main/kotlin/com/epam/brn/model/GitHubUser.kt
…g-jpa-data-classes' into 2311-be-investigation-refactoring-jpa-data-classes
@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

Anatol Voluznev added 5 commits November 5, 2022 18:10
…g-jpa-data-classes' into 2311-be-investigation-refactoring-jpa-data-classes

# Conflicts:
#	src/main/kotlin/com/epam/brn/service/TaskService.kt
#	src/main/kotlin/com/epam/brn/service/impl/UserAccountServiceImpl.kt
#	src/main/kotlin/com/epam/brn/upload/csv/seriesWords/SeriesWordsRecordProcessor.kt
#	src/main/kotlin/com/epam/brn/upload/csv/seriesWordsKoroleva/SeriesWordsKorolevaRecordProcessor.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesMatrix/SeriesMatrixRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWords/SeriesWordsRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWordsKoroleva/SeriesWordsKorolevaRecordProcessorTest.kt
@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

Anatol Voluznev added 2 commits November 20, 2022 10:53
…-classes

# Conflicts:
#	src/main/kotlin/com/epam/brn/dto/response/WordsTaskResponse.kt
#	src/main/kotlin/com/epam/brn/model/Role.kt
#	src/main/kotlin/com/epam/brn/model/Task.kt
#	src/main/kotlin/com/epam/brn/model/UserAccount.kt
#	src/main/kotlin/com/epam/brn/service/impl/UserAccountServiceImpl.kt
#	src/main/kotlin/com/epam/brn/service/load/InitialDataLoader.kt
#	src/main/kotlin/com/epam/brn/upload/csv/audiometrySpeech/LopotkoRecordProcessor.kt
#	src/main/kotlin/com/epam/brn/upload/csv/seriesWords/SeriesWordsRecordProcessor.kt
#	src/main/kotlin/com/epam/brn/upload/csv/seriesWordsKoroleva/SeriesWordsKorolevaRecordProcessor.kt
#	src/test/kotlin/com/epam/brn/auth/filter/FirebaseTokenAuthenticationFilterTest.kt
#	src/test/kotlin/com/epam/brn/integration/UserDetailsControllerIT.kt
#	src/test/kotlin/com/epam/brn/service/TaskServiceTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesMatrix/SeriesMatrixRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWords/SeriesWordsRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWordsKoroleva/SeriesWordsKorolevaRecordProcessorTest.kt
@github-actions
Copy link

Frontend test coverage: 95.45%

🤷‍♂️ Did not change

@sonarcloud
Copy link

sonarcloud bot commented Nov 20, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

…-classes

# Conflicts:
#	src/main/kotlin/com/epam/brn/dto/response/TaskResponse.kt
#	src/main/kotlin/com/epam/brn/model/Task.kt
#	src/main/kotlin/com/epam/brn/service/impl/UserAccountServiceImpl.kt
#	src/main/kotlin/com/epam/brn/upload/csv/seriesMatrix/SeriesMatrixRecordProcessor.kt
#	src/test/kotlin/com/epam/brn/service/TaskServiceTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesMatrix/SeriesMatrixRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWords/SeriesWordsRecordProcessorTest.kt
#	src/test/kotlin/com/epam/brn/upload/csv/seriesWordsKoroleva/SeriesWordsKorolevaRecordProcessorTest.kt
@github-actions
Copy link

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@sonarcloud
Copy link

sonarcloud bot commented Jan 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@@ -41,26 +41,6 @@ data class Headphones(
userAccount = userAccount?.id
)

override fun equals(other: Any?): Boolean {
Copy link
Contributor

@ElenaSpb ElenaSpb Jan 28, 2023

Choose a reason for hiding this comment

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

why in this class equals is also deleted?
but in other classes not

@@ -11,6 +11,6 @@ data class TaskResponse(
val exerciseMechanism: ExerciseMechanism = exerciseType.toMechanism(),
val name: String? = "",
val serialNumber: Int? = 0,
val answerOptions: Set<ResourceResponse> = HashSet(),
val answerOptions: List<ResourceResponse> = mutableListOf(),
Copy link
Contributor

Choose a reason for hiding this comment

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

as we agree to change all sets into list
please check all other places and change them please
image

@github-actions
Copy link

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@github-actions
Copy link

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@github-actions
Copy link

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@github-actions
Copy link

Frontend test coverage: 45.59%

🤷‍♂️ Did not change

@RudzMaksim RudzMaksim removed their request for review January 23, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BE] Investigation, refactoring jpa Data classes
3 participants