> +  val context = ContextBuilder.newBuilder("filesystem")
> +    .overrides(properties)
> +    .buildView(classOf[BlobStoreContext])
> +
> +  try {
> +    val blobStore = context.getBlobStore
> +    blobStore.createContainerInLocation(null, "test")
> +
> +    val blob = blobStore.blobBuilder("test").payload("testdata").build()
> +    blobStore.putBlob("test", blob)
> +
> +    val filePath = baseDir + System.getProperty("file.separator") + "test"
> +    println(s"File ${'"'}test${'"'} stored under,$filePath")
> +  } finally {
> +    context.close()
> +  }

I looked at scala-arm after your first review. Does it make sense to introduce 
one library just for single case? Thanks for pointing to the article. I will 
look at this.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/4/files#r4562572

Reply via email to