Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotgateway
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
0Tyler
iotgateway
Commits
70633781
Commit
70633781
authored
May 13, 2019
by
0Tyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upc
parent
517438af
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
337 additions
and
217 deletions
+337
-217
.gradle/4.10.3/fileHashes/fileHashes.bin
.gradle/4.10.3/fileHashes/fileHashes.bin
+0
-0
.gradle/4.10.3/fileHashes/fileHashes.lock
.gradle/4.10.3/fileHashes/fileHashes.lock
+0
-0
.idea/gradle.xml
.idea/gradle.xml
+1
-0
.idea/workspace.xml
.idea/workspace.xml
+330
-211
cloud/build.gradle
cloud/build.gradle
+0
-2
cloud/src/main/java/edu/prlab/tyler/iotgateway/cloud/config/DefaultData.java
.../edu/prlab/tyler/iotgateway/cloud/config/DefaultData.java
+1
-1
cloud/src/main/java/edu/prlab/tyler/iotgateway/cloud/pojo/device/Device.java
.../edu/prlab/tyler/iotgateway/cloud/pojo/device/Device.java
+1
-1
cloud/src/test/java/edu/prlab/tyler/iotgateway/cloud/CloudHttpApiTest.java
...va/edu/prlab/tyler/iotgateway/cloud/CloudHttpApiTest.java
+1
-1
gateway/build.gradle
gateway/build.gradle
+3
-0
gateway/out/test/classes/edu/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.class
...u/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.class
+0
-0
gateway/src/test/java/edu/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.java
...du/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.java
+0
-1
No files found.
.gradle/4.10.3/fileHashes/fileHashes.bin
View file @
70633781
No preview for this file type
.gradle/4.10.3/fileHashes/fileHashes.lock
View file @
70633781
No preview for this file type
.idea/gradle.xml
View file @
70633781
...
...
@@ -10,6 +10,7 @@
<set>
<option
value=
"$PROJECT_DIR$"
/>
<option
value=
"$PROJECT_DIR$/cloud"
/>
<option
value=
"$PROJECT_DIR$/contract"
/>
<option
value=
"$PROJECT_DIR$/gateway"
/>
</set>
</option>
...
...
.idea/workspace.xml
View file @
70633781
This diff is collapsed.
Click to expand it.
cloud/build.gradle
View file @
70633781
...
...
@@ -4,7 +4,6 @@ buildscript {
mapstructVersion
=
'1.3.0.Final'
jwtVersion
=
'3.5.0'
jjwtVersion
=
'0.9.1'
guavaVersion
=
'27.1-jre'
}
repositories
{
mavenCentral
()
...
...
@@ -38,7 +37,6 @@ dependencies {
compileOnly
'org.projectlombok:lombok'
implementation
"org.mapstruct:mapstruct:${mapstructVersion}"
implementation
"com.google.guava:guava:${guavaVersion}"
runtimeOnly
'com.h2database:h2'
annotationProcessor
'org.projectlombok:lombok'
...
...
cloud/src/main/java/edu/prlab/tyler/iotgateway/cloud/config/DefaultData.java
View file @
70633781
...
...
@@ -56,7 +56,7 @@ public class DefaultData implements ApplicationRunner {
.
description
(
"本設備是為符合不同領域及照護應用而設計,並把這些特色融入小如指節的分析儀中,可在數秒內量測出準確可靠的血氧及心跳值。"
)
.
url
(
"https://www.amazon.com/Pulse-Oximeter-Blood-Oxygen-Monitor/dp/B00HXXO332"
)
.
build
())
.
UPC
(
"B00HXXO332"
)
.
upc
(
"B00HXXO332"
)
.
location
(
"25.013068, 121.541651"
)
.
status
(
Device
.
Status
.
Disconnected
)
.
build
();
...
...
cloud/src/main/java/edu/prlab/tyler/iotgateway/cloud/pojo/device/Device.java
View file @
70633781
...
...
@@ -36,7 +36,7 @@ public class Device {
@JoinColumn
(
name
=
"model_id"
)
private
Model
model
;
private
String
UPC
;
private
String
upc
;
private
String
location
;
...
...
cloud/src/test/java/edu/prlab/tyler/iotgateway/cloud/CloudHttpApiTest.java
View file @
70633781
...
...
@@ -56,7 +56,7 @@ public class CloudHttpApiTest {
.
udn
(
"udn"
)
.
name
(
"name"
)
.
type
(
Device
.
Type
.
Sensor
)
.
UPC
(
"upc"
)
.
upc
(
"upc"
)
.
model
(
Model
.
builder
()
.
name
(
"name"
)
.
url
(
"url"
)
...
...
gateway/build.gradle
View file @
70633781
buildscript
{
ext
{
springBootVersion
=
'2.1.4.RELEASE'
mapstructVersion
=
'1.3.0.Final'
}
repositories
{
mavenCentral
()
...
...
@@ -32,6 +33,8 @@ dependencies {
implementation
'org.springframework.boot:spring-boot-starter-data-jpa'
implementation
'org.springframework.boot:spring-boot-starter-web'
implementation
"org.mapstruct:mapstruct:${mapstructVersion}"
implementation
project
(
":cloud"
)
implementation
project
(
":contract"
)
compileOnly
'org.projectlombok:lombok'
...
...
gateway/out/test/classes/edu/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.class
View file @
70633781
No preview for this file type
gateway/src/test/java/edu/prlab/tyler/iotgateway/gateway/GatewayHttpApiTest.java
View file @
70633781
...
...
@@ -97,7 +97,6 @@ public class GatewayHttpApiTest {
.
privacyContent
(
PrivacyContent
.
builder
()
.
user
(
User
.
builder
()
.
account
(
"test"
)
.
password
(
"test"
)
.
build
())
.
device
(
device
)
.
policy
(
report
.
getPolicies
().
get
(
0
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment