-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed "-rc1" from all pom.xml files * removed -rc1 in id-repository Co-authored-by: M1045585 <M1045585@A2ML26116.mindtree.com> Co-authored-by: John David Panneerselvam <M1045585@mindtree.com>
- Loading branch information
1 parent
2385c71
commit ea88b52
Showing
34 changed files
with
436 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-parent</artifactId> | ||
<version>1.0.6</version> | ||
</parent> | ||
|
||
<artifactId>kernel-jasperreport-service</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<properties> | ||
<kernel.core.version>1.0.6</kernel.core.version> | ||
<kernel.auth-adapter.version>1.0.8</kernel.auth-adapter.version> | ||
<kernel.applicant-type.version>1.0.6</kernel.applicant-type.version> | ||
<kernel.dataaccess-hibernate.version>1.0.6</kernel.dataaccess-hibernate.version> | ||
<kernel.audit-api.version>1.0.6</kernel.audit-api.version> | ||
<kernel.logger.version>1.0.6</kernel.logger.version> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-core</artifactId> | ||
<version>${kernel.core.version}</version> | ||
</dependency> | ||
<!--dependency> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-dataaccess-hibernate</artifactId> | ||
<version>${kernel.dataaccess-hibernate.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.postgresql</groupId> | ||
<artifactId>postgresql</artifactId> | ||
<version>${postgresql.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-auditmanager-api</artifactId> | ||
<version>${kernel.audit-api.version}</version> | ||
</dependency--> | ||
<dependency> | ||
<groupId>io.mosip.kernel</groupId> | ||
<artifactId>kernel-logger-logback</artifactId> | ||
<version>${kernel.logger.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-web</artifactId> | ||
<version>${spring.boot.version}</version> | ||
</dependency> | ||
<!-- https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports --> | ||
<dependency> | ||
<groupId>net.sf.jasperreports</groupId> | ||
<artifactId>jasperreports</artifactId> | ||
<version>3.7.5</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
<version>2.0.2.RELEASE</version> | ||
<configuration> | ||
<executable>true</executable> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>build-info</goal> | ||
<goal>repackage</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
16 changes: 16 additions & 0 deletions
16
...eport-service/src/main/java/io/mosip/kernel/jasperreport/JasperreportBootApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package io.mosip.kernel.jasperreport; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication(scanBasePackages = { "io.mosip.kernel.auditmanager.*", "io.mosip.kernel.auth.*" }) | ||
public class JasperreportBootApplication { | ||
/** | ||
* Main method to run spring boot application | ||
* | ||
* @param args args | ||
*/ | ||
public static void main(String[] args) { | ||
SpringApplication.run(JasperreportBootApplication.class, args); | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...service/src/main/java/io/mosip/kernel/jasperreport/controller/JasperreportController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package io.mosip.kernel.jasperreport.controller; | ||
|
||
import javax.validation.Valid; | ||
|
||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.http.MediaType; | ||
import org.springframework.web.bind.annotation.CrossOrigin; | ||
import org.springframework.web.bind.annotation.PostMapping; | ||
import org.springframework.web.bind.annotation.RequestBody; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
import io.mosip.kernel.core.http.RequestWrapper; | ||
import io.mosip.kernel.core.http.ResponseFilter; | ||
import io.mosip.kernel.core.http.ResponseWrapper; | ||
import io.mosip.kernel.jasperreport.dto.JasperreportResponseDto; | ||
import io.mosip.kernel.jasperreport.request.JasperreportRequestDto; | ||
|
||
|
||
@RestController | ||
@CrossOrigin | ||
public class JasperreportController { | ||
|
||
|
||
@ResponseFilter | ||
@PostMapping(value = "/jasperreport", produces = MediaType.APPLICATION_JSON_VALUE) | ||
public ResponseWrapper<JasperreportResponseDto> addAudit(@RequestBody @Valid RequestWrapper<JasperreportRequestDto> requestDto) { | ||
ResponseWrapper<JasperreportResponseDto> response = new ResponseWrapper<>(); | ||
return response; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...eport-service/src/main/java/io/mosip/kernel/jasperreport/dto/JasperreportResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.mosip.kernel.jasperreport.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class JasperreportResponseDto { | ||
|
||
/** | ||
* The boolean audit status | ||
*/ | ||
private boolean status; | ||
|
||
} |
Oops, something went wrong.