Dmitry Repchevsky
Dmitry Repchevsky
Probably the right way to do this (in JSON) would be via JSON Schema `"oneOf": []` and then "try and get" as schema says only one of a set of...
According the spec. it uses discriminator (aka type) property: https://jakarta.ee/specifications/jsonb/3.0/jakarta-jsonb-spec-3.0.html#polymorphic-types I think you can't have "true" polymorphism without Json Schema as you must decide which type match better (or in...
Yes, unless you do not map already existing data with no discriminator. I'd be happy to have a support for "@JsonbTypeAdapter".
Hello Octávio, I use the Reader(s) and service loader. Here is my code for the JsonObject: ~~~java public class JsonObjectTypeReferenceReader implements TypeReferenceReader { @Override public boolean test(TypeSupplier typeReference) { return...
Hi Otavio, I attach some example of what I supposed to do. Unfortunately I found no solution to use @Convert for the entities. The deserialization is a pain without an...
Hello, IMHO the problem is that jakarta.nosql API still uses javax.json: [pom.xml](https://github.com/eclipse-ee4j/nosql/blob/ca65aeea6e06f8d159f892d68345bc9955302f32/pom.xml#L62) for instance: https://github.com/eclipse-ee4j/nosql/blob/master/api/communication/communication-query/src/main/java/jakarta/nosql/query/JSONQueryValue.java Dmitry
Hello, I am afraid it's not that simple. I have compiled jnosql / nosql, but had to push up some libraries versions of nosql and add more javax.* -> jakarta.*...
Hi, The latest code is: https://gitlab.bsc.es/inb/ga4gh/beacon-v2-bsc/-/blob/master/beacon-nosql-model/src/main/java/es/bsc/inb/ga4gh/beacon/nosql/value/JsonObjectTypeReferenceReader.java
> @redmitry from what I understand openebench-git-populous only sends the metrics data. Do you have another script to send the openebench data themselves? No. The reason is that OpenEBench tools...
Since it was merged, I have updated my java model... a month ago. https://gitlab.bsc.es/inb/ga4gh/beacon-v2-api/-/blob/master/beacon-data-model/src/main/java/es/bsc/inb/ga4gh/beacon/model/v200/variations/PopulationFrequency.java#L41 https://gitlab.bsc.es/inb/ga4gh/beacon-v2-api/-/blob/master/beacon-data-model/src/main/java/es/bsc/inb/ga4gh/beacon/model/v200/variations/VariantLevelData.java#L43 D.