Skip to content

Commit dfa8f96

Browse files
authored
Merge pull request #101353 from uhabiba04/master
updating the repo
2 parents 894daa9 + 0e02537 commit dfa8f96

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

articles/blockchain/service/monitor-azure-blockchain-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Monitoring Azure Blockchain Service (ABS)
33
description: Monitoring Azure Blockchain Service through Azure Monitor
44
ms.date: 01/08/2020
55
ms.topic: article
6-
ms.reviewer: coborn
6+
ms.reviewer: v-umha
77
---
88

99
# Monitor Azure Blockchain Service through Azure Monitor

articles/blockchain/templates/hyperledger-fabric-consortium-azure-kubernetes-service.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ See [Azure shell](https://docs.microsoft.com/azure/cloud-shell/overview) for mor
127127
Download byn.sh and fabric-admin.yaml file.
128128

129129
```bash-interactive
130-
curl https://raw.githubusercontent.com/ravastra/ARM-template-for-Hyperledger-Fabric-based-on-AKS/master/byn.sh -o byn.sh; chmod 777 byn.sh
131-
curl https://raw.githubusercontent.com/ravastra/ARM-template-for-Hyperledger-Fabric-based-on-AKS/master/fabric-admin.yaml -o fabric-admin.yaml
130+
curl https://raw.githubusercontent.com/Azure/Hyperledger-Fabric-on-Azure-Kubernetes-Service/master/consortiumScripts/byn.sh -o byn.sh; chmod 777 byn.sh
131+
curl https://raw.githubusercontent.com/Azure/Hyperledger-Fabric-on-Azure-Kubernetes-Service/master/consortiumScripts/fabric-admin.yaml -o fabric-admin.yaml
132132
```
133133
**Set below environment variables on Azure CLI Bash shell**:
134134

@@ -139,7 +139,8 @@ SWITCH_TO_AKS_CLUSTER() { az aks get-credentials --resource-group $1 --name $2 -
139139
ORDERER_AKS_SUBSCRIPTION=<ordererAKSClusterSubscriptionID>
140140
ORDERER_AKS_RESOURCE_GROUP=<ordererAKSClusterResourceGroup>
141141
ORDERER_AKS_NAME=<ordererAKSClusterName>
142-
ORDERER_DNS_ZONE=<ordererDNSZone>
142+
ORDERER_DNS_ZONE=
143+
ORDERER_DNS_ZONE=$(az aks show --resource-group $ORDERER_AKS_RESOURCE_GROUP --name $ORDERER_AKS_NAME --subscription $ORDERER_AKS_SUBSCRIPTION -o json | jq .addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName | tr -d '"')
143144
ORDERER_END_POINT="orderer1.$ORDERER_DNS_ZONE:443"
144145
CHANNEL_NAME=<channelName>
145146
```
@@ -167,7 +168,7 @@ az group create -l $STORAGE_LOCATION -n $STORAGE_RESOURCE_GROUP
167168
az storage account create -n $STORAGE_ACCOUNT -g $STORAGE_RESOURCE_GROUP -l $STORAGE_LOCATION --sku Standard_LRS
168169
STORAGE_KEY=$(az storage account keys list --resource-group $STORAGE_RESOURCE_GROUP --account-name $STORAGE_ACCOUNT --query "[0].value" | tr -d '"')
169170
az storage share create --account-name $STORAGE_ACCOUNT --account-key $STORAGE_KEY --name $STORAGE_FILE_SHARE
170-
SAS_TOKEN=$(az storage account generate-sas --account-key $STORAGE_KEY --account-name $STORAGE_ACCOUNT --expiry 2020-01-01 --https-only --permissions lruw --resource-types sco --services f | tr -d '"')
171+
SAS_TOKEN=$(az storage account generate-sas --account-key $STORAGE_KEY --account-name $STORAGE_ACCOUNT --expiry `date -u -d "1 day" '+%Y-%m-%dT%H:%MZ'` --https-only --permissions lruwd --resource-types sco --services f | tr -d '"')
171172
AZURE_FILE_CONNECTION_STRING="https://$STORAGE_ACCOUNT.file.core.windows.net/$STORAGE_FILE_SHARE?$SAS_TOKEN"
172173
```
173174
**Channel Management Commands**
@@ -261,7 +262,7 @@ cd app
261262
Execute below command to download all the required files and packages:
262263

263264
```bash-interactive
264-
curl https://raw.githubusercontent.com/ravastra/ARM-template-for-Hyperledger-Fabric-based-on-AKS/master/application/setup.sh | bash
265+
curl https://raw.githubusercontent.com/Azure/Hyperledger-Fabric-on-Azure-Kubernetes-Service/master/application/setup.sh | bash
265266
```
266267
This command takes time to load all the packages. After successful execution of command, you can see a `node_modules` folder in the current directory. All the required packages are loaded in the `node_modules` folder.
267268

0 commit comments

Comments
 (0)