# Central configuration file for Ion services and modules.
# The contents are transformed into a dict that supports dot notation:
# CFG.broker.amqp.host
# Do not modify this file! Set overrides in pyon.local.yml

server:
  amqp:
    host: amoeba.ucsd.edu
    port: 5672
    username: guest
    password: guest
    vhost: /
    heartbeat: 30

system:
  # sysname - by default it is generated from your system's uname.
  # uncomment and set here if you want to lock it to something.
  #name: r2demo
  name:

cc:
  timeout:
    shutdown: 30.0
    heartbeat: 3.0
  proctype: green   # Type of ION process to spawn for new services/processes (green or python)

endpoint:
  receive:
    timeout: 10   # Receive timeout in seconds

interceptor:
  interceptors:
    sample:
      class: pyon.core.interceptor.sample.SampleInterceptor
    sampleprocessonly:
      class: pyon.core.interceptor.sample.SampleProcessOnlyInterceptor
    codec:
      class: pyon.core.interceptor.codec.CodecInterceptor
    validate:
      class: pyon.core.interceptor.validate.ValidateInterceptor
      config:
        enabled: true
    encode:
      class: pyon.core.interceptor.encode.EncodeInterceptor
  stack:
    message_outgoing: [validate, codec, encode]
    message_incoming: [encode, codec, validate]
    process_outgoing: [sampleprocessonly]
    process_incoming: [sampleprocessonly]

# Central configuration file for Ion services and modules.
# The contents are transformed into a dict that supports dot notation:
# CFG.broker.amqp.host
# Do not modify this file! Set overrides in pyon.local.yml

server:
  amqp:
    host: localhost
    port: 5672
    username: guest
    password: guest
    vhost: /
    heartbeat: 30

system:
  # sysname - by default it is generated from your system's uname.
  # uncomment and set here if you want to lock it to something.
  #name: r2demo
  name:

cc:
  timeout:
    shutdown: 30.0
    heartbeat: 3.0
  proctype: green   # Type of ION process to spawn for new services/processes (green or python)

endpoint:
  receive:
    timeout: 10   # Receive timeout in seconds

interceptor:
  interceptors:
    sample:
      class: pyon.core.interceptor.sample.SampleInterceptor
    sampleprocessonly:
      class: pyon.core.interceptor.sample.SampleProcessOnlyInterceptor
    codec:
      class: pyon.core.interceptor.codec.CodecInterceptor
    validate:
      class: pyon.core.interceptor.validate.ValidateInterceptor
      config:
        enabled: true
    encode:
      class: pyon.core.interceptor.encode.EncodeInterceptor
  stack:
    message_outgoing: [validate, codec, encode]
    message_incoming: [encode, codec, validate]
    process_outgoing: [sampleprocessonly]
    process_incoming: [sampleprocessonly]

Change default broker to localhost
Change default broker to localhost
