Skip to content

Commit

Permalink
Move from reactive to classic jee (#225)
Browse files Browse the repository at this point in the history
* Move from reactive to classic jee

Signed-off-by: carlosthe19916 <[email protected]>

* Use manual transaction while sending documents

Signed-off-by: carlosthe19916 <[email protected]>

* Use manual transaction while sending documents

Signed-off-by: carlosthe19916 <[email protected]>

* Set not supported

Signed-off-by: carlosthe19916 <[email protected]>

Signed-off-by: carlosthe19916 <[email protected]>
  • Loading branch information
carlosthe19916 authored Dec 14, 2022
1 parent 638d6a5 commit 9ce14fc
Show file tree
Hide file tree
Showing 52 changed files with 1,254 additions and 2,082 deletions.
24 changes: 6 additions & 18 deletions application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>ublhub</artifactId>
<artifactId>ublhub-application</artifactId>
<description>Facturador para desarrolladores</description>

<properties>
Expand Down Expand Up @@ -81,7 +81,6 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive</artifactId>
Expand All @@ -101,22 +100,12 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-reactive-panache</artifactId>
<artifactId>quarkus-hibernate-orm-panache</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-jdbc-postgresql</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-reactive-pg-client</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
Expand All @@ -140,6 +129,10 @@
<artifactId>quarkus-security</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-health</artifactId>
Expand Down Expand Up @@ -170,11 +163,6 @@
<artifactId>quarkus-minikube</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive-qute</artifactId>
</dependency>

<!--Camel-->
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
Expand Down
64 changes: 12 additions & 52 deletions application/src/jreleaser/templates/article/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"text/xml" : { },
"application/octet-stream" : { }
}
"description" : "OK"
}
}
}
Expand Down Expand Up @@ -259,15 +255,8 @@
}
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"type" : "object"
}
}
}
"204" : {
"description" : "No Content"
},
"401" : {
"description" : "Not Authorized"
Expand Down Expand Up @@ -485,15 +474,8 @@
}
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"type" : "object"
}
}
}
"204" : {
"description" : "No Content"
},
"401" : {
"description" : "Not Authorized"
Expand Down Expand Up @@ -764,15 +746,8 @@
}
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"type" : "object"
}
}
}
"204" : {
"description" : "No Content"
},
"401" : {
"description" : "Not Authorized"
Expand Down Expand Up @@ -1053,15 +1028,8 @@
}
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"type" : "object"
}
}
}
"204" : {
"description" : "No Content"
},
"401" : {
"description" : "Not Authorized"
Expand Down Expand Up @@ -1243,11 +1211,7 @@
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"text/xml" : { },
"application/octet-stream" : { }
}
"description" : "OK"
}
}
}
Expand Down Expand Up @@ -1279,11 +1243,7 @@
} ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"text/xml" : { },
"application/octet-stream" : { }
}
"description" : "OK"
}
}
}
Expand Down Expand Up @@ -1619,7 +1579,7 @@
"type" : "object"
},
"JobPhaseType" : {
"enum" : [ "FETCH_XML_FILE", "READ_XML_FILE", "SEND_XML_FILE", "SAVE_CDR", "VERIFY_TICKET" ],
"enum" : [ "READ_XML_FILE", "SEND_XML_FILE", "VERIFY_TICKET" ],
"type" : "string"
},
"JobRecoveryActionType" : {
Expand Down
43 changes: 8 additions & 35 deletions application/src/jreleaser/templates/article/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ paths:
responses:
"200":
description: OK
content:
text/xml: {}
application/octet-stream: {}
/api/api/projects:
get:
tags:
Expand Down Expand Up @@ -201,12 +198,8 @@ paths:
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
"204":
description: No Content
"401":
description: Not Authorized
"403":
Expand Down Expand Up @@ -379,12 +372,8 @@ paths:
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
"204":
description: No Content
"401":
description: Not Authorized
"403":
Expand Down Expand Up @@ -590,12 +579,8 @@ paths:
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
"204":
description: No Content
"401":
description: Not Authorized
"403":
Expand Down Expand Up @@ -811,12 +796,8 @@ paths:
schema:
type: string
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
"204":
description: No Content
"401":
description: Not Authorized
"403":
Expand Down Expand Up @@ -946,9 +927,6 @@ paths:
responses:
"200":
description: OK
content:
text/xml: {}
application/octet-stream: {}
/api/api/projects/{projectId}/documents/{documentId}/xml:
get:
tags:
Expand All @@ -972,9 +950,6 @@ paths:
responses:
"200":
description: OK
content:
text/xml: {}
application/octet-stream: {}
/api/api/projects/{projectId}/enrich-document:
post:
tags:
Expand Down Expand Up @@ -1202,10 +1177,8 @@ components:
type: object
JobPhaseType:
enum:
- FETCH_XML_FILE
- READ_XML_FILE
- SEND_XML_FILE
- SAVE_CDR
- VERIFY_TICKET
type: string
JobRecoveryActionType:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
Expand Down
Loading

0 comments on commit 9ce14fc

Please sign in to comment.