【问题标题】:How to add the GCP (Google Cloud Storage) storage properties in application.yml in spring boot如何在spring boot的application.yml中添加GCP(谷歌云存储)存储属性
【发布时间】:2020-07-05 19:56:07
【问题描述】:

我目前正在尝试使用我的 Spring Boot webapp 设置一个 GCP 存储桶,以添加/删除 csv 和 jmx 文件。

我在 application.yml 中使用以下属性的指南:

gcpProperties:
  gcs:
    bucket:
      name: dpaas-assets
      scripts: gs://assets/jmeter-scripts/
      resources: gs://assets/resources/

【问题讨论】:

    标签: java spring spring-boot spring-mvc spring-data-jpa


    【解决方案1】:

    您可以查看他们的Spring Cloud GCP Storage Starter Example 作为入门指南。 如果没有帮助,提供更多信息将有助于我们为您提供帮助!

    例如:您遇到的错误、项目示例、堆栈跟踪等

    【讨论】:

      猜你喜欢
      • 2016-10-12
      • 2020-09-10
      • 1970-01-01
      • 2012-08-19
      • 2017-01-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多