Skip to content

Commit 144caa1

Browse files
committed
heroku
1 parent a67fb5a commit 144caa1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<artifactId>spring-boot-starter-actuator</artifactId>
6060
</dependency>
6161
<!-- spring cloud -->
62+
<!--
6263
<dependency>
6364
<groupId>org.springframework.cloud</groupId>
6465
<artifactId>spring-cloud-starter-config</artifactId>
@@ -67,7 +68,7 @@
6768
<groupId>org.springframework.cloud</groupId>
6869
<artifactId>spring-cloud-starter-eureka</artifactId>
6970
</dependency>
70-
71+
-->
7172
<dependency>
7273
<groupId>mysql</groupId>
7374
<artifactId>mysql-connector-java</artifactId>

src/main/java/com/boaglio/casadocodigo/greendogdelivery/controller/IndexController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import org.springframework.beans.factory.annotation.Autowired;
99
import org.springframework.beans.factory.annotation.Value;
10-
import org.springframework.cloud.context.config.annotation.RefreshScope;
10+
//import org.springframework.cloud.context.config.annotation.RefreshScope;
1111
import org.springframework.core.env.Environment;
1212
import org.springframework.stereotype.Controller;
1313
import org.springframework.web.bind.annotation.GetMapping;
@@ -16,7 +16,7 @@
1616

1717
import com.boaglio.casadocodigo.greendogdelivery.dto.MensagemDTO;
1818

19-
@RefreshScope
19+
//@RefreshScope
2020
@Controller
2121
@RequestMapping("/")
2222
public class IndexController {

src/main/resources/application-heroku.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,5 @@ spring.hateoas.use-hal-as-default-json-media-type=false
2525
# permite acesso ao Actuator
2626
management.security.enabled=false
2727

28-
mensagem=
29-
3028
# profile
3129
# spring.profiles.active=mysql

0 commit comments

Comments
 (0)