Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
c655b30
Aplication on Springboot
JuMaze Feb 26, 2020
c30a0a9
upgrade the version in the file POM and change the uri in properties …
JuMaze Mar 2, 2020
2f65c91
Merge pull request #1 from Internship4thSource/feature/KGN/Do-a-conta…
Mar 2, 2020
3ed0f47
POST & DELETE story by id
Armandosz117 Mar 11, 2020
45f2746
Fixed code commit
Armandosz117 Mar 12, 2020
fb42f2c
Fix architect review comments
JuMaze Feb 26, 2020
73b331d
Delete ApiApplication java class and StoryMapping java class
JuMaze Mar 12, 2020
9c7d7a5
fix
JuMaze Feb 26, 2020
3628dd4
Fixed code commit exceptions
Armandosz117 Mar 12, 2020
6ff1b4c
fix conflict
AlejandroG1997 Mar 12, 2020
756aeb5
Fixed code commit repository annotation
Armandosz117 Mar 12, 2020
dce651f
Merge branch 'develop' into feature/KGN-PUT
AlejandroG1997 Mar 12, 2020
935f0cf
Merge branch 'develop' into feature/KGN-GET-stories-by-id-endpoint
JuMaze Mar 12, 2020
4bbaba8
Solve code review comments
Armandosz117 Mar 12, 2020
87783ab
Merge pull request #6 from Internship4thSource/feature/KGN-POST-DELET…
Mar 13, 2020
68fe46d
solved commit changes
AlejandroG1997 Mar 13, 2020
a8d031d
Add POST and DELETE changes
AlejandroG1997 Mar 13, 2020
d484cc8
Merge pull request #4 from Internship4thSource/feature/KGN-PUT
Mar 13, 2020
4d4203c
Merge branch 'develop' into feature/KGN-GET-stories-by-id-endpoint
Mar 13, 2020
829aba7
Merge pull request #3 from Internship4thSource/feature/KGN-GET-storie…
at-internship Mar 13, 2020
377f048
Change merge owner
Mar 13, 2020
0511e58
Merge pull request #7 from Internship4thSource/feature/changeOwnerMerge
Mar 13, 2020
8684c5c
Change Java Version
Armandosz117 Mar 13, 2020
0cf6fb8
Update pom.xml
Mar 13, 2020
057a392
Merge pull request #8 from Internship4thSource/feature/KGN-java-version
Mar 13, 2020
242f6b4
Unit Test for PUT method and JaCoCo implementation
AlejandroG1997 Mar 17, 2020
739816e
fix properties
AlejandroG1997 Mar 17, 2020
7c3e270
Merge pull request #9 from Internship4thSource/feature/KGN-PUT-Junit
Mar 17, 2020
ca3d875
Junit refinement
Mar 18, 2020
6d40d0e
Remove dependency duplicated
Mar 18, 2020
aa36da7
Merge pull request #10 from Internship4thSource/feature/KGN-Junit-Ref…
Mar 18, 2020
e6d4180
Unit Test for GET method and JaCoCo implementation
JuMaze Mar 18, 2020
cc10d77
Remove the credentials
JuMaze Mar 18, 2020
a1b982c
Merge pull request #11 from Internship4thSource/feature/KGN-GET-JUnit…
Mar 18, 2020
a95c098
POST and DELETE Junits Implementations and POST fixes
Armandosz117 Mar 18, 2020
dbb0869
Merging POST and DELETE methods
Armandosz117 Mar 18, 2020
7d67a98
Merge pull request #12 from Internship4thSource/feature/KGN-POST-DELE…
Mar 18, 2020
0da740e
Update StoriesServiceImpl.java
Mar 18, 2020
f7c49fe
Merge pull request #13 from Internship4thSource/apokochito-patch-1
Mar 18, 2020
a2bc97b
Maven plugin and Swagger UI implementation
AlejandroG1997 Mar 21, 2020
63094d8
jackson & log4j2 implementation
Armandosz117 Mar 21, 2020
282422a
I remove the JSON and YAML files and changes the swagger info
AlejandroG1997 Mar 21, 2020
e1befde
Merge pull request #14 from Internship4thSource/feature/KGN-Swagger-I…
Mar 21, 2020
e8a99f1
Merging from develop
Armandosz117 Mar 23, 2020
0666b83
Deleting trash files
Armandosz117 Mar 23, 2020
0cee80b
Merge pull request #15 from Internship4thSource/feature/KGN-Logger-Im…
Mar 23, 2020
fac05db
Implement service Tests
JuMaze Mar 25, 2020
f24133a
Mergin Develop
JuMaze Mar 25, 2020
524bcc1
Merge pull request #16 from Internship4thSource/feature/KGN-Complete-…
Mar 25, 2020
7c2ac22
Implementation of sprint_id validation in POST and PUT methods
AlejandroG1997 Mar 26, 2020
968f720
fix the code conflict
AlejandroG1997 Mar 26, 2020
0b86958
Validate assigne_id in the POST & Put method
JuMaze Mar 27, 2020
dcb2ee5
Deleted swagger files
JuMaze Mar 27, 2020
0b4a567
Merge pull request #18 from Internship4thSource/feature/KGN-Validate-…
Mar 27, 2020
08f92ab
code review changes
AlejandroG1997 Mar 27, 2020
2afb3de
Validate assigne_id in the POST & Put method
JuMaze Mar 27, 2020
379d2d9
Deleted swagger files
JuMaze Mar 27, 2020
353c0c7
Implementation of sprint_id validation in POST and PUT methods
AlejandroG1997 Mar 26, 2020
4852479
fix the code conflict
AlejandroG1997 Mar 26, 2020
15501c6
code review changes
AlejandroG1997 Mar 27, 2020
c9b1047
solving conflict
AlejandroG1997 Mar 27, 2020
dd92e85
Merge pull request #17 from Internship4thSource/feature/KGN-POST-PUT-…
Mar 27, 2020
292636e
Improving Validations
Armandosz117 Mar 27, 2020
5b9dbe0
Merge pull request #19 from Internship4thSource/feature/KGN-Improveme…
Mar 27, 2020
5a2945c
swagger fix
Armandosz117 Mar 27, 2020
1b42348
Merge pull request #20 from Internship4thSource/feature/KGN-Swagger-fix
Mar 27, 2020
712f769
QA deploy validations issues
Mar 27, 2020
fbc7e41
Deleting Swagger files
Mar 27, 2020
c798c98
Merge pull request #21 from Internship4thSource/feature/KGN-QA-Deploy…
Mar 27, 2020
054812b
fixed the unit test
AlejandroG1997 Mar 31, 2020
420827b
I delete autowire and commented code
AlejandroG1997 Mar 31, 2020
cecad80
Merge pull request #22 from Internship4thSource/feature/KGN-UnitTests
Mar 31, 2020
a2d7e0a
coverage with JaCoCo in all methods
JuMaze Mar 31, 2020
05e2f03
Merge pull request #23 from Internship4thSource/feature/KGN-ServiceIm…
Mar 31, 2020
1a1a2ae
Fixed blank spaces-serviceImpl
Armandosz117 Apr 1, 2020
e811861
fix the sprintTestException
AlejandroG1997 Apr 1, 2020
e586aa4
Merge pull request #25 from Internship4thSource/feature/KGN-SprintTes…
Apr 1, 2020
2d19f8b
Merge pull request #24 from Internship4thSource/feature/KGN-fixing-bl…
Apr 1, 2020
5c6193f
fix bud id field
AlejandroG1997 Apr 2, 2020
e913726
Merge pull request #26 from Internship4thSource/feature/KGN-id-field-Bug
Apr 2, 2020
c2d6e67
Fix the unittest properties file
AlejandroG1997 Apr 2, 2020
15ee13d
Merge pull request #27 from Internship4thSource/feature/KGN-Fix-unitt…
Apr 2, 2020
2801571
Enhanced name and status validations
Armandosz117 Apr 2, 2020
9e51969
Fixed exceptions & name,status validations
Armandosz117 Apr 3, 2020
20a3a7e
Improvement validations response
Armandosz117 Apr 3, 2020
61c8e58
Fixed getAll method & delete exception
Armandosz117 Apr 3, 2020
95e1d6a
Merge pull request #28 from Internship4thSource/feature/KGN-enhanced-…
Apr 3, 2020
3f198df
Fixed start_date exception
Armandosz117 Apr 6, 2020
bcd4c58
UnitTest coverage improvement
Armandosz117 Apr 6, 2020
3a5f245
fixed start_date json response validation
Armandosz117 Apr 6, 2020
efc8a91
Merge pull request #29 from Internship4thSource/feature/KGN-fixed-def…
Apr 6, 2020
9a6f587
Creation of dynamic validation, validations for points and progress a…
AlejandroG1997 Apr 7, 2020
c15ef64
Delete commented spaces
AlejandroG1997 Apr 7, 2020
5f9307b
Merge pull request #30 from Internship4thSource/feature/KGN-DinamicVa…
Apr 7, 2020
4c7dd8f
Added GET to return tasks from a story
Bruno-Israel-Mendoza-Aguilar Apr 7, 2020
7657067
Changed method names to follow standard
Bruno-Israel-Mendoza-Aguilar Apr 7, 2020
6fb8cbd
Changed example on ApiModelProperty
Bruno-Israel-Mendoza-Aguilar Apr 7, 2020
7676e52
Merge pull request #31 from Internship4thSource/feature/GET-return-al…
Apr 7, 2020
94596fb
GET method for Task by Id
Gabriel-hcd Apr 7, 2020
457fa89
Error changed from a 500 to a 404
Gabriel-hcd Apr 7, 2020
0569014
missing classes for CustomRepoImpl
Gabriel-hcd Apr 7, 2020
dc3fec5
Merge pull request #32 from Internship4thSource/feature/GET-task-by-id
Apr 7, 2020
f426bec
Delete-stories/id/tasks/taskId Operation
Armandosz117 Apr 8, 2020
1488ab9
Fixed due_Date & delete stories/id/tasks/idTask exceptions
Armandosz117 Apr 8, 2020
b5fa5e2
Fixed delete task exception
Armandosz117 Apr 8, 2020
79b65ea
Fixed assignedId exception
Armandosz117 Apr 8, 2020
6df9007
Merge pull request #33 from Internship4thSource/feature/KGN-Delete-st…
Apr 8, 2020
7a6b087
Created Unit Tests
Bruno-Israel-Mendoza-Aguilar Apr 8, 2020
2a59407
Merge pull request #35 from Internship4thSource/feature/GET-return-al…
Apr 8, 2020
5e4443f
minor change in ServiceImpl and Unit testing
Gabriel-hcd Apr 8, 2020
e3e9327
Merge pull request #36 from Internship4thSource/feature/GET-task-by-i…
Apr 8, 2020
9aa0318
created the new POST operation for the Tasks
JuMaze Apr 9, 2020
810a044
created the new POST operation and fixed the validation in post and p…
JuMaze Apr 9, 2020
fc9d1db
Merge pull request #37 from Internship4thSource/feature/KGN-new-POST
Apr 9, 2020
87de7d2
Adding updateTaskById operation
Apr 11, 2020
2b6e72e
Fixing validation, refactoring code
Apr 11, 2020
a0bf896
Changing FinalTasks variable for updatedTasks
Apr 11, 2020
3ac775d
Adding validations for status
Apr 11, 2020
9502ea7
Merge pull request #38 from Internship4thSource/feature/New-Put-Tasks…
Apr 11, 2020
c093a77
fixed date validation & deleteTask tests
Armandosz117 Apr 13, 2020
ae2fa8e
Fixed due_date validation
Armandosz117 Apr 13, 2020
d73249d
fixed blank spaces
Armandosz117 Apr 13, 2020
6585e82
Unit tests for Post Task operation
JuMaze Apr 13, 2020
f158e87
fix jacoco coverage tests
AlejandroG1997 Apr 13, 2020
a31e803
modified the http status
JuMaze Apr 15, 2020
4b4656e
Merge pull request #39 from Internship4thSource/feature/KGN-deleteTas…
Apr 15, 2020
e97097d
Merge pull request #40 from Internship4thSource/feature/KGN-fix-jacoc…
Apr 15, 2020
4d700b1
Merge pull request #41 from Internship4thSource/feature/KGN-Unit-Test…
Apr 15, 2020
42bfd8c
fix for the controller test
JuMaze Apr 16, 2020
fa2a11e
Merge pull request #42 from Internship4thSource/feature/KGN-Fix-contr…
Apr 16, 2020
ace1151
Fix for the Bug in the post-task of the story not found
JuMaze Apr 16, 2020
33fa55e
Fixed return id as object for POST story & tasks method
Armandosz117 Apr 16, 2020
b7afe98
Merge pull request #44 from Internship4thSource/feature/KGN-return-js…
Apr 16, 2020
8e874de
Merge pull request #43 from Internship4thSource/feature/KGN-Bug-for-s…
Apr 16, 2020
f6393e0
Fixed PUT/task exception for empty/null name field validation
Armandosz117 Apr 17, 2020
b848c0d
Merge pull request #45 from Internship4thSource/feature/KGN-Fixed-put…
Apr 17, 2020
dba24d4
Constants variables for service, controller and sprints
JuMaze Apr 17, 2020
47bddd4
Merge pull request #46 from Internship4thSource/feature/KGN-NFR-stati…
Apr 17, 2020
96e2c28
Fixed DELETE task status code exception
Armandosz117 Apr 20, 2020
1cdc2ee
Merge pull request #47 from Internship4thSource/feature/KGN-Fixed-del…
Apr 20, 2020
13035b0
Two Bugs Fixed
Gabriel-hcd Apr 20, 2020
ce0f548
Tests get task by id improvement
Gabriel-hcd Apr 20, 2020
0d63f85
UpdateTasksByid fixes and Junits Test Cases
Apr 21, 2020
f1d3491
Tests improvement and properties fixed
Gabriel-hcd Apr 21, 2020
052cae2
Test constant changed
Gabriel-hcd Apr 21, 2020
73cd366
using TaskDomains in TestUtils, Using an id declared on
Apr 21, 2020
fc00365
Merge pull request #48 from Internship4thSource/GET-task-by-ID-BugsFix
Apr 21, 2020
8fda35e
taking all my values for testing to TestUtils
Apr 21, 2020
915be0c
Merge branch 'develop' into feature/updateTaskbyId-Fixes-And-Junits
LuisTorres07 Apr 21, 2020
22b54f5
fixed the validation format
JuMaze Apr 21, 2020
6a4cd4f
Using domains directly from testUtils instead of declaring a new value
Apr 21, 2020
2f81df6
Merge pull request #49 from Internship4thSource/feature/updateTaskbyI…
Apr 21, 2020
c3febdd
Merge pull request #51 from Internship4thSource/feature/KGN-fix-valid…
Apr 21, 2020
9ab60c6
Fixed deleteTask code
Armandosz117 Apr 21, 2020
94d9611
Merge pull request #52 from Internship4thSource/feature/KGN-fixed-del…
Apr 21, 2020
725247b
Special character validations to tasks and story
AlejandroG1997 Apr 22, 2020
a4b8e03
change the validation message for special characters
AlejandroG1997 Apr 22, 2020
edd1bea
uploaded the gitignore and codeowners files
JuMaze Apr 22, 2020
f3faade
Merge pull request #53 from Internship4thSource/feature/KGN-special-c…
Apr 22, 2020
a1b4485
Add new version
Apr 22, 2020
c3e5f79
Merge pull request #55 from Internship4thSource/feature/new-version
Apr 22, 2020
614c5ad
Swagger not showing error fixed
Gabriel-hcd Apr 22, 2020
9f9ca3c
Merge pull request #56 from Internship4thSource/feature/Swagger-issue…
Apr 22, 2020
b0f1da1
Update CODEOWNERS
JuMaze Apr 23, 2020
a30116e
Merge pull request #54 from Internship4thSource/feature/KGN-Implement…
Apr 23, 2020
0ceda09
Remove all statics values
JuMaze Apr 23, 2020
dc880f7
Move static values
JuMaze Apr 24, 2020
dbe800f
Merge pull request #59 from Internship4thSource/feature/KGN-NFR-remov…
Apr 24, 2020
2f875e9
Fix commit
AlejandroG1997 Apr 27, 2020
34d19b3
Fix commit
AlejandroG1997 Apr 27, 2020
12527a9
karina changes and validation with regex
AlejandroG1997 Apr 28, 2020
d96a71b
Fix menssages
AlejandroG1997 Apr 28, 2020
9c27f56
deletion of credentials and change of messages
AlejandroG1997 Apr 28, 2020
86eca85
Merge pull request #60 from Internship4thSource/feature/KGN-regex-val…
Apr 28, 2020
2a97630
Improved swagger documentation
JuMaze Apr 28, 2020
66b1f90
Merge pull request #63 from Internship4thSource/feature/KGN-Improve-s…
Apr 28, 2020
1f7786a
Change of status codes
AlejandroG1997 Apr 28, 2020
2fa190c
Merge pull request #64 from Internship4thSource/feature/KGN-Delete-Va…
Apr 28, 2020
053d9d8
validation of the tasks and history field with string values
AlejandroG1997 Apr 29, 2020
deaf10c
Merge pull request #66 from Internship4thSource/feature/KGN-Validate-…
Apr 29, 2020
ee85c5d
change all paths to full paths
AlejandroG1997 Apr 29, 2020
181f55b
Merge pull request #67 from Internship4thSource/feature/KGN-Complete-…
Apr 29, 2020
6cb7102
Add logger for task methods
Armandosz117 Apr 29, 2020
eceb407
Add Loggin for SprintClient
Armandosz117 Apr 29, 2020
ce08db2
Merge pull request #69 from Internship4thSource/feature/KGN-Logging-e…
Apr 29, 2020
e8d3cd4
Consume usersAPI to validate assigneeId
Armandosz117 Apr 30, 2020
fef22a8
Add put AssigneId validation - excluded GlobalExcHand of the jacoco c…
Armandosz117 Apr 30, 2020
9f3de65
Fixed 400 to 409 postStory - AssigneeIdException
Armandosz117 Apr 30, 2020
de3a0c0
Merge pull request #70 from Internship4thSource/feature/KGN-Consume-u…
Apr 30, 2020
705cf70
Update Readme.md file
Armandosz117 Apr 30, 2020
7ab3dff
Merge pull request #71 from Internship4thSource/feature/KGN-Readme-file
Apr 30, 2020
1cc4a2e
Healthchecks configured
JuMaze May 1, 2020
ad577e4
fixed the Readme and Healthchecks files, added Healthchecks tests
JuMaze May 1, 2020
631a583
Merge pull request #72 from Internship4thSource/feature/KGN-Configure…
May 1, 2020
7dfecd2
Fixed Status Options
Armandosz117 May 4, 2020
108e7c9
Merge pull request #74 from Internship4thSource/feature/KGN-fixed-Status
May 4, 2020
a81119d
fix regex null fields
AlejandroG1997 May 6, 2020
928efc5
Merge pull request #76 from Internship4thSource/feature/KGN-Fix-Regex…
May 6, 2020
2d25333
Add new version
May 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
log/
.settings/
.classpath
.project

#Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

#Intellij
out/
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

#Eclipse
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
.externalToolBuilders/
*.launch
*.pydevproject
.cproject
.autotools
.factorypath
.buildpath
.target
.tern-project
.texlipse
.springBeans
.recommenders/
.apt_generated/
.apt_generated_test/
.cache-main
.scala_dependencies
.worksheet
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @apokochito
53 changes: 51 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,51 @@
# StoriesAPI
StoriesAPI by Team Kingsman
# StoriesAPI

README file for StoriesAPI

## Getting Started

<b>Created on 4/30/2020</b>

StoriesAPI is an API to manage the stories for the <b>ResourceSC</b> project created for 4thSource to have control in the future Internships programs. This API has an MVC structure created with Spring Boot Framework.

GitHub - [https://github.com/Internship4thSource/StoriesAPI](https://github.com/Internship4thSource/StoriesAPI)

AWS EB (QA Enviroment) - [http://stories-qa.us-east-2.elasticbeanstalk.com/stories/](http://stories-qa.us-east-2.elasticbeanstalk.com/stories/)

## Tools

| Technology| Usage|
| --- | --- |
| Eclipse | IDE |
| Java 8 | Programming Lenguague |
| Spring | Framework |
| Maven | Dependencies/Release Handler |
| Swagger | Documentation |
| Postman| Testing |
| Log4j2 | Log Managment |
| Junit 4 | Unit Testing |
| Mockito | Testing Framework|
| MongoDB | NoSQL Database |
| MongoCompass | Mongo GUI |
| AWS Elastic BeanStalk | Deploying Web App |

## Contributor Team

| Developer| Email |
| --- | --- |
| Dana Elena Pinto Apolinar | diana.pinto@agilethought.com |
| Jose Armando Sanchez Barajas | jose.sanchez@agilethought.com |
| Alejandro Gutierrez Aguilar | alejandro.gutierrez@agilethought.com |
| Juan Zepeda Hernandez | juan.zepeda@agilethought.com |


## Copyright / License

#### 4thSource an AgileTought Company

## Documentation

Swagger - [http://stories-qa.us-east-2.elasticbeanstalk.com/swagger-ui.html#/Microservices_STORY/](http://stories-qa.us-east-2.elasticbeanstalk.com/swagger-ui.html#/Microservices_STORY)

## Status
Actuator - [http://stories-qa.us-east-2.elasticbeanstalk.com/actuator/health](http://stories-qa.us-east-2.elasticbeanstalk.com/actuator/health)
248 changes: 248 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>

<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.stories</groupId>
<artifactId>stories</artifactId>
<version>1.0.1</version>
<name>stories</name>
<description>Stories application</description>

<properties>
<java.version>8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
</dependency>

<dependency>
<groupId>ma.glasnost.orika</groupId>
<artifactId>orika-core</artifactId>
<version>1.5.4</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.8.2</version><!--$NO-MVN-MAN-VER$ -->
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.8.2</version><!--$NO-MVN-MAN-VER$ -->
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.2</version>
</dependency>

<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
</dependency>

<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<configuration>
<excludes>
<exclude>**/domain/**/*</exclude>
<exclude>**/exception/**/*</exclude>
<exclude>**/model/**/*</exclude>
<exclude>**/config/**/*</exclude>
<exclude>**/mapper/**/*</exclude>
<exclude>**/repository/**/*</exclude>
<exclude>**/constants/**/*</exclude>
<exclude>**/com/stories/StoriesApplication.class</exclude>
<exclude>**/com/stories/controller/GlobalExceptionHandler.class</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<phase>test</phase>
<configuration>
<outputDirectory>target/jacoco-report</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.7</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<apiSources>
<apiSource>
<springmvc>true</springmvc>
<locations>com.stories</locations>

<info>
<title>Stories API</title>
<description>
Official documentation for Stories AP
</description>

<version>0.0.1</version>

<contact>
<url>http://stories-qa.us-east-2.elasticbeanstalk.com</url>
</contact>
</info>
<swaggerDirectory>${project.basedir}/src/main/resources</swaggerDirectory>
<swaggerFileName>swagger</swaggerFileName>
<outputFormats>json,yaml</outputFormats>
<attachSwaggerArtifact>true</attachSwaggerArtifact>
</apiSource>
</apiSources>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
com.github.kongchen
</groupId>
<artifactId>
swagger-maven-plugin
</artifactId>
<versionRange>
[3.1.7,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
Loading