holly-cummins / house-of-microservices-quarkus-contract-testing-sample Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I think this is a problem that would be fixed by a Pact extension.
2022-08-31 14:12:28,815 ERROR [io.qua.test] (Test runner thread) Test HouseContractTest#pactVerificationTestTemplate(PactVerificationContext) failed
: java.lang.AssertionError: Can't find built-in class kotlin.Any
at kotlin.reflect.jvm.internal.impl.builtins.KotlinBuiltIns.getBuiltInClassByFqName(KotlinBuiltIns.java:217)
at kotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMapper.mapJavaToKotlin(JavaToKotlinClassMapper.kt:41)
at kotlin.reflect.jvm.internal.impl.builtins.jvm.JavaToKotlinClassMapper.mapJavaToKotlin$default(JavaToKotlinClassMapper.kt:37)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.types.JavaTypeResolver.mapKotlinClass(JavaTypeResolver.kt:168)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.types.JavaTypeResolver.computeTypeConstructor(JavaTypeResolver.kt:142)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.types.JavaTypeResolver.computeSimpleJavaClassifierType(JavaTypeResolver.kt:124)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.types.JavaTypeResolver.transformJavaClassifierType(JavaTypeResolver.kt:100)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.types.JavaTypeResolver.transformJavaType(JavaTypeResolver.kt:54)
at kotlin.reflect.jvm.internal.impl.load.java.lazy.descriptors.LazyJavaClassDescriptor$LazyJavaClassTypeConstructor.computeSupertypes(LazyJavaClassDescriptor.kt:220)
When running the tests in the demo, I saw some issues I didn't have a chance to look into
* Why are some tests failing for pact? (not totally sure what my notes mean here)
* It seemed some tests not running on change? With continuous testing, required tests should run on changes. Maybe I am reading the logs wrong?
* Can we get the error message cleaner? And less sensitive to order? (not totally sure what my notes mean here)
This static code in ResidentResource.java
isn't ideal:
// This is a non-cloud-safe way of handling session affinity.
// For simplicity, it will do!
private static Map<String, Resident> residents = new HashMap<>();
This would be more realistic, but more complex to demo. Would it add value?
In this scenario the BFF is the best friend forever :)
The room transitions are kind of like manual state tracing. Would it help or hinder to externalise this into formal state tracing?
We should work out the script's dir and use it for the cwd.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.