# server-test-webapp **Repository Path**: netbuffer/server-test-webapp ## Basic Information - **Project Name**: server-test-webapp - **Description**: 服务器负载均衡测试,docker下部署多应用实例测试,k8s下多应用实例测试 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://hub.docker.com/repository/docker/javawiki/server-test-webapp - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-10 - **Last Updated**: 2022-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Docker, Server ## README # server-test-webapp > echo server information/server io test ... ### docker images * https://hub.docker.com/r/javawiki/server-test-webapp * docker build -f Dockerfile -t javawiki/server-test-webapp:version . * docker login * docker push javawiki/server-test-webapp:version * docker pull javawiki/server-test-webapp:version * docker run -it --rm -p 9800:9800 javawiki/server-test-webapp:version * docker run -it --rm -p 9800:9800 -e APP_VERSION=v1.0.9 -e JAVA_OPTS=-XX:+PrintCommandLineFlags javawiki/server-test-webapp:1.0.9 ### web api for test * curl "http://localhost:9800/server/io/write?path=/root/test.txt&message=hello" * curl "http://localhost:9800/server/io/read?path=/root/test.txt" * curl "http://localhost:9800/server/info/properties" * curl "http://localhost:9800/server/info/env" * curl "http://localhost:9800/actuator/info" * curl "http://localhost:9800/server/info/getProperty?key=info.app.version" ### Reference Documentation For further reference, please consider the following sections: * [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.6.4/maven-plugin/reference/html/) * [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.6.4/maven-plugin/reference/html/#build-image) * [Spring Web](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#boot-features-developing-web-applications) ### Guides The following guides illustrate how to use some features concretely: * https://docs.spring.io/spring-boot/docs/2.6.6/reference/htmlsingle/ * [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) * [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) * [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/)