Skip to content

Commit 9ce14fc

Browse files
Move from reactive to classic jee (#225)
* Move from reactive to classic jee Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com> * Use manual transaction while sending documents Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com> * Use manual transaction while sending documents Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com> * Set not supported Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com> Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com>
1 parent 638d6a5 commit 9ce14fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1254
-2082
lines changed

application/pom.xml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<relativePath>../pom.xml</relativePath>
2929
</parent>
3030

31-
<artifactId>ublhub</artifactId>
31+
<artifactId>ublhub-application</artifactId>
3232
<description>Facturador para desarrolladores</description>
3333

3434
<properties>
@@ -81,7 +81,6 @@
8181
<groupId>io.quarkus</groupId>
8282
<artifactId>quarkus-arc</artifactId>
8383
</dependency>
84-
8584
<dependency>
8685
<groupId>io.quarkus</groupId>
8786
<artifactId>quarkus-resteasy-reactive</artifactId>
@@ -101,22 +100,12 @@
101100
</dependency>
102101
<dependency>
103102
<groupId>io.quarkus</groupId>
104-
<artifactId>quarkus-hibernate-reactive-panache</artifactId>
103+
<artifactId>quarkus-hibernate-orm-panache</artifactId>
105104
</dependency>
106-
107105
<dependency>
108106
<groupId>io.quarkus</groupId>
109107
<artifactId>quarkus-jdbc-postgresql</artifactId>
110108
</dependency>
111-
<dependency>
112-
<groupId>io.quarkus</groupId>
113-
<artifactId>quarkus-reactive-pg-client</artifactId>
114-
</dependency>
115-
116-
<dependency>
117-
<groupId>io.quarkus</groupId>
118-
<artifactId>quarkus-smallrye-openapi</artifactId>
119-
</dependency>
120109

121110
<dependency>
122111
<groupId>io.quarkus</groupId>
@@ -140,6 +129,10 @@
140129
<artifactId>quarkus-security</artifactId>
141130
</dependency>
142131

132+
<dependency>
133+
<groupId>io.quarkus</groupId>
134+
<artifactId>quarkus-smallrye-openapi</artifactId>
135+
</dependency>
143136
<dependency>
144137
<groupId>io.quarkus</groupId>
145138
<artifactId>quarkus-smallrye-health</artifactId>
@@ -170,11 +163,6 @@
170163
<artifactId>quarkus-minikube</artifactId>
171164
</dependency>
172165

173-
<dependency>
174-
<groupId>io.quarkus</groupId>
175-
<artifactId>quarkus-resteasy-reactive-qute</artifactId>
176-
</dependency>
177-
178166
<!--Camel-->
179167
<dependency>
180168
<groupId>org.apache.camel.quarkus</groupId>

application/src/jreleaser/templates/article/openapi.json

Lines changed: 12 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@
5757
} ],
5858
"responses" : {
5959
"200" : {
60-
"description" : "OK",
61-
"content" : {
62-
"text/xml" : { },
63-
"application/octet-stream" : { }
64-
}
60+
"description" : "OK"
6561
}
6662
}
6763
}
@@ -259,15 +255,8 @@
259255
}
260256
} ],
261257
"responses" : {
262-
"200" : {
263-
"description" : "OK",
264-
"content" : {
265-
"application/json" : {
266-
"schema" : {
267-
"type" : "object"
268-
}
269-
}
270-
}
258+
"204" : {
259+
"description" : "No Content"
271260
},
272261
"401" : {
273262
"description" : "Not Authorized"
@@ -485,15 +474,8 @@
485474
}
486475
} ],
487476
"responses" : {
488-
"200" : {
489-
"description" : "OK",
490-
"content" : {
491-
"application/json" : {
492-
"schema" : {
493-
"type" : "object"
494-
}
495-
}
496-
}
477+
"204" : {
478+
"description" : "No Content"
497479
},
498480
"401" : {
499481
"description" : "Not Authorized"
@@ -764,15 +746,8 @@
764746
}
765747
} ],
766748
"responses" : {
767-
"200" : {
768-
"description" : "OK",
769-
"content" : {
770-
"application/json" : {
771-
"schema" : {
772-
"type" : "object"
773-
}
774-
}
775-
}
749+
"204" : {
750+
"description" : "No Content"
776751
},
777752
"401" : {
778753
"description" : "Not Authorized"
@@ -1053,15 +1028,8 @@
10531028
}
10541029
} ],
10551030
"responses" : {
1056-
"200" : {
1057-
"description" : "OK",
1058-
"content" : {
1059-
"application/json" : {
1060-
"schema" : {
1061-
"type" : "object"
1062-
}
1063-
}
1064-
}
1031+
"204" : {
1032+
"description" : "No Content"
10651033
},
10661034
"401" : {
10671035
"description" : "Not Authorized"
@@ -1243,11 +1211,7 @@
12431211
} ],
12441212
"responses" : {
12451213
"200" : {
1246-
"description" : "OK",
1247-
"content" : {
1248-
"text/xml" : { },
1249-
"application/octet-stream" : { }
1250-
}
1214+
"description" : "OK"
12511215
}
12521216
}
12531217
}
@@ -1279,11 +1243,7 @@
12791243
} ],
12801244
"responses" : {
12811245
"200" : {
1282-
"description" : "OK",
1283-
"content" : {
1284-
"text/xml" : { },
1285-
"application/octet-stream" : { }
1286-
}
1246+
"description" : "OK"
12871247
}
12881248
}
12891249
}
@@ -1619,7 +1579,7 @@
16191579
"type" : "object"
16201580
},
16211581
"JobPhaseType" : {
1622-
"enum" : [ "FETCH_XML_FILE", "READ_XML_FILE", "SEND_XML_FILE", "SAVE_CDR", "VERIFY_TICKET" ],
1582+
"enum" : [ "READ_XML_FILE", "SEND_XML_FILE", "VERIFY_TICKET" ],
16231583
"type" : "string"
16241584
},
16251585
"JobRecoveryActionType" : {

application/src/jreleaser/templates/article/openapi.yaml

Lines changed: 8 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ paths:
4646
responses:
4747
"200":
4848
description: OK
49-
content:
50-
text/xml: {}
51-
application/octet-stream: {}
5249
/api/api/projects:
5350
get:
5451
tags:
@@ -201,12 +198,8 @@ paths:
201198
schema:
202199
type: string
203200
responses:
204-
"200":
205-
description: OK
206-
content:
207-
application/json:
208-
schema:
209-
type: object
201+
"204":
202+
description: No Content
210203
"401":
211204
description: Not Authorized
212205
"403":
@@ -379,12 +372,8 @@ paths:
379372
schema:
380373
type: string
381374
responses:
382-
"200":
383-
description: OK
384-
content:
385-
application/json:
386-
schema:
387-
type: object
375+
"204":
376+
description: No Content
388377
"401":
389378
description: Not Authorized
390379
"403":
@@ -590,12 +579,8 @@ paths:
590579
schema:
591580
type: string
592581
responses:
593-
"200":
594-
description: OK
595-
content:
596-
application/json:
597-
schema:
598-
type: object
582+
"204":
583+
description: No Content
599584
"401":
600585
description: Not Authorized
601586
"403":
@@ -811,12 +796,8 @@ paths:
811796
schema:
812797
type: string
813798
responses:
814-
"200":
815-
description: OK
816-
content:
817-
application/json:
818-
schema:
819-
type: object
799+
"204":
800+
description: No Content
820801
"401":
821802
description: Not Authorized
822803
"403":
@@ -946,9 +927,6 @@ paths:
946927
responses:
947928
"200":
948929
description: OK
949-
content:
950-
text/xml: {}
951-
application/octet-stream: {}
952930
/api/api/projects/{projectId}/documents/{documentId}/xml:
953931
get:
954932
tags:
@@ -972,9 +950,6 @@ paths:
972950
responses:
973951
"200":
974952
description: OK
975-
content:
976-
text/xml: {}
977-
application/octet-stream: {}
978953
/api/api/projects/{projectId}/enrich-document:
979954
post:
980955
tags:
@@ -1202,10 +1177,8 @@ components:
12021177
type: object
12031178
JobPhaseType:
12041179
enum:
1205-
- FETCH_XML_FILE
12061180
- READ_XML_FILE
12071181
- SEND_XML_FILE
1208-
- SAVE_CDR
12091182
- VERIFY_TICKET
12101183
type: string
12111184
JobRecoveryActionType:

application/src/main/java/io/github/project/openubl/ublhub/db/RunFlyway.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

application/src/main/java/io/github/project/openubl/ublhub/dto/ErrorDto.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
import lombok.Data;
2323
import lombok.NoArgsConstructor;
2424

25-
import javax.validation.constraints.NotNull;
26-
2725
@Data
2826
@Builder
2927
@NoArgsConstructor

0 commit comments

Comments
 (0)