-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
209 additions
and
989 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
23 changes: 8 additions & 15 deletions
23
...erator/server/springboot/webflux/web/application/SpringBootWebfluxApplicationService.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 |
---|---|---|
@@ -1,27 +1,20 @@ | ||
package tech.jhipster.lite.generator.server.springboot.webflux.web.application; | ||
|
||
import org.springframework.stereotype.Service; | ||
import tech.jhipster.lite.generator.project.domain.Project; | ||
import tech.jhipster.lite.generator.server.springboot.webflux.web.domain.SpringBootWebfluxService; | ||
import tech.jhipster.lite.generator.server.springboot.webflux.web.domain.SpringBootWebfluxModuleFactory; | ||
import tech.jhipster.lite.module.domain.JHipsterModule; | ||
import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties; | ||
|
||
@Service | ||
public class SpringBootWebfluxApplicationService { | ||
|
||
private final SpringBootWebfluxService springBootWebfluxService; | ||
private final SpringBootWebfluxModuleFactory factory; | ||
|
||
public SpringBootWebfluxApplicationService(SpringBootWebfluxService springBootWebfluxService) { | ||
this.springBootWebfluxService = springBootWebfluxService; | ||
public SpringBootWebfluxApplicationService() { | ||
factory = new SpringBootWebfluxModuleFactory(); | ||
} | ||
|
||
public void init(Project project) { | ||
springBootWebfluxService.init(project); | ||
} | ||
|
||
public void addSpringBootWebflux(Project project) { | ||
springBootWebfluxService.addSpringBootWebflux(project); | ||
} | ||
|
||
public void addExceptionHandler(Project project) { | ||
springBootWebfluxService.addExceptionHandler(project); | ||
public JHipsterModule buildModule(JHipsterModuleProperties properties) { | ||
return factory.buildModule(properties); | ||
} | ||
} |
53 changes: 0 additions & 53 deletions
53
.../tech/jhipster/lite/generator/server/springboot/webflux/web/domain/SpringBootWebflux.java
This file was deleted.
Oops, something went wrong.
107 changes: 0 additions & 107 deletions
107
...r/lite/generator/server/springboot/webflux/web/domain/SpringBootWebfluxDomainService.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.