Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.66 KB

File metadata and controls

39 lines (25 loc) · 1.66 KB

Build an Initial Layout - Inventory Hub App using Java on Azure

The purpose of this sample application is to illustrate building responsive systems with serverless, event-driven Java on Azure; the result of this project will be to create a real-time inventory hub.

Requirements

In order to create and deploy this sample application, you need to have the following:

An Azure subscription; if you don't already have an Azure subscription, you can activate your MSDN subscriber benefits or sign up for a free Azure account.

In addition, you will need all of the following components before you go through the steps in this README:

| Azure CLI | Java 8 | Maven 3 | Git |

Build an Initial Layout

  1. Login to your Azure account and specify which subscription to use:

    az login
    az account set --subscription "<your-azure-subscription>"

    NOTE: You can use either a subscription name or id when specifying which subscription to use; to obtain a list of your subscriptions, type az account list.

  2. Set a unique prefix for creating an initial layout on Azure.

    export INVENTORY_HUB_APP_NAME="<your-unique-prefix>"
  3. Create Cosmos DB and Event Hubs

   source az_cmd_createInventoryCosmosDB.sh
   source az_cmd_createInventoryEventHubs_eastus.sh
   source az_cmd_createInventoryEventHubs_uksouth.sh
   source az_cmd_createInventoryEventHubs_southeastasia.sh