[Fiware-middleware] Kiaragen

Dmitri Rubinstein Dmitri.Rubinstein at dfki.de
Wed Dec 3 21:31:52 CET 2014


Hi guys,

seems that everything finally works now.

We have feature-serialization-merge branch in the KIARA repository that 
is current release candidate. Please everybody, who can, clone it and 
check. Both Maven and Gradle should work, build and test all the stuff. 
When everything works I will finally merge it with the master branch.

Rafael implemented serialization test and I finished Calculator 
integration tests which now includes:

Synchronous test
Synchronous parallel test (Synchronous calls with multiple threads)
Asynchronous test

Unit Testing Plan document is here:

https://docs.google.com/document/d/139MJwomBAAKt0s2xMvkMtEkdcBW-_AczJTANpveRVxo/edit

Please enter your tests.

I still need to implement a pure transport test, hopefully I can finish 
it tomorrow.

@Rafael: I found a way to fix TransportMessageDispatcher without 
serialization API changes. However, in future release we will need to 
modify API since precomputing size of the ByteBuffer will not work well 
with the text-based protocols like JSON-RPC.

@Rafael: I did small modifications in the KIARAProxy.stg, it is pushed 
already to kiaragen and tested with KIARA. Please check last commit.

@Christof: I fixed gradle build script for kiaragen tool so it can be 
used from the command line:

run:

gradle installApp

then kiaragen application is in build/install/kiaragen.

run for generating source code:

build/install/kiaragen/bin/kiaragen -example gradle -d OUT Calculator.idl

Best,

Dmitri

On 12/03/14 12:58, Rafael Lara Álvarez wrote:
> Hi,
>
>
> I already published to the git repo a new version of KIARA in branch
> feature_serialization, and a new stable release of Kiaragen.
>
>
> Things to know about the status of the projects:
>
>   * ​KIARA:​
>       o Calculator example inside KIARA is not working yet (I wasn't
>         able to see what is happening, it must be something trivial,
>         though I cannot find it). Please Dmitri take a look at it, you
>         know better your code than I do and if you see something weird
>         just tell me.
>       o I have modified the build.gradle file so that it runs all the
>         tests before compiling the library.
>       o ​We've found a bug in the serialization​ mechanism and it's not
>         working with multi-dimensional arrays, so please don't use
>         those in your IDL files until it's fixed.
>
>   * KIARAG​EN
>       o In the directory lib they are located all the libraries (jar
>         files) that will be necessary to compile kiaragen and also to
>         compile and execute the projects generated with it (still not
>         found a way to compile the generated projects getting rid of the
>         neccessary .jar files)
>       o I have tested the generated code and it compiles and works properly.
>
> ​​​An example of an IDL file that can be used to test kiaragen is the
> following:
>
> service Calculator {
>
> long add (long n1, long n2);
> long substract (long n1, long n2);
>
> }
>
> It should work fine with procedures that receive or return a user
> defined structure, but I'm still testing it to cover all the possible cases.
>
> ​Take a look at the code and if you have any doubts please ask me.
>
> Best,
>
> Rafael
>
>
>
>
> ------------------------------------------------------------------------
> *De:* Rafael Lara Álvarez
> *Enviado:* miércoles, 3 de diciembre de 2014 8:09
> *Para:* Dmitri Rubinstein; Marti Christof (mach)
> *Asunto:* Kiaragen
>
> Hi,
>
>
> I had several problems yesterday with the last changes on the code that
> I made. I'm fixing them right now, as soon as the project it's ready
> I'll inform you both.
>
>
> Sorry for the delay.
>
>
> Best,
>
>
> Rafa
>




More information about the Fiware-middleware mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy