Questions tagged [azure-java-sdk]

Windows Azure Java SDK provides quick integration support for Java platform with Microsoft's Azure services.

Microsoft has provided the artifact microsoft-windowsazure-api for Java developers wanting to integrate with Azure using a managed Java library instead of coding around the Azure REST API. The Azure Java SDK supports Maven on Windows, Linux, and Mac.

286 questions
0
votes
0 answers

How to host Swagger static site on a Azure Java function app?

I tried this code but it doesn't work. I am unsure if this is even possible. I have deployed my function app as a Java .jar file and the swagger-ui/ folder is inside the .jar at the root of the archive. I don't think it can load the files and I…
0
votes
0 answers

Problems with Java Azure cloud functions

I've tried to update my Azure cloud functions to the newest versions and received following error on startup: [2023-03-16T07:43:24.025Z] Executed 'Functions.legendDataHubUpdated' (Failed, Id=b932d0c6-5f2d-4bb8-aabc-15fs6697f2ba,…
0
votes
1 answer

Java Reactor equivalent of an ArrayBlockingQueue

Imagine the following pattern: execute(): The execute() method is called once and a reactor code scans the entire directory, does parse files and puts the result into a blocking queue. fetch(): The method fetch() is called multiple times from an…
Werner Daehn
  • 577
  • 6
  • 16
0
votes
1 answer

Java service running in AKS to access storage blob using system assigned maanaged Identity

Our Application is running inside AKS, and using System assigned Managed Identity, we want app running in AKS to access excel files present in Azure Storage blob using Java. We added Role of Storage Blob Reade/Owner etc in Storage accounts for AKS…
Sriram G
  • 161
  • 1
  • 1
  • 10
0
votes
0 answers

How do we set immutability policy of an Azure container using the Azure Java V12 SDK?

In Azure storage we can set the immutability policy either to a container or to individual blobs of a container. I want to set immutability policy scoped to Azure containers using the V12 Java SDK of Azure. I came across the BlobContainerClient…
0
votes
1 answer

How to setup Basic Authentication for Azure Function App HttpTrigger functions (java)

I have created Anonymous HttpTrigger function using java and Deployed to Function App package com.function; import com.microsoft.azure.functions.ExecutionContext; import com.microsoft.azure.functions.HttpMethod; import…
0
votes
1 answer

guide to use the MASL java SDK to authenticate user in azure function developed in java

Please help me to find out the documentation on how to use java MASL SDK to get access_token for a service principal. I am looking to find the documentation or GIT links which can guide me how to use the MASL library including the code samples. I…
Onki
  • 1,879
  • 6
  • 38
  • 58
0
votes
1 answer

How To Add Function Level Authorization to Azure Http Trigger Java Function

I've Created Http Trigger Azure Java Functions, Function Name 1.FUNCTION (FUNCTION LEVEL Authorization) ,,, package com.function; import com.microsoft.azure.functions.ExecutionContext; import com.microsoft.azure.functions.HttpMethod; import…
0
votes
1 answer

How to Add Admin Level Authorization for Azure Java Functions

I've Created HttpTrigger Azure Java Functions, Function Name 1.ADMIN (ADMIN LEVEL Authherization) Above Function Having Admin Auth, Successfully Deployed to Function app and I've Updated _master Key Value In Function App But, This Function Not…
0
votes
1 answer

How to list only the files(As BlobItems / Client) residing in a BlobContainer : Azure Storage in Java

I have a following folder structure in the azure blob storage: -MainFolder -subFolder1 -foo1.json -foo2.json -subFolder2 -foo1.json -foo3.json -subFolder3 -foo1.json -foo4.json Is…
user6090970
  • 185
  • 1
  • 3
  • 14
0
votes
1 answer

How to add Basic Auth for Azure HttpTrigger Java Function

I have created a sample Azure HTTP Trigger Java Function using Visual Studio Code and Deployed it to Azure Function App. Now it is Working Fine in Postman without authorization Postman Basic Auth Screenshot package com.function; import…
0
votes
0 answers

Azure SDK JAVA - How to use ProxyOptions to connect to the proxy URL and how to pass the required path to the httpClient along with the hostname

I am trying utilise the ProxyOptions to re-route the blob upload to a proxy URL. In this case localhost Demo Project: Gradle Dependency: implementation 'com.azure:azure-storage-blob' implementation 'com.azure:azure-core' implementation…
0
votes
1 answer

How to generate swagger file to azure Java Functions without springboot

I have Azure Http trigger java Functions works for copy files from one container to another container, generate Sas token etc by using BlobServiceClient java class... These functions i created without using springboot now my requirement is I need…
0
votes
1 answer

How to Generate Swagger File For Azure Java Function

I Have Azure HttpTrigger Java functions(get, Post) Those are Working Fine in Postman but, as per the Client Requirement I need To create swagger UI file for all those functions(Java) i am searching Refference stuff from lastweek, stil i did not get…
Balu
  • 9
  • 5
0
votes
1 answer

Upload a file to Azure Blob storage using Java

How to upload a file to Azure Blob storage using Azure Java SDK and also print the timestamp after uploading the file?
Pratik Dey
  • 11
  • 3