项目作者: Cosmo-Tech

项目描述 :
Simple Azure Storage connector using simulator-connector-commons lib
高级语言: Kotlin
项目地址: git://github.com/Cosmo-Tech/azure-storage-connector.git
创建时间: 2021-01-29T15:04:20Z
项目社区:https://github.com/Cosmo-Tech/azure-storage-connector

开源协议:

下载


Properties to overwrite :

Here is the list of properties that should be overwritten (in META-INF/microprofile-config.properties file):

  • azure.storage.connection.string
  • azure.storage.blob.container.name

If you want to overwrite these properties, you can write your own property values in the META-INF/microprofile-config.properties file, or set a property’s system, or an environment variable named :

  • AZURE_STORAGE_CONNECTION_STRING
  • AZURE_STORAGE_BLOB_CONTAINER_NAME

Where I can find the connection string?

  • Connect to portal.azure.com
  • Go under the desired section “Storage account”
  • Go under the section “Access keys”
  • Click on “show keys” and copy the value of the “connection string” into the desired config store :
    • System properties (AZURE_STORAGE_CONNECTION_STRING)
    • Environment variable (AZURE_STORAGE_CONNECTION_STRING)
    • microprofile-config.properties (azure.storage.connection.string)

img.png

How-to

  1. <dependency>
  2. <groupId>com.github.Cosmo-Tech</groupId>
  3. <artifactId>azure-storage-connector</artifactId>
  4. <version>1.0-SNAPSHOT</version>
  5. </dependency>

Tasks :

  • Add more logs (maybe with some metrics)
  • adapt generateFileTree in order to have relevant domain hierarchy