diff --git a/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/api/IReportService.kt b/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/api/IReportService.kt new file mode 100644 index 0000000..5607014 --- /dev/null +++ b/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/api/IReportService.kt @@ -0,0 +1,14 @@ +package org.ephyra.acropolis.service.api + +/** + * Service for creation reports on a project. + * These may be different formats and contain all or a subset of the data contained in the project. + */ +interface IReportService { + /** + * Create a report which contains details of the software in the given project + * + * @param projectName The name of the project to run the report on + */ + fun runSoftwareReport(projectName: String) +} diff --git a/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/impl/ReportService.kt b/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/impl/ReportService.kt new file mode 100644 index 0000000..9325a86 --- /dev/null +++ b/acropolis-service/src/main/kotlin/org/ephyra/acropolis/service/impl/ReportService.kt @@ -0,0 +1,14 @@ +package org.ephyra.acropolis.service.impl + +import org.ephyra.acropolis.service.api.IReportService +import org.springframework.stereotype.Service + +/** + * Report service implementation + */ +@Service +class ReportService : IReportService { + override fun runSoftwareReport(projectName: String) { + + } +}