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
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ mode (e.g., `GDT=false` will still enable GDT features). Note that this is curre
128
128
may have unexpected consequences if applied to other TIMDEX UI apps.
129
129
-`GLOBAL_ALERT`: The main functionality for this comes from our theme gem, but when set the value will be rendered as
130
130
safe html above the main header of the site.
131
+
-`ORIGINS`: sets origins for CORS (currently used only for TACOS API calls).
131
132
-`PLATFORM_NAME`: The value set is added to the header after the MIT Libraries logo. The logic and CSS for this comes from our theme gem.
132
133
-`PRIMO_TIMEOUT`: The number of seconds before a Primo request times out (default 6).
133
134
-`REQUESTS_PER_PERIOD` - number of requests that can be made for general throttles per `REQUEST_PERIOD`
@@ -136,13 +137,21 @@ may have unexpected consequences if applied to other TIMDEX UI apps.
136
137
-`REDIRECT_REQUEST_PERIOD`- time in minutes used along with `REDIRECT_REQUEST_PERIOD`
137
138
-`SENTRY_DSN`: Client key for Sentry exception logging.
138
139
-`SENTRY_ENV`: Sentry environment for the application. Defaults to 'unknown' if unset.
140
+
-`TACOS_SOURCE`: If set, this value is sent to TACOS (as the `sourceSystem` value) to distinguish which application
141
+
instance is sending what search traffic. Defaults to "unset" if not defined.
142
+
-`TACOS_URL`: The GraphQL endpoint for the [TACOS API](https://github.com/mitlibraries/tacos/). When set, the
143
+
application will log search terms to TACOS (and eventually return suggested resources that TACOS detects).
139
144
-`TIMDEX_INDEX`: Name of the index, or alias, to provide to the GraphQL endpoint. Defaults to `nil` which will let TIMDEX determine the best index to use. Wildcard values can be set, for example `rdi*` would search any indexes that begin with `rdi` in the underlying OpenSearch instance behind TIMDEX.
140
145
-`TIMDEX_SOURCES`: Comma-separated list of sources to display in the advanced-search source selection element. This
141
146
overrides the default which is set in ApplicationHelper.
142
147
143
148
#### Test Environment-only Variables
144
149
145
150
-`SPEC_REPORTER`: Optional variable. If set, enables spec reporter style output from tests rather than minimal output.
151
+
-`TACOS_HOST`: Test Env only. Used to ensure the VCR cassettes can properly scrub specific host data to make sure we
152
+
get the same cassettes regardless of which host was used to generate the cassettes. This should be set to the hostname
153
+
that matches `TACOS_URL`. Ex: If `TACOS_URL` is `http://localhost:3001/graphql` then `TACOS_HOST` should be
154
+
`localhost:3001`.
146
155
-`TIMDEX_HOST`: Test Env only. Used to ensure the VCR cassettes can properly scrub specific host data to make sure we get the same cassettes regardless of which host was used to generate the cassettes. This should be set to the host name that matches `TIMDEX_GRAPHQL`. Ex: If `TIMDEX_GRAPHQL` is `https://www.example.com/graphql` then `TIMDEX_HOST` should be `www.example.com`.
0 commit comments