Skip to content

[FEATURE REQ] azure-resourcemanager-containerinstance Native Support #36755

@JakobStadlhuber

Description

@JakobStadlhuber

Is your feature request related to a problem? Please describe.
I am working on building an application with com.azure.resourcemanager.containerinstance and am trying to get native support for Spring Native with GraalVM. However, the native compilation requires explicit hints to work properly, and manually adding them is cumbersome.

Describe the solution you'd like
It would be immensely helpful if the com.azure.resourcemanager.containerinstance had native support for Spring Native with GraalVM out of the box. This would streamline the development process and enable users to more easily compile applications to native images.

Describe alternatives you've considered
I tried to use the @ImportRuntimeHints and manually added hints for proxies as described in my code snippet below. However, this process is tedious, and I was unsure about how many hints would be needed to cover all use cases.

Additional context

ImportRuntimeHints(AzureResourceManagerImpl.Companion::class)
....
companion object: RuntimeHintsRegistrar {
    override fun registerHints(hints: RuntimeHints, classLoader: ClassLoader?) {
        hints.proxies().registerJdkProxy(com.azure.resourcemanager.containerinstance.implementation.ContainerGroupsClientImpl.ContainerGroupsService::class.java)
....        hints.proxies().registerJdkProxy(com.azure.resourcemanager.resources.implementation.FeaturesClientImpl.FeaturesService::class.java)
    }
}

Information Checklist

  • Description Added
  • Expected solution specified

Metadata

Metadata

Labels

ARMMgmtThis issue is related to a management-plane library.azure-springAll azure-spring related issuesazure-spring-nativeIssues related to Spring native.customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.graalvmLabel for tracking issues related to graalvmneeds-team-triageWorkflow: This issue needs the team to triage.

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions