This is a small webservice for storing bug in a table. The main idea is to store bug in HSQLDB and use this webservice to practice REST webservice testing using tools/framework.
-
mvn clean test
-
mvn clean release
-
mvn spring-boot:run
mvn clean package
=> this will generate a Jar file in target folder. The name of the jar file will be "spring-boot-webservice-1.0.SNAPSHOT.jar" so, you need to copy that and put in any folder you like. This is standalone runner (jetty server built in) . Now, from commandline
java -jar generated_jar_file_name
Host : localhost
Port :9100
URL/Paths :
- To see all bugs : GET : /table/bugs
- To save a bug: POST : /table/bugs
- To see a bug : GET : /table/bugs/{id}
- To Update a Bug: PUT : /table/bugs/{id}
- To Delete a Bug : DELETE : /table/bugs/{id}
No auth for 1.0
Basic auth for 2.0 (see credentials in application . properties)
See , resources/config folder for configuration.
see resources/data folder
{ "id": 1, "title": "this is a bug", "summary": "Sample Bug" , "exceptions": "Exception Is not present", "comments": "Comments ", "foundDateTime":"1st december", "tags": "New, On production", "priority": "High", "servility": "Blocker", "attachmentPath": "http://", "description": "Sampel Data " }
- postman or other browser plugins : Functional Testing
- Jmeter : performance Testing
- soapui etc
- IDE Plugins
- Rest Assured
etc
-
1.0 will be no auth
-
2.0 will be basic auth
-
3.0 with basic auth & unit tests
-
4.0 with HTTPs support over 3.0
-
5.0 documentation integration : https://github.com/swagger-api/swagger-core/wiki/annotations
- Integration with OAuth 2.0 (google host)
- Provider : google, github, Microsoft
- Update spring boot => done
- Swagger
- Docker deploy
- Unit Testing is being tracked in seperate branch
- ENV
- TEST
- Jenkins
- Docker
- Perf testing
- Api Functional Automation
- Security Testing