Hi Jasdip,

just removed SuperBuilder.

The remaining Lombok annotations aim to automatically build constructors, getters and setters but they can be replaced with code.

Best,

Mario



-------- Messaggio Inoltrato --------
Oggetto: Re: [regext] Re: A simple test project about using JSContact in RDAP
Data:   Wed, 30 Apr 2025 09:02:04 +0200
Mittente:       Mario Loffredo <mario.loffr...@iit.cnr.it>
A:      Jasdip Singh <jasd...@arin.net>, regext@ietf.org <regext@ietf.org>



Hi Jasdip,

Lombok is not needed.

I just took the Java classes from jscontact-tools and arrange them for the example.

I'll update the example by excluding Lombok ASAP.

Best,

Mario


Il 29/04/2025 16:46, Jasdip Singh ha scritto:

Hi Mario,

I also just reviewed it. :) Looks simple enough using Lombok and @JsonProperty. One concern could be the experimental status of Lombok’s @SuperBuilder but looks like it’s here to stay. Thanks for sharing.

Jasdip

*From: *Mario Loffredo <mario.loffredo=40iit.cnr...@dmarc.ietf.org>
*Date: *Tuesday, April 29, 2025 at 9:46 AM
*To: *regext@ietf.org <regext@ietf.org>
*Subject: *[regext] Re: A simple test project about using JSContact in RDAP

Hi Andy,

thanks for the fast review.

I just commented on github about updating the Lombok version.

Please let me know if everything is OK.

Best,

Mario

Il 29/04/2025 15:38, Andrew (andy) Newton ha scritto:
> Hi Mario,
>
> I could not get it to compile (I put an issue in the tracker) but I
> looked at the test code. Unless I am missing something, this looks
> very straightforward. Thanks for doing this.
>
> -andy, without a hat
>
> On 4/29/25 06:40, Mario Loffredo wrote:
>> Hi,
>>
>> just made a simple project on GitHub
>> (https://github.com/mario-loffredo/TestJSContactProfile) to
>> demonstrate how it would be easy to implement the JSContact profile
>> for RDAP.
>>
>> The test at
>> https://github.com/mario-loffredo/TestJSContactProfile/blob/master/src/test/java/testJSContactProfileForRDAP/LocalizationsTest.java
>> is executed on the JSContact card reported in Figure 1 of
>> https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-jscontact/.
>>
>> The uid property has been removed. As for localizations, I think the
>> solution described in the JSContact profile document is the best way
>> to go, as it preserves the efficiency and flexibility of the original
>> proposal and, at the same time, allows implementers to handle
>> localizations without having to deal with JSONPointer.The test
>> project demonstrates that, using basic Java features (and I imagine
>> that the same features are available in all programming languages
>> ​​as well), an implementer can deserialize a JSContact card including
>> the "localizations" property into a simple data structure.
>>
>> Any feedback is appreciated.
>>
>> Best,
>>
>> Mario
>>
>>
>> --
>> Dott. Mario Loffredo
>> Senior Technologist
>> Technological Unit “Digital Innovation”
>> Institute of Informatics and Telematics (IIT)
>> National Research Council (CNR)
>> Address: Via G. Moruzzi 1, I-56124 PISA, Italy
>> Phone: +39.0503153497
>> Web:http://www.iit.cnr.it/mario.loffredo
>>
>>
>> _______________________________________________
>> regext mailing list -- regext@ietf.org
>> To unsubscribe send an email to regext-le...@ietf.org
>
> _______________________________________________
> regext mailing list -- regext@ietf.org
> To unsubscribe send an email to regext-le...@ietf.org

--
Dott. Mario Loffredo
Senior Technologist
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
Address: Via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo

_______________________________________________
regext mailing list -- regext@ietf.org
To unsubscribe send an email to regext-le...@ietf.org

--
Dott. Mario Loffredo
Senior Technologist
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
Address: Via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web:http://www.iit.cnr.it/mario.loffredo
_______________________________________________
regext mailing list -- regext@ietf.org
To unsubscribe send an email to regext-le...@ietf.org

Reply via email to