Plantit-Common 2.1.3

API of event channel

Servers

  • amqp://masse-mq.dynu.net:62616/amqpproduction

    message broker for MAS/SE ADS exercise

Operations

  • SEND common/events

    Operation IDupdateState

    Available only on servers:

    object

    Accepts one of the following messages:

    • #0Greenhouse emitted status events

      Status changes emitted by the greenhouse

      object

      Examples

    • #1Transport Status Event

      a status and location of the refered transport

      object

      Examples

    • #2Warehouse Status Event

      a status and location of the refered stock place

      object

      Examples

    • #3Planning emitted status events

      Status changes emitted by the planning

      object

      Examples

Messages

  • #1General Error MessageGeneralErrorMsg

    General error response which can be emitted by all services alike

    Message IDGeneralErrorMsg
    object
  • #2Greenhouse emitted status eventsPlantingStatusEvent

    Status changes emitted by the greenhouse

    Message IDPlantingStatusEvent
    object
  • #3Transport Status EventTransportStatusEvent

    a status and location of the refered transport

    Message IDTransportStatusEvent
    object
  • #4Warehouse Status EventWarehouseStatusEvent

    a status and location of the refered stock place

    Message IDWarehouseStatusEvent
    object
  • #5Planning emitted status eventsPlanningStatusEvent

    Status changes emitted by the planning

    Message IDPlanningStatusEvent
    object

Schemas

  • object
  • object
  • object
  • object
  • object
  • object
  • PlantingStatus
    string
    Default value:"undefined"
      Allowed values:
    • "unavailable"
    • "reserved"
    • "ordered"
    • "cancelled"
    • "planted"
    • "growing"
    • "harvested"
    • "depraved"
    • "delivered"
    • "complete"
    • "undefined"
  • TransportStatus
    string
    Default value:"undefined"
      Allowed values:
    • "unavailable"
    • "ordered"
    • "cancelled"
    • "loaded"
    • "driving"
    • "holding"
    • "unloaded"
    • "complete"
    • "undefined"
  • WarehouseStatus
    string
    Default value:"undefined"
      Allowed values:
    • "unavailable"
    • "reserved"
    • "cancelled"
    • "occupied"
    • "checkout"
    • "complete"
    • "undefined"
  • PlanningStatus
    string
    Default value:"undefined"
      Allowed values:
    • "unavailable"
    • "reserved"
    • "ordered"
    • "cancelled"
    • "planted"
    • "growing"
    • "harvested"
    • "depraved"
    • "loaded"
    • "moving"
    • "unloaded"
    • "delivered"
    • "undefined"