added success message on re-add resources as well as on error case
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-checker-se-plugin@147109 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7f7cbb4b45
commit
f1fd321f77
|
@ -140,6 +140,7 @@ public class ResourceCheckerPlugin extends Plugin<ResourceCheckerPluginDeclarati
|
||||||
List<String> vosContexts = new ArrayList<String>();
|
List<String> vosContexts = new ArrayList<String>();
|
||||||
RetrieveContextsList.loadVOs(vosContexts);
|
RetrieveContextsList.loadVOs(vosContexts);
|
||||||
accessPointQuery(vosContexts, identifiers , ServiceEndpoint.class);
|
accessPointQuery(vosContexts, identifiers , ServiceEndpoint.class);
|
||||||
|
otherFailures = "\nThe above resources have been readded in the scopes they were missing!.";
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
otherFailures = "\n\nMoreover, while trying to re-add the following identifiers " + identifiers + " there was this error " + e.getMessage();
|
otherFailures = "\n\nMoreover, while trying to re-add the following identifiers " + identifiers + " there was this error " + e.getMessage();
|
||||||
logger.error("While readding the resources this error arose", e);
|
logger.error("While readding the resources this error arose", e);
|
||||||
|
|
Loading…
Reference in New Issue