Update dependencies and add springdoc-openapi-starter-webmvc-ui dependency
This commit is contained in:
@@ -5,19 +5,21 @@ import com.olympus.feign.SourceCodeModule;
|
||||
import com.olympus.hermione.services.SourceCodeService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
|
||||
@RestController
|
||||
public class ApplicationBrowserController {
|
||||
|
||||
|
||||
@Autowired
|
||||
SourceCodeService sourceCodeService;
|
||||
private SourceCodeModule sourceCodeModule;
|
||||
|
||||
@GetMapping
|
||||
public TreeNode getApplicationNode(String applicationName){
|
||||
return sourceCodeService.getApplicationNode(applicationName);
|
||||
|
||||
@GetMapping("/source-viewer/getApplicationTreeNode")
|
||||
public TreeNode getApplicationNode(@RequestParam() String applicationName){
|
||||
return sourceCodeModule.getTreeFromNode(applicationName,"application");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -28,4 +28,5 @@ logging.level.org.springframework.ai.chat.client.advisor=DEBUG
|
||||
eureka.client.serviceUrl.defaultZone: ${EUREKA_URI:http://localhost:8761/eureka}
|
||||
eureka.instance.preferIpAddress: true
|
||||
|
||||
hermione.fe.url = *
|
||||
hermione.fe.url = *
|
||||
ariadne.fe.url = *
|
||||
Reference in New Issue
Block a user