Enabling Tables in Development
The tables features is enabled by default for repository services developers. The 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
To override the endpoint, schema, and instance count add the following to your settings.xml file:
<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.count>1</org.sagebionetworks.table.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:
<org.sagebionetworks.table.cluster.endpoint.<index>> where index = 0 - n-1 <org.sagebionetworks.table.cluster.schema.<index>> where index = 0 - n-1