Using Swagger in the Spring Boot project

Project environment Srping Boot Version 2.0.6.RELEASE JDK Version 1.8 configuration file Configure Swagger, using the Swagger.java file Swagger.java package com.xxx.xxx.xxx.config; import com.google.common.base.Predicate; import com.google.common.collect.Lists; import org.springframework.beans.factory.annotation.Value; import org.sprin ...

Posted by squiggerz on Thu, 07 Nov 2019 12:33:30 -0800

Graphx processing janusGraph data implementation

Declarations: This scheme is an alternative in case the implementation of gremlinSQL scheme is blocked by spark's direct execution. It does not involve working secrets, there is no possibility of leaking secrets, it is purely personal reflection, and I hope to make a contribution Scheme: Converts the query result of gremlinSql to startGraph, th ...

Posted by lovelys on Thu, 07 Nov 2019 09:49:15 -0800

redis environment deployment

Welcome to join the operation and maintenance development technology exchange group (QQ:722381733) I. Redis Service Introduction: Redis is simply a database, a database container used to store the cache. It is mainly designed to make the project data write into the cache and provide users with a more comfortable experience. Or it can also b ...

Posted by gabeg on Wed, 06 Nov 2019 09:40:04 -0800

Export SSM MySql data to Excel

Language: java Frame: SSM Project: maven Tool class: ExcelUtils.java Download address of tool class: https://download.csdn.net/download/ledzcl/10234291 Note: This download address is from the blog of dedzcl of CSDN (connection: https://blog.csdn.net/ledzcl/article/details/79222737) Only this memo 1. After downloading the tool class, dire ...

Posted by brianbehrens on Wed, 06 Nov 2019 09:13:54 -0800

E-book reading plug-in based on HTML5 conversion PDF

E-book reading plug-in based on HTML5 conversion PDF Part html5 Generally, the project uses the pdf.js plug-in to read the PDF file, but the reading experience is not ideal, so refer to the e-book reader on the mobile phone, and use the foreign e-book reader Link descriptionhttp://fliphtml5.comCreate an ebook example. The complete code has be ...

Posted by Gustav on Wed, 06 Nov 2019 08:28:53 -0800

Talk about the maxMessageSize of rocketmq

order This paper mainly studies the maxMessageSize of rocketmq DefaultMQProducer rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/producer/DefaultMQProducer.java public class DefaultMQProducer extends ClientConfig implements MQProducer { private final InternalLogger log = ClientLogger.getLog(); //...... /** * Ma ...

Posted by crimsonmoon on Wed, 06 Nov 2019 08:05:04 -0800

The configuration and application of Apache in Linux system

Log segmentation As the number of visits to the website increases, Apache's individual log files will grow by default Log files take up a lot of disk space Inconvenient to view relevant information Split log files Implementation of rotatelogs segmentation tool in Apache Third party tool cronolog segmentation rotatelogs segmentation ...

Posted by hdpt00 on Wed, 06 Nov 2019 03:23:05 -0800

Encryption and decryption of MD5 string in Java

As for why we need to encrypt and decrypt strings, and compare the advantages and disadvantages of various encryption and decryption methods, this article will not talk about how to make some practical code for emergency friends Don't talk too much. Look at the code: import java.security.Key; import java.security.MessageDigest; i ...

Posted by nayone on Tue, 05 Nov 2019 09:57:27 -0800

spring boot with solr

1. Download solr version http://archive.apache.org/dis... After decompression, enter the bin directory, open cmd at the current location, and start it in jetty mode: solr start -p 8983 Stop a single specified port solr stop -p 8983 Stop all solr stop -all 2. Enter management interface configuration http://localhost:8983/solr Use the Core Admin ...

Posted by greg_soulsby on Tue, 05 Nov 2019 06:07:37 -0800

Performance testing framework

Before, I wrote a performance testing framework, which is only for testing a single HTTP interface. The business interface and non HTTP interface can't be adapted yet. Just when the front-end time is used, I updated my testing framework. This time, it is no longer based on the request, but on the method, so that the singularity can be avoided. ...

Posted by adt2007 on Tue, 05 Nov 2019 02:05:48 -0800