You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Bhathiya Jayasekara <to...@gmail.com> on 2012/06/07 21:36:07 UTC

Integrate Apache Sling to Apache Airavata Registry: Plan for coming week

Hi devs,

I would like to explain my project[1] plan for the next week. After
discussing with Saminda, we decided to have 3 tasks for next week as
follows.

Task 1:
Implement a Sling based class with selected important methods to have the
functionality of AiravataJCRRegistry class, and test implemented
functionality with Sling Launchpad[2] with its inbuilt
jackrabbit repository.

Task 2:
Plug a separate jackrabbit repository to Sling Launchpad and test
implemented functionality in task 1.

Task 3:
Try to use Sling Launchpad with its inbuilt Jackrabbit repository for user
management tasks such as adding and deleting users. Do the same thing with
Sling Launchpad with a separate jackrabbit repository.

Thank you,
Regards,

 -Bhathiya

[1] https://issues.apache.org/jira/browse/AIRAVATA-338
[2] http://sling.apache.org/site/the-sling-launchpad.html

Re: Integrate Apache Sling to Apache Airavata Registry: Plan for coming week

Posted by Bhathiya Jayasekara <to...@gmail.com>.
Hi devs,

Here is my current progress update.

*Task 1:*

According to my last email, I started task 1 and implemented
'getServiceDescription()' method using Sling. I used a
java.net.HttpURLConnection connection to communicate with Sling launchpad
and org.json.JSONObject to parse the received JSON string. Everything works
fine up to that point and I'm able to get Service Description in XML
format.

But when creating ServiceDescription object, I got following exception. I
talked about this with my gsoc mentors and had their opinion. And now I'm
working on it.

Exception in thread "main" java.lang.ExceptionInInitializerError
        at
org.apache.airavata.schemas.gfac.ServiceDescriptionDocument$Factory.newInstance
(ServiceDescriptionDocument.java:45)
at
org.apache.airavata.commons.gfac.type.ServiceDescription.<init>(ServiceDescription.java:34)
 at
org.apache.airavata.commons.gfac.type.ServiceDescription.fromXML(ServiceDescription.java:47)

*Task 2:*

So far I was working with dummy repository data which were stored in
embedded jackrabbit repository of Sling launchpad and now I'm trying to
plug a separate jackrabbit server so I can work with real data created
through xbaya. According to a thread in Sling-user mailing list archive, I
configured an external repository but I keep getting http 503 error when I
try to access the repository. I asked this from Sling-user mailing list and
waiting for an reply.

That's current status of the project and I hope to complete all 3 tasks
within the week itself.

Thank you,

 --Bhathiya


On Fri, Jun 8, 2012 at 1:06 AM, Bhathiya Jayasekara
<to...@gmail.com>wrote:

> Hi devs,
>
> I would like to explain my project[1] plan for the next week. After
> discussing with Saminda, we decided to have 3 tasks for next week as
> follows.
>
> Task 1:
> Implement a Sling based class with selected important methods to have the
> functionality of AiravataJCRRegistry class, and test implemented
> functionality with Sling Launchpad[2] with its inbuilt
> jackrabbit repository.
>
> Task 2:
> Plug a separate jackrabbit repository to Sling Launchpad and test
> implemented functionality in task 1.
>
> Task 3:
> Try to use Sling Launchpad with its inbuilt Jackrabbit repository for user
> management tasks such as adding and deleting users. Do the same thing with
> Sling Launchpad with a separate jackrabbit repository.
>
> Thank you,
> Regards,
>
>  -Bhathiya
>
> [1] https://issues.apache.org/jira/browse/AIRAVATA-338
> [2] http://sling.apache.org/site/the-sling-launchpad.html
>
>
>