Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development work flows #384

Closed
14 tasks
gkwan-ibm opened this issue Jan 13, 2020 · 9 comments
Closed
14 tasks

Development work flows #384

gkwan-ibm opened this issue Jan 13, 2020 · 9 comments

Comments

@gkwan-ibm
Copy link
Member

gkwan-ibm commented Jan 13, 2020

Make sure the Liberty Maven Plugin (LMP) can achieve the following development work flows:

  • Develop a microservice
    • create a new maven project (min set of files and idea pom, etc)
    • start and develop the microservice (mvn liberty:dev)
      • change code - with compilation error
      • change configuration
      • remote debug
      • run unit and integration tests
      • stop the development with error and resume on next day 
    • add 3rd party library
  • Develop 2+ microservices simultaneously
    • remote debug
    • run integration tests across microservices
  • Build microservice by automation (Travis and/or Jenkin)
  • Repackage microservice (e.g. update for new OL release, new dependencies, etc)

Including:

  • open issues to enhance the LMP if necessary
  • give suggestions to the guides
  • document the detail of the above findings
@yeekangc
Copy link
Member

This maps to OpenLiberty/open-liberty#9890.

@meswan
Copy link

meswan commented Apr 16, 2020

Based on the research:

  • Create a simple RESTful microservice
    • Cover HTTP methods: GET, PUT, POST & DELETE.
    • Add regular tests with plain java.
    • Add MST using @restclient annotation
    • Add liveness & readiness checks.
    • Use a microprofile configuration file to set maintenance to true or false.
    • Also defined in server.xml for dynamic changes.
    • Use Open API
      • Add Annotations

@meswan
Copy link

meswan commented Jul 28, 2020

Codewind template update PR: codewind-resources/openLibertyTemplate#6

@meswan
Copy link

meswan commented Aug 12, 2020

Codewind template changes merged to master.

@meswan
Copy link

meswan commented Aug 20, 2020

Bluemix template update PR: IBM/java-liberty-app#58

@gkwan-ibm
Copy link
Member Author

gkwan-ibm commented Oct 19, 2020

@meswan
Copy link

meswan commented Nov 23, 2020

RH folks are looking into the issue that prevents the OL samples from Purple Liberty to be deployed on OS v4. (Currently broken in production)

Issue: https://groups.google.com/u/3/g/fabric8-launcher/c/w5A7tewzFCE

Once it is fixed, we can test our changes.

@meswan
Copy link

meswan commented Dec 3, 2020

The templates have been fixed and the updates merged for Purple Liberty.

@gkwan-ibm
Copy link
Member Author

close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants