* feat: add the readme for sample app codes, and modify the code-sample page to include bookstore app
* fix: fix the wrong link
* fix: add a note box to mention all 3 parts of knative are being convered in bookstore tutorial
* fix: update the code according to pierdipi's suggestions
* feat: improve the user experience for the setup script
* feat: improve the user experience for the solution script
* fix: remove unnecessary images
* fix: remove the image registry information in the ML services
* fix: remove the sample webhook URL
* feat: modify the config map to manually disable the scale-to-zero feature
* fix: adding the waiting in the solution setup script
* fix: adding the waiting in the solution setup script for pipe
* feat: add the first three pages of the sample app tutorial
* Apply suggestions from code review
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* fix: fix the review comments in pg0 and pg1
* feat: add blog post 2
* feat: adding the images for page 2
* add: add more pages
* add: adding the rest of the pages
* add: modify the nav
* add: finishing polishing
* fix: update the iframe embedded video link
* fix: fix the video embedding dimension and the access
* fix: link minor error fix
* fix: hide the setup script section
* Apply suggestions from code review
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Update docs/bookstore/page-0/page-0-intro.md
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Update docs/bookstore/page-0.5/pg0.5-env-setup.md
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* fix: fix christoph's comment
* fix: Remove all the extra new lines
* fix: update kubernetes to Kubernetes
* Apply suggestions from code review
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* fix: fix the wrong indentation in the yaml files
* Update docs/bookstore/page-2/pg2-sentiment-svc.md
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* fix: fix review comments
* fix: change the console output to text - pg0.5
* fix: replace the console output pic with plaintextg for pg1
* fix: replace the console output pic with plaintext for pg 2&3
* fix: replace the console output pic with plaintext for pg 4
* fix: replace the console output pic with plaintext for pg 5
* fix: replace the console output pic with plaintext for pg 6
* fix: replace the console output pic with plaintext for pg 7
* fix: fix christoph's comments
* Apply suggestions from code review
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* fix: applying christoph's comments fix
* fix: fix christoph's nit comments + open the link in new tab
* fix: make sure all the command have the same root which is /start
* fix: make all the links open in the new tab
* fix: fix small errors
* fix: remove default namespace
* Update docs/bookstore/page-1/pg1-review-svc-1.md
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Apply suggestions from code review
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* fix: update the wording to follow the Knative's branding guideline
* fix: update the wording to follow the Knative's branding guideline
* fix: update the naming of the pages
* fix: fixing the wrong link in the tutorial.md page
* Apply the patch from Christoph
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Apply suggestions from code review
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Update docs/bookstore/page-1/send-review-comment-to-broker.md
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
---------
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
* Fix the content in the bad word filter knative function code
* Remove the unused import
* Adding the action for the button in the front end, so that the new review comment can be delivered to the review service.
* enable cors
* Install cors
* fix: configure node.js so that it won't be restricted by CORS policy
* fix: add hardcoded the address for the review service
* feat: the yaml files to run the front end in the k8s cluster
* fix: fix the wrong command in the docker file
* fix: change the naming convention
* fix: update knative slack sink to use the value from secret
* fix: change the name for the front end application package
* fix: update the event type for the outputs of the ML workflows
* fix: create the sequence and trigger for the ML workflow
* fix: change the input key to reviewText
* fix: change the event type for the input cloudevent
* fix: set up the trigger that will filter out the bad comment and send them to the event display
* feat: add the loading state for the front end
* feat: expose the postgresql service as headless service, so we can use the statefulset's name as the host url
* fix: format fix, and also make sure the sentiment analysis result is all lower case
* feat: update to use websocket for the comment area
* feat: add Kuack to the bookstore as advised by UX WG
* feat: add kuack to the bookstore
* feat: add the new timing format and also set up the status badge
* feat: make sure all the ML output are lower case
* feat: styling change
* feat: add the database insertion logic
* fix: update to use kafka broker
* feat: add the quickstart setup script
* fix: use deployment instead of knative service
* fix: Send the reply as cloud event back to broker
* fix: Go back to use MT broker
* fix: Restructure the code
* fix: Restructure the code
* Save progress: TODO: will confirm whether use the pre-built images or build the images locally
* fix: change the naming of the files
* fix: cut the pulling rate of the websocket
* fix: front end clean up and change the error message
* fix: change the port to 8080
* fix: fix the setup script
* fix: update the front end port to use 80 as the nodeserver, as trigger default to use 80, instead of 8080.
* fix: trigger default to use 80, and cannot use customized port 8080.
* fix: renaming and use the pre-built image
* fix: update the naming and add comments to the yaml
* feat: move the code to solution folder
* feat: add the start folder
* fix: the deployment file is not in the /start folder
* fix: shorten the bad word filter name
* fix: shorten the bad word filter name
* fix: delete the deployment files for ML workflows
* fix: add the port 8080
* fix: use Service instead of deployment when setting up temp trigger
* fix: add the missing deployment yaml for /start
* fix: add the shortcut script in the /start folder
* fix: change the favicon to kuack to improve the reader's experience
* Adding the knative function build for the sentiment analysis service
* Update the sample code, so that the returned result is a cloudEvent
* Update the sample code to give a specific event type to the response cloudEvent
* Update the tutorial doc
* Update the tutorial doc
* Remove the docker registry info
* Fix nit
* Modify the return response type and how python function handle the incoming cloudEvent
* Adding the explaination for serving
* Unhide the alert box portion
* Remove the intentional delay
* Remove the duplicated line
* Make the input as json instead of plaintext
* Update the version of cloudEvent and update the deployment instruction
* Update the tutorial to use the public URL instead of cluster-IP
* Display the input text in the response
* Add the node.js server
* Setting up the infrastructure
* Update the port of the node application
* Add the sinkBinding
* Adding the reply feedback loop
* Adding the response into the nodejs server
* Change the naming convention
* Update the index.js to remove the uncessary comments
* Adding the db service
* Add the readme
* Add the yaml file to create the config map
* Change to use the statefulSet
* Delete the finished job pod after 50 seconds
* Simplify the deployment tutorial for the database service
* Explain why we don't use Knative Service
* Remove the unnessary empty lines in the file
* Update code-samples/eventing/bookstore-sample-app/db/README.md
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Update code-samples/eventing/bookstore-sample-app/db-service/sample.sql
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Update code-samples/eventing/bookstore-sample-app/db/README.md
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Fix the review comment
---------
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Adding the yaml file that create the Camel Pipe, connecting the Knative Broker and the slack sink
* Adding the first draft of the documentation for notification service
* Update the Camel-Kamelets Version
* Update the tutorial
* Fix the review comments by rearranging the sections, fix the wordings
* Compile the web pages
* Trying to add some styling
* Fix the styling
* Fix the styling
* Test how things look with modified code block
* Return to the original. Will do the web page compiling in another PR when the content is ready
* Update code-samples/eventing/bookstore-sample-app/slack-sink/README.md
Co-authored-by: Calum Murray <cmurray@redhat.com>
* Make the yaml file consistent with the one in the README file
---------
Co-authored-by: Calum Murray <cmurray@redhat.com>
* Bump versions of the dependencies
This resolves the following error when trying to build the app:
package `socket2 v0.5.5` cannot be built because it requires rustc 1.63 or newer
* Update the documentation
Currently, when following the steps to recreate the sample code,
we will face the following errors when trying to build the app:
error: edition 2021 is unstable and only available with -Z unstable-options.
error: could not compile `proc-macro2`