
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
com.azure.spring:azure-spring-integration-storage-queue
Advanced tools
Azure Spring Integration Storage Queue
This README is based on the latest released version Azure Batch SDK (4.0.0). If you are looking for other releases, see the More Information section below.
The Azure Batch Libraries for Java is a higher-level, object-oriented API for interacting with the Azure Batch service.
4.0.0 is a release that supports all features of Azure Batch service with API version "2018-08-01.7.1". We will be adding support for more new features and tweaking the API associated with Azure Batch service newer release.
Azure Batch Authentication
You need to create a Batch account through the Azure portal or Azure cli.
BatchSharedKeyCredentials
instance for authentication with the Azure Batch service.
The BatchClient
class is the simplest entry point for creating and interacting with Azure Batch objects.BatchSharedKeyCredentials cred = new BatchSharedKeyCredentials(batchUri, batchAccount, batchKey);
BatchClient client = BatchClient.open(cred);
BatchApplicationTokenCredentials cred = new BatchApplicationTokenCredentials(batchEndpoint, clientId, applicationSecret, applicationDomain, null, null);
BatchClient client = BatchClient.open(cred);
Create a pool using an Azure Marketplace image
You can create a pool of Azure virtual machines which can be used to execute tasks.
System.out.println("Created a pool using an Azure Marketplace image.");
VirtualMachineConfiguration configuration = new VirtualMachineConfiguration();
configuration.withNodeAgentSKUId(skuId).withImageReference(imageRef);
client.poolOperations().createPool(poolId, poolVMSize, configuration, poolVMCount);
System.out.println("Created a Pool: " + poolId);
Create a Job
You can create a job by using the recently created pool.
PoolInformation poolInfo = new PoolInformation();
poolInfo.withPoolId(poolId);
client.jobOperations().createJob(jobId, poolInfo);
You can find sample code that illustrates Batch usage scenarios in https://github.com/azure/azure-batch-samples
4.0.0
If you are using released builds from 4.0.0, add the following to your POM file:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-batch</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
<version>1.6.1</version>
</dependency>
If you encounter any bugs with these libraries, please file issues via Issues or checkout StackOverflow for Azure Java SDK.
If you would like to become an active contributor to this project please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)To build the code open a console, navigate to the git repository, and run
maven build
To run tests, set the following environment variables:
Previous Releases and Corresponding Repo Branches
Version | SHA1 | Remarks |
---|---|---|
4.0.0 | 4.0.0 | Tagged release for 4.0.0 version of Azure Batch libraries |
3.2.0 | 3.2.0 | Tagged release for 3.2.0 version of Azure Batch libraries |
3.1.0 | 3.1.0 | Tagged release for 3.1.0 version of Azure Batch libraries |
3.0.0 | 3.0.0 | Tagged release for 3.0.0 version of Azure Batch libraries |
2.1.0 | 2.1.0 | Tagged release for 2.1.0 version of Azure Batch libraries |
2.0.0 | 2.0.0 | Tagged release for 2.0.0 version of Azure Batch libraries |
1.0.0 | 1.0.0 | Tagged release for 1.0.0 version of Azure Batch libraries |
1.0.0-beta2 | 1.0.0-beta2 | Tagged release for 1.0.0-beta2 version of Azure Batch libraries |
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
FAQs
Azure Spring Integration Storage Queue
We found that com.azure.spring:azure-spring-integration-storage-queue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.