Spring Cloud Slingshot project in which one micro service provide the magento e-commerce functionality
Spring Cloud Slingshot project that extends from spring-boot-slingshot
This is just a template project that provides slingshot for spring cloud integration with magento.
The system consists of the following component
Each of these standalone application servers has embedded jetty or tomcat server running inside them, so
they don’t need to have another servlet container to host them.
Among these application servers, the following form the eureka micro-service architecture:
The authentication is based on auth2-like authentication against the magento so that every micro-service
can login based on user’s account created in magento
To build all the modules into standalone server jars, run the following command in the root directory:
./make.ps1
To start locally the cluster of the spring cloud application servers and web servers, run the following command in the root
directory:
./start-cluster.ps1
To stop the cluster running locally, run the following command in the root directory:
./stop-cluster.ps1
Note that the cluster already has a mariadb instance running inside, so you do not need to have another separate mysql or mariadb
running locally.
To use this project create a database named spring_boot_slingshot in your mysql database (make sure it is running at localhost:3306)
CREATE DATABASE spring_boot_slingshot CHARACTER SET utf8 COLLATE utf8_unicode_ci;
In case you do not have the mariadb or mysql server installed, locally, you can also run the sbs-mariadb-server which is a standalone mariadb server
that can be run at port 3306 locally.
Note that the default username and password for the mysql is configured to