lib/openwfe/rudefinitions.rb in openwferu-0.9.11 vs lib/openwfe/rudefinitions.rb in openwferu-0.9.12

- old
+ new

@@ -55,10 +55,11 @@ S_WFID_GENERATOR = 'wfidGenerator' S_EXPRESSION_POOL = 'expressionPool' S_EXPRESSION_STORAGE = 'expressionStorage' S_PARTICIPANT_MAP = 'participantMap' S_SCHEDULER = 'scheduler' + S_ERROR_JOURNAL = 'errorJournal' # # some special expression names EN_ENVIRONMENT = 'environment' @@ -108,10 +109,13 @@ @application_context[S_EXPRESSION_STORAGE] end def get_participant_map @application_context[S_PARTICIPANT_MAP] end + def get_error_journal + @application_context[S_ERROR_JOURNAL] + end # # Returns the 'journal' service (or nil if there is no # journal service available). # @@ -127,10 +131,10 @@ result = [] @application_context.each do |k, v| result << v \ if OpenWFE::starts_with(k.to_s, S_EXPRESSION_STORAGE) end - return result + result end end end