Ajustes Clases de Bus para consumo de api privada

This commit is contained in:
Juan Loreto 2025-12-17 22:27:55 -04:00
parent c74c4f1415
commit 797161894f
4 changed files with 102 additions and 8 deletions

View File

@ -10,11 +10,11 @@
# #
# Then, build the image with: # Then, build the image with:
# #
# docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/rec-update-card-status . # docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/bus-update-card-status .
# #
# Then run the container using: # Then run the container using:
# #
# docker run -i --rm -p 8080:8080 quarkus/rec-update-card-transaction-switch # docker run -i --rm -p 8080:8080 quarkus/bus-update-card-status
# #
### ###
FROM quay.io/quarkus/quarkus-micro-image:2.0 FROM quay.io/quarkus/quarkus-micro-image:2.0
@ -22,10 +22,10 @@ RUN mkdir -p /work
ENV TZ="America/Caracas" ENV TZ="America/Caracas"
ENV LANGUAGE='en_US:en' ENV LANGUAGE='en_US:en'
VOLUME /tmp VOLUME /tmp
COPY /file/*-runner /work/recUpdateCardStatus COPY /file/*-runner /work/busUpdateCardStatus
RUN chmod -R 775 /work RUN chmod -R 775 /work
RUN ls -ltra /work/ RUN ls -ltra /work/
EXPOSE 8080 EXPOSE 8080
WORKDIR /work/ WORKDIR /work/
ENTRYPOINT ["./recUpdateCardStatus", "-Dquarkus.http.host=0.0.0.0"] ENTRYPOINT ["./busUpdateCardStatus", "-Dquarkus.http.host=0.0.0.0"]

View File

@ -0,0 +1,94 @@
package com.banesco.infrastructure.dtos.card.soap;
import com.banesco.infrastructure.dtos.osb.MsgRsHdr;
import com.banesco.infrastructure.dtos.osb.Status;
import io.quarkus.runtime.annotations.RegisterForReflection;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="MsgRsHdr" type="{http://xmlns.banesco.com/EnterpriseObjects/MsgRsHdr}MsgRsHdr" minOccurs="0"/&gt;
* &lt;element name="Status" type="{http://xmlns.banesco.com/EnterpriseObjects/Status}Status" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@RegisterForReflection
public class BlockUnblockDebitCardRs {
protected MsgRsHdr msgRsHdr;
protected List<Status> status;
/**
* Obtiene el valor de la propiedad msgRsHdr.
*
* @return
* possible object is
* {@link MsgRsHdr }
*
*/
public MsgRsHdr getMsgRsHdr() {
return msgRsHdr;
}
/**
* Define el valor de la propiedad msgRsHdr.
*
* @param value
* allowed object is
* {@link MsgRsHdr }
*
*/
public void setMsgRsHdr(MsgRsHdr value) {
this.msgRsHdr = value;
}
/**
* Gets the value of the status property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a <CODE>set</CODE> method for the status property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getStatus().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Status }
*
*
*/
public List<Status> getStatus() {
if (status == null) {
status = new ArrayList<Status>();
}
return this.status;
}
}

View File

@ -10,11 +10,11 @@
# #
# Then, build the image with: # Then, build the image with:
# #
# docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/api-send-mail . # docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/api-update-card-status .
# #
# Then run the container using: # Then run the container using:
# #
# docker run -i --rm -p 8080:8080 quarkus/api-send-mail # docker run -i --rm -p 8080:8080 quarkus/api-update-card-status
# #
### ###
FROM quay.io/quarkus/quarkus-micro-image:2.0 FROM quay.io/quarkus/quarkus-micro-image:2.0
@ -22,10 +22,10 @@ RUN mkdir -p /work
ENV TZ="America/Caracas" ENV TZ="America/Caracas"
ENV LANGUAGE='en_US:en' ENV LANGUAGE='en_US:en'
VOLUME /tmp VOLUME /tmp
COPY /file/*-runner /work/apiP2PPayment COPY /file/*-runner /work/apiUpdateCardStatus
RUN chmod -R 775 /work RUN chmod -R 775 /work
RUN ls -ltra /work/ RUN ls -ltra /work/
EXPOSE 8080 EXPOSE 8080
WORKDIR /work/ WORKDIR /work/
ENTRYPOINT ["./apiP2PPayment", "-Dquarkus.http.host=0.0.0.0"] ENTRYPOINT ["./apiUpdateCardStatus", "-Dquarkus.http.host=0.0.0.0"]