Skip to content

Commit

Permalink
fix: added missing @XmlJavaTypeAdapter on the missing fields of JobEx…
Browse files Browse the repository at this point in the history
…ecution interface
  • Loading branch information
angelo.andreussi authored and Coduz committed Mar 18, 2024
1 parent bcbf3b0 commit 805c129
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.eclipse.kapua.model.KapuaUpdatableEntity;
import org.eclipse.kapua.model.id.KapuaId;
import org.eclipse.kapua.model.id.KapuaIdAdapter;
import org.eclipse.kapua.model.xml.DateXmlAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down Expand Up @@ -46,6 +47,7 @@ default String getType() {
* @return
* @since 1.0.0
*/
@XmlJavaTypeAdapter(KapuaIdAdapter.class)
KapuaId getJobId();

/**
Expand All @@ -58,6 +60,7 @@ default String getType() {
* @return
* @since 1.0.0
*/
@XmlJavaTypeAdapter(DateXmlAdapter.class)
Date getStartedOn();

/**
Expand All @@ -70,6 +73,7 @@ default String getType() {
* @return
* @since 1.0.0
*/
@XmlJavaTypeAdapter(DateXmlAdapter.class)
Date getEndedOn();

/**
Expand Down

0 comments on commit 805c129

Please sign in to comment.