-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from LabGraphTeam/release
These changes improve the maintainability and robustness of the codebase.
- Loading branch information
Showing
23 changed files
with
585 additions
and
469 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Profile; | ||
import io.swagger.v3.oas.annotations.OpenAPIDefinition; | ||
import io.swagger.v3.oas.models.Components; | ||
import io.swagger.v3.oas.models.OpenAPI; | ||
|
@@ -12,19 +13,19 @@ | |
|
||
@Configuration | ||
@OpenAPIDefinition | ||
@Profile("!prod") | ||
public class SpringDocConfiguration { | ||
@Bean | ||
OpenAPI customOpenAPI() { | ||
return new OpenAPI() | ||
.components(new Components().addSecuritySchemes("bearer-key", | ||
new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("bearer") | ||
.bearerFormat("JWT"))) | ||
.info(new Info().title("QualityLab-Pro API").version("2.0").description( | ||
"REST API for operations on analytical test specifications and internal " | ||
+ "control data") | ||
.contact(new Contact().name("Leonardo Meireles") | ||
.email("[email protected]")) | ||
.license(new License().name("Apache 2.0") | ||
.url("http://labutilities/api/license"))); | ||
} | ||
@Bean | ||
OpenAPI customOpenAPI() { | ||
return new OpenAPI().components(new Components().addSecuritySchemes("bearer-key", | ||
new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("bearer") | ||
.bearerFormat("JWT"))) | ||
.info(new Info().title("QualityLab-Pro API").version("2.0") | ||
.description("REST API for operations on analytical test specifications and internal " | ||
+ "control data") | ||
.contact(new Contact().name("Leonardo Meireles") | ||
.email("[email protected]")) | ||
.license(new License().name("Apache 2.0").url( | ||
"http://labutilities/api/license"))); | ||
} | ||
} |
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
27 changes: 0 additions & 27 deletions
27
.../java/leonardo/labutilities/qualitylabpro/services/analytics/AbstractAnalyticService.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.