microservices

Session Management in microservices

走远了吗. 提交于 2019-12-17 22:24:29
问题 We have the following setup. STM (Stingrey Traffic Manager) does load balancing + session stickiness Weblogic 'cluster' Auth handled by a third party tool Therefore I do not have to worry about session with regards to horizontal scaling/ running multiple instances of the application. STM/ Weblogic cluster makes sure that the subsequent request come to same managed server. What we currently have is a monolithic application and we are trying to move to microservices. Also we do not wan't to

Microservice architecture - carry message through services when order doesn't matter

夙愿已清 提交于 2019-12-17 18:42:02
问题 Tl;dr : "How can I push a message through a bunch of asynchronous, unordered microservices and know when that message has made it through each of them?" I'm struggling to find the right messaging system/protocol for a specific microservices architecture. This isn't a "which is best" question, but a question about what my options are for a design pattern/protocol. I have a message on the beginning queue. Let's say a RabbitMQ message with serialized JSON I need that message to go through an

How to get docker toolbox to work with .net core 2.0 project

扶醉桌前 提交于 2019-12-17 10:17:35
问题 I'm getting an error trying to use the Docker functionality with my .NET core 2.0 project. I've been getting an error message saying Visual Studio Container Tools requires Docker to be running before building, debugging or running a containerized project. For more info, please see: http://aka.ms/DockerToolsTroubleshooting I followed the link, and upon realizing I have Windows 10 Home x64, and had to install Docker Toolbox, instead of Docker For Windows. Now it installed this executable called

Run Google App Engine application with microservice

[亡魂溺海] 提交于 2019-12-14 03:39:25
问题 I have a one big monolith application, and now its time to separate some modules to micro services! I read a lot about pub/sub and microservices in Google docs, but can't find answers to my questions: How app.yaml file looks like for my module(microservice)? How app.yaml looks like for my app?(I mean, with microservice) Where I need to declare this module - in application app.yaml or in both app.yaml? How can I use single datastore with my app and my module? My app.yaml now looks like:

Linking between objects on different apps with Spring HATEOAS

﹥>﹥吖頭↗ 提交于 2019-12-14 02:50:19
问题 I'm investigating spring-cloud and I've set up two microservices "offers" and "customers" as eureka clients. The customers app has: @Data public class Customer extends ResourceSupport { private Long customerId; private String name; } @RestController @RequestMapping("/customers") @ExposesResourceFor(Customer.class) public class CustomersController { ... } and the offers app has: @Data public class Offer extends ResourceSupport { private final Long offerId; private final Long priceI; private

How to work on single gateway based microservice in a team?

此生再无相见时 提交于 2019-12-13 15:25:07
问题 We are developing microservice based application using Jhipster. For that, there are different components should run at the same time i.e, service registry, UAA server, Gateway, and other different services. To run all these components on my PC it consumes all the resources (16 GB of Ram). However, other developers, they don't have sufficient resources on their PC, which is the reason we are facing the problems continues development in the team. So we are seeking some options for this problem

Multiple docker services to listen on same host and port

点点圈 提交于 2019-12-13 08:58:51
问题 i am new to nginx and I am not sure is this normal behavior... Here is the lib I am using: https://github.com/jwilder/nginx-proxy I will explain here what I trying to accomplish... I have 2 additional services service1 and service2 those services are simple node.js images with API endpoints service1 have routes: - service1/api/first - service1/api/second ` ` service2 have routes: - service2/api/third - service2/api/fourth ` So is possible to be able to access this services from same host,

How to make Super/Base/Parent class in microservices in spring-boot - to extend that class in child class

可紊 提交于 2019-12-13 04:46:59
问题 1) I have 3 microservices project (Country-micro, State-micro and City-micro) with 3 entities Country, State and City in each microservices define respectively. Please note that all 3 microservices has same group id in pom.xml All the entity has common 4 fields id created_date modified_date is_active How can I make base entity class for above fields and use it in different microservices. Like, in monolithic architecture we can use easily by extending class as define here : My base Class

is it possible to use OSGI with spring boot microservices? Please tell me in detail

北城余情 提交于 2019-12-13 03:15:00
问题 I want to use ODL framework for SDN development, in that internally OSGI framework is used to (karaf). Apart from that i want to use spring boot and spring cloud to achieve cloud services also. It is possible to use these all framework as a single unit. and how we can achieve this please tell. 回答1: This questions is somewhat overly broad and generic, but I'll try to answer it anyway making two assumptions: If you want to use Spring Boot / Cloud "in-process", that is within ODL/ Karaf, then

Microservice can not reach Elasticsearch Image

Deadly 提交于 2019-12-12 23:22:31
问题 I have one Microservice with Jhipster version 5v and a image 2.4.1 of the ElasticSearch running in vagrant centos 7v. The two image are running but the operations of save and search can not reach the Elasticsearch image. docker-compose: service-app: image: "..." depends_on: - service-mysql - service-elasticsearch - kafka - zookeeper - jhipster-registry environment: - SPRING_PROFILES_ACTIVE=dev,swagger - SPRING_CLOUD_CONFIG_URI=http://admin:admin@jhipster-registry:8761/config - SPRING