Fixed plugin

This commit is contained in:
Luca Frosini 2021-06-15 14:12:40 +02:00
parent 380c9611da
commit bb750211bf
5 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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;
/**

View File

@ -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
}

View File

@ -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

View File

@ -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