Commit 547c5f6a authored by Javier Diaz's avatar Javier Diaz
Browse files

Debugging

parent 8aed033c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ data:
  PEER_ENDPOINT: "10.1.1.96:7051"  #Change to required peer#
  PEER_HOST_ALIAS: "peer0.org1.adrenaline.com"
  CRYPTO_PATH: "/test-network/organizations/peerOrganizations/org1.adrenaline.com"
  KEY_DIRECTORY_PATH: "/etc/hyperledger/fabric-keystore"
  CERT_DIRECTORY_PATH: "/etc/hyperledger/fabric-signcerts"
  KEY_DIRECTORY_PATH: "/etc/hyperledger/fabric-keystore/keystore"
  CERT_DIRECTORY_PATH: "/etc/hyperledger/fabric-signcerts/signcerts.pem"
  TLS_CERT_PATH: "/etc/hyperledger/fabric-ca-crt/ca.crt"

---
@@ -128,9 +128,9 @@ spec:
              name: dlt-config
              key: CRYPTO_PATH
        - name: KEY_DIRECTORY_PATH
          value: "/etc/hyperledger/fabric-keystore"
          value: "/etc/hyperledger/fabric-keystore/keystore"
        - name: CERT_DIRECTORY_PATH
          value: "/etc/hyperledger/fabric-signcerts"
          value: "/etc/hyperledger/fabric-signcerts/signcerts.pem"
        - name: TLS_CERT_PATH
          value: "/etc/hyperledger/fabric-ca-crt/ca.crt"
      volumes:
+3 −1
Original line number Diff line number Diff line
@@ -112,7 +112,9 @@ async function newIdentity(): Promise<Identity> {

async function getFirstDirFileName(dirPath: string): Promise<string> {
    const files = await fs.readdir(dirPath);
    return path.join(dirPath, files[0]);
    const filePath = path.join(dirPath, files[0]);
    const realFilePath = await fs.readlink(filePath);
    return path.join(dirPath, realFilePath);
}

async function newSigner(): Promise<Signer> {