Skip to content

Files

Latest commit

a5757d2 · Apr 7, 2019

History

History

deployment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 18, 2018
Apr 7, 2019
Aug 1, 2018
Apr 7, 2019
Apr 7, 2019
Apr 7, 2019
Apr 7, 2019
Apr 18, 2018
Apr 17, 2018
Apr 13, 2018
Apr 7, 2019
Apr 18, 2018

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