Skip to content

Commit

Permalink
Merge branch 'release/v1.9.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
shiido committed Dec 26, 2021
2 parents fe986bb + 0fac29c commit 5a0c4ba
Show file tree
Hide file tree
Showing 4 changed files with 302 additions and 223 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.ai.st.zuul</groupId>
<artifactId>st-zuul-server</artifactId>
<version>1.5.0</version>
<version>1.9.4</version>
<name>st-zuul-server</name>
<description>Sistema Transición - Servidor Perimetral</description>

Expand Down
20 changes: 20 additions & 0 deletions src/main/java/com/ai/st/zuul/controllers/IndexGetController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.ai.st.zuul.controllers;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@RestController
public class IndexGetController {

@GetMapping(value = "/", produces = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public Map<String, String> health() {
HashMap<String, String> map = new HashMap<>();
map.put("status", "st_on");
return map;
}

}
Loading

0 comments on commit 5a0c4ba

Please sign in to comment.