Commit Graph

2 Commits

Author SHA1 Message Date
Leo Li 54207bebd6
Sample App Tutorial Page Compilation (#6007)
* 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>
2024-06-26 07:42:43 +00:00
Leo Li 638cbfbd20
Sample App: Code Clean up (#5948)
* 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
2024-05-29 13:48:17 +00:00