Skip to content

Commit

Permalink
[#675] JavaTime dialects: Change transformation tests to use JavaTime…
Browse files Browse the repository at this point in the history
… dialects.
  • Loading branch information
opatrascoiu committed Jun 19, 2024
1 parent c695a99 commit d88b42f
Show file tree
Hide file tree
Showing 348 changed files with 522 additions and 511 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package com.gs.dmn.transformation;

import com.gs.dmn.dialect.DMNDialectDefinition;
import com.gs.dmn.dialect.JavaTimeDMNDialectDefinition;
import com.gs.dmn.dialect.StandardDMNDialectDefinition;
import com.gs.dmn.tck.ast.TestCases;
import com.gs.dmn.transformation.template.TemplateProvider;
Expand All @@ -21,11 +22,14 @@
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.temporal.TemporalAccessor;
import java.time.temporal.TemporalAmount;

public abstract class AbstractTckDMNToJavaTransformerTest extends AbstractTckDMNToNativeTransformerTest<BigDecimal, XMLGregorianCalendar, XMLGregorianCalendar, XMLGregorianCalendar, Duration> {
public abstract class AbstractTckDMNToJavaTransformerTest extends AbstractTckDMNToNativeTransformerTest<BigDecimal, LocalDate, TemporalAccessor, TemporalAccessor, TemporalAmount> {
@Override
protected DMNDialectDefinition<BigDecimal, XMLGregorianCalendar, XMLGregorianCalendar, XMLGregorianCalendar, Duration, TestCases> makeDialectDefinition() {
return new StandardDMNDialectDefinition();
protected DMNDialectDefinition<BigDecimal, LocalDate, TemporalAccessor, TemporalAccessor, TemporalAmount, TestCases> makeDialectDefinition() {
return new JavaTimeDMNDialectDefinition();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
package com.gs.dmn.transformation;

import com.gs.dmn.dialect.DMNDialectDefinition;
import com.gs.dmn.dialect.JavaTimeKotlinStandardDMNDialectDefinition;
import com.gs.dmn.dialect.KotlinStandardDMNDialectDefinition;
import com.gs.dmn.tck.ast.TestCases;
import com.gs.dmn.transformation.template.KotlinTreeTemplateProvider;
Expand All @@ -21,11 +22,14 @@
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.temporal.TemporalAccessor;
import java.time.temporal.TemporalAmount;

public abstract class AbstractTckDMNToKotlinTransformerTest extends AbstractTckDMNToNativeTransformerTest<BigDecimal, XMLGregorianCalendar, XMLGregorianCalendar, XMLGregorianCalendar, Duration> {
public abstract class AbstractTckDMNToKotlinTransformerTest extends AbstractTckDMNToNativeTransformerTest<BigDecimal, LocalDate, TemporalAccessor, TemporalAccessor, TemporalAmount> {
@Override
protected DMNDialectDefinition<BigDecimal, XMLGregorianCalendar, XMLGregorianCalendar, XMLGregorianCalendar, Duration, TestCases> makeDialectDefinition() {
return new KotlinStandardDMNDialectDefinition();
protected DMNDialectDefinition<BigDecimal, LocalDate, TemporalAccessor, TemporalAccessor, TemporalAmount, TestCases> makeDialectDefinition() {
return new JavaTimeKotlinStandardDMNDialectDefinition();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
import javax.xml.datatype.XMLGregorianCalendar;
import java.io.File;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.temporal.TemporalAccessor;
import java.time.temporal.TemporalAmount;
import java.util.LinkedHashMap;
import java.util.Map;

Expand All @@ -47,7 +50,7 @@ protected String getExpectedPath() {
@Override
protected FileTransformer makeTransformer(InputParameters inputParameters, BuildLogger logger) {
// Create transformer
DMNDialectDefinition<BigDecimal, XMLGregorianCalendar, XMLGregorianCalendar, XMLGregorianCalendar, Duration, TestCases> dmnDialect = makeDialectDefinition();
DMNDialectDefinition<BigDecimal, LocalDate, TemporalAccessor, TemporalAccessor, TemporalAmount, TestCases> dmnDialect = makeDialectDefinition();
DMNValidator dmnValidator = makeDMNValidator(logger);
DMNTransformer<TestCases> dmnTransformer = makeDMNTransformer(logger);
TemplateProvider templateProvider = makeTemplateProvider();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingB1SayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingB1SayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"",
"evaluatingB1SayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingB2SayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingB2SayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"",
"evaluatingB2SayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class GreetThePerson extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class GreetThePerson extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"",
"greetThePerson",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"",
"modelCDecisionBasedOnBs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingB1SayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingB1SayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b1",
"evaluatingB1SayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class GreetThePerson extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class GreetThePerson extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b1",
"greetThePerson",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingB2SayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingB2SayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b2",
"evaluatingB2SayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_c",
"modelCDecisionBasedOnBs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingSayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingSayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b1",
"evaluatingSayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class GreetThePerson extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class GreetThePerson extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b1",
"greetThePerson",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class EvaluatingSayHello extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class EvaluatingSayHello extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_b2",
"evaluatingSayHello",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNKNOWN,
rulesCount = -1
)
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class ModelCDecisionBasedOnBs extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"model_c",
"modelCDecisionBasedOnBs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE,
rulesCount = 2
)
public class DateCompare1 extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class DateCompare1 extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"decisiontables",
"dateCompare1",
Expand All @@ -37,7 +37,7 @@ public Boolean applyMap(java.util.Map<String, String> input_, com.gs.dmn.runtime
}
}

public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public Boolean apply(java.time.LocalDate decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
try {
// Start decision 'dateCompare1'
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
Expand Down Expand Up @@ -65,7 +65,7 @@ public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs_date
public com.gs.dmn.runtime.LambdaExpression<Boolean> lambda =
new com.gs.dmn.runtime.LambdaExpression<Boolean>() {
public Boolean apply(Object... args_) {
javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD = 0 < args_.length ? (javax.xml.datatype.XMLGregorianCalendar) args_[0] : null;
java.time.LocalDate decisioninputs_dateD = 0 < args_.length ? (java.time.LocalDate) args_[0] : null;
com.gs.dmn.runtime.ExecutionContext context_ = 1 < args_.length ? (com.gs.dmn.runtime.ExecutionContext) args_[1] : null;
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
com.gs.dmn.runtime.listener.EventListener eventListener_ = context_ != null ? context_.getEventListener() : null;
Expand All @@ -92,7 +92,7 @@ public Boolean apply(Object... args_) {
};

@com.gs.dmn.runtime.annotation.Rule(index = 0, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule0(java.time.LocalDate decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(0, "");

Expand Down Expand Up @@ -123,7 +123,7 @@ public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalend
}

@com.gs.dmn.runtime.annotation.Rule(index = 1, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule1(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule1(java.time.LocalDate decisioninputs_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(1, "");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE,
rulesCount = 2
)
public class DateCompare2 extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class DateCompare2 extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"decisiontables",
"dateCompare2",
Expand All @@ -37,7 +37,7 @@ public Boolean applyMap(java.util.Map<String, String> input_, com.gs.dmn.runtime
}
}

public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
public Boolean apply(java.time.LocalDate decisioninputs_dateD, java.time.LocalDate decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
try {
// Start decision 'dateCompare2'
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
Expand Down Expand Up @@ -66,8 +66,8 @@ public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs_date
public com.gs.dmn.runtime.LambdaExpression<Boolean> lambda =
new com.gs.dmn.runtime.LambdaExpression<Boolean>() {
public Boolean apply(Object... args_) {
javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD = 0 < args_.length ? (javax.xml.datatype.XMLGregorianCalendar) args_[0] : null;
javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateE = 1 < args_.length ? (javax.xml.datatype.XMLGregorianCalendar) args_[1] : null;
java.time.LocalDate decisioninputs_dateD = 0 < args_.length ? (java.time.LocalDate) args_[0] : null;
java.time.LocalDate decisioninputs_dateE = 1 < args_.length ? (java.time.LocalDate) args_[1] : null;
com.gs.dmn.runtime.ExecutionContext context_ = 2 < args_.length ? (com.gs.dmn.runtime.ExecutionContext) args_[2] : null;
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
com.gs.dmn.runtime.listener.EventListener eventListener_ = context_ != null ? context_.getEventListener() : null;
Expand All @@ -94,7 +94,7 @@ public Boolean apply(Object... args_) {
};

@com.gs.dmn.runtime.annotation.Rule(index = 0, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule0(java.time.LocalDate decisioninputs_dateD, java.time.LocalDate decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(0, "");

Expand Down Expand Up @@ -125,7 +125,7 @@ public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalend
}

@com.gs.dmn.runtime.annotation.Rule(index = 1, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule1(javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateD, javax.xml.datatype.XMLGregorianCalendar decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule1(java.time.LocalDate decisioninputs_dateD, java.time.LocalDate decisioninputs_dateE, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(1, "");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE,
rulesCount = 2
)
public class PriceGt10 extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class PriceGt10 extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"decisiontables",
"priceGt10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.PRIORITY,
rulesCount = 2
)
public class PriceInRange extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class PriceInRange extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"decisiontables",
"priceInRange",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE,
rulesCount = 2
)
public class DateCompare1 extends com.gs.dmn.runtime.DefaultDMNBaseDecision {
public class DateCompare1 extends com.gs.dmn.runtime.JavaTimeDMNBaseDecision {
public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement(
"decisiontables",
"dateCompare1",
Expand All @@ -37,7 +37,7 @@ public Boolean applyMap(java.util.Map<String, String> input_, com.gs.dmn.runtime
}
}

public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public Boolean apply(java.time.LocalDate decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
try {
// Start decision 'dateCompare1'
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
Expand Down Expand Up @@ -65,7 +65,7 @@ public Boolean apply(javax.xml.datatype.XMLGregorianCalendar decisioninputs1_dat
public com.gs.dmn.runtime.LambdaExpression<Boolean> lambda =
new com.gs.dmn.runtime.LambdaExpression<Boolean>() {
public Boolean apply(Object... args_) {
javax.xml.datatype.XMLGregorianCalendar decisioninputs1_dateD = 0 < args_.length ? (javax.xml.datatype.XMLGregorianCalendar) args_[0] : null;
java.time.LocalDate decisioninputs1_dateD = 0 < args_.length ? (java.time.LocalDate) args_[0] : null;
com.gs.dmn.runtime.ExecutionContext context_ = 1 < args_.length ? (com.gs.dmn.runtime.ExecutionContext) args_[1] : null;
com.gs.dmn.runtime.annotation.AnnotationSet annotationSet_ = context_ != null ? context_.getAnnotations() : null;
com.gs.dmn.runtime.listener.EventListener eventListener_ = context_ != null ? context_.getEventListener() : null;
Expand All @@ -92,7 +92,7 @@ public Boolean apply(Object... args_) {
};

@com.gs.dmn.runtime.annotation.Rule(index = 0, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalendar decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule0(java.time.LocalDate decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(0, "");

Expand Down Expand Up @@ -123,7 +123,7 @@ public com.gs.dmn.runtime.RuleOutput rule0(javax.xml.datatype.XMLGregorianCalend
}

@com.gs.dmn.runtime.annotation.Rule(index = 1, annotation = "")
public com.gs.dmn.runtime.RuleOutput rule1(javax.xml.datatype.XMLGregorianCalendar decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
public com.gs.dmn.runtime.RuleOutput rule1(java.time.LocalDate decisioninputs1_dateD, com.gs.dmn.runtime.ExecutionContext context_) {
// Rule metadata
com.gs.dmn.runtime.listener.Rule drgRuleMetadata = new com.gs.dmn.runtime.listener.Rule(1, "");

Expand Down
Loading

0 comments on commit d88b42f

Please sign in to comment.