#692 Restore the old message format.
Merged 7 years ago by ignatenkobrain. Opened 7 years ago by ralph.

@@ -245,7 +245,7 @@ 

          module_build_service.messaging.publish(

              service='mbs',

              topic='module.state.change',

-             msg=module.json(),  # Note the state is "init" here...

+             msg=module.extended_json(),  # Note the state is "init" here...

              conf=conf,

          )

          return module
@@ -274,7 +274,7 @@ 

              module_build_service.messaging.publish(

                  service='mbs',

                  topic='module.state.change',

-                 msg=self.json(),  # Note the state is "init" here...

+                 msg=self.extended_json(),

                  conf=conf,

              )

  

The message format broke in 3cb41aa

The resulted in tracebacks in pdc-updater when it tried to learn things
about a module that was just submitted. It relied on certain fields
(stream) being in the message body. This change restores those fields
to get things working again.

rebased onto 3b93dc7

7 years ago

Pull-Request has been merged by ignatenkobrain

7 years ago