Skip to content

[FEATURE REQ] Missing "additional-spring-configuration-metadata.json" in artifact spring-cloud-azure-starter-appconfiguration-config #41502

@1goldenboy

Description

@1goldenboy

Is your feature request related to a problem? Please describe.
Intellij issues warnings when using the configuration properties available in spring-cloud-azure-starter-appconfiguration-config. It seems that Intellij is unable to pick up AppConfigurationProperties.class in spring-cloud-azure-starter-appconfiguration-config. Instead it picks up AppConfigurationProperties.class in spring-cloud-azure-autoconfigure and marks the other properties as missing. For example considering this configuration in bootstrap.yaml

spring:
  cloud:
    azure:
      appconfiguration:
        enabled: true
        stores:
          - endpoint: 'https://my-store-in-azure.azconfig.io'
            feature-flags:
              enabled: true
            selects:
              - keyFilter: '/my-api/'

Then "enabled" would not be marked since it is present in both the classes, but "stores" would be marked as missing since its only present in spring-cloud-azure-starter-appconfiguration-config

Describe the solution you'd like
I believe adding the following dependency to the classpath when compiled would solve the issue

<dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-configuration-processor</artifactId>
      <optional>true</optional>
</dependency>

However, investigating it seems that all properties is defined in spring-cloud-azure-autoconfigure, so perhaps it should be updated there instead?

Describe alternatives you've considered
Ignore the warnings

Additional context
None

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.azure-springAll azure-spring related issuescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions