Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.8.7 #367

Merged
merged 21 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f9b4482
Using PairState enum for paired status
this-Aditya Jan 25, 2024
7726b9b
minor change for CI passing
this-Aditya Jan 25, 2024
c9863ee
bump radar-jersey to version 0.11.1-snapshot
Bdegraaf1234 Feb 13, 2024
ca8c75c
Merge pull request #363 from RADAR-base/bump-jersey
Bdegraaf1234 Feb 13, 2024
1463b8a
Add Fitbit intraday spo2 to schemas and specs
mpgxvii Mar 5, 2024
53446e5
Update intraday spo2 schema
mpgxvii Mar 5, 2024
d96dc26
Update fitbit spo2 docs
mpgxvii Mar 6, 2024
086b7b6
Merge pull request #364 from RADAR-base/add-fitbit-spo2
mpgxvii Mar 6, 2024
9a68fb2
Add resting HR to Fitbit specs
mpgxvii Mar 11, 2024
2d9d1e4
Merge pull request #365 from RADAR-base/fitbit-resting-hr
mpgxvii Mar 11, 2024
6c0e919
Merge branch 'dev' into pair-state
yatharthranjan Mar 13, 2024
0ee56a6
Added field for backward compatibility
this-Aditya Mar 13, 2024
65403bc
Security updates
Bdegraaf1234 Mar 15, 2024
cbc120f
snyk threshold to high
Bdegraaf1234 Mar 15, 2024
a451bfc
Merge branch 'dev' into security-updates
Bdegraaf1234 Mar 15, 2024
74e6c02
Merge branch 'security-updates' of https://github.com/RADAR-base/RADA…
Bdegraaf1234 Mar 15, 2024
7e7c4af
Merge pull request #362 from this-Aditya/pair-state
Bdegraaf1234 Mar 15, 2024
98ffafb
Merge branch 'dev' into security-updates
Bdegraaf1234 Mar 15, 2024
eae5111
Merge pull request #366 from RADAR-base/security-updates
Bdegraaf1234 Mar 15, 2024
636336a
bump version and update README.md
Bdegraaf1234 Mar 15, 2024
5c011db
Merge branch 'master' into release-0.8.7
Bdegraaf1234 Mar 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
--all-sub-projects
--configuration-matching='^runtimeClasspath$'
--org=radar-base
--policy-path=$PWD/.snyk
--policy-path=.snyk
--json-file-output=snyk.json
--severity-threshold=high
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- In the `passive` subdirectory, add schemas for passive data collection, like wearables.
- In the `stream` subdirectory, add schemas used in Kafka Streams.
- The `specifications` directory contains specifications of what data types are collected through which devices.
- Java SDKs for each of the components are provided in the `java-sdk` folder, see installation instructions there. They are automatically generated from the Avro schemas using the Avro 1.8.2 specification.
- Java SDKs for each of the components are provided in the `java-sdk` folder, see installation instructions there. They are automatically generated from the Avro schemas using the Avro specification (version in [Versions.kt](java-sdk/buildSrc/src/main/kotlin/Versions.kt)).

## Usage

Expand Down
11 changes: 11 additions & 0 deletions commons/connector/fitbit/fitbit_intraday_spo2.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"namespace": "org.radarcns.connector.fitbit",
"type": "record",
"name": "FitbitIntradaySpo2",
"doc": "Intra day spo2 data from fitbit device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time that the data was received from the Fitbit API (seconds since the Unix Epoch)." },
{ "name": "spo2", "type": "float", "doc": "Percentage value of SpO2 in the bloodstream. SpO2 data is collected when the user is in an extended period of sleep (at least 3 hours of quality sleep). Spo2 values are calculated on a 5-minute exponentially-moving average and provided at the end of a period of sleep."}
]
}
8 changes: 7 additions & 1 deletion commons/passive/phone/phone_bluetooth_device_scanned.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
{"name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)."},
{"name": "macAddressHash", "type": ["null", "bytes"], "default": null, "doc":"Hash of Nearby Bluetooth device MAC address."},
{"name": "hashSaltReference", "type": ["null", "int"], "doc": "Random identifier associated with the device or installation of the app. If the app gets reinstalled or installed on another device, it's clear during analysis that the mac addresses between iterations are not comparable.", "default": null},
{"name": "isPaired", "type": ["null","boolean"], "doc": "Whether the bluetooth device is paired.", "default": null}
{"name": "isPaired", "type": ["null","boolean"], "doc": "Whether the bluetooth device is paired. This has been deprecated in favor of pairedState in newer versions.", "default": null},
{"name": "pairedState", "type": ["null", {
"name": "PairedState",
"type": "enum",
"doc": "Represent the bond state of the remote device. \nNOT_PAIRED indicates the remote device is not paired. \nPAIRING indicates pairing is in progress with the remote device. \nPAIRED Indicates the remote device is paired. \nUNKNOWN indicates the pairing status is not known.",
"symbols": ["NOT_PAIRED", "PAIRING", "PAIRED", "UNKNOWN"]
}], "doc": "Indicates the current paired status of the remote device.", "default": null }
]
}
2 changes: 1 addition & 1 deletion java-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ configure(listOf(
apply(plugin = "org.radarbase.radar-publishing")

radarKotlin {
javaVersion.set(11)
javaVersion.set(Versions.java)
}

radarPublishing {
Expand Down
2 changes: 1 addition & 1 deletion java-sdk/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.9.10"
kotlin("jvm") version "1.9.22"
}

repositories {
Expand Down
20 changes: 10 additions & 10 deletions java-sdk/buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
object Versions {
const val project = "0.8.6"
const val project = "0.8.7"

const val kotlin = "1.9.10"
const val java = 17
const val avroGenerator = "1.5.0"
const val avroGenerator = "1.9.1"

const val radarCommons = "1.1.1-SNAPSHOT"
const val avro = "1.11.1"
const val jackson = "2.15.2"
const val radarCommons = "1.1.2"
const val avro = "1.11.3"
const val jackson = "2.16.1"
const val argparse = "0.9.0"
const val radarJersey = "0.11.0-SNAPSHOT"
const val junit = "5.10.0"
const val confluent = "7.5.0"
const val radarJersey = "0.11.1"
const val junit = "5.10.1"
const val confluent = "7.6.0"
const val kafka = "$confluent-ce"
const val okHttp = "4.11.0"
const val ktor = "2.3.0"
const val okHttp = "4.12.0"
const val ktor = "2.3.4"
const val slf4j = "2.0.9"
const val jakartaValidation = "3.0.2"
const val log4j2 = "2.20.0"
Expand Down
2 changes: 1 addition & 1 deletion java-sdk/radar-schemas-registration/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies {
implementation("io.confluent:kafka-schema-registry-client:${Versions.confluent}")

implementation("org.apache.kafka:connect-json:${Versions.kafka}")
implementation("io.ktor:ktor-client-auth:2.3.4")
implementation("io.ktor:ktor-client-auth:${Versions.ktor}")
}
6 changes: 6 additions & 0 deletions specifications/connector/radar-fitbit-connector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ data:
- doc: Skin temperature
topic: connect_fitbit_skin_temperature
value_schema: .connector.fitbit.FitbitSkinTemperature
- doc: Spo2 or Blood oxygen saturation
topic: connect_fitbit_intraday_spo2
value_schema: .connector.fitbit.FitbitIntradaySpo2
- doc: Resting heart rate
topic: connect_fitbit_resting_heart_rate
value_schema: .connector.fitbit.FitbitRestingHeartRate
Loading