Okapi Architecture.Is Okapi compatible to Spring Boot or Spring Cloud?

  1. If not,is there anyone who managed to refactor Okapi to Spring Cloud Architecture?
  2. I wanna refactor Okapi so that it can be compatible to the mainstream Microservice Architecture like Spring cloud,what should I do?

It is possible to write Okapi (backend) modules in Spring Boot. A couple of developers from Texas A&M University (TAMU) are working on some core libraries that take advantage of Spring Boot:

Their work is focused on this Camunda Workflow proof-of-concept (https://github.com/folio-org/mod-workflow and https://github.com/folio-org/mod-camunda), but they also created a sample module to help you get started:

The spring-module-core work is not endorsed by the core developers and it is unclear whether it will continue to be supported beyond the workflow proof-of-concept. (Though TAMU has a strong desire to use Spring Boot based on its use in their existing library environment.) One of the advantages of using RAML-Module-Builder is that many of the Okapi module lifecycle endpoints are implemented for you and there are helpful utilities for transforming CQL into Postgres SQL. Those sorts of things would need to be replicated on your own.

Most developers hang out on Slack; go to https://slack-invitation.folio.org/ to get an invitation to the Slack team. Then feel free to ask your questions on the #development channel.