Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added links, updated JDK version

(this is a draft)

...

See also: Thunderjet - Guidelines for backend code organization, unit tests and Karate tests

Running in IDEA

Installation

  1. Install Java JDK 1117
  2. Install IDEA as IDE : https://www.jetbrains.com/idea/

  3. Install last version of Vagrant : https://www.vagrantup.com/
  4. Install VirtualBox : https://www.virtualbox.org/
  5. Alternative to vagrant/virtualBox using less memory: BusyBee
  6. Install Postman: https://www.postman.com/
  7. Clone from git modules and add all of them in one IDEA project
    • ThunderJet back-end modules : mod-orders, mod-orders-storage, mod-invoice, mod-invoice-storage, mod-finance, mod-finance-storage, mod-organizations, mod-organizations-storage, mod-gobi, edge-orders, edge-common, mod-ebsconet, acq-models
    • Modules with integration tests: folio-integration-tests(Karate), folio-api-tests(Postman)
  8. Up FOLIO platform by using one of the box  :
  9. Configure VitualBox and IDEA for running FOLIO microservice from IDEA : How to run folio backend modules with IntelliJ Idea and interact with Vagrant box environment

...

Please import this environment configuration with predefined values of variables : {{protocol}}, {url}}, {{okapiport}}

  • "Add okapi permission to diku_admin.postman_collection.json" →  After you started VagrantBox, then you should add "okapi.all" permission to give ability to deploy modules by "diku_admin" user. 
  • "Redeploy-invoice-storage-module.postman_collection.json" → Please use this collection to deploy mod-invoice-storage

...