├── .gitignore ├── README.md ├── Vagrantfile ├── ngrok ├── ngrok.yml ├── playbook.yml ├── rabbitmq.config ├── run-ngrok-locally.sh ├── src ├── serverless-webhook-receiver │ ├── .gitignore │ ├── composer.json │ ├── composer.lock │ ├── deploy.sh │ └── index.php ├── web │ ├── .bp-config │ │ └── options.json │ ├── .gitignore │ ├── classes │ │ └── Guestbook │ │ │ ├── CommentService.php │ │ │ └── WebhookService.php │ ├── composer.json │ ├── composer.lock │ ├── config.php │ ├── dependencies.php │ ├── manifest.yml │ ├── public │ │ ├── .htaccess │ │ ├── index.php │ │ ├── receive.php │ │ ├── receive1.php │ │ ├── receive2.php │ │ └── receive3.php │ ├── routes.php │ └── templates │ │ ├── add-comment.phtml │ │ ├── comments.phtml │ │ ├── footer.phtml │ │ ├── header.phtml │ │ └── webhooks.phtml └── worker │ ├── .gitignore │ ├── comment-worker.js │ ├── manifest-comment.yml │ ├── manifest-notification.yml │ ├── notification-worker.js │ └── package.json └── systemd ├── couchdb-haproxy.service ├── couchdb.service ├── guestbook-comment-worker.service ├── guestbook-notification-worker.service ├── guestbook-web.service └── requestbin.service /.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant/ 2 | playbook.retry 3 | couchdb/ 4 | requestbin/ 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/Vagrantfile -------------------------------------------------------------------------------- /ngrok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/ngrok -------------------------------------------------------------------------------- /ngrok.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/ngrok.yml -------------------------------------------------------------------------------- /playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/playbook.yml -------------------------------------------------------------------------------- /rabbitmq.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/rabbitmq.config -------------------------------------------------------------------------------- /run-ngrok-locally.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/run-ngrok-locally.sh -------------------------------------------------------------------------------- /src/serverless-webhook-receiver/.gitignore: -------------------------------------------------------------------------------- 1 | hook.zip 2 | vendor/* 3 | -------------------------------------------------------------------------------- /src/serverless-webhook-receiver/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/serverless-webhook-receiver/composer.json -------------------------------------------------------------------------------- /src/serverless-webhook-receiver/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/serverless-webhook-receiver/composer.lock -------------------------------------------------------------------------------- /src/serverless-webhook-receiver/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/serverless-webhook-receiver/deploy.sh -------------------------------------------------------------------------------- /src/serverless-webhook-receiver/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/serverless-webhook-receiver/index.php -------------------------------------------------------------------------------- /src/web/.bp-config/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "WEBDIR": "public" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /src/web/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/* 2 | -------------------------------------------------------------------------------- /src/web/classes/Guestbook/CommentService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/classes/Guestbook/CommentService.php -------------------------------------------------------------------------------- /src/web/classes/Guestbook/WebhookService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/classes/Guestbook/WebhookService.php -------------------------------------------------------------------------------- /src/web/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/composer.json -------------------------------------------------------------------------------- /src/web/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/composer.lock -------------------------------------------------------------------------------- /src/web/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/config.php -------------------------------------------------------------------------------- /src/web/dependencies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/dependencies.php -------------------------------------------------------------------------------- /src/web/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/manifest.yml -------------------------------------------------------------------------------- /src/web/public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/public/.htaccess -------------------------------------------------------------------------------- /src/web/public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/public/index.php -------------------------------------------------------------------------------- /src/web/public/receive.php: -------------------------------------------------------------------------------- 1 | receive3.php -------------------------------------------------------------------------------- /src/web/public/receive1.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/web/templates/header.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/templates/header.phtml -------------------------------------------------------------------------------- /src/web/templates/webhooks.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/web/templates/webhooks.phtml -------------------------------------------------------------------------------- /src/worker/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | -------------------------------------------------------------------------------- /src/worker/comment-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/worker/comment-worker.js -------------------------------------------------------------------------------- /src/worker/manifest-comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/worker/manifest-comment.yml -------------------------------------------------------------------------------- /src/worker/manifest-notification.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/worker/manifest-notification.yml -------------------------------------------------------------------------------- /src/worker/notification-worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/worker/notification-worker.js -------------------------------------------------------------------------------- /src/worker/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/src/worker/package.json -------------------------------------------------------------------------------- /systemd/couchdb-haproxy.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/couchdb-haproxy.service -------------------------------------------------------------------------------- /systemd/couchdb.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/couchdb.service -------------------------------------------------------------------------------- /systemd/guestbook-comment-worker.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/guestbook-comment-worker.service -------------------------------------------------------------------------------- /systemd/guestbook-notification-worker.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/guestbook-notification-worker.service -------------------------------------------------------------------------------- /systemd/guestbook-web.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/guestbook-web.service -------------------------------------------------------------------------------- /systemd/requestbin.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibm-watson-data-lab/guestbook/HEAD/systemd/requestbin.service --------------------------------------------------------------------------------