porting on gCore 060
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@17060 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d95f9ce3ed
commit
8010840866
|
@ -5,7 +5,7 @@
|
||||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.USER_LIBRARY/GCORELIBS"/>
|
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.USER_LIBRARY/GCORELIBS"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/DISTRO.RESOURCES"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/DISTRO.RESOURCES"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/GCF.05x"/>
|
|
||||||
<classpathentry kind="lib" path="/Dependencies/ISREGISTRY/org.gcube.informationsystem.registry.stubs.jar"/>
|
<classpathentry kind="lib" path="/Dependencies/ISREGISTRY/org.gcube.informationsystem.registry.stubs.jar"/>
|
||||||
|
<classpathentry combineaccessrules="false" kind="src" path="/GCUBE_CORE"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
|
v. 1.3.2 (20-10-2009)
|
||||||
|
* porting on gCore 060
|
||||||
|
|
||||||
v. 1.3.1 (10-2009)
|
v. 1.3.1 (10-2009)
|
||||||
* startRegistration/updateState/AddRemoveScopes operations removed from Factory Service
|
* startRegistration/updateState/AddRemoveScopes operations removed from Factory Service
|
||||||
* cleanup of old notification code in ProfileResource
|
* cleanup of old notification code in ProfileResource
|
||||||
* cleanup of resource package
|
* cleanup of resource package
|
||||||
|
|
||||||
v. 1.3.0 (04-09-2009)
|
v. 1.3.0 (04-09-2009)
|
||||||
* Porting on the new IS-IC portType
|
* Porting on the new IS-IC portType
|
||||||
* Some internal refactoring
|
* Some internal refactoring
|
||||||
|
|
||||||
v. 1.2.0 (27-05-2009)
|
v. 1.2.0 (27-05-2009)
|
||||||
* porting on gCore0.5.0
|
* porting on gCore0.5.0
|
||||||
* new Service Map management
|
* new Service Map management
|
||||||
|
|
|
@ -9,12 +9,6 @@
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
override="false" />
|
override="false" />
|
||||||
|
|
||||||
<environment
|
|
||||||
name="securityManagerClass"
|
|
||||||
value="org.gcube.common.core.security.GCUBESimpleServiceSecurityManager"
|
|
||||||
type="java.lang.String"
|
|
||||||
override="false" />
|
|
||||||
|
|
||||||
<!-- Lifetime for temporary resources, after this period temporary resources are destroyed-->
|
<!-- Lifetime for temporary resources, after this period temporary resources are destroyed-->
|
||||||
<environment
|
<environment
|
||||||
name="temporaryResourceLifetimeInMs"
|
name="temporaryResourceLifetimeInMs"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<Main>
|
<Main>
|
||||||
<Description>IS-Registry: validate, register and unregister GCUBE resources to/from the IS. It also publishes Topics for notifications about GCUBE resource events</Description>
|
<Description>IS-Registry: validate, register and unregister GCUBE resources to/from the IS. It also publishes Topics for notifications about GCUBE resource events</Description>
|
||||||
<Name>IS-Registry-service</Name>
|
<Name>IS-Registry-service</Name>
|
||||||
<Version>1.3.1</Version>
|
<Version>1.3.2</Version>
|
||||||
<Mandatory level="VO"/>
|
<Mandatory level="VO"/>
|
||||||
<Shareable level="VO"/>
|
<Shareable level="VO"/>
|
||||||
<GHNRequirements>
|
<GHNRequirements>
|
||||||
|
|
|
@ -55,6 +55,7 @@ public class ServiceContext extends GCUBEServiceContext {
|
||||||
|
|
||||||
protected GCUBEProducer<RegistryTopic, GCUBEResource> topicProducer;
|
protected GCUBEProducer<RegistryTopic, GCUBEResource> topicProducer;
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
protected class NotificationResourceScheduler extends GCUBEScheduledHandler {
|
protected class NotificationResourceScheduler extends GCUBEScheduledHandler {
|
||||||
|
|
||||||
|
|
||||||
|
@ -125,7 +126,7 @@ public class ServiceContext extends GCUBEServiceContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
NotificationResourceScheduler scheduler = new NotificationResourceScheduler(20, GCUBEScheduledHandler.Mode.LAZY);
|
NotificationResourceScheduler scheduler = new NotificationResourceScheduler(20, GCUBEScheduledHandler.Mode.LAZY);
|
||||||
scheduler.setHandled(new GCUBEHandler(){
|
scheduler.setScheduled(new GCUBEHandler(){
|
||||||
@Override
|
@Override
|
||||||
public void run() throws Exception {
|
public void run() throws Exception {
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package org.gcube.informationsystem.registry.impl.state;
|
package org.gcube.informationsystem.registry.impl.state;
|
||||||
|
|
||||||
|
import org.gcube.common.core.contexts.GHNContext;
|
||||||
|
import org.gcube.common.core.informationsystem.publisher.ISPublisher;
|
||||||
import org.gcube.common.core.resources.GCUBEResource;
|
import org.gcube.common.core.resources.GCUBEResource;
|
||||||
import org.gcube.common.core.state.GCUBEWSResource;
|
import org.gcube.common.core.state.GCUBEWSResource;
|
||||||
import org.gcube.common.core.utils.logging.GCUBELog;
|
import org.gcube.common.core.utils.logging.GCUBELog;
|
||||||
|
@ -114,4 +116,12 @@ public class ProfileResource extends GCUBEWSResource {
|
||||||
this.store();
|
this.store();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.gcube.common.core.state.GCUBEWSResource#getPublisher()
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected ISPublisher getPublisher() throws Exception {
|
||||||
|
return GHNContext.getImplementation(ISPublisher.class);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue