skip to Main Content

Redis – Service synchronization issue

I've created two services. One of them (scheduler) only requests to the other (backoffice) for performing some "large" operations. When backoffice receives a request: first creates a mark (key on redis) in order to set that the process has started.…

VIEW QUESTION

Redis – Spring – oauth 2 – Cannot convert access token to JSON

I am trying to validate an access token on a resource server. jwt.io validates the access token with the signature, so I guess the problem is spring configuration This is my pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">…

VIEW QUESTION

Redis – Consuming a REST API angular 8

I have a rest API at: https://back-end-gubee.herokuapp.com/service It returns me three objects, these have attributes and two object lists internally. [{"id":20,"name":"Gubee Fretes","description":"Ferramenta para gestão e calculo de fretes","active":false,"value":0.0,"targets":[{"id":1,"name":"Ecommerce","description":null},{"id":2,"name":"ERP","description":null},{"id":3,"name":"Loja fisica","description":null}],"technologies":[{"id":10,"name":"MongoDB","description":null,"developer":null,"version":null},{"id":9,"name":"NodeJS","description":null,"developer":null,"version":null}]},{"id":21,"name":"Gubee Integrador","description":"Ferramenta de integração para marketplaces","active":false,"value":0.0,"targets":[{"id":4,"name":"Lojista que não desejam possuir ecommerce","description":null},{"id":1,"name":"Ecommerce","description":null},{"id":2,"name":"ERP","description":null}],"technologies":[{"id":10,"name":"MongoDB","description":null,"developer":null,"version":null},{"id":14,"name":"Event Stream","description":null,"developer":null,"version":null},{"id":11,"name":"Java…

VIEW QUESTION

How to connect AWS Elasticache Redis cluster to Spring Boot app?

I have Spring Boot app which connects to Redis cluster, using Jedis Connection Factory: RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration(redisProperties.getCluster().getNodes()); redisClusterConfiguration.setPassword(redisProperties.getPassword()); jedisConnectionFactory = new JedisConnectionFactory(redisClusterConfiguration); and reading list of nodes from application.yml: spring: redis: host: 127.0.0.1 port: 6379 timeout: 300s cluster:…

VIEW QUESTION

spring-boot-maven-plugin:2.0.0.RELEASE:repackage failed: Unable to rename – CentOS

I use command: mvn package to package my project, and the pom.xml as follows: <build> <defaultGoal>compile</defaultGoal> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass/> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal>…

VIEW QUESTION
Back To Top
Search