Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed bash substitution

...

  1. Subscribing 

    Code Block
    languagebash
    curl -X PUT -H 'Content-Type: application/json' \
    -d '"{\"name\":\"unauthenticated.SEC_FAULT_OUTPUT\", \"url\":\"http://$DMAAP_IP:$DMAAP_PORT/events/unauthenticated.SEC_FAULT_OUTPUT\"}'" \
    http://$MSB_IP/api/holmes-engine-mgmt/v1/dmaap/sub

    After setting the subscribing url, a timer task will be started using the default query interval (15s).

  2. Publishing 

    Code Block
    languagebash
    curl -X PUT -H 'Content-Type: application/json' \
    -d '"{\"name\":\"unauthenticated.DCAE_CL_OUTPUT\", \"url\":\"http://$DMAAP_IP:$DMAAP_PORT/events/unauthenticated.DCAE_CL_OUTPUT\"}'" \
    http://$MSB_IP/api/holmes-engine-mgmt/v1/dmaap/pub

...