spring-boot

Come colpire la ricerca elastica sicura attraverso il client Rest di alto livello Java

Sono nuovo alla ricerca elastica. Integrato my Spring boot applicazione con ricerca elastica attraverso Java High Level Rest ... lteriori modifiche devo apportare durante la configurazione di Java High Level Rest Client per colpire secure Elastic search?

Come eseguire un file JMETER JMX in codice Java?

Sto cercando di eseguire un piano di test del database JMETER MS SQL dal codice Java attraverso la mia app Spring Boot ma mos ... Run JMeter Test jmeter.configure(testPlanTree); jmeter.run(); result = summer; } }

Come creare una metrica di gauge con tag utilizzando Java prometheus sdk?

Ho un servizio web Kotlin springboot che utilizza Actuator (spring-boot-starter-actuator) e micrometro (micrometer-registry-p ... re una metrica come: operation_queue_size{op_type="deletions"} 999 operation_queue_size{op_type="insertions"} 999 Grazie.

come passare la password a un'applicazione java (Spring boot)

Dobbiamo usare il certificato ssl per il nostro servizio web rest che vengono creati tramite l'applicazione springboot. Ora ... rizzare la password. Utilizzare qualsiasi file di testo che password (non preferita di nuovo a causa di un cattivo design)

Chiama un'app java da un'altra distribuita su PCF

Ho distribuito 2 app java di avvio a molla semplice indipendente su PCF . customer-service-1 order-service-1 Customer-servic ... chiamare / url / customerList da ordine-servizio-1 E qualsiasi applicazione che non è distribuita su PCF Come posso farlo?

Come ottenere le metriche raccolte su datadog monitor utilizzando il codice Java?

Ho bisogno di monitorare cinquanta applicazioni. A parte il quale ho bisogno di eseguire healthcheck su datadog dashboard per ... ni di tutti i giorni. Quindi, è possibile raccogliere le metriche raccolte in datadog dal codice Java .. Grazie in anticipo.

Spring Lessons

Please recommend good literature or video tutorials on Spring Boot for advanced study in Russian. A detailed explanatory book.

Authorization via JWT for microservices

Do I understand correctly that it is correct to make Authentication Server as a separate microservice, which will have two co ... f the Resource Server (Getting a user, creating a user, deleting a user) is in the same service as the Authentication Server?

At what level is it best to place the Spring Security (java config) classes?

At what level is it most correct to place configuration classes, beans, filters, and the rest that will work directly with Sp ... va config)? Spread everything on different levels or place everything on one level (for example, on the Configuration level)?

java does not see the WEB-INF directory

Web.xml in the IDEAProject/demo/src/main/webapp/WEB-INF / {directory[4]} <servlet> <servlet-name>di ... <servlet-mapping> <servlet-name>dispatcher</servlet-name> I can't resolve it dispatcher servlet

How does the flush() method work in spring-data-jpa?

There is a project on the stack spring-boot-2.0.3, spring-data-jpa-2.0.3 and postgresql-9.5.13. Only three classes: @Entity, ... } System.out.println("Time: " + (System.currentTimeMillis()-incoming)); } }; } }

Correct termination of the spring boot Application

There is an application on spring boot @EnableScheduling @SpringBootApplication @PropertySource("classpath:application.prope ... pplication -> [Help 1] And the app doesn't stop. How do I make a correct stop? And is it possible to do this by Ctrl C?

Connecting to the H2 database from Spring Boot

I'm trying to connect to the H2 database. I use Spring Boot. Pom.xml <dependencies> <dependency> < ... find any information. Accordingly, then everything I do in the application also causes errors. Screen H2 connections in IDEA

io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException

Wrote an online chat https://github.com/callicoder/spring-boot-websocket-chat-demo And I want to rewrite the configureMessage ... ang.IllegalArgumentException: No enum constant org.springframework.messaging.simp.stomp.StompCommand.HTTP/1.1 400 Bad Request