Conversation
3897c0b to
d0bd21d
Compare
7b6f2c8 to
9b6274a
Compare
|
This PR adds several new dependencies and ways of building APIs, like using panache for entities and how endpoints are build. I am not against changing things for the better, but this amount of change requires some discussion and approval of the community. Let's take this to the next compas community meeting for discussion. |
| // SPDX-License-Identifier: Apache-2.0 | ||
| package org.lfenergy.compas.scl.data.service; | ||
|
|
||
| public record UploadRequest( |
There was a problem hiding this comment.
Auf dieser Ebene müsste der Namen falsch, sein. Was passiert wenn das nicht über einen Http-Request rein kommt?
There was a problem hiding this comment.
do we still need the repository-postgresql package in case of using panache?
There was a problem hiding this comment.
We store our panache entity class in this package.
There was a problem hiding this comment.
panache entity classes are not postgresql related, needs to be moved to repository module
| quarkus.datasource.password = ${POSTGRESQL_PASSWORD:compas} | ||
|
|
||
| # Hibernate ORM configuration (schema managed by Flyway) | ||
| quarkus.hibernate-orm.database.generation = none |
There was a problem hiding this comment.
can't this just been added to application.properties so that its valid for all profiles? Same for line 28:30?
Same for prod profile
|
|
||
| @Entity | ||
| @Table(name = "plugins_custom_resource") | ||
| public class PluginsCustomResource extends PanacheEntityBase { |
There was a problem hiding this comment.
Is this class really postgresql relevant? Basically with Panache we split up the Database implementation with the model. We might want to move this to sub-module repository.
Only "repository-postgresql/src/main/resources/org/lfenergy/compas/scl/data/repository/postgresql/db/migration/V1_7__create_plugins_custom_resource.sql" should be DB dependent.
e97f972 to
7526c0b
Compare
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
…points Signed-off-by: Berke Akkaya <berke.akkaya@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
…rm config in application.properties Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Berke Akkaya <berke.akkaya@bearingpoint.com>
Signed-off-by: Berke Akkaya <berke.akkaya@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
7526c0b to
e0e4ccd
Compare
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
ba59dda to
aee9622
Compare
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
aee9622 to
0afc97d
Compare
There was a problem hiding this comment.
just to be sure, this file is postgresql related, therefore here ok
| import java.util.Date; | ||
| import java.util.UUID; | ||
| import jakarta.validation.constraints.*; | ||
| import jakarta.validation.Valid; |
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
|
@stiliyan-v Please fix the last high sonarqube issue https://sonarcloud.io/project/issues?impactSeverities=HIGH&sinceLeakPeriod=true&issueStatuses=OPEN%2CCONFIRMED&pullRequest=609&id=com-pas_compas-scl-data-service Then we should be good to go |
Signed-off-by: Stiliyan Valkanov <stiliyan.valkanov@bearingpoint.com>
|



Uh oh!
There was an error while loading. Please reload this page.