openliberty / cloud-hosted-guides Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
curl
commands, tried to fix with PR
Need to discuss and design the home page
Which Terminal are you referring to the OS or the one in the right panel?
For more than one terminal can we number them to make it easier to refer to which one we are talking about?
Check Your Email
You entered If this email address is associated with your Open Liberty Hands On account, we will send a message with password recovery instructions to this email address.
If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.
If you need further assistance, contact technical support.
The following terms are used in different pages.
Need to be consistent
create more development quicklabs as https://github.com/OpenLiberty/cloud-hosted-guides/blob/staging/instructions/cloud-hosted-draft-guide-development/instructions.md
e.g. cloud-hosted-draft-guide-development-1
, cloud-hosted-draft-guide-development-2
, cloud-hosted-draft-guide-development-3
username
roles
password
Could complete the lab
select File > Open > guide-microprofile-jwt/start/frontend/src/main/java/io/openliberty/guides/frontend/ApplicationBean.java
code -r guide-microprofile-jwt/start/frontend/src/main/java/io/openliberty/guides/frontend/ApplicationBean.java
and it will open that file directly within the current instance of VSCode. To do this, we would need to add vscode to the path.Can we externalize text to a separate properties files (or whatever equivalent or appropriate) so we don't have to hard code and they can be updated without needing to recompile code?
This section has been manually added to guide-reactive-service-testing.
After doing some experimenting with the course view I noticed some of the layout needs correcting. This will probably need a redesign for some aspects such as the header and footer although the actual course may not be configurable. This may be a bigger piece of work but as a min we need to make sure the header and footer are readable and in some kind of order unlike the image below:
Architecture diagram missing on first page —> remove reference to diagram as we will not be including it
Additional pre-reqs page not needed now
Missing this sentence —> The finish directory contains the finished project that you will build.
Not sure why this is there —> start/SystemService.java in the Choosing an acknowledgment strategy section?
POSTPROCESSING —> style is incorrect, should be underscore and in box type
Not sure why this section is all in italics, not needed —> strategy by default. If the acknowledgment strategy is set to
This formatting has gone funny - should just be bullet points ins the text not in a code box —> - If the method emits data, the incoming message is acknowledged after the outgoing message is acknowledged. - If the method doesn't emit data, the incoming message is acknowledged after the method or processing completes.
All this text is formatted incorrectly, should be normal text —> “ Its important that the methods use the POST_PROCESSING strategy because it fulfills the requirement that a message isn't acknowledged until after the message is fully processed. This processing strategy is beneficial in situations where messages must reliably not get lost. When the POST_PROCESSING acknowledgment strategy cant be “
————
Implementing the MANUAL acknowledgment strategy
———
This shouldn’t be here —> finish/SystemService.java
This should just be normal text as bullet points —> - If the system property isn't valid, the method acknowledges
the incoming message and returns an empty reactive stream. The processing is
complete. - If the system property is valid, the method creates a message with the value of the
requested system property and sends it to the proper channel. The method acknowledges the incoming message only
after the sent message is acknowledged.
———
Waiting for a message to be acknowledged
———
This shouldn’t be here —> InventoryResource.java
Missing semicolon at the end of the provided replacement for InventoryResource.java file
——
Building and running the application
———
Command not formatted correctly to be copyable. Should be two separate commands—> docker build -t system:1.0-SNAPSHOT system/. docker build -t inventory:1.0-SNAPSHOT inventory/.
Issues with formatting at the bottom of this page —> weird -- unnecessary lines here and command not formatted correctly to be copyable again - ./scripts/startContainers.sh
——
Testing the application
———
Missing this sentence —> Go to the http://localhost:9085/inventory/systems URL to access the inventory microservice. You see the CPU systemLoad property for all the systems: (Only have “Go to the” at the moment)
Need to remove comments or format them correctly for SNL —> otherwise curl commands will result in error 500
Curl command not formatted correctly for copying —> curl -X PUT -d "os.name" http://localhost:9085/inventory/data --header "Content-Type:text/plain"
——
Tearing down the environment
——
Command not configured correctly for copying —> ./scripts/stopContainers.sh
The command —> rmdir guide-microprofile-reactive-messaging-acknowledgment - Fails to remove the directory
When a user logins in using Linkedin and instead of creating a new account presses "sign in" (temporarily disabled) it doesn't render properly.
When unlink an account, got following error
This problem was also reported at https://github.ibm.com/skills-network/portals/issues/1724
Accessing tutorial catalogue at https://ide.skillsnetwork.site/open-liberty-tutorial-catalogue I try to open a module and receive the following error in the Open Liberty Masterclass Modules
You tried to start a QuickLab with invalid markdown instructions. Please contact the QuickLab author to let them know their QuickLab is broken.
Encountered on Module 1 (Build) and Module 2 (Dev Mode) and Module 3 (Application API), have not checked other modules or categories yet.
Accessed in Firefox on Windows 10
The lab for guide-reactive-rest-client seems to be quite out out of date and has errors that are fixed in the current version, it also seems to have been converted with an old version of the tool so could use a refresh to fix a number of syntax errors.
Link to guide: https://github.com/openliberty/guide-reactive-rest-client
@jakub-pomykala can this be a situation to test the automation bot?
We have implemented a manual fix for the output example of terminal when user runs:
mvn liberty:dev
Previously the output example was
The defaultServer server is ready to run a smarter planet.
But now the output example is:
**********************************************************
* Liberty is running in dev mode.
Every time commit a PR, all guides will be triggered to refresh. It slows down the SN.
Need to improve the refresh infrastructure/mechanism
The command should be curl http://localhost:**9091**/inventory/systems/{$SYSTEM_IP}
The text before this command tells you to get use the previously found IP, so I think we should either remove SYSTEM_IP=`docker inspect -f "{{.NetworkSettings.IPAddress }}" system`
from the command or rewrite the instruction
In Module 1 in the Reactive Java Workshop I found some errors in the text.
At the end of step 2 there is this text
The SystemService class contains a Publisher method that is called Flowable.interval() method from rxJava is used to set the frequency of how often the system service publishes the calculation to the event stream.
The sentence doesn't work and it looks like it is missing the middle portion of this paragraph from the Microprofile Reactive Messaging guide
The
SystemService
class contains aPublisher
method that is calledsendSystemLoad()
, which calculates and returns the average system load. The@Outgoing
annotation on thesendSystemLoad()
method indicates that the method publishes its calculation as a message on a topic in the Kafka messaging system. TheFlowable.interval()
method fromrxJava
is used to set the frequency of how often the system service publishes the calculation to the event stream.
A similar error occurs at the end of step 3. The text in the module says:
The InventoryResource class contains a method called systemLoadTopic.
The guide text says:
The
InventoryResource
class contains a method calledupdateStatus()
, which receives the message that contains the average system load and updates its existing inventory of systems and their average system load. The@Incoming("systemLoad")
annotation on theupdateStatus()
method indicates that the method retrieves the average system load information by connecting to the channel calledsystemLoad
. Later in the guide, you will configure the service so that any messages sent by thesystem
service through thesystemLoad
channel are retrieved from a topic calledsystemLoadTopic
, as shown in the following diagram:
OL SN is using custom configuration. Need a backup and restore plan in case to rebuild it. e.g.
When @austin0 and myself try to login using Github/LinkedIn it requests our email address. This is some kind of a bug that is not major but should be looked into further. This has been tested with a number of different users and it only has happened to us till this date.
Example outcome of signing in with LinkedIn bellow:
Edit: This does not happen every single time on GitHub.
Ideally, if the lab (IDE) have a browser viewer, users can access e.g. http://localhost:9080/inventory/systems directly instead of by curl
If not, consider rewrite the guides to access the urls from the index.html
When trying to copy the new code from the left pane into the editor on the right, the error message pops up:
I am able to successfully copy and paste into the terminal, the issue is only with the editor. Also, if I copy using the browser's copy and paste, it works fine.
This was tested on a Linux VM using Firefox. This could be an issue unique to testing on a VM, but this is my only way to test it.
When users logout from landing page, SN should redirect them back to the openliberty.io/guides
Not formatted correctly --> Youll first look at the supplied client application that uses the JAX-RS default CompletionStage-based provider. Then, youll mo --> should just be the completionstage that's formatted differently, all the rest should be normal text
Remove pre-req section, not needed for snl
this needs to be removed --> InventoryClient.java
Needs to be used, not use --> JAX-RS provides a default reactive provider that you can use to create
Missing a cd start command before first touch command to Create the InventoryClient interface.
Codeblock for InventoryClient interface has gone very wrong!
All the codeblocks and normal text after this seem to have been reversed and are all wrong for the remainder of this section.
None of the sections have been separated out into new tabs in SNL following this
writeToFile()
is not efficient to open, write, and close the .md file. Either
getMD(String guideName)
, look like the "temp.adoc" is just opened and closed. Any reason?codeSnippet(String path, String guideName)
, look like the "temp.adoc" is just opened and not closed. Any reason?The production portal should only have production guides. No development work.
The staging portal should be used as development purpose for guides, converter, front-end, and even SN and quicklab update
Suggested edits for register and Login pages:
We will send you an account activation email. You can sign into the cloud-hosted guides next time, after you activate your account through that email.
--->
When you create an account, we send you an account activation email. You can sign in to the cloud-hosted guides after you activate your account through that email.
If the provider cannot provide your name and email to the IBM Developer Skill Network, you will be asked to create a regular IBM Developer Skills Network account.
--->
If the provider cannot provide your name and email to the IBM Developer Skill Network, you must create a regular IBM Developer Skills Network account.
OR
If the provider cannot provide your name and email to the IBM Developer Skill Network, we ask that you create a regular IBM Developer Skills Network account.
I am at least sixteen years of age.
--->
I am at least 16 years of age.
The OpenLiberty cloud-hosted guides
--->
The Open Liberty cloud-hosted guides
You can sign in with IBM Development Skills Network account or one of the following single sign-on providers.
--->
You can sign in with an IBM Development Skills Network account or through one of the following single sign-on providers.
I am at least sixteen years of age.
--->
I am at least 16 years of age.
The only way the JS is always running is when it is running on a setTimeOut()
. This has to be changed ASAP as it could cause problems for users in the future. The reason why it is using setTimeOut()
is because document.addEventListener("DOMContentLoaded", function()
nor window.addEventListener("load", function()
did not work and caused the JS to load before the HTML/window finished loading
Rename "quick-labs" to "cloud-hosted-guides" when ready to be consistent with formal name and other repo(s).
minikube start
not work
For the previous time the custom CSS and the JS have been stored in Daniels personal repo. However we should move this over to this repo and also consider moving over the whole eDX theme and store it here.
At this moment Landing pages have to be created manually. However (if landing pages will still be used), it would be a good idea to automate this process using github actions and requests.
The curl command in step 7 takes a while to run. We should add a text to the static guide which will let users know that this command will take a while to run.
Talk to Skills Network about the warning message pointed out by Gilbert. See if possible to either remove or move to privacy policy.
Need to add an OL branding (image) at the top of the cloud-hosted guide
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.