|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 |
|
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
|
28 | 28 |
|
29 | 29 | <commons-fileupload.version>1.5</commons-fileupload.version> |
30 | 30 |
|
31 | | - <circe.version>1.11.2</circe.version> |
| 31 | + <circe.version>1.12.0</circe.version> |
32 | 32 | <jersey.version>2.14</jersey.version> |
33 | 33 | <SqlRender.version>1.16.1</SqlRender.version> |
34 | 34 | <hive-jdbc.version>3.1.2</hive-jdbc.version> |
|
122 | 122 | <security.ad.system.password></security.ad.system.password> |
123 | 123 | <security.ad.searchFilter>(&(objectClass=person)(cn=%s))</security.ad.searchFilter> |
124 | 124 | <security.ad.ignore.partial.result.exception>true</security.ad.ignore.partial.result.exception> |
125 | | - <security.ad.result.count.limit>30000</security.ad.result.count.limit> <!-- 0 means no limit --> |
| 125 | + <security.ad.result.count.limit>30000</security.ad.result.count.limit> <!-- 0 means no limit --> |
126 | 126 | <security.ad.default.import.group>public</security.ad.default.import.group> |
127 | 127 | <security.ad.searchString>(&(objectClass=person)(userPrincipalName=%s))</security.ad.searchString> |
128 | 128 | <security.ad.userMapping.displaynameAttr>displayname</security.ad.userMapping.displaynameAttr> |
|
191 | 191 | <!-- If defaultGlobalReadPermissions is set to true (default), then all users can see every artifact. --> |
192 | 192 | <!-- If it is set to false, WebAPI will filter out the artifacts that a user does not explicitly have --> |
193 | 193 | <!-- read permissions to --> |
194 | | - <security.defaultGlobalReadPermissions>true</security.defaultGlobalReadPermissions> |
195 | | - |
| 194 | + <security.defaultGlobalReadPermissions>true</security.defaultGlobalReadPermissions> |
| 195 | + |
196 | 196 | <!-- EMBEDDED SERVER CONFIGURATION (ServerProperties) --> |
197 | 197 | <server.port>8080</server.port> |
198 | 198 | <server.ssl.key-store></server.ssl.key-store> |
|
216 | 216 | <jasypt.encryptor.enabled>false</jasypt.encryptor.enabled> |
217 | 217 | <jasypt.encryptor.password></jasypt.encryptor.password> |
218 | 218 | <jasypt.encryptor.algorithm>PBEWithMD5AndDES</jasypt.encryptor.algorithm> |
219 | | - |
| 219 | + |
220 | 220 | <!-- ORGANIZATION SETTINGS --> |
221 | 221 | <organization.name>OHDSI</organization.name> |
222 | 222 |
|
|
236 | 236 | <logging.level.org.hibernate>info</logging.level.org.hibernate> |
237 | 237 | <logging.level.org.apache.shiro>warn</logging.level.org.apache.shiro> |
238 | 238 |
|
| 239 | + <!-- Spring Cache properties --> |
| 240 | + <spring.cache.type>jcache</spring.cache.type> |
| 241 | + |
| 242 | + <!-- Spring Batch --> |
239 | 243 | <spring.batch.taskExecutor.corePoolSize>10</spring.batch.taskExecutor.corePoolSize> |
240 | 244 | <spring.batch.taskExecutor.maxPoolSize>20</spring.batch.taskExecutor.maxPoolSize> |
241 | 245 | <spring.batch.taskExecutor.queueCapacity>2147483647</spring.batch.taskExecutor.queueCapacity> |
|
272 | 276 | <cache.jobs.count>3</cache.jobs.count> |
273 | 277 | <!-- Achilles cache --> |
274 | 278 | <cache.achilles.usePersonCount>true</cache.achilles.usePersonCount> |
| 279 | + <cache.webapi.enabled>true</cache.webapi.enabled> |
275 | 280 |
|
276 | 281 | <!-- Build info --> |
277 | 282 | <buildinfo.atlas.milestone.id>47</buildinfo.atlas.milestone.id> |
|
298 | 303 | <audit.trail.log.file>/tmp/atlas/audit/audit.log</audit.trail.log.file> |
299 | 304 | <audit.trail.log.extraFile>/tmp/atlas/audit/audit-extra.log</audit.trail.log.extraFile> |
300 | 305 | </properties> |
| 306 | + |
301 | 307 | <build> |
302 | 308 | <finalName>WebAPI</finalName> |
303 | 309 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
|
368 | 374 | <!-- only include properties to speed up plugin --> |
369 | 375 | <!-- ref: https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/462 --> |
370 | 376 | <includeOnlyProperties> |
371 | | - <includeOnlyProperty>git.branch</includeOnlyProperty> |
372 | | - <includeOnlyProperty>git.commit.id.abbrev</includeOnlyProperty> |
| 377 | + <includeOnlyProperty>git.branch</includeOnlyProperty> |
| 378 | + <includeOnlyProperty>git.commit.id.abbrev</includeOnlyProperty> |
373 | 379 | </includeOnlyProperties> |
374 | 380 | </configuration> |
375 | 381 | </plugin> |
|
483 | 489 | </execution> |
484 | 490 | </executions> |
485 | 491 | <configuration> |
486 | | - <licence>cHJvamVjdHxvcmcub2hkc2kuV2ViQVBJfDIwMjUtMDEtMDF8ZmFsc2V8LTEjTUN3Q0ZDZkowMkZrVmVSeVlBazZVbTBmNThIbE15SjRBaFEwcVZyRUZuamZMTzJ0KzFtR3E3U3lMMkFESHc9PQ==</licence> |
| 492 | + <licence>cHJvamVjdHxvcmcub2hkc2kuV2ViQVBJfDIwMzAtMDEtMDF8ZmFsc2V8LTEjTUN3Q0ZDOEFFWEdzU0lISUJiMzBBWC9WazlGcmdPME1BaFI4MVM5bkViQUpXN0tiWE9zR1NpRFlPam5zaXc9PQ==</licence> |
487 | 493 | <restModel> |
488 | 494 | <httpStatusCodes> |
489 | 495 | <httpStatusCode> |
|
575 | 581 | </dependency> |
576 | 582 | </dependencies> |
577 | 583 | </dependencyManagement> |
| 584 | + |
578 | 585 | <dependencies> |
579 | 586 | <dependency> |
580 | 587 | <groupId>com.fasterxml.jackson.core</groupId> |
|
742 | 749 | <scope>provided</scope> |
743 | 750 | </dependency> |
744 | 751 | <dependency> |
| 752 | + <groupId>javax.cache</groupId> |
| 753 | + <artifactId>cache-api</artifactId> |
| 754 | + <version>1.1.1</version> |
| 755 | + </dependency> <dependency> |
745 | 756 | <groupId>org.ohdsi.sql</groupId> |
746 | 757 | <artifactId>SqlRender</artifactId> |
747 | 758 | <version>${SqlRender.version}</version> |
|
769 | 780 | <artifactId>json-smart</artifactId> |
770 | 781 | <version>2.4.9</version> |
771 | 782 | </dependency> |
| 783 | + <dependency> |
| 784 | + <groupId>net.minidev</groupId> |
| 785 | + <artifactId>asm</artifactId> |
| 786 | + <version>1.0.2</version> |
| 787 | + <scope>test</scope> |
| 788 | + </dependency> |
772 | 789 | <dependency> |
773 | 790 | <groupId>org.apache.commons</groupId> |
774 | 791 | <artifactId>commons-lang3</artifactId> |
775 | 792 | <version>3.12.0</version> |
776 | 793 | </dependency> |
| 794 | + <dependency> |
| 795 | + <groupId>org.apache.commons</groupId> |
| 796 | + <artifactId>commons-text</artifactId> |
| 797 | + <version>1.10.0</version> |
| 798 | + </dependency> |
777 | 799 | <dependency> |
778 | 800 | <groupId>org.flywaydb</groupId> |
779 | 801 | <artifactId>flyway-core</artifactId> |
|
802 | 824 | <artifactId>jackson-databind</artifactId> |
803 | 825 | </exclusion> |
804 | 826 | <exclusion> |
805 | | - <groupId>org.slf4j</groupId> |
806 | | - <artifactId>slf4j-log4j12</artifactId> |
| 827 | + <groupId>org.slf4j</groupId> |
| 828 | + <artifactId>slf4j-log4j12</artifactId> |
807 | 829 | </exclusion> |
808 | 830 | <exclusion> |
809 | | - <groupId>log4j</groupId> |
810 | | - <artifactId>log4j</artifactId> |
| 831 | + <groupId>log4j</groupId> |
| 832 | + <artifactId>log4j</artifactId> |
811 | 833 | </exclusion> |
812 | 834 | </exclusions> |
813 | 835 | </dependency> |
|
1153 | 1175 | <version>${pac4j.version}</version> |
1154 | 1176 | <exclusions> |
1155 | 1177 | <exclusion> |
1156 | | - <groupId>com.fasterxml.jackson.core</groupId> |
| 1178 | + <groupId>com.fasterxml.jackson.core</groupId> |
1157 | 1179 | <artifactId>jackson-databind</artifactId> |
1158 | 1180 | </exclusion> |
1159 | 1181 | </exclusions> |
|
1189 | 1211 | <version>1.1.7</version> |
1190 | 1212 | </dependency> |
1191 | 1213 | <dependency> |
| 1214 | + <groupId>org.ehcache</groupId> |
| 1215 | + <artifactId>ehcache</artifactId> |
| 1216 | + <version>3.9.11</version> |
| 1217 | + </dependency> <dependency> |
1192 | 1218 | <groupId>com.opentable.components</groupId> |
1193 | 1219 | <artifactId>otj-pg-embedded</artifactId> |
1194 | 1220 | <version>0.13.1</version> |
|
1199 | 1225 | <artifactId>spring-boot-starter-test</artifactId> |
1200 | 1226 | <version>${spring.boot.version}</version> |
1201 | 1227 | <scope>test</scope> |
1202 | | - <exclusions> |
1203 | | - <exclusion> |
1204 | | - <groupId>com.vaadin.external.google</groupId> |
1205 | | - <artifactId>android-json</artifactId> |
1206 | | - </exclusion> |
1207 | | - </exclusions> |
| 1228 | + <exclusions> |
| 1229 | + <exclusion> |
| 1230 | + <groupId>com.vaadin.external.google</groupId> |
| 1231 | + <artifactId>android-json</artifactId> |
| 1232 | + </exclusion> |
| 1233 | + </exclusions> |
1208 | 1234 | </dependency> |
1209 | 1235 | <dependency> |
1210 | 1236 | <groupId>org.dbunit</groupId> |
|
1225 | 1251 | <scope>test</scope> |
1226 | 1252 | </dependency> |
1227 | 1253 | <dependency> |
1228 | | - <groupId>com.github.mjeanroy</groupId> |
1229 | | - <artifactId>dbunit-plus</artifactId> |
1230 | | - <version>2.0.1</version> |
1231 | | - <scope>test</scope> |
| 1254 | + <groupId>com.github.mjeanroy</groupId> |
| 1255 | + <artifactId>dbunit-plus</artifactId> |
| 1256 | + <version>2.0.1</version> |
| 1257 | + <scope>test</scope> |
1232 | 1258 | </dependency> |
1233 | 1259 | </dependencies> |
| 1260 | + |
1234 | 1261 | <profiles> |
1235 | 1262 | <profile> |
1236 | 1263 | <id>webapi-oracle</id> |
|
1323 | 1350 | lower(email) = lower(?)</security.db.datasource.authenticationQuery> |
1324 | 1351 | </properties> |
1325 | 1352 | <repositories> |
1326 | | - <repository> |
| 1353 | + <repository> |
1327 | 1354 | <id>ohdsi.snapshots</id> |
1328 | 1355 | <name>repo.ohdsi.org-snapshots</name> |
1329 | 1356 | <url>https://repo.ohdsi.org/nexus/content/repositories/snapshots</url> |
1330 | 1357 | <releases> |
1331 | 1358 | <enabled>false</enabled> |
1332 | 1359 | </releases> |
1333 | | - <snapshots> |
| 1360 | + <snapshots> |
1334 | 1361 | <enabled>true</enabled> |
1335 | | - </snapshots> |
1336 | | - </repository> |
| 1362 | + </snapshots> |
| 1363 | + </repository> |
1337 | 1364 | </repositories> |
1338 | 1365 | </profile> |
1339 | 1366 | <profile> |
|
1406 | 1433 | <impala.enabled>true</impala.enabled> |
1407 | 1434 | <impala.driver.version>2.6.15</impala.driver.version> |
1408 | 1435 | <!-- Impala JDBC driver path --> |
1409 | | - <impala.classpath>...path/to/impala/jdbc/drivers...</impala.classpath> |
| 1436 | + <impala.classpath>...path/to/impala/jdbc/drivers...</impala.classpath> |
1410 | 1437 | </properties> |
1411 | 1438 | <dependencies> |
1412 | 1439 | <dependency> |
|
1511 | 1538 | <version>v2-rev20220326-1.32.1</version> |
1512 | 1539 | </dependency> |
1513 | 1540 | <dependency> |
1514 | | - <groupId>com.google.cloud</groupId> |
1515 | | - <artifactId>google-cloud-bigquery</artifactId> |
1516 | | - <version>1.2.15</version> |
| 1541 | + <groupId>com.google.cloud</groupId> |
| 1542 | + <artifactId>google-cloud-bigquery</artifactId> |
| 1543 | + <version>1.2.15</version> |
1517 | 1544 | </dependency> |
1518 | 1545 | <dependency> |
1519 | 1546 | <groupId>com.google.http-client</groupId> |
|
1822 | 1849 | <id>webapi-snowflake</id> |
1823 | 1850 | <properties> |
1824 | 1851 | <snowflake.enabled>true</snowflake.enabled> |
1825 | | - <snowflake.driver.version>3.13.22</snowflake.driver.version> |
| 1852 | + <snowflake.driver.version>3.20.0</snowflake.driver.version> |
1826 | 1853 | </properties> |
1827 | 1854 | <dependencies> |
1828 | 1855 | <dependency> |
|
0 commit comments