Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Gria Information Gathered

Hi guys, I will try to clarify some things.

First of all I haven't found a way to get the JobService link  (https://iwr-geclipse.fzk.de:8442/gria-basic-app-services/services/JobService) and the data service link (https://iwr-geclipse.fzk.de:8442/gria-basic-app-services/services/DataService). I am not sure if this is even possible actually. In my code examples I hard coded them.

What we can get if we have the job service link is all the application that the user can use like Mark said. We can get the available applications by "quering" the job service.

If we have the data service link we can get all the data staggers that the user has created, even if he has used another client (GRIA client) than g-eclipse.

Thanks,
Nick.

Mark McArdle wrote:
Hi, Mathias, Nick,

Maybe I can clarify, there are two distinct pieces of information here
at different levels.

The first piece is an Application description which describes a type of
application that a Job Service offers.
A list of these applications URI's can be got from a Job Service using
the method 

String[] getApplications()

To then get the detailed information as seen below use 

Document getApplicationMetadataDetailed(String applicationURI)

In this case the job type is
'http://it-innovation.soton.ac.uk/grid/imagemagick/swirl'
And it has one input and one output


The second piece of information is from an instance of a data stager
which would have been created when the job was instantiated.
There is not the complete information here from what I can see, the most
important piece missing being the ConversationID which uniquely
identifies the resource on the service.


Mark McArdle
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK

tel: +44 23 8076 0834
fax: +44 23 8076 0833

mailto:mm@xxxxxxxxxxxxxxxxxxxxxxxxx
http://www.it-innovation.soton.ac.uk  

  
-----Original Message-----
From: geclipse-dev-bounces@xxxxxxxxxxx 
[mailto:geclipse-dev-bounces@xxxxxxxxxxx] On Behalf Of 
Stuempert, Mathias IWR
Sent: 26 November 2007 09:46
To: Developer mailing list
Subject: {Disarmed} AW: [geclipse-dev] Gria Information Gathered

Hi Nick,

 

Some questions arise for me:

 

1)       Where did you get this information from?

 

2)       The information you presented seems not to be the 
GRIA services but kind of "instances" created with the 
services. Do not mix up a Data Service and a Data Stager or a 
Job Service and a Job. What we would like to have from the 
info system are the services and not the Data Stagers for 
instance. A Data Stager itself corresponds to a Grid 
Connection in the g-Eclipse sense and can be created from a 
Data Service using the mount action. Maybe I am wrong here 
but for me it seems that we are talking about different things here.

 

Maybe IT Innovation can clarify ...

 

Cheers, Mathias

 

________________________________

Von: geclipse-dev-bounces@xxxxxxxxxxx 
[mailto:geclipse-dev-bounces@xxxxxxxxxxx] Im Auftrag von Nick 
Tsioutsias
Gesendet: Freitag, 23. November 2007 10:15
An: Developer mailing list
Betreff: [geclipse-dev] Gria Information Gathered

 

Hello everyone. I have been looking in how to get information 
about the GRIA services and data and I have managed to get 
the following:

I got all the services that are provided by our example GRIA 
server in iwr-geclipse.fzk.de. I can get the information in 
the following xml format:

________________________________

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="">
    
<name>http://it-innovation.soton.ac.uk/grid/imagemagick/swirl</name> 
    <version>1.0.0</version>
    <description>Application to swirl an image</description>
    <application-inputType>
        <name>source-image</name>
        <type>jpg</type>
        <description>image file of any type</description>
    </application-inputType>
    <application-outputType>
        <name>swirled-image</name>
        <type>jpg</type>
        <description>swirled image of the same type as input 
type</description>
    </application-outputType>
</application>

________________________________


As you can see I also get the inputs and the outputs of the job.

I also managed to get the data staggers that I had created 
with the GRIA client in xml format like:

________________________________

<ns4:title xmlns:ns4=MailScanner has detected a possible 
fraud attempt from "purl.org" claiming to be 
"http://purl.org/dc/elements/1.1/" 
<http://purl.org/dc/elements/1.1/> >MyData</ns4:title> 
<ns5:serviceresourcetype 
xmlns:ns5="http://it-innovation.soton.ac.uk/2005/grid" 
<http://it-innovation.soton.ac.uk/2005/grid> 
    
http://www.it-innovation.soton.ac.uk/grid/resource/data</ns5:
      
serviceresourcetype>
<ns6:status 
xmlns:ns6="http://it-innovation.soton.ac.uk/2005/grid" 
<http://it-innovation.soton.ac.uk/2005/grid> >full</ns6:status>

________________________________


As you can see I get the title of the data stagger and 
whether it is full or empty. I think this information is 
enough for the infosystem to provide. If you agree with me in 
this, then this means that we will not need the registry 
service that Ariel tries so hard to install :)

Nikos.


    
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev

  


Back to the top