This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x74a0d8a6182d81cdB2F50e9Cd4F41AfFF6B0B5FD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
Properties properties = new Properties(); | |
properties.setProperty( FilesystemConstants.PROPERTY_BASEDIR, "base_dir" ); | |
BlobStoreContext blobStoreContext = ContextBuilder.newBuilder( "filesystem" ) | |
.overrides( properties ) | |
.buildView( BlobStoreContext.class ); | |
BlobStore blobStore = blobStoreContext.getBlobStore(); | |
blobStore.createContainerInLocation( null, "container_name" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...snip...] | |
Caused by: | |
com.google.inject.CreationException: Guice creation errors:||1) Could not find a suitable constructor in org.jclouds.internal.FilterStringsBoundToInjectorByName. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.| at org.jclouds.internal.FilterStringsBoundToInjectorByName.class(FilterStringsBoundToInjectorByName.java:40)| at org.jclouds.config.BindPropertiesToExpandedValues$1.expanded(BindPropertiesToExpandedValues.java:55)||1 error | |
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354) | |
at com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:152) | |
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105) | |
at com.google.inject.Guice.createInjector(Guice.java:92) | |
at com.google.inject.Guice.createInjector(Guice.java:80) | |
at org.jclouds.ContextBuilder.expandProperties(ContextBuilder.java:382) | |
at org.jclouds.ContextBuilder.buildInjector(C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maven options | |
export MAVEN_OPTS="-Xms1024m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=2048m -Djava.awt.headless=true" | |
# Tomcat options | |
export CATALINA_OPTS="-Xms1024m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=2048m -Djava.awt.headless=true" | |
# Aliases for quickbuilds | |
alias dhisrun="mvn jetty:run-war -DskipTests -DuseWarCompression=false" | |
alias dhisins="mvn install -DskipTests -DuseWarCompression=false" | |
alias dhisclb="mvn clean install -DskipTests -DuseWarCompression=false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dhis2=# \d+ interpretation; | |
Table "public.interpretation" | |
Column | Type | Modifiers | Storage | Description | |
--------------------+-----------------------------+-----------+----------+------------- | |
interpretationid | integer | not null | plain | | |
uid | character varying(11) | | extended | | |
lastupdated | timestamp without time zone | | plain | | |
chartid | integer | | plain | | |
mapviewid | integer | | plain | | |
reporttableid | integer | | plain | |