Skip to content

Commit

Permalink
thiago comments
Browse files Browse the repository at this point in the history
  • Loading branch information
priyaananthasankar committed Jun 3, 2019
1 parent 39080aa commit 5d3b9be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ Using this sample we demonstrate a real use case where this is used to perform c

### Steps

- Click Deploy to Azure Button to deploy resources

[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)

or

- Deploy through Azure CLI
- Open AZ CLI and run `az group create -l [region] -n [resourceGroupName]` to create a resource group in your Azure subscription (i.e. [region] could be westus2, eastus, etc.)
- Run `az group deployment create --name [deploymentName] --resource-group [resourceGroupName] --template-file azuredeploy.json`
Expand Down
15 changes: 13 additions & 2 deletions Reconcile/fetch_blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ def blob_to_dict(batchId,*args):
file_names.append(file.name)
ii = ii+1
# Merge the two lists to create a dictionary
container_file_dict = collections.OrderedDict()
container_file_dict = dict(zip(container_list,file_names))
# container_file_dict = collections.OrderedDict()
# container_file_dict = dict(zip(container_list,file_names))
c1_list = [f for f in file_names if batchId + "_c1" in f]
c2_list = [f for f in file_names if batchId + "_c2" in f]

for c in container_list:
if "c1" in c:
c1_name = c
else:
c2_name = c
container_file_dict = {}
container_file_dict[c1_name] = c1_list[0]
container_file_dict[c2_name] = c2_list[0]
return container_file_dict
6 changes: 3 additions & 3 deletions local.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"IsEncrypted": false,
"Values": {
"FUNCTIONS_WORKER_RUNTIME": "python",
"BlobAccountName": "geblob",
"BlobAccountKey": "bWEYuwQ7HwgACx3W3ZL+oS5kzGLSwH9nPW+oseKkgEGm0a7MApvBIwqi3TpNYlrIwTWVGBOsPLcWiauePkTJag==",
"BlobAccountName": "",
"BlobAccountKey": "",
"C1": "c1raw",
"C2": "c2raw",
"FINAL" : "reconciled"
},
"ConnectionStrings": {}
}
}

0 comments on commit 5d3b9be

Please sign in to comment.