* 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>
* docs: fix gitlab webhook breadcrumb in gitlab eventing readme
* docs: use project access token for gitlab source in gitlab eventing readme
from security perspective it's better to use project access token instead of personal access token
bumping knative.dev/hack 6c30196...d1317b0:
> d1317b0 errexit and pipefail should remain off until downstream is fixed (# 228)
> df80419 🐛 Fix for test failures of knative/serving# 13292 (# 227)
> 7556452 🎁 Use modscope tool to get info about Go modules (# 223)
> 103cdb3 Default `SIGN_IMAGES` variable to `false` (# 225)
> 36b2b3c add flag (# 224)
> 547a2ca Start Signing our Releases (# 198)
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
This commit updates two of the examples in this repository that use the
Node.js CloudEvents module. A newer version of the module has been released
and the examples have been updated to use it. The newer version allows us
to eliminate a dependency on axios, and simplify the example code.
Signed-off-by: Lance Ball <lball@redhat.com>
* Move samples off site
* Add redirects
* Fix code samples and links
* Change links
* Fix path to sample
* Fix a few more links
* Update samples path in test
* remove unecessary redirect
* update more links
* add closing bracket