diff --git a/.gitattributes b/.gitattributes index 1b330920c8375cc4c1a59b04890b726c51c58cd7..b51b22aed8f703afb1699326c9cb24e5e4894a90 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2423,6 +2423,10 @@ LCS/MSLofar/test/tBeamTables.in_during_filled -text LCS/MSLofar/test/tBeamTables.in_hd/CS001-iHBADeltas.conf -text LCS/MSLofar/test/tBeamTables.in_hd/DE601-iHBADeltas.conf -text LCS/MSLofar/test/tBeamTables.in_hd/RS106-iHBADeltas.conf -text +LCS/MessageBus/data/feedback_dp_44833.txt -text +LCS/MessageBus/data/feedback_dp_empty.txt -text +LCS/MessageBus/data/feedback_dp_no_ids.txt -text +LCS/MessageBus/data/feedback_dp_xml_error.txt -text LCS/MessageBus/src/LofarMsgTemplate.txt -text LCS/MessageBus/src/Message.cc -text LCS/MessageBus/src/MsgBus.py -text diff --git a/LCS/MessageBus/data/feedback_dp_44833.txt b/LCS/MessageBus/data/feedback_dp_44833.txt new file mode 100644 index 0000000000000000000000000000000000000000..e6a7627720e1a4fcd441bdf2695137b23c75118f --- /dev/null +++ b/LCS/MessageBus/data/feedback_dp_44833.txt @@ -0,0 +1,40 @@ +<message> + <header> + <system>LOFAR</system> + <version>1.0.0</version> + <protocol> + <name>lofar.observation.start</name> + <version>1.0</version> + </protocol> + <source> + <name>mySubSystem</name> + <user>user</user> + <uuid></uuid> + <timestamp></timestamp> + <summary>some test message</summary> + </source> + <ids> + <momid>12345</momid> + <sasid>44883</sasid> + </ids> + </header> + <payload> +Observation.Correlator.channelWidth=3051.7578125 +Observation.Correlator.channelsPerSubband=64 +Observation.Correlator.integrationInterval=1.00139008 +Observation.DataProducts.Output_Correlated_[0].SAP=0 +Observation.DataProducts.Output_Correlated_[0].centralFrequency=115039062.500000 +Observation.DataProducts.Output_Correlated_[0].channelWidth=3051.757812 +Observation.DataProducts.Output_Correlated_[0].channelsPerSubband=64 +Observation.DataProducts.Output_Correlated_[0].duration=119.165420 +Observation.DataProducts.Output_Correlated_[0].fileFormat=AIPS++/CASA +Observation.DataProducts.Output_Correlated_[0].filename=L257915_SAP000_SB000_uv.MS +Observation.DataProducts.Output_Correlated_[0].integrationInterval=1.001390 +Observation.DataProducts.Output_Correlated_[0].location=locus001:/data/L257915/ +Observation.DataProducts.Output_Correlated_[0].percentageWritten=100 +Observation.DataProducts.Output_Correlated_[0].size=268083200 +Observation.DataProducts.Output_Correlated_[0].startTime=2015-01-15 09:32:09 +Observation.DataProducts.Output_Correlated_[0].stationSubband=77 +Observation.DataProducts.Output_Correlated_[0].subband=0 + </payload> +</message> diff --git a/LCS/MessageBus/data/feedback_dp_empty.txt b/LCS/MessageBus/data/feedback_dp_empty.txt new file mode 100644 index 0000000000000000000000000000000000000000..9c8bb9a44d8a26a87fea2ea595b24daeec526bc1 --- /dev/null +++ b/LCS/MessageBus/data/feedback_dp_empty.txt @@ -0,0 +1,23 @@ +<message> + <header> + <system>LOFAR</system> + <version>1.0.0</version> + <protocol> + <name>lofar.observation.start</name> + <version>1.0</version> + </protocol> + <source> + <name>mySubSystem</name> + <user>user</user> + <uuid></uuid> + <timestamp></timestamp> + <summary>some test message</summary> + </source> + <ids> + <momid>12345</momid> + <sasid>44883</sasid> + </ids> + </header> + <payload> + </payload> +</message> diff --git a/LCS/MessageBus/data/feedback_dp_no_ids.txt b/LCS/MessageBus/data/feedback_dp_no_ids.txt new file mode 100644 index 0000000000000000000000000000000000000000..101d55bcf0b4bc087b7e4cb04a5b1d330ece29ab --- /dev/null +++ b/LCS/MessageBus/data/feedback_dp_no_ids.txt @@ -0,0 +1,40 @@ +<message> + <header> + <system>LOFAR</system> + <version>1.0.0</version> + <protocol> + <name>lofar.observation.start</name> + <version>1.0</version> + </protocol> + <source> + <name>mySubSystem</name> + <user>user</user> + <uuid></uuid> + <timestamp></timestamp> + <summary>some test message</summary> + </source> + <ids> + <momid></momid> + <sasid></sasid> + </ids> + </header> + <payload> +Observation.Correlator.channelWidth=3051.7578125 +Observation.Correlator.channelsPerSubband=64 +Observation.Correlator.integrationInterval=1.00139008 +Observation.DataProducts.Output_Correlated_[0].SAP=0 +Observation.DataProducts.Output_Correlated_[0].centralFrequency=115039062.500000 +Observation.DataProducts.Output_Correlated_[0].channelWidth=3051.757812 +Observation.DataProducts.Output_Correlated_[0].channelsPerSubband=64 +Observation.DataProducts.Output_Correlated_[0].duration=119.165420 +Observation.DataProducts.Output_Correlated_[0].fileFormat=AIPS++/CASA +Observation.DataProducts.Output_Correlated_[0].filename=L257915_SAP000_SB000_uv.MS +Observation.DataProducts.Output_Correlated_[0].integrationInterval=1.001390 +Observation.DataProducts.Output_Correlated_[0].location=locus001:/data/L257915/ +Observation.DataProducts.Output_Correlated_[0].percentageWritten=100 +Observation.DataProducts.Output_Correlated_[0].size=268083200 +Observation.DataProducts.Output_Correlated_[0].startTime=2015-01-15 09:32:09 +Observation.DataProducts.Output_Correlated_[0].stationSubband=77 +Observation.DataProducts.Output_Correlated_[0].subband=0 + </payload> +</message> diff --git a/LCS/MessageBus/data/feedback_dp_xml_error.txt b/LCS/MessageBus/data/feedback_dp_xml_error.txt new file mode 100644 index 0000000000000000000000000000000000000000..0e7ebf05ed491bfb68e6db14b3476647223bca9c --- /dev/null +++ b/LCS/MessageBus/data/feedback_dp_xml_error.txt @@ -0,0 +1,40 @@ +<message> + <header> + <system>LOFAR</system> + <version>1.0.0</version> + <protocol> + <name>lofar.observation.start</name> + <version>1.0</version> + </protocol> + <source> + <name>mySubSystem</name> + <user>user</user> + <uuid></uuid> + <timestamp></timestamp> + <summary>some test message</summary> + </source> + <ids> + <momid>12345</momid> + <sasid>44883</sasid> + </ids> + </header> + <payload_illegal_tag> +Observation.Correlator.channelWidth=3051.7578125 +Observation.Correlator.channelsPerSubband=64 +Observation.Correlator.integrationInterval=1.00139008 +Observation.DataProducts.Output_Correlated_[0].SAP=0 +Observation.DataProducts.Output_Correlated_[0].centralFrequency=115039062.500000 +Observation.DataProducts.Output_Correlated_[0].channelWidth=3051.757812 +Observation.DataProducts.Output_Correlated_[0].channelsPerSubband=64 +Observation.DataProducts.Output_Correlated_[0].duration=119.165420 +Observation.DataProducts.Output_Correlated_[0].fileFormat=AIPS++/CASA +Observation.DataProducts.Output_Correlated_[0].filename=L257915_SAP000_SB000_uv.MS +Observation.DataProducts.Output_Correlated_[0].integrationInterval=1.001390 +Observation.DataProducts.Output_Correlated_[0].location=locus001:/data/L257915/ +Observation.DataProducts.Output_Correlated_[0].percentageWritten=100 +Observation.DataProducts.Output_Correlated_[0].size=268083200 +Observation.DataProducts.Output_Correlated_[0].startTime=2015-01-15 09:32:09 +Observation.DataProducts.Output_Correlated_[0].stationSubband=77 +Observation.DataProducts.Output_Correlated_[0].subband=0 + </payload> +</message>