forked from ArtGeekTech/health-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
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
55 changed files
with
493 additions
and
506 deletions.
There are no files selected for viewing
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
13 changes: 13 additions & 0 deletions
13
data-consumer/src/main/java/com/artgeektech/iotmicroservices/Constants.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,13 @@ | ||
package com.artgeektech.iotmicroservices; | ||
|
||
/** | ||
* Created by guang on 5:49 AM 8/19/18. | ||
*/ | ||
public class Constants { | ||
|
||
public static final String EXCHANGE_NAME = "AirDataExchange"; | ||
|
||
public static final String QUEUE_NAME = "AirDataQueue"; | ||
|
||
public static final String ROUTING_KEY = "airdata.ingested"; | ||
} |
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
30 changes: 0 additions & 30 deletions
30
...c/main/java/com/artgeektech/iotmicroservices/configuration/DataConsumerConfiguration.java
This file was deleted.
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
10 changes: 10 additions & 0 deletions
10
...consumer/src/main/java/com/artgeektech/iotmicroservices/repository/AirDataRepository.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,10 @@ | ||
package com.artgeektech.iotmicroservices.repository; | ||
|
||
import com.artgeektech.iotmicroservices.model.AirData; | ||
import org.springframework.data.mongodb.repository.MongoRepository; | ||
|
||
/** | ||
* Created by guang on 7:04 AM 8/19/18. | ||
*/ | ||
public interface AirDataRepository extends MongoRepository<AirData, String> { | ||
} |
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
13 changes: 13 additions & 0 deletions
13
data-ingest/src/main/java/com/artgeektech/iotmicroservices/Constants.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,13 @@ | ||
package com.artgeektech.iotmicroservices; | ||
|
||
/** | ||
* Created by guang on 5:49 AM 8/19/18. | ||
*/ | ||
public class Constants { | ||
|
||
public static final String EXCHANGE_NAME = "AirDataExchange"; | ||
|
||
public static final String QUEUE_NAME = "AirDataQueue"; | ||
|
||
public static final String ROUTING_KEY = "airdata.ingested"; | ||
} |
9 changes: 9 additions & 0 deletions
9
data-ingest/src/main/java/com/artgeektech/iotmicroservices/DataIngestApplication.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
18 changes: 0 additions & 18 deletions
18
...src/main/java/com/artgeektech/iotmicroservices/configuration/DataIngestConfiguration.java
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ eureka: | |
client: | ||
serviceUrl: | ||
defaultZone: http://service-registry:8761/eureka/ | ||
|
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 |
---|---|---|
|
@@ -16,4 +16,3 @@ eureka: | |
client: | ||
serviceUrl: | ||
defaultZone: http://service-registry:8761/eureka/ | ||
|
Oops, something went wrong.