io.automatiko.engine.quarkus.ittests.CalculationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automatiko-quarkus-integration-test Show documentation
Show all versions of automatiko-quarkus-integration-test Show documentation
Integration tests for Quarkus Extension for Automatiko Engine
package io.automatiko.engine.quarkus.ittests;
import java.util.Random;
import jakarta.enterprise.context.ApplicationScoped;
@ApplicationScoped
public class CalculationService {
private Random random = new Random();
public Order calculateTotal(Order order) {
order.setTotal(random.nextDouble());
return order;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy