From cce619c33e11f223a1b94cbff9f5d2f50f92f835 Mon Sep 17 00:00:00 2001 From: tuhuynh99 Date: Fri, 9 Dec 2022 17:39:48 +0700 Subject: [PATCH] update fabric file --- fabric/startFabric.sh | 1 + sona/apiserver/wallets/Doctor1/Doctor1.id | 1 - sona/apiserver/wallets/Doctor2/Doctor2.id | 1 - sona/apiserver/wallets/Doctor3/admin.id | 1 - sona/apiserver/wallets/admin/admin.id | 1 - sona/apiserver/wallets/camtu123/camtu123.id | 1 - 6 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 sona/apiserver/wallets/Doctor1/Doctor1.id delete mode 100644 sona/apiserver/wallets/Doctor2/Doctor2.id delete mode 100644 sona/apiserver/wallets/Doctor3/admin.id delete mode 100644 sona/apiserver/wallets/admin/admin.id delete mode 100644 sona/apiserver/wallets/camtu123/camtu123.id diff --git a/fabric/startFabric.sh b/fabric/startFabric.sh index 019f7091..10a71462 100755 --- a/fabric/startFabric.sh +++ b/fabric/startFabric.sh @@ -28,6 +28,7 @@ else fi # clean out any old identites in the wallets +rm -rf ../sona/apiserver/wallets/* rm -rf javascript/wallet/* rm -rf java/wallet/* rm -rf typescript/wallet/* diff --git a/sona/apiserver/wallets/Doctor1/Doctor1.id b/sona/apiserver/wallets/Doctor1/Doctor1.id deleted file mode 100644 index 38b60326..00000000 --- a/sona/apiserver/wallets/Doctor1/Doctor1.id +++ /dev/null @@ -1 +0,0 @@ -{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICSjCCAfGgAwIBAgIUQQdo3o1A5JlFbavFAQQGCk/3FVswCgYIKoZIzj0EAwIw\naDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMRkwFwYDVQQDExBmYWJyaWMt\nY2Etc2VydmVyMB4XDTIyMTExNDA1NDQwMFoXDTIzMTExNDA4NDQwMFowIzEPMA0G\nA1UECxMGY2xpZW50MRAwDgYDVQQDEwdEb2N0b3IxMFkwEwYHKoZIzj0CAQYIKoZI\nzj0DAQcDQgAElGTZoiNyCuuEJa6K3Vlqc1SyMbUhUKLIbJsPsuS6niFUXd6a6D/T\nlVCFKqJEJNWAwyiLUFS8fXVaQKzjbEbNcaOBvTCBujAOBgNVHQ8BAf8EBAMCB4Aw\nDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUExRI+93GO4JFb+gqJPbzGLFsSOEwHwYD\nVR0jBBgwFoAUrJPZCd02uBZnr5iNyxksGWv6Nu0wWgYIKgMEBQYHCAEETnsiYXR0\ncnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJEb2N0\nb3IxIiwiaGYuVHlwZSI6ImNsaWVudCJ9fTAKBggqhkjOPQQDAgNHADBEAiAMbSRT\n+zIucFm5JDeeIIm65gS0Y/Erpw/hjU8+69dEAgIgRfEQlP3dblQVX/qJGKrEudTy\nCLoKs4mRNLcucyc3CiQ=\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgVD3A35r2qsK9YTFX\r\nD5tWkhyrOeh/t0K17JPbaeBM8PKhRANCAASUZNmiI3IK64QlrordWWpzVLIxtSFQ\r\noshsmw+y5LqeIVRd3proP9OVUIUqokQk1YDDKItQVLx9dVpArONsRs1x\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1} \ No newline at end of file diff --git a/sona/apiserver/wallets/Doctor2/Doctor2.id b/sona/apiserver/wallets/Doctor2/Doctor2.id deleted file mode 100644 index 122b3b63..00000000 --- a/sona/apiserver/wallets/Doctor2/Doctor2.id +++ /dev/null @@ -1 +0,0 @@ -{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICSzCCAfGgAwIBAgIUE+lCqFLBkSI+9rfZFZMlUi3zCzwwCgYIKoZIzj0EAwIw\naDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMRkwFwYDVQQDExBmYWJyaWMt\nY2Etc2VydmVyMB4XDTIyMTExNDA1NDQwMFoXDTIzMTExNDA3MDIwMFowIzEPMA0G\nA1UECxMGY2xpZW50MRAwDgYDVQQDEwdEb2N0b3IyMFkwEwYHKoZIzj0CAQYIKoZI\nzj0DAQcDQgAELYd0/BL4OfmM9yGH81alY8z//KP4qUc6J5DraZz4nTcuFENkH1uO\npZq4p2P7UZqCluIJj74NQSpWgE3dswN4LKOBvTCBujAOBgNVHQ8BAf8EBAMCB4Aw\nDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUyS3aCv2N00Ur5wtPBEoScULdsjwwHwYD\nVR0jBBgwFoAUrJPZCd02uBZnr5iNyxksGWv6Nu0wWgYIKgMEBQYHCAEETnsiYXR0\ncnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJEb2N0\nb3IyIiwiaGYuVHlwZSI6ImNsaWVudCJ9fTAKBggqhkjOPQQDAgNIADBFAiEAly3q\nWtMxDHiv3u/n3/G8+fZsWb22APEk0XtpaG/NNlECIGedywCeh03T4CusDOZiGKFI\nT8qrB0ykB1hrweBCbgpV\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg3y4h4HDDPofF2MX3\r\nGrWTMTuAqvMQMV2e9ApycS7/8AuhRANCAAQth3T8Evg5+Yz3IYfzVqVjzP/8o/ip\r\nRzonkOtpnPidNy4UQ2QfW46lmrinY/tRmoKW4gmPvg1BKlaATd2zA3gs\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1} \ No newline at end of file diff --git a/sona/apiserver/wallets/Doctor3/admin.id b/sona/apiserver/wallets/Doctor3/admin.id deleted file mode 100644 index c476ca00..00000000 --- a/sona/apiserver/wallets/Doctor3/admin.id +++ /dev/null @@ -1 +0,0 @@ -{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB6jCCAZGgAwIBAgIUYm4FnsWVMagOd/3HCx5akYjPk/EwCgYIKoZIzj0EAwIw\naDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMRkwFwYDVQQDExBmYWJyaWMt\nY2Etc2VydmVyMB4XDTIyMTExNDA1NDQwMFoXDTIzMTExNDA4MjQwMFowITEPMA0G\nA1UECxMGY2xpZW50MQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49\nAwEHA0IABLRuNx4PMSCGLt/nTeRdMK9RGte0XjsVhmTzuCTSl3nZYxUqKCneVF5S\n2pg9nkfKL96r1dDDbso+oQBeAUk7QdijYDBeMA4GA1UdDwEB/wQEAwIHgDAMBgNV\nHRMBAf8EAjAAMB0GA1UdDgQWBBTSF5eYtCA4n2LNOdsZl7Pd7uuQMjAfBgNVHSME\nGDAWgBSsk9kJ3Ta4FmevmI3LGSwZa/o27TAKBggqhkjOPQQDAgNHADBEAiAqDKsy\nhQTG27QGyToMPJKXOJ4lIvD5OslBhx5YNxt+pgIgc9wZf4aKy1PRyYCH1Q1MPhpY\nkiEngONhv0mh7xvp34M=\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgS4dMYgbxRZEvQDK0\r\nFAGC6evPBvWnChcx2MrjSYsnQOOhRANCAAS0bjceDzEghi7f503kXTCvURrXtF47\r\nFYZk87gk0pd52WMVKigp3lReUtqYPZ5Hyi/eq9XQw27KPqEAXgFJO0HY\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1} \ No newline at end of file diff --git a/sona/apiserver/wallets/admin/admin.id b/sona/apiserver/wallets/admin/admin.id deleted file mode 100644 index 0efbe525..00000000 --- a/sona/apiserver/wallets/admin/admin.id +++ /dev/null @@ -1 +0,0 @@ -{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIIB6jCCAZGgAwIBAgIUIFvZZhT3l3L4vWJFq1cLx0LXZ1IwCgYIKoZIzj0EAwIw\naDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMRkwFwYDVQQDExBmYWJyaWMt\nY2Etc2VydmVyMB4XDTIyMTExNDA1NDQwMFoXDTIzMTExNDA1NTEwMFowITEPMA0G\nA1UECxMGY2xpZW50MQ4wDAYDVQQDEwVhZG1pbjBZMBMGByqGSM49AgEGCCqGSM49\nAwEHA0IABJooAvIjUzZesgruRx+qDO1LigqOTKifYrSfZjb+vpQBG6QdSMb8XcMN\naYMRRQbqoTpwpJOaqoZNeSCnlEYlK2CjYDBeMA4GA1UdDwEB/wQEAwIHgDAMBgNV\nHRMBAf8EAjAAMB0GA1UdDgQWBBQlQ/kAnnyKS6k3GntRe7lwKk+lOTAfBgNVHSME\nGDAWgBSsk9kJ3Ta4FmevmI3LGSwZa/o27TAKBggqhkjOPQQDAgNHADBEAiBvhBiL\nAO3rzt25ErxVWYQGHbAY8HXkyg6gpZW6omUzDgIgWu7GVBBtNsouo0Q/g1T+co5n\nHVRE1q/a+aQx3JDNZo0=\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgLnuAZ0ff7yJIzWbg\r\nVDZhiXqctLVY2MGHj0oAti00epmhRANCAASaKALyI1M2XrIK7kcfqgztS4oKjkyo\r\nn2K0n2Y2/r6UARukHUjG/F3DDWmDEUUG6qE6cKSTmqqGTXkgp5RGJStg\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"ca.org1.example.com","type":"X.509","version":1} \ No newline at end of file diff --git a/sona/apiserver/wallets/camtu123/camtu123.id b/sona/apiserver/wallets/camtu123/camtu123.id deleted file mode 100644 index 67cb4a35..00000000 --- a/sona/apiserver/wallets/camtu123/camtu123.id +++ /dev/null @@ -1 +0,0 @@ -{"credentials":{"certificate":"-----BEGIN CERTIFICATE-----\nMIICTTCCAfOgAwIBAgIUKMK2tlus+fQv/tJm9xCotyQBkzYwCgYIKoZIzj0EAwIw\naDELMAkGA1UEBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRQwEgYDVQQK\nEwtIeXBlcmxlZGdlcjEPMA0GA1UECxMGRmFicmljMRkwFwYDVQQDExBmYWJyaWMt\nY2Etc2VydmVyMB4XDTIyMTExNDA1NDQwMFoXDTIzMTExNDA1NTEwMFowJDEPMA0G\nA1UECxMGY2xpZW50MREwDwYDVQQDEwhjYW10dTEyMzBZMBMGByqGSM49AgEGCCqG\nSM49AwEHA0IABK4zqB644wjSoBW3Evsaj8aYkU/ViwksFkMk9aeD3UaTtD71mRCR\njEomhNq2AoN5B2oz3d2VjwwhLHlxDBz0htGjgb4wgbswDgYDVR0PAQH/BAQDAgeA\nMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFMDK/deMRgiTiUnecbefnJlX16piMB8G\nA1UdIwQYMBaAFKyT2QndNrgWZ6+YjcsZLBlr+jbtMFsGCCoDBAUGBwgBBE97ImF0\ndHJzIjp7ImhmLkFmZmlsaWF0aW9uIjoiIiwiaGYuRW5yb2xsbWVudElEIjoiY2Ft\ndHUxMjMiLCJoZi5UeXBlIjoiY2xpZW50In19MAoGCCqGSM49BAMCA0gAMEUCIQCc\njH/dZK4I3GqjoFXYefOuK6zMjjdyHxvDmeJRcGoDAAIgJKCqcfHH6Wn0U/brP7Y2\nn1jK1gX6q/9thAgUGrVUVsc=\n-----END CERTIFICATE-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgwh2bkYJnEK3vqf01\r\n3Bch41ek/XvUKGU7bBGiT4NPTYOhRANCAASuM6geuOMI0qAVtxL7Go/GmJFP1YsJ\r\nLBZDJPWng91Gk7Q+9ZkQkYxKJoTatgKDeQdqM93dlY8MISx5cQwc9IbR\r\n-----END PRIVATE KEY-----\r\n"},"mspId":"Org1MSP","type":"X.509","version":1} \ No newline at end of file