Questions tagged [azure-java-tools]
The azure-java-tools tag has no usage guidance.
24
questions
0
votes
1
answer
49
views
Setting up gradle azurewebapp plugin for springboot deployment
I have a springboot webapp that i want to deploy to Azure. The app is springboot jar. I have been able to use azurewebapp plug in to achieve this but it is using OAUTH2 which limits integrating this ...
0
votes
1
answer
174
views
How to send a binary message from Azure Function to Azure Service Bus
I used the following code to send some sample binary messages to a service bus from an Azure function, but on the service bus I always receive a message with the content "System.Byte[]" and ...
0
votes
0
answers
35
views
Connect MyEclipse Version 2021.5.24 to Azure Devops
I just recently updated MyEclipse from 2018.9.0 to 2021.5.24, and now Team Explorer Everywhere doesn't work at all. I still have my projects I'd checked out, but I can't figure out how to connect ...
2
votes
1
answer
82
views
(Azure SDK java) How to Enable/Disable each Functions using Java program
I am using AzureResourceManager(java).
I am able to start/stop Functions by following.
FunctionApp app = azureResourceManager.functionApps().getById(id);
app.start();
FunctionApp app = ...
1
vote
1
answer
333
views
Is there a way to output events with header data to Azure Event Hubs using Azure Functions in Java?
This question asks how to get event header data into the Function and the accepted answer says that there is a way.
How about the other side - is it possible to output events with header data? In the ...
0
votes
0
answers
122
views
Azure Serverless Java REST API not sharing singleton objects
Singleton objects in Azure Java functions are not sharing, each function looks like maintaining their own instances of singleton objects instead of sharing the same instance.
Wrote a simple singleton ...
0
votes
1
answer
188
views
Azure Java functions TimerTrigger to fire on startup
Azure functions with C# provides a way to run the TimerTrigger at starts up time with RunOnStartup parameter as follows.
[FunctionName("TimeTrigger_Startup")]
public async Task Migrations([...
0
votes
1
answer
55
views
Azure IMDS + Java SDK
Im pretty new to the Azure cloud world, so kinldy bare with my question.
I have the following requirements,
Fetch the azure vm name
Start and Stop this application from another application in the ...
0
votes
1
answer
136
views
Function app EventhubTriggered Java, retries and failure
I am currently working in the Azure function app in java. Here is the scenario:
The function app is EventHubTriggered
Function app calls the endpoint (HTTPUrlConnection)
It gets the response back
...
1
vote
0
answers
498
views
Configure Application Insights agent for Java Function Apps
I enabled the Application Insights agent for my Java Function App as described at How to enable distributed tracing for Java Function apps?
XDT_MicrosoftApplicationInsights_Java="1"
...
0
votes
2
answers
218
views
Skip "Installing function extensions if needed"
I use the maven-plugin-for-azure-functions to create a Java Function App with a custom Trigger Binding. The custom trigger is created by another .Net project and publishs its artifacts via an Azure ...
2
votes
1
answer
314
views
deploy sample springboot app (WebGoat) to Azure app service
New to Azure App Service, following https://docs.microsoft.com/en-us/azure/app-service/quickstart-java?tabs=javase&pivots=platform-linux, I am trying to experiment to deploy WebGoat to Azure App, ...
0
votes
1
answer
80
views
SSL problems running azure-webapp-maven-plugin config
when running:
mvn com.microsoft.azure:azure-webapp-maven-plugin:1.14.0:config
I end up with
[ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.14.0:config (default-cli) on ...
1
vote
1
answer
48
views
Azure Toolkit for Eclipse buttons and "Sign in" not working
Azure Toolkit for Eclipse: v.3.25.0
Eclipse: Eclipse IDE for Enterprise Java Developers
JDK: 16
After I managed to install the package, the buttons are shown in the up menu but none of them seem to ...
0
votes
1
answer
118
views
Azure Maven Plugin - Deployment Fails with wired error
mvn azure-functions:deploy fails with this wired error. Can you help me decipher the error.
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.10.0:deploy (default-cli)...
0
votes
1
answer
349
views
Azure Toolkit for Intellij plugin incorrectly shows "No subscriptions" after Azure device logon
I have 2 Azure accounts both have subscription which I can see via portal.azure.com but when I login via the plugin on Intellij it claims I have no subscriptions which is blocking my use of the ...
-1
votes
1
answer
2k
views
azure-functions-maven-plugin issue: please downgrade the project compile version and try again
I am getting the next issue after running:
$ mvn azure-functions:deploy
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.9.0:deploy (default-cli) on project helidon-...
0
votes
1
answer
185
views
Unable to deploy my first Azure Spring Cloud application
I'm trying the QuickStart to running A Spring Boot in Azure Spring Cloud https://docs.microsoft.com/en-us/azure/spring-cloud/spring-cloud-quickstart?tabs=IntelliJ&pivots=programming-language-java
...
3
votes
1
answer
1k
views
Is there a way to get the headers data of events (EventHub) using @EventHubTrigger of Azure Functions in Java?
I have an Azure Function implemented with azure-functions-java-library that receives events from one EventHub and I'm using @EventHubTrigger, the problem is that I need the header data from an event ...
0
votes
1
answer
452
views
How to programatically encrypt azure VM data disks
I am creating an Azure VM running Linux programmatically via azure java sdk and I am looking to encrypt the drives. OS drives provide a nifty .withOSDiskEncryptionSettings method. But I am not seeing ...
0
votes
0
answers
942
views
How to use SSL Cert in Java Code in Azure App Service
I am trying to call a back-end API from Java Client which uses SSL authentication. For .Net there is a snippet available on how to achieve this on MS documentation, but don't have any for Java.
I ...
0
votes
3
answers
877
views
Unable to deploy Spring Boot application in Azure
I am tring to deploy Spring boot application in Azure and I followed exact steps as mentoned in microsoft official document https://docs.microsoft.com/en-us/azure/java/spring-framework/deploy-spring-...
0
votes
1
answer
796
views
Azure API for Java
Tell me please, how can I get all options for instance on Azure using Java ?
For example, I mean all VM parameters: name, instance type, launch time and etc.
So that I can use them in my code and get ...
0
votes
1
answer
297
views
How to connect Azure toolkit for intelliJ/Eclipse to national cloud like Mooncake?
I am using the Azure toolkit for intelliJ to deploy my Web App on azure. However, official sign in guidance do not cover national cloud like Mooncake (Azure for China). Any existing workaround on that?...