-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.0.2' into master
- Loading branch information
Showing
609 changed files
with
17,077 additions
and
18,213 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
kind: pipeline | ||
type: exec | ||
name: default | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: greeting | ||
commands: | ||
- echo HELLO WORLD! Drone on Docker |
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
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
File renamed without changes.
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
33 changes: 33 additions & 0 deletions
33
api-gateway/src/main/java/com/jmsoftware/maf/apigateway/ApiGatewayApplication.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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.jmsoftware.maf.apigateway; | ||
|
||
import com.jmsoftware.maf.reactivespringcloudstarter.helper.SpringBootStartupHelper; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; | ||
import org.springframework.util.StopWatch; | ||
|
||
/** | ||
* <h1>ApiGatewayApplication</h1> | ||
* <p> | ||
* Change description here. | ||
* | ||
* @author Johnny Miller (锺俊), email: johnnysviva@outlook.com, date: 12/22/2020 3:39 PM | ||
**/ | ||
@Slf4j | ||
@EnableDiscoveryClient | ||
@SpringBootApplication | ||
public class ApiGatewayApplication { | ||
private static final StopWatch STOP_WATCH = new StopWatch(); | ||
private static SpringBootStartupHelper springBootStartupHelper; | ||
|
||
public ApiGatewayApplication(SpringBootStartupHelper springBootStartupHelper) { | ||
ApiGatewayApplication.springBootStartupHelper = springBootStartupHelper; | ||
} | ||
|
||
public static void main(String[] args) { | ||
STOP_WATCH.start(); | ||
SpringApplication.run(ApiGatewayApplication.class, args); | ||
springBootStartupHelper.stop(STOP_WATCH); | ||
} | ||
} |
Oops, something went wrong.