The tables features is disabled enabled by default for repository services developers. The following outlines the steps need to enable this feature for development workThe default endpoint is 'localhost' and the default schema is: 'dev<developername>tables' (ie 'devhilltables'). If this schema does not exist it will need to be created to run a build.
This feature cannot be disabled because entity hierarchy worker depends on it.
Maven Settings
The first step to enabling the tables feature is to set To override the endpoint, schema, and instance count add the following to your maven settings file (<userhome>/.m2/settings.xml )file:
Code Block | ||
---|---|---|
| ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository /> <interactiveMode /> <usePluginRegistry /> <offline /> <pluginGroups /> <mirrors /> <proxies /> <profiles> <profile> <id>dev-environment</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> .... <org.sagebionetworks.table.cluster.database.enabled>true<count>1</org.sagebionetworks.table.enabled>.cluster.database.count> <<org.sagebionetworks.table.cluster.endpoint.0>newendpoint</org.sagebionetworks.table.cluster.endpoint.0> <org.sagebionetworks.table.cluster.schema.0>newschema</org.sagebionetworks.table.cluster.schema.0> ... </properties> </profile> </profiles> <activeProfiles /> </settings> |
Each instance must have an endpoint and schema property:
Code Block |
---|
<org.sagebionetworks.table.cluster.endpoint.<index>> where index = 0 - n-1
<org.sagebionetworks.table.cluster.schema.<index>> where index = 0 - n-1
|