File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed
src/DIRAC/ResourceStatusSystem/Utilities Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ class RssConfiguration:
2020 {
2121 Config:
2222 {
23- State : Active | InActive,
2423 Cache : 300,
2524 FromAddress : 'email@site.domain'
26- StatusType :
25+ Policies
26+ {
27+ }
28+ PolicyActions
2729 {
28- default : all,
29- StorageElement: ReadAccess, WriteAccess, CheckAccess, RemoveAccess
3030 }
3131 }
3232 }
@@ -81,24 +81,3 @@ def getNotifications():
8181 """
8282
8383 return Utils .getCSTree (f"{ _rssConfigPath } /Notification" )
84-
85-
86- def getValidElements ():
87- """
88- Returns from the OperationsHelper: <_rssConfigPath>/GeneralConfig/ValidElements
89- """
90- _DEFAULTS = ("Site" , "Resource" )
91-
92- # result = Operations().getValue( '%s/GeneralConfig/ValidElements' % _rssConfigPath )
93- # if result is not None:
94- # return List.fromChar( result )
95- return _DEFAULTS
96-
97-
98- def getValidStatus ():
99- """
100- Returns a list of statuses as were defined on the RSS(State)Machine
101- """
102-
103- validStatus = RSSMachine (None ).getStates ()
104- return S_OK (validStatus )
You can’t perform that action at this time.
0 commit comments