Fixed plugin
This commit is contained in:
parent
380c9611da
commit
bb750211bf
|
@ -121,7 +121,7 @@ public class ResourceCheckerPlugin extends Plugin {
|
|||
missingServices.add(service);
|
||||
missingResourcesPerContext.put(context, missingServices);
|
||||
|
||||
if(service.getOpLevel().equals(OperationLevel.ALERT_READD))
|
||||
if(service.getOpLevel().equals(OperationLevel.ALERT_READ))
|
||||
missingToReadArePresent = true;
|
||||
}
|
||||
Thread.sleep(1000 * SECONDS2WAIT);
|
||||
|
|
|
@ -20,7 +20,7 @@ public class BasicFunctionalityBean {
|
|||
private String name;
|
||||
private Class type;
|
||||
private String resourceId;
|
||||
private OperationLevel opLevel = OperationLevel.ALERT_READD;
|
||||
private OperationLevel opLevel = OperationLevel.ALERT_READ;
|
||||
private ContextLevel ctxLevel = ContextLevel.ALL;
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@ package org.gcube.informationsystem.resource_checker.beans;
|
|||
*/
|
||||
public enum OperationLevel {
|
||||
|
||||
ALERT_READD, // alert and readd the resource
|
||||
ALERT_READ, // alert and readd the resource
|
||||
ALERT // just alert it is missing
|
||||
|
||||
}
|
||||
|
|
|
@ -8,4 +8,4 @@ ServiceNames=HTTP-URI-Resolver,Persistence,StorageManager,HomeLibraryWebapp
|
|||
CategoryNames=Service,Accounting,DataStorage,DataAccess
|
||||
Types=ENDPOINT,ENDPOINT,ENDPOINT,GCOREENDPOINT
|
||||
Contexts=ALL,ALL,ALL,VO
|
||||
Operations=ALERT_READD,ALERT_READD,ALERT_READD,ALERT
|
||||
Operations=ALERT_READ,ALERT_READ,ALERT_READ,ALERT
|
|
@ -8,4 +8,4 @@ ServiceNames=HTTP-URI-Resolver,Persistence,StorageManager,HomeLibraryWebapp
|
|||
CategoryNames=Service,Accounting,DataStorage,DataAccess
|
||||
Types=ENDPOINT,ENDPOINT,ENDPOINT,GCOREENDPOINT
|
||||
Contexts=ALL,ALL,ALL,VO
|
||||
Operations=ALERT_READD,ALERT_READD,ALERT_READD,ALERT
|
||||
Operations=ALERT_READ,ALERT_READ,ALERT_READ,ALERT
|
Loading…
Reference in New Issue