You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally, this component is installed with [RADAR-Kubernetes](https://github.com/RADAR-base/RADAR-Kubernetes). It uses Docker image [radarbase/kafka-connect-rest-fitbit-source](https://hub.docker.com/r/radarbase/kafka-connect-rest-fitbit-source).
27
+
Generally, this component is installed
28
+
with [RADAR-Kubernetes](https://github.com/RADAR-base/RADAR-Kubernetes). It uses Docker
For automatic configuration for multiple users, please take a look at `scripts/REDCAP-FITBIT-AUTH-AUTO/README.md`.
39
+
For automatic configuration for multiple users, please take a look at
40
+
`scripts/REDCAP-FITBIT-AUTH-AUTO/README.md`.
26
41
27
42
Copy `docker/source-fitbit.properties.template` to `docker/source-fitbit.properties` and enter
28
43
your Fitbit App client ID and client secret. The following tables shows the possible properties.
@@ -37,6 +52,10 @@ your Fitbit App client ID and client secret. The following tables shows the poss
37
52
<th>Importance</th>
38
53
</tr>
39
54
<tr>
55
+
<td>application.loop.interval.ms</td><td>How often to perform the main application loop (only controls how often to poll for new user registrations).></td><td>long</td><td>300000</td><td></td><td></td></tr>
56
+
<tr>
57
+
<td>user.cache.refresh.interval.ms</td><td>How often to invalidate the cache and poll for new user registrations.</td><td>long</td><td>3600000</td><td></td><td></td></tr>
58
+
<tr>
40
59
<td>rest.source.poll.interval.ms</td><td>How often to poll the source URL.</td><td>long</td><td>60000</td><td></td><td>low</td></tr>
41
60
<tr>
42
61
<td>rest.source.base.url</td><td>Base URL for REST source connector.</td><td>string</td><td></td><td></td><td>high</td></tr>
@@ -90,7 +109,8 @@ your Fitbit App client ID and client secret. The following tables shows the poss
90
109
<td>fitbit.user.firebase.collection.user.name</td><td>Firestore Collection for retrieving User details. Only used when a Firebase based user repository is used.</td><td>string</td><td>users</td><td></td><td>low</td></tr>
91
110
</tbody></table>
92
111
93
-
If the ManagementPortal is used to authenticate against the user repository, please add an OAuth client to ManagementPortal with the following properties:
112
+
If the ManagementPortal is used to authenticate against the user repository, please add an OAuth
113
+
client to ManagementPortal with the following properties:
94
114
95
115
```
96
116
Client ID: fitbit.user.repository.client.id
@@ -102,7 +122,8 @@ Access Token validity: 600
102
122
Refresh Token validity: 0
103
123
```
104
124
105
-
Finally set the `fitbit.user.repository.oauth.token.url` to `http://managementportal-app:8080/managementportal/oauth/token`.
125
+
Finally set the `fitbit.user.repository.oauth.token.url` to
To enable Sentry monitoring for the generic REST, Fitbit, or Oura source connector service:
186
+
187
+
1. Set a `SENTRY_DSN` environment variable that points to the desired Sentry DSN.
188
+
2. (Optional) Set the `SENTRY_LOG_LEVEL` environment variable to control the minimum log level of
189
+
events sent to Sentry.
190
+
The default log level for Sentry is `WARN`. Possible values are `TRACE`, `DEBUG`, `INFO`, `WARN`,
191
+
and `ERROR`.
192
+
193
+
For further configuration of Sentry via environmental variables see [here](https://docs.sentry.io/platforms/java/configuration/#configuration-via-the-runtime-environment). For instance:
Code should be formatted using the [Google Java Code Style Guide](https://google.github.io/styleguide/javaguide.html).
165
-
If you want to contribute a feature or fix browse our [issues](https://github.com/RADAR-base/RADAR-REST-Connector/issues), and please make a pull request.
204
+
Code should be formatted using
205
+
the [Google Java Code Style Guide](https://google.github.io/styleguide/javaguide.html).
206
+
If you want to contribute a feature or fix browse
207
+
our [issues](https://github.com/RADAR-base/RADAR-REST-Connector/issues), and please make a pull
0 commit comments