Skip to content

IBM/ExampleWatsonAssistantJavaExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExampleWatsonAssistantJavaExtension

ExampleWatsonAssistantJavaExtension is a MicroProfile 5 and Jakarta EE 9.1 (Web Profile) web application for implementing an example Java extension for Watson Assistant with OpenLiberty.

Local Development

Build WAR

  1. Pre-requisities:
    1. Java >= 8 is required on your PATH; for example, IBM Semeru Runtimes
  2. Build and run:
    • macOS or Linux:
      ./mvnw clean liberty:dev
      
    • Windows:
      mvnw clean liberty:dev
      
  3. Wait for the message:
    CWWKF0011I: The defaultServer server is ready to run a smarter planet.
    
  4. Access at http://localhost:8080/api/helloworld/execute or https://localhost:8443/api/helloworld/execute

Build container

  1. Build:
    podman build -t ewaje .
    
  2. Run:
    podman run --rm -p 8080:8080 -p 8443:8443 -e WLP_LOGGING_CONSOLE_FORMAT=simple -it ewaje
    
  3. Wait for the message:
    CWWKF0011I: The defaultServer server is ready to run a smarter planet.
    
  4. Access at http://localhost:8080/api/helloworld/execute or https://localhost:8443/api/helloworld/execute

About

Example Watson Assistant Java Extension

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •