From e837f1a40a544fea839e209aff3e7d8d7d66b9da Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:09:56 +0100 Subject: [PATCH 01/14] added read only mode to helm chart Signed-off-by: Philipp Etschel --- charts/bpa/Chart.yaml | 2 +- charts/bpa/templates/acapy_deployment.yaml | 3 +++ charts/bpa/values.yaml | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/bpa/Chart.yaml b/charts/bpa/Chart.yaml index 87f768863..368e46f1d 100644 --- a/charts/bpa/Chart.yaml +++ b/charts/bpa/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bpa description: The Business Partner Agent allows to manage and exchange master data between organizations. type: application -version: 0.1.0-alpha2.3 +version: 0.1.0-alpha2.4 appVersion: latest diff --git a/charts/bpa/templates/acapy_deployment.yaml b/charts/bpa/templates/acapy_deployment.yaml index d647a78bf..fa19dacdd 100644 --- a/charts/bpa/templates/acapy_deployment.yaml +++ b/charts/bpa/templates/acapy_deployment.yaml @@ -63,6 +63,9 @@ spec: --admin-insecure-mode \ --label {{ .Values.acapy.agentName }} \ --log-level debug \ + {{- if .Values.acapy.readOnlyMode }} + --read-only-ledger \ + {{- end }} " ] command: diff --git a/charts/bpa/values.yaml b/charts/bpa/values.yaml index 16c14c648..ac941e228 100644 --- a/charts/bpa/values.yaml +++ b/charts/bpa/values.yaml @@ -28,7 +28,7 @@ bpa: # -- Default password, overwrite default if running in production like environments password: changeme - # -- Run in web only mode without any ledger dependency and aries functionality + # -- Run in did:web mode with read only ledger. If set to true acapy.readOnlyMode has to be true too. webMode: false # -- Uni Resolver URL @@ -112,6 +112,8 @@ acapy: agentName: ca-aca-py + readOnlyMode: false + imagePullSecrets: [] nameOverride: "" fullnameOverride: "" From 53d2d3b068a618093ae16b6a4340fd1ccd43fe9e Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:10:37 +0100 Subject: [PATCH 02/14] upgraded bootstrap version Signed-off-by: Philipp Etschel --- backend/company-agent/src/main/resources/views/signin.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/company-agent/src/main/resources/views/signin.hbs b/backend/company-agent/src/main/resources/views/signin.hbs index ffac0248e..79fdfbea3 100644 --- a/backend/company-agent/src/main/resources/views/signin.hbs +++ b/backend/company-agent/src/main/resources/views/signin.hbs @@ -8,7 +8,7 @@ Signin - + From 38df820233d5e2c4b2c4631f624122f6ba8f8114 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:14:03 +0100 Subject: [PATCH 03/14] package renaming oa -> bpa Signed-off-by: Philipp Etschel --- .../{oa => bpa}/core/RegisteredWebhook.java | 2 +- .../{oa => bpa}/core/WebhookEvent.java | 4 +- backend/company-agent/pom.xml | 2 +- .../hyperledger/{oa => bpa}/Application.java | 2 +- .../{oa => bpa}/api/ApiConstants.java | 2 +- .../{oa => bpa}/api/CredentialType.java | 2 +- .../{oa => bpa}/api/DidDocAPI.java | 2 +- .../{oa => bpa}/api/MyDocumentAPI.java | 4 +- .../{oa => bpa}/api/PartnerAPI.java | 2 +- .../api/aries/AriesCredential.java | 4 +- .../{oa => bpa}/api/aries/AriesProof.java | 4 +- .../{oa => bpa}/api/aries/BankAccount.java | 2 +- .../{oa => bpa}/api/aries/BankAccountVC.java | 2 +- .../{oa => bpa}/api/aries/ProfileVC.java | 2 +- .../{oa => bpa}/api/aries/SchemaAPI.java | 4 +- .../api/exception/NetworkException.java | 2 +- .../api/exception/PartnerException.java | 2 +- .../api/exception/WrongApiUsageException.java | 2 +- .../client/CachingAriesClient.java | 2 +- .../{oa => bpa}/client/LedgerClient.java | 12 +++--- .../{oa => bpa}/client/URClient.java | 10 ++--- .../{oa => bpa}/client/api/DidDocument.java | 4 +- .../client/api/LedgerQueryResult.java | 2 +- .../config/AriesClientFactory.java | 2 +- .../{oa => bpa}/config/LocalAuthProvider.java | 6 +-- .../config/PasswordEncoderFactory.java | 2 +- .../{oa => bpa}/config/RuntimeConfig.java | 4 +- .../{oa => bpa}/config/SchemaConfig.java | 2 +- .../config/runtime/RequiresIndy.java | 2 +- .../config/runtime/RequiresWeb.java | 2 +- .../controller/AdminController.java | 16 ++++---- .../{oa => bpa}/controller/AppController.java | 2 +- .../controller/AriesWebhookController.java | 2 +- .../controller/PartnerController.java | 18 ++++----- .../controller/PublicProfileController.java | 8 ++-- .../controller/StatsController.java | 6 +-- .../controller/UserController.java | 6 +-- .../controller/WalletController.java | 16 ++++---- .../controller/WebhookController.java | 8 ++-- .../controller/WebsocketController.java | 4 +- .../controller/api/WebSocketMessageBody.java | 8 ++-- .../api/admin/AddSchemaRequest.java | 2 +- .../api/admin/TAADigestRequest.java | 2 +- .../api/admin/UpdateSchemaRequest.java | 2 +- .../api/exception/ErrorMessage.java | 2 +- .../exception/NetworkExceptionHandler.java | 4 +- .../exception/PartnerExceptionHandler.java | 4 +- .../WrongApiUsageExceptionHandler.java | 4 +- .../api/partner/AddPartnerRequest.java | 2 +- .../api/partner/PartnerCredentialType.java | 4 +- .../api/partner/RequestCredentialRequest.java | 2 +- .../api/partner/RequestProofRequest.java | 2 +- .../api/partner/SendProofRequest.java | 2 +- .../api/partner/UpdatePartnerRequest.java | 2 +- .../controller/api/stats/BPAStats.java | 2 +- .../api/wallet/WalletCredentialRequest.java | 2 +- .../api/wallet/WalletDocumentRequest.java | 4 +- .../{oa => bpa}/impl/DidDocManager.java | 4 +- .../{oa => bpa}/impl/MessageService.java | 10 ++--- .../{oa => bpa}/impl/MyDocumentManager.java | 20 +++++----- .../{oa => bpa}/impl/PartnerManager.java | 22 +++++----- .../{oa => bpa}/impl/StartupTasks.java | 16 ++++---- .../{oa => bpa}/impl/StatsService.java | 14 +++---- .../{oa => bpa}/impl/WebhookService.java | 20 +++++----- .../impl/activity/CryptoManager.java | 4 +- .../impl/activity/DidResolver.java | 24 +++++------ .../impl/activity/DocumentValidator.java | 16 ++++---- .../{oa => bpa}/impl/activity/Identity.java | 12 +++--- .../impl/activity/LabelStrategy.java | 14 +++---- .../impl/activity/PartnerLookup.java | 14 +++---- .../{oa => bpa}/impl/activity/VPManager.java | 26 ++++++------ .../impl/aries/AriesEventHandler.java | 2 +- .../impl/aries/ConnectionManager.java | 26 ++++++------ .../impl/aries/CredentialManager.java | 40 +++++++++---------- .../impl/aries/PartnerCredDefLookup.java | 18 ++++----- .../{oa => bpa}/impl/aries/PingManager.java | 4 +- .../{oa => bpa}/impl/aries/ProofManager.java | 30 +++++++------- .../{oa => bpa}/impl/aries/SchemaService.java | 14 +++---- .../impl/mode/indy/EndpointService.java | 6 +-- .../impl/mode/indy/IndyDidDocManager.java | 14 +++---- .../impl/mode/indy/IndyStartupTasks.java | 6 +-- .../impl/mode/indy/RevocationRegistry.java | 4 +- .../impl/mode/web/WebDidDocManager.java | 20 +++++----- .../impl/mode/web/WebStartupTasks.java | 4 +- .../impl/util/AriesStringUtil.java | 2 +- .../{oa => bpa}/impl/util/Converter.java | 18 ++++----- .../{oa => bpa}/impl/util/TimeUtil.java | 2 +- .../{oa => bpa}/model/BPASchema.java | 2 +- .../{oa => bpa}/model/BPAState.java | 2 +- .../{oa => bpa}/model/BPAUser.java | 2 +- .../{oa => bpa}/model/BPAWebhook.java | 2 +- .../{oa => bpa}/model/DidDocWeb.java | 2 +- .../{oa => bpa}/model/MessageQueue.java | 2 +- .../{oa => bpa}/model/MyCredential.java | 4 +- .../{oa => bpa}/model/MyDocument.java | 4 +- .../{oa => bpa}/model/Partner.java | 6 +-- .../{oa => bpa}/model/PartnerProof.java | 2 +- .../repository/BPAStateRepository.java | 4 +- .../repository/BPAWebhookRepository.java | 6 +-- .../{oa => bpa}/repository/DBOperations.java | 4 +- .../repository/DidDocWebRepository.java | 4 +- .../repository/MessageQueueRepository.java | 4 +- .../repository/MyCredentialRepository.java | 4 +- .../repository/MyDocumentRepository.java | 6 +-- .../repository/PartnerProofRepository.java | 4 +- .../repository/PartnerRepository.java | 4 +- .../repository/SchemaRepository.java | 4 +- .../repository/UserRepository.java | 4 +- .../migration/V1_9_1__RepairSchemaIds.java | 12 +++--- .../src/main/resources/log4j2.xml | 4 +- .../{oa => bpa}/ApplicationTest.java | 2 +- .../{oa => bpa}/ApplicationTestWeb.java | 2 +- .../org/hyperledger/{oa => bpa}/BaseTest.java | 6 +-- .../hyperledger/{oa => bpa}/RunWithAries.java | 2 +- .../{oa => bpa}/client/LedgerClientTest.java | 6 +-- .../{oa => bpa}/client/URClientTest.java | 4 +- .../{oa => bpa}/config/TestBeans.java | 4 +- .../connector/api/ApiSerialisationTest.java | 8 ++-- .../{oa => bpa}/impl/CredentialTestUtils.java | 6 +-- .../impl/MyDocumentManagerTest.java | 26 ++++++------ .../impl/activity/CryptoManagerTest.java | 6 +-- .../impl/activity/DidResolverTest.java | 20 +++++----- .../impl/activity/DocumentValidatorTest.java | 16 ++++---- .../impl/activity/LabelStrategyTest.java | 10 ++--- .../impl/activity/PartnerLookupTest.java | 6 +-- .../impl/activity/VPManagerTest.java | 16 ++++---- .../impl/aries/AriesEventHandlerTest.java | 12 +++--- .../impl/aries/ConnectionManagerTest.java | 8 ++-- .../CredentialManagerIntegrationTest.java | 18 ++++----- .../impl/aries/CredentialManagerTest.java | 16 ++++---- .../impl/aries/PartnerCredDefLookupTest.java | 14 +++---- .../impl/aries/PingManagerTest.java | 6 +-- .../impl/mode/web/WebDidDocManagerTest.java | 6 +-- .../impl/util/AriesStringUtilTest.java | 2 +- .../{oa => bpa}/impl/util/ConverterTest.java | 16 ++++---- .../{oa => bpa}/impl/util/TimeUtilTest.java | 2 +- .../repository/BPAWebhookRepositoryTest.java | 10 ++--- .../repository/DidDocWebRepositoryTest.java | 4 +- .../MyCredentialRepositoryTest.java | 10 ++--- .../PartnerProofRepositoryTest.java | 4 +- .../repository/PartnerRepositoryTest.java | 8 ++-- .../repository/UserRepositoryTest.java | 4 +- .../V1_9_1__RepairSchemaIdsTest.java | 14 +++---- .../{oa => bpa}/util/FileLoader.java | 2 +- .../src/test/resources/spotbugs-exclude.xml | 4 +- 145 files changed, 525 insertions(+), 525 deletions(-) rename backend/company-agent-core/src/main/java/org/hyperledger/{oa => bpa}/core/RegisteredWebhook.java (98%) rename backend/company-agent-core/src/main/java/org/hyperledger/{oa => bpa}/core/WebhookEvent.java (90%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/Application.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/ApiConstants.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/CredentialType.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/DidDocAPI.java (99%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/MyDocumentAPI.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/PartnerAPI.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/AriesCredential.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/AriesProof.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/BankAccount.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/BankAccountVC.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/ProfileVC.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/aries/SchemaAPI.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/exception/NetworkException.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/exception/PartnerException.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/api/exception/WrongApiUsageException.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/client/CachingAriesClient.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/client/LedgerClient.java (90%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/client/URClient.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/client/api/DidDocument.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/client/api/LedgerQueryResult.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/AriesClientFactory.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/LocalAuthProvider.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/PasswordEncoderFactory.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/RuntimeConfig.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/SchemaConfig.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/runtime/RequiresIndy.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/config/runtime/RequiresWeb.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/AdminController.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/AppController.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/AriesWebhookController.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/PartnerController.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/PublicProfileController.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/StatsController.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/UserController.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/WalletController.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/WebhookController.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/WebsocketController.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/WebSocketMessageBody.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/admin/AddSchemaRequest.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/admin/TAADigestRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/admin/UpdateSchemaRequest.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/exception/ErrorMessage.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/exception/NetworkExceptionHandler.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/exception/PartnerExceptionHandler.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/exception/WrongApiUsageExceptionHandler.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/AddPartnerRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/PartnerCredentialType.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/RequestCredentialRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/RequestProofRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/SendProofRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/partner/UpdatePartnerRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/stats/BPAStats.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/wallet/WalletCredentialRequest.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/controller/api/wallet/WalletDocumentRequest.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/DidDocManager.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/MessageService.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/MyDocumentManager.java (85%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/PartnerManager.java (90%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/StartupTasks.java (90%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/StatsService.java (80%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/WebhookService.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/CryptoManager.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/DidResolver.java (89%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/DocumentValidator.java (89%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/Identity.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/LabelStrategy.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/PartnerLookup.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/activity/VPManager.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/AriesEventHandler.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/ConnectionManager.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/CredentialManager.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/PartnerCredDefLookup.java (88%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/PingManager.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/ProofManager.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/aries/SchemaService.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/indy/EndpointService.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/indy/IndyDidDocManager.java (83%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/indy/IndyStartupTasks.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/indy/RevocationRegistry.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/web/WebDidDocManager.java (89%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/mode/web/WebStartupTasks.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/util/AriesStringUtil.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/util/Converter.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/impl/util/TimeUtil.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/BPASchema.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/BPAState.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/BPAUser.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/BPAWebhook.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/DidDocWeb.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/MessageQueue.java (97%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/MyCredential.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/MyDocument.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/Partner.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/model/PartnerProof.java (98%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/BPAStateRepository.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/BPAWebhookRepository.java (90%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/DBOperations.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/DidDocWebRepository.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/MessageQueueRepository.java (92%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/MyCredentialRepository.java (95%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/MyDocumentRepository.java (91%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/PartnerProofRepository.java (94%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/PartnerRepository.java (96%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/SchemaRepository.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/UserRepository.java (93%) rename backend/company-agent/src/main/java/org/hyperledger/{oa => bpa}/repository/migration/V1_9_1__RepairSchemaIds.java (89%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/ApplicationTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/ApplicationTestWeb.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/BaseTest.java (95%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/RunWithAries.java (99%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/client/LedgerClientTest.java (89%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/client/URClientTest.java (96%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/config/TestBeans.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/connector/api/ApiSerialisationTest.java (93%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/CredentialTestUtils.java (92%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/MyDocumentManagerTest.java (92%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/CryptoManagerTest.java (96%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/DidResolverTest.java (91%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/DocumentValidatorTest.java (90%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/LabelStrategyTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/PartnerLookupTest.java (93%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/activity/VPManagerTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/AriesEventHandlerTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/ConnectionManagerTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/CredentialManagerIntegrationTest.java (87%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/CredentialManagerTest.java (91%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/PartnerCredDefLookupTest.java (89%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/aries/PingManagerTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/mode/web/WebDidDocManagerTest.java (92%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/util/AriesStringUtilTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/util/ConverterTest.java (92%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/impl/util/TimeUtilTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/BPAWebhookRepositoryTest.java (92%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/DidDocWebRepositoryTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/MyCredentialRepositoryTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/PartnerProofRepositoryTest.java (95%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/PartnerRepositoryTest.java (97%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/UserRepositoryTest.java (94%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/repository/migration/V1_9_1__RepairSchemaIdsTest.java (88%) rename backend/company-agent/src/test/java/org/hyperledger/{oa => bpa}/util/FileLoader.java (98%) diff --git a/backend/company-agent-core/src/main/java/org/hyperledger/oa/core/RegisteredWebhook.java b/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java similarity index 98% rename from backend/company-agent-core/src/main/java/org/hyperledger/oa/core/RegisteredWebhook.java rename to backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java index 3100fe37e..aca3972f5 100644 --- a/backend/company-agent-core/src/main/java/org/hyperledger/oa/core/RegisteredWebhook.java +++ b/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.core; +package org.hyperledger.bpa.core; import lombok.*; import lombok.experimental.SuperBuilder; diff --git a/backend/company-agent-core/src/main/java/org/hyperledger/oa/core/WebhookEvent.java b/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java similarity index 90% rename from backend/company-agent-core/src/main/java/org/hyperledger/oa/core/WebhookEvent.java rename to backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java index f932cebc4..6e847f5fc 100644 --- a/backend/company-agent-core/src/main/java/org/hyperledger/oa/core/WebhookEvent.java +++ b/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java @@ -15,9 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.core; +package org.hyperledger.bpa.core; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookEventType; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookEventType; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/backend/company-agent/pom.xml b/backend/company-agent/pom.xml index 5f44531e3..91558cbff 100644 --- a/backend/company-agent/pom.xml +++ b/backend/company-agent/pom.xml @@ -20,7 +20,7 @@ - org.hyperledger.oa.Application + org.hyperledger.bpa.Application false diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/Application.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/Application.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java index 0811cc42a..3d41f20cf 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/Application.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa; +package org.hyperledger.bpa; import io.micronaut.runtime.Micronaut; import io.swagger.v3.oas.annotations.OpenAPIDefinition; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/ApiConstants.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/ApiConstants.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java index 8be674faf..ca8fcc1b5 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/ApiConstants.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api; +package org.hyperledger.bpa.api; public class ApiConstants { diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/CredentialType.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/CredentialType.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java index 479ef0275..41b65fdce 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/CredentialType.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api; +package org.hyperledger.bpa.api; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/DidDocAPI.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java similarity index 99% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/DidDocAPI.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java index b1b43e60a..e4335d1c1 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/DidDocAPI.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api; +package org.hyperledger.bpa.api; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/MyDocumentAPI.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/MyDocumentAPI.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java index b2db5941e..ca6b04c96 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/MyDocumentAPI.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api; +package org.hyperledger.bpa.api; import com.fasterxml.jackson.databind.JsonNode; import io.swagger.v3.oas.annotations.media.Schema; @@ -23,7 +23,7 @@ import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; -import org.hyperledger.oa.controller.api.wallet.WalletDocumentRequest; +import org.hyperledger.bpa.controller.api.wallet.WalletDocumentRequest; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/PartnerAPI.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/PartnerAPI.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java index 42b19f209..456a9ba25 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/PartnerAPI.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api; +package org.hyperledger.bpa.api; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.JsonNode; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesCredential.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesCredential.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java index ed4ca23cf..c29cbebc3 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesCredential.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java @@ -15,10 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import lombok.*; -import org.hyperledger.oa.model.MyCredential; +import org.hyperledger.bpa.model.MyCredential; import java.util.Map; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesProof.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesProof.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java index f8023fa07..6bfe29d7a 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/AriesProof.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import com.fasterxml.jackson.databind.JsonNode; import lombok.*; -import org.hyperledger.oa.model.PartnerProof; +import org.hyperledger.bpa.model.PartnerProof; import javax.annotation.Nullable; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccount.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccount.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java index f01ecd170..54f73feeb 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccount.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccountVC.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccountVC.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java index 3e2751f9d..c47213bc6 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/BankAccountVC.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/ProfileVC.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/ProfileVC.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java index ac7c606f1..0abb2e042 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/ProfileVC.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/SchemaAPI.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/SchemaAPI.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java index de40fe1ec..c8b8ecf52 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/aries/SchemaAPI.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.aries; +package org.hyperledger.bpa.api.aries; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; -import org.hyperledger.oa.model.BPASchema; +import org.hyperledger.bpa.model.BPASchema; import java.util.Set; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/NetworkException.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/NetworkException.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java index 3440a488b..96cb53ec3 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/NetworkException.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.exception; +package org.hyperledger.bpa.api.exception; public class NetworkException extends RuntimeException { diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/PartnerException.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/PartnerException.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java index 7a3bf4fb3..a74d3fbc0 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/PartnerException.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.exception; +package org.hyperledger.bpa.api.exception; public class PartnerException extends RuntimeException { diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/WrongApiUsageException.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/WrongApiUsageException.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java index 2a38eabdd..379f83122 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/api/exception/WrongApiUsageException.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.api.exception; +package org.hyperledger.bpa.api.exception; public class WrongApiUsageException extends RuntimeException { diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/client/CachingAriesClient.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/client/CachingAriesClient.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java index bdbc935c4..7d326fc6b 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/client/CachingAriesClient.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client; +package org.hyperledger.bpa.client; import io.micronaut.cache.annotation.Cacheable; import lombok.Setter; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/client/LedgerClient.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java similarity index 90% rename from backend/company-agent/src/main/java/org/hyperledger/oa/client/LedgerClient.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java index 1148193e1..82cc4e062 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/client/LedgerClient.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client; +package org.hyperledger.bpa.client; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.annotation.Value; @@ -28,11 +28,11 @@ import okhttp3.Request; import okhttp3.Response; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.client.api.LedgerQueryResult; -import org.hyperledger.oa.client.api.LedgerQueryResult.DomainTransaction; -import org.hyperledger.oa.client.api.LedgerQueryResult.DomainTransaction.TxnMetadata; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; -import org.hyperledger.oa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.client.api.LedgerQueryResult; +import org.hyperledger.bpa.client.api.LedgerQueryResult.DomainTransaction; +import org.hyperledger.bpa.client.api.LedgerQueryResult.DomainTransaction.TxnMetadata; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.impl.util.AriesStringUtil; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/client/URClient.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/client/URClient.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java index bab043aa1..137d9c870 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/client/URClient.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client; +package org.hyperledger.bpa.client; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.cache.annotation.Cacheable; @@ -29,10 +29,10 @@ import okhttp3.Response; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.client.api.DidDocument; -import org.hyperledger.oa.impl.util.Converter; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.client.api.DidDocument; +import org.hyperledger.bpa.impl.util.Converter; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/client/api/DidDocument.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/client/api/DidDocument.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java index f16acfdeb..485de2cb9 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/client/api/DidDocument.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java @@ -15,9 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client.api; +package org.hyperledger.bpa.client.api; -import org.hyperledger.oa.api.DidDocAPI; +import org.hyperledger.bpa.api.DidDocAPI; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/client/api/LedgerQueryResult.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/client/api/LedgerQueryResult.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java index f1e5818fb..9a555a329 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/client/api/LedgerQueryResult.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client.api; +package org.hyperledger.bpa.client.api; import com.fasterxml.jackson.annotation.JsonAlias; import lombok.Data; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/AriesClientFactory.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/AriesClientFactory.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java index bfe3134ee..2a1e04b10 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/AriesClientFactory.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.context.annotation.Factory; import io.micronaut.context.annotation.Requires; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/LocalAuthProvider.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/LocalAuthProvider.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java index dd555f793..ad6fefcff 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/LocalAuthProvider.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.http.HttpRequest; import io.micronaut.security.authentication.*; import io.reactivex.Maybe; -import org.hyperledger.oa.model.BPAUser; -import org.hyperledger.oa.repository.UserRepository; +import org.hyperledger.bpa.model.BPAUser; +import org.hyperledger.bpa.repository.UserRepository; import org.reactivestreams.Publisher; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/PasswordEncoderFactory.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/PasswordEncoderFactory.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java index c94ee236a..9ad6ea452 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/PasswordEncoderFactory.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.context.annotation.Factory; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/RuntimeConfig.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/RuntimeConfig.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java index 25e2262e5..210993e86 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/RuntimeConfig.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.context.annotation.Value; import lombok.Getter; import lombok.NoArgsConstructor; -import org.hyperledger.oa.impl.activity.DidResolver; +import org.hyperledger.bpa.impl.activity.DidResolver; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/SchemaConfig.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/SchemaConfig.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java index 19e8cc696..edf34ec51 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/SchemaConfig.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.context.annotation.EachProperty; import io.micronaut.context.annotation.Parameter; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresIndy.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresIndy.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java index c80d34a1b..1d34f6741 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresIndy.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config.runtime; +package org.hyperledger.bpa.config.runtime; import io.micronaut.context.annotation.Requires; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresWeb.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresWeb.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java index e0d1d41c5..c8c665392 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/config/runtime/RequiresWeb.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config.runtime; +package org.hyperledger.bpa.config.runtime; import io.micronaut.context.annotation.Requires; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AdminController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/AdminController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java index e4b9450ba..d4be074f6 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AdminController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.*; @@ -27,13 +27,13 @@ import io.swagger.v3.oas.annotations.tags.Tag; import org.hyperledger.aries.AriesClient; import org.hyperledger.aries.api.ledger.TAAInfo.TAARecord; -import org.hyperledger.oa.api.aries.SchemaAPI; -import org.hyperledger.oa.config.RuntimeConfig; -import org.hyperledger.oa.controller.api.admin.AddSchemaRequest; -import org.hyperledger.oa.controller.api.admin.TAADigestRequest; -import org.hyperledger.oa.controller.api.admin.UpdateSchemaRequest; -import org.hyperledger.oa.impl.mode.indy.EndpointService; -import org.hyperledger.oa.impl.aries.SchemaService; +import org.hyperledger.bpa.api.aries.SchemaAPI; +import org.hyperledger.bpa.config.RuntimeConfig; +import org.hyperledger.bpa.controller.api.admin.AddSchemaRequest; +import org.hyperledger.bpa.controller.api.admin.TAADigestRequest; +import org.hyperledger.bpa.controller.api.admin.UpdateSchemaRequest; +import org.hyperledger.bpa.impl.mode.indy.EndpointService; +import org.hyperledger.bpa.impl.aries.SchemaService; import javax.inject.Inject; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AppController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/AppController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java index 1bae6115d..e8d073642 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AppController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.core.io.ResourceResolver; import io.micronaut.http.HttpResponse; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AriesWebhookController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/AriesWebhookController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java index 17775e7ee..f6eec04aa 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/AriesWebhookController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.annotation.Body; import io.micronaut.http.annotation.Controller; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/PartnerController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/PartnerController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java index 58d3ed783..03239df58 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/PartnerController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.*; @@ -27,14 +27,14 @@ import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.aries.AriesProof; -import org.hyperledger.oa.controller.api.partner.*; -import org.hyperledger.oa.impl.PartnerManager; -import org.hyperledger.oa.impl.activity.PartnerLookup; -import org.hyperledger.oa.impl.aries.CredentialManager; -import org.hyperledger.oa.impl.aries.PartnerCredDefLookup; -import org.hyperledger.oa.impl.aries.ProofManager; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.aries.AriesProof; +import org.hyperledger.bpa.controller.api.partner.*; +import org.hyperledger.bpa.impl.PartnerManager; +import org.hyperledger.bpa.impl.activity.PartnerLookup; +import org.hyperledger.bpa.impl.aries.CredentialManager; +import org.hyperledger.bpa.impl.aries.PartnerCredDefLookup; +import org.hyperledger.bpa.impl.aries.ProofManager; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/PublicProfileController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/PublicProfileController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java index 2ff07f9be..b1a137554 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/PublicProfileController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.Controller; @@ -28,9 +28,9 @@ import io.swagger.v3.oas.annotations.tags.Tag; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.impl.DidDocManager; -import org.hyperledger.oa.impl.activity.VPManager; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.impl.DidDocManager; +import org.hyperledger.bpa.impl.activity.VPManager; import javax.inject.Inject; import java.util.Optional; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/StatsController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/StatsController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java index a4f6b104d..7a982aa10 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/StatsController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.Controller; @@ -25,8 +25,8 @@ import io.micronaut.security.annotation.Secured; import io.micronaut.security.rules.SecurityRule; import io.swagger.v3.oas.annotations.tags.Tag; -import org.hyperledger.oa.controller.api.stats.BPAStats; -import org.hyperledger.oa.impl.StatsService; +import org.hyperledger.bpa.controller.api.stats.BPAStats; +import org.hyperledger.bpa.impl.StatsService; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/UserController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/UserController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java index 9b4cbf765..7f54a4a13 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/UserController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.core.util.CollectionUtils; import io.micronaut.http.HttpRequest; @@ -33,8 +33,8 @@ import io.swagger.v3.oas.annotations.Hidden; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.model.BPAUser; -import org.hyperledger.oa.repository.UserRepository; +import org.hyperledger.bpa.model.BPAUser; +import org.hyperledger.bpa.repository.UserRepository; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WalletController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/WalletController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java index c3894efcc..dc60e9637 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WalletController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.*; @@ -25,13 +25,13 @@ import io.micronaut.security.rules.SecurityRule; import io.micronaut.validation.Validated; import io.swagger.v3.oas.annotations.tags.Tag; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.aries.AriesCredential; -import org.hyperledger.oa.controller.api.wallet.WalletCredentialRequest; -import org.hyperledger.oa.controller.api.wallet.WalletDocumentRequest; -import org.hyperledger.oa.impl.MyDocumentManager; -import org.hyperledger.oa.impl.aries.CredentialManager; -import org.hyperledger.oa.model.MyCredential; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.aries.AriesCredential; +import org.hyperledger.bpa.controller.api.wallet.WalletCredentialRequest; +import org.hyperledger.bpa.controller.api.wallet.WalletDocumentRequest; +import org.hyperledger.bpa.impl.MyDocumentManager; +import org.hyperledger.bpa.impl.aries.CredentialManager; +import org.hyperledger.bpa.model.MyCredential; import javax.inject.Inject; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebhookController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebhookController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java index c30bc0bb6..c6f2a2031 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebhookController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.http.HttpResponse; import io.micronaut.http.annotation.*; @@ -24,9 +24,9 @@ import io.micronaut.security.annotation.Secured; import io.micronaut.security.rules.SecurityRule; import io.swagger.v3.oas.annotations.tags.Tag; -import org.hyperledger.oa.core.RegisteredWebhook; -import org.hyperledger.oa.core.RegisteredWebhook.RegisteredWebhookResponse; -import org.hyperledger.oa.impl.WebhookService; +import org.hyperledger.bpa.core.RegisteredWebhook; +import org.hyperledger.bpa.core.RegisteredWebhook.RegisteredWebhookResponse; +import org.hyperledger.bpa.impl.WebhookService; import javax.inject.Inject; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebsocketController.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebsocketController.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java index 00afa8e51..817720162 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/WebsocketController.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller; +package org.hyperledger.bpa.controller; import io.micronaut.security.annotation.Secured; import io.micronaut.security.rules.SecurityRule; @@ -26,7 +26,7 @@ import io.micronaut.websocket.annotation.OnOpen; import io.micronaut.websocket.annotation.ServerWebSocket; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.impl.MessageService; +import org.hyperledger.bpa.impl.MessageService; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/WebSocketMessageBody.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/WebSocketMessageBody.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java index 19202d61c..88d4cf02c 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/WebSocketMessageBody.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api; +package org.hyperledger.bpa.controller.api; import lombok.*; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.aries.AriesCredential; -import org.hyperledger.oa.api.aries.AriesProof; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.aries.AriesCredential; +import org.hyperledger.bpa.api.aries.AriesProof; /** * Websocket events diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/AddSchemaRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/AddSchemaRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java index 6c2f2c554..cba0f19da 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/AddSchemaRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.admin; +package org.hyperledger.bpa.controller.api.admin; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/TAADigestRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/TAADigestRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java index e9843a63d..67d977bb2 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/TAADigestRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.admin; +package org.hyperledger.bpa.controller.api.admin; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/UpdateSchemaRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/UpdateSchemaRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java index 886f94528..ea0f447f0 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/admin/UpdateSchemaRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.admin; +package org.hyperledger.bpa.controller.api.admin; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/ErrorMessage.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/ErrorMessage.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java index 8883e2e66..2fcfd60af 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/ErrorMessage.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.exception; +package org.hyperledger.bpa.controller.api.exception; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/NetworkExceptionHandler.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/NetworkExceptionHandler.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java index ee809f0cf..7d8ac06a6 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/NetworkExceptionHandler.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.exception; +package org.hyperledger.bpa.controller.api.exception; import io.micronaut.context.annotation.Requires; import io.micronaut.http.HttpRequest; @@ -23,7 +23,7 @@ import io.micronaut.http.HttpStatus; import io.micronaut.http.annotation.Produces; import io.micronaut.http.server.exceptions.ExceptionHandler; -import org.hyperledger.oa.api.exception.NetworkException; +import org.hyperledger.bpa.api.exception.NetworkException; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/PartnerExceptionHandler.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/PartnerExceptionHandler.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java index 885f12924..13e77c3d5 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/PartnerExceptionHandler.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.exception; +package org.hyperledger.bpa.controller.api.exception; import io.micronaut.context.annotation.Requires; import io.micronaut.http.HttpRequest; @@ -23,7 +23,7 @@ import io.micronaut.http.HttpStatus; import io.micronaut.http.annotation.Produces; import io.micronaut.http.server.exceptions.ExceptionHandler; -import org.hyperledger.oa.api.exception.PartnerException; +import org.hyperledger.bpa.api.exception.PartnerException; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/WrongApiUsageExceptionHandler.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/WrongApiUsageExceptionHandler.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java index b66237300..aaedf0851 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/exception/WrongApiUsageExceptionHandler.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.exception; +package org.hyperledger.bpa.controller.api.exception; import io.micronaut.context.annotation.Requires; import io.micronaut.http.HttpRequest; @@ -23,7 +23,7 @@ import io.micronaut.http.HttpStatus; import io.micronaut.http.annotation.Produces; import io.micronaut.http.server.exceptions.ExceptionHandler; -import org.hyperledger.oa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/AddPartnerRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/AddPartnerRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java index ec09cbe67..b2aeab460 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/AddPartnerRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; import lombok.Data; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/PartnerCredentialType.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/PartnerCredentialType.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java index 269c76e50..35c000065 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/PartnerCredentialType.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java @@ -15,9 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; -import org.hyperledger.oa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.AriesStringUtil; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestCredentialRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestCredentialRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java index 0d397f0ea..05bfb9992 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestCredentialRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestProofRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestProofRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java index 7d3dbbf9d..e924c1384 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/RequestProofRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/SendProofRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/SendProofRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java index c354ce6e5..364c2bc57 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/SendProofRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/UpdatePartnerRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/UpdatePartnerRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java index 659295c20..86b3e6080 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/partner/UpdatePartnerRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.partner; +package org.hyperledger.bpa.controller.api.partner; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/stats/BPAStats.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/stats/BPAStats.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java index f110f70f9..a0fd0ebcf 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/stats/BPAStats.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.stats; +package org.hyperledger.bpa.controller.api.stats; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletCredentialRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletCredentialRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java index 5a10e6e6a..05ee1f0e3 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletCredentialRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.wallet; +package org.hyperledger.bpa.controller.api.wallet; import lombok.Data; import lombok.NoArgsConstructor; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletDocumentRequest.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletDocumentRequest.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java index 20dc3456b..2bf610b92 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/controller/api/wallet/WalletDocumentRequest.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java @@ -15,9 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.controller.api.wallet; +package org.hyperledger.bpa.controller.api.wallet; -import org.hyperledger.oa.api.CredentialType; +import org.hyperledger.bpa.api.CredentialType; import com.fasterxml.jackson.annotation.JsonRawValue; import com.fasterxml.jackson.databind.JsonNode; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/DidDocManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/DidDocManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java index d3a405607..594f668db 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/DidDocManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java @@ -15,9 +15,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; -import org.hyperledger.oa.api.DidDocAPI; +import org.hyperledger.bpa.api.DidDocAPI; import java.util.Optional; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/MessageService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/MessageService.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java index 513cbf107..f75ae6eb0 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/MessageService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import io.micronaut.core.util.CollectionUtils; import io.micronaut.scheduling.annotation.Async; @@ -23,10 +23,10 @@ import io.micronaut.websocket.WebSocketBroadcaster; import io.micronaut.websocket.WebSocketSession; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.controller.api.WebSocketMessageBody; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MessageQueue; -import org.hyperledger.oa.repository.MessageQueueRepository; +import org.hyperledger.bpa.controller.api.WebSocketMessageBody; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MessageQueue; +import org.hyperledger.bpa.repository.MessageQueueRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/MyDocumentManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java similarity index 85% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/MyDocumentManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java index 0c9db4d50..b2d618ec2 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/MyDocumentManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java @@ -15,19 +15,19 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import lombok.NonNull; import lombok.Setter; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.impl.activity.DocumentValidator; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.impl.activity.LabelStrategy; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.MyDocumentRepository; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.impl.activity.DocumentValidator; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.impl.activity.LabelStrategy; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.MyDocumentRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/PartnerManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java similarity index 90% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/PartnerManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java index 315662e02..892a287c9 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/PartnerManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java @@ -15,22 +15,22 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import io.micronaut.cache.annotation.CacheInvalidate; import io.micronaut.context.annotation.Value; import lombok.NonNull; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookEventType; -import org.hyperledger.oa.impl.activity.PartnerLookup; -import org.hyperledger.oa.impl.aries.ConnectionManager; -import org.hyperledger.oa.impl.aries.PartnerCredDefLookup; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookEventType; +import org.hyperledger.bpa.impl.activity.PartnerLookup; +import org.hyperledger.bpa.impl.aries.ConnectionManager; +import org.hyperledger.bpa.impl.aries.PartnerCredDefLookup; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/StartupTasks.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java similarity index 90% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/StartupTasks.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java index 44d0a8e89..579f736da 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/StartupTasks.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import io.micronaut.context.annotation.Requires; import io.micronaut.context.annotation.Value; @@ -25,13 +25,13 @@ import io.micronaut.scheduling.annotation.Async; import lombok.extern.slf4j.Slf4j; import org.hyperledger.aries.AriesClient; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.impl.aries.PartnerCredDefLookup; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.mode.indy.IndyStartupTasks; -import org.hyperledger.oa.impl.mode.web.WebStartupTasks; -import org.hyperledger.oa.model.BPAState; -import org.hyperledger.oa.repository.BPAStateRepository; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.impl.aries.PartnerCredDefLookup; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.mode.indy.IndyStartupTasks; +import org.hyperledger.bpa.impl.mode.web.WebStartupTasks; +import org.hyperledger.bpa.model.BPAState; +import org.hyperledger.bpa.repository.BPAStateRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/StatsService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java similarity index 80% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/StatsService.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java index d827b7dec..fc7e5e73d 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/StatsService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.controller.api.stats.BPAStats; -import org.hyperledger.oa.impl.activity.Identity; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.MyDocumentRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.controller.api.stats.BPAStats; +import org.hyperledger.bpa.impl.activity.Identity; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.MyDocumentRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/WebhookService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/WebhookService.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java index 3ce4a703e..78a11def5 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/WebhookService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import io.micronaut.core.util.StringUtils; import io.micronaut.data.exceptions.DataAccessException; @@ -23,15 +23,15 @@ import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import okhttp3.*; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.core.RegisteredWebhook; -import org.hyperledger.oa.core.RegisteredWebhook.RegisteredWebhookResponse; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookCredentials; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookEventType; -import org.hyperledger.oa.core.WebhookEvent; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.BPAWebhook; -import org.hyperledger.oa.repository.BPAWebhookRepository; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.core.RegisteredWebhook; +import org.hyperledger.bpa.core.RegisteredWebhook.RegisteredWebhookResponse; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookCredentials; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookEventType; +import org.hyperledger.bpa.core.WebhookEvent; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.BPAWebhook; +import org.hyperledger.bpa.repository.BPAWebhookRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/CryptoManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/CryptoManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java index b18f72a7e..7967428f8 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/CryptoManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import lombok.NonNull; import lombok.Setter; @@ -26,7 +26,7 @@ import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; import org.hyperledger.aries.api.jsonld.VerifyResponse; -import org.hyperledger.oa.api.exception.NetworkException; +import org.hyperledger.bpa.api.exception.NetworkException; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DidResolver.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java similarity index 89% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DidResolver.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java index 2a287f716..1e6beb74f 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DidResolver.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java @@ -15,24 +15,24 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import io.micronaut.scheduling.annotation.Async; import lombok.Builder; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.client.URClient; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.core.RegisteredWebhook; -import org.hyperledger.oa.impl.WebhookService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.model.PartnerProof; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.client.URClient; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.core.RegisteredWebhook; +import org.hyperledger.bpa.impl.WebhookService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.model.PartnerProof; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DocumentValidator.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java similarity index 89% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DocumentValidator.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java index e855b015b..182ead812 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/DocumentValidator.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java @@ -15,17 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import lombok.Setter; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.MyDocumentRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.MyDocumentRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/Identity.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/Identity.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java index b750021f8..910986997 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/Identity.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.annotation.Value; @@ -24,11 +24,11 @@ import lombok.extern.slf4j.Slf4j; import org.hyperledger.aries.AriesClient; import org.hyperledger.aries.api.wallet.WalletDidResponse; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.exception.NetworkException; -import org.hyperledger.oa.client.CachingAriesClient; -import org.hyperledger.oa.client.URClient; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.exception.NetworkException; +import org.hyperledger.bpa.client.CachingAriesClient; +import org.hyperledger.bpa.client.URClient; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/LabelStrategy.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/LabelStrategy.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java index 6e0edf50a..9da4326ce 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/LabelStrategy.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java @@ -15,18 +15,18 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.JsonNode; import lombok.NonNull; import lombok.Setter; import org.apache.commons.lang3.StringUtils; import org.hyperledger.aries.api.credential.Credential; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.aries.AriesCredential; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.BPASchema; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.aries.AriesCredential; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.BPASchema; import javax.annotation.Nullable; import javax.inject.Inject; @@ -38,7 +38,7 @@ * Tries to set a human readable label on document and credential data. Labels * set by a user always take precedence, if none is set the strategy tries to * set a default value based on a schema attribute that has been configured in - * the {@link org.hyperledger.oa.config.SchemaConfig}. + * the {@link org.hyperledger.bpa.config.SchemaConfig}. */ @Singleton public class LabelStrategy { diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/PartnerLookup.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/PartnerLookup.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java index fac88e0ed..e258f2eab 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/PartnerLookup.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.cache.annotation.Cacheable; @@ -25,12 +25,12 @@ import org.apache.commons.lang3.StringUtils; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.client.URClient; -import org.hyperledger.oa.impl.util.Converter; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.client.URClient; +import org.hyperledger.bpa.impl.util.Converter; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/VPManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/VPManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java index 471c0ec36..7f61df5cf 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/activity/VPManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.gson.JsonObject; @@ -31,18 +31,18 @@ import org.hyperledger.aries.api.jsonld.VerifiablePresentation.VerifiablePresentationBuilder; import org.hyperledger.aries.config.GsonConfig; import org.hyperledger.aries.config.TimeUtil; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.DidDocWeb; -import org.hyperledger.oa.model.MyCredential; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.DidDocWebRepository; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.MyDocumentRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.DidDocWeb; +import org.hyperledger.bpa.model.MyCredential; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.DidDocWebRepository; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.MyDocumentRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/AriesEventHandler.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/AriesEventHandler.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java index 2268a1a13..05473262c 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/AriesEventHandler.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import lombok.extern.slf4j.Slf4j; import org.hyperledger.aries.api.connection.ConnectionRecord; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ConnectionManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ConnectionManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java index 2c9b9994c..1ee17f150 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ConnectionManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.annotation.Value; @@ -31,18 +31,18 @@ import org.hyperledger.aries.api.ledger.EndpointType; import org.hyperledger.aries.api.proof.PresentProofRecordsFilter; import org.hyperledger.aries.api.proof.PresentationExchangeRecord; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.controller.api.WebSocketMessageBody; -import org.hyperledger.oa.impl.MessageService; -import org.hyperledger.oa.impl.activity.DidResolver; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.model.PartnerProof; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.PartnerProofRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.controller.api.WebSocketMessageBody; +import org.hyperledger.bpa.impl.MessageService; +import org.hyperledger.bpa.impl.activity.DidResolver; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.model.PartnerProof; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.PartnerProofRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/CredentialManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/CredentialManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java index ee1a8492d..f75ee674d 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/CredentialManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.annotation.Value; @@ -32,24 +32,24 @@ import org.hyperledger.aries.api.exception.AriesException; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.aries.AriesCredential; -import org.hyperledger.oa.api.aries.AriesCredential.AriesCredentialBuilder; -import org.hyperledger.oa.api.aries.ProfileVC; -import org.hyperledger.oa.api.exception.NetworkException; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.controller.api.WebSocketMessageBody; -import org.hyperledger.oa.impl.MessageService; -import org.hyperledger.oa.impl.activity.LabelStrategy; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MyCredential; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.MyDocumentRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.aries.AriesCredential; +import org.hyperledger.bpa.api.aries.AriesCredential.AriesCredentialBuilder; +import org.hyperledger.bpa.api.aries.ProfileVC; +import org.hyperledger.bpa.api.exception.NetworkException; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.controller.api.WebSocketMessageBody; +import org.hyperledger.bpa.impl.MessageService; +import org.hyperledger.bpa.impl.activity.LabelStrategy; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MyCredential; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.MyDocumentRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.annotation.Nullable; import javax.inject.Inject; @@ -113,7 +113,7 @@ public void sendCredentialRequest(@NonNull UUID partnerId, @NonNull UUID myDocId "schema can be converted into a credential"); } try { - final Optional s = schemaService + final Optional s = schemaService .getSchemaFor(dbDoc.get().getSchemaId()); if (s.isPresent()) { final Optional credDefId = credLookup.findCredentialDefinitionId( diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookup.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java similarity index 88% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookup.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java index 4ab60b1f9..6e2da040f 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookup.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java @@ -1,18 +1,18 @@ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.context.annotation.Value; import io.micronaut.scheduling.annotation.Async; import io.micronaut.scheduling.annotation.Scheduled; import lombok.*; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.client.LedgerClient; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.PartnerRepository; -import org.hyperledger.oa.repository.SchemaRepository; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.client.LedgerClient; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.PartnerRepository; +import org.hyperledger.bpa.repository.SchemaRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PingManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PingManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java index 668b6e53a..ee13063aa 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/PingManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.context.annotation.Requires; import io.micronaut.context.env.Environment; @@ -27,7 +27,7 @@ import org.hyperledger.aries.api.connection.ConnectionState; import org.hyperledger.aries.api.message.PingEvent; import org.hyperledger.aries.api.message.PingRequest; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ProofManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ProofManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java index 9ed84c67d..e3bf61d0e 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/ProofManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import com.fasterxml.jackson.databind.JsonNode; import io.micronaut.context.annotation.Value; @@ -28,20 +28,20 @@ import org.hyperledger.aries.api.proof.*; import org.hyperledger.aries.api.proof.PresentProofRequest.ProofRequest.ProofAttributes.ProofRestrictions; import org.hyperledger.aries.api.schema.SchemaSendResponse.Schema; -import org.hyperledger.oa.api.aries.AriesProof; -import org.hyperledger.oa.api.exception.NetworkException; -import org.hyperledger.oa.api.exception.PartnerException; -import org.hyperledger.oa.controller.api.WebSocketMessageBody; -import org.hyperledger.oa.impl.MessageService; -import org.hyperledger.oa.impl.activity.DidResolver; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.impl.util.TimeUtil; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.model.PartnerProof; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.PartnerProofRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.aries.AriesProof; +import org.hyperledger.bpa.api.exception.NetworkException; +import org.hyperledger.bpa.api.exception.PartnerException; +import org.hyperledger.bpa.controller.api.WebSocketMessageBody; +import org.hyperledger.bpa.impl.MessageService; +import org.hyperledger.bpa.impl.activity.DidResolver; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.impl.util.TimeUtil; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.model.PartnerProof; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.PartnerProofRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/SchemaService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/SchemaService.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java index 4f96b342a..c6b57ca49 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/aries/SchemaService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java @@ -15,19 +15,19 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.cache.annotation.Cacheable; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.hyperledger.aries.AriesClient; -import org.hyperledger.oa.api.aries.SchemaAPI; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.config.SchemaConfig; -import org.hyperledger.oa.impl.util.AriesStringUtil; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.repository.SchemaRepository; +import org.hyperledger.bpa.api.aries.SchemaAPI; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.config.SchemaConfig; +import org.hyperledger.bpa.impl.util.AriesStringUtil; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.repository.SchemaRepository; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/EndpointService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/EndpointService.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java index e494f3cdf..567ff88c0 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/EndpointService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.indy; +package org.hyperledger.bpa.impl.mode.indy; import io.micronaut.context.annotation.Value; import lombok.extern.slf4j.Slf4j; @@ -28,8 +28,8 @@ import org.hyperledger.aries.api.ledger.TAAInfo.TAARecord; import org.hyperledger.aries.api.wallet.SetDidEndpointRequest; import org.hyperledger.aries.api.wallet.WalletDidResponse; -import org.hyperledger.oa.api.exception.NetworkException; -import org.hyperledger.oa.config.runtime.RequiresIndy; +import org.hyperledger.bpa.api.exception.NetworkException; +import org.hyperledger.bpa.config.runtime.RequiresIndy; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyDidDocManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java similarity index 83% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyDidDocManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java index 69a52a76f..a017acb79 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyDidDocManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java @@ -15,16 +15,16 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.indy; +package org.hyperledger.bpa.impl.mode.indy; import io.micronaut.context.annotation.Value; import org.hyperledger.aries.api.wallet.WalletDidResponse; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.exception.NetworkException; -import org.hyperledger.oa.client.CachingAriesClient; -import org.hyperledger.oa.client.URClient; -import org.hyperledger.oa.config.runtime.RequiresIndy; -import org.hyperledger.oa.impl.DidDocManager; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.exception.NetworkException; +import org.hyperledger.bpa.client.CachingAriesClient; +import org.hyperledger.bpa.client.URClient; +import org.hyperledger.bpa.config.runtime.RequiresIndy; +import org.hyperledger.bpa.impl.DidDocManager; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyStartupTasks.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyStartupTasks.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java index d7575dfb3..7a8a2eb5d 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/IndyStartupTasks.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.indy; +package org.hyperledger.bpa.impl.mode.indy; import io.micronaut.context.annotation.Requires; import io.micronaut.context.env.Environment; import lombok.extern.slf4j.Slf4j; import org.hyperledger.aries.AriesClient; import org.hyperledger.aries.api.ledger.TAAInfo; -import org.hyperledger.oa.config.runtime.RequiresIndy; -import org.hyperledger.oa.repository.migration.V1_9_1__RepairSchemaIds; +import org.hyperledger.bpa.config.runtime.RequiresIndy; +import org.hyperledger.bpa.repository.migration.V1_9_1__RepairSchemaIds; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/RevocationRegistry.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/RevocationRegistry.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java index 809fb6ee7..33cc3b0fd 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/indy/RevocationRegistry.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.indy; +package org.hyperledger.bpa.impl.mode.indy; import io.micronaut.context.annotation.Value; import io.micronaut.core.util.CollectionUtils; @@ -29,7 +29,7 @@ import org.hyperledger.aries.api.creddef.CredentialDefinition.CredentialDefinitionsCreated; import org.hyperledger.aries.api.creddef.CredentialDefinitionFilter; import org.hyperledger.aries.api.revocation.*; -import org.hyperledger.oa.config.runtime.RequiresIndy; +import org.hyperledger.bpa.config.runtime.RequiresIndy; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebDidDocManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java similarity index 89% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebDidDocManager.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java index ee3d9eb7a..c2ec81441 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebDidDocManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java @@ -15,22 +15,22 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.web; +package org.hyperledger.bpa.impl.mode.web; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.annotation.Value; import lombok.extern.slf4j.Slf4j; import org.hyperledger.aries.api.ledger.EndpointType; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.DidDocAPI.Service; -import org.hyperledger.oa.config.runtime.RequiresWeb; -import org.hyperledger.oa.impl.DidDocManager; -import org.hyperledger.oa.impl.activity.Identity; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.DidDocWeb; -import org.hyperledger.oa.repository.DidDocWebRepository; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.DidDocAPI.Service; +import org.hyperledger.bpa.config.runtime.RequiresWeb; +import org.hyperledger.bpa.impl.DidDocManager; +import org.hyperledger.bpa.impl.activity.Identity; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.DidDocWeb; +import org.hyperledger.bpa.repository.DidDocWebRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebStartupTasks.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebStartupTasks.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java index 6e5c5fa5e..cf1a58a82 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/mode/web/WebStartupTasks.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.web; +package org.hyperledger.bpa.impl.mode.web; import io.micronaut.context.annotation.Requires; import io.micronaut.context.annotation.Value; import io.micronaut.context.env.Environment; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.config.runtime.RequiresWeb; +import org.hyperledger.bpa.config.runtime.RequiresWeb; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/AriesStringUtil.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/AriesStringUtil.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java index 0bdc14312..a7a91d078 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/AriesStringUtil.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import org.apache.commons.lang3.StringUtils; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/Converter.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/Converter.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java index 9bded6ccc..12d778b89 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/Converter.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; @@ -35,14 +35,14 @@ import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.api.ApiConstants; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.api.PartnerAPI.PartnerCredential; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.model.Partner; +import org.hyperledger.bpa.api.ApiConstants; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.api.PartnerAPI.PartnerCredential; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.model.Partner; import javax.annotation.Nullable; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/TimeUtil.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/TimeUtil.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java index 7b2fa3a20..c5d911ea5 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/impl/util/TimeUtil.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import io.micronaut.core.util.StringUtils; import lombok.NonNull; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPASchema.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/BPASchema.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java index 597009e89..68fe4eb48 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPASchema.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAState.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAState.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java index 3c426251d..60576707f 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAState.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAUser.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAUser.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java index 7f1b5b548..264d2ce9e 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAUser.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import com.fasterxml.jackson.annotation.JsonIgnore; import io.micronaut.data.annotation.AutoPopulated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAWebhook.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAWebhook.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java index 100e49882..3b5568c6e 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/BPAWebhook.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/DidDocWeb.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/DidDocWeb.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java index 4e9ea2f85..87a888f10 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/DidDocWeb.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MessageQueue.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java similarity index 97% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/MessageQueue.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java index 2819480db..03a656fe9 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MessageQueue.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MyCredential.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/MyCredential.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java index 68c4bec4d..f39302c87 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MyCredential.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.TypeDef; @@ -25,7 +25,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; -import org.hyperledger.oa.api.CredentialType; +import org.hyperledger.bpa.api.CredentialType; import javax.annotation.Nullable; import javax.persistence.Entity; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MyDocument.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/MyDocument.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java index 48c60a75b..c14a6fd19 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/MyDocument.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; @@ -25,7 +25,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; -import org.hyperledger.oa.api.CredentialType; +import org.hyperledger.bpa.api.CredentialType; import javax.annotation.Nullable; import javax.persistence.Entity; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/Partner.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/Partner.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/Partner.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/Partner.java index 44c5c3105..3b20fdb1e 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/Partner.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/Partner.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; @@ -28,8 +28,8 @@ import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; import javax.annotation.Nullable; import javax.persistence.Entity; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/model/PartnerProof.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java similarity index 98% rename from backend/company-agent/src/main/java/org/hyperledger/oa/model/PartnerProof.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java index ea105778c..7dfa23253 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/model/PartnerProof.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.model; +package org.hyperledger.bpa.model; import io.micronaut.data.annotation.AutoPopulated; import io.micronaut.data.annotation.DateCreated; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAStateRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAStateRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java index 254070a2c..645ca63b2 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAStateRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.BPAState; +import org.hyperledger.bpa.model.BPAState; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAWebhookRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java similarity index 90% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAWebhookRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java index 3b54672ef..499a24e28 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/BPAWebhookRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java @@ -15,14 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Query; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookEventType; -import org.hyperledger.oa.model.BPAWebhook; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookEventType; +import org.hyperledger.bpa.model.BPAWebhook; import java.util.List; import java.util.Optional; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/DBOperations.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/DBOperations.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java index f997dcd4a..e4526f3bd 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/DBOperations.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.context.annotation.Requires; import io.micronaut.context.annotation.Value; @@ -24,7 +24,7 @@ import io.micronaut.runtime.event.annotation.EventListener; import io.micronaut.scheduling.annotation.Async; import lombok.extern.slf4j.Slf4j; -import org.hyperledger.oa.model.BPAUser; +import org.hyperledger.bpa.model.BPAUser; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import javax.inject.Inject; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/DidDocWebRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/DidDocWebRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java index 6d2ce7a2f..b187b2ffb 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/DidDocWebRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.DidDocWeb; +import org.hyperledger.bpa.model.DidDocWeb; import java.util.Iterator; import java.util.Map; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MessageQueueRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java similarity index 92% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/MessageQueueRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java index c73f2285c..a27965b51 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MessageQueueRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.MessageQueue; +import org.hyperledger.bpa.model.MessageQueue; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyCredentialRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java similarity index 95% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyCredentialRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java index 73e4b7d66..95ef761f4 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyCredentialRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java @@ -15,14 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.annotation.Query; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.MyCredential; +import org.hyperledger.bpa.model.MyCredential; import javax.annotation.Nullable; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyDocumentRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java similarity index 91% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyDocumentRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java index d0bf1fa8d..3aa9fb8f2 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/MyDocumentRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java @@ -15,14 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.model.MyDocument; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.model.MyDocument; import javax.annotation.Nullable; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerProofRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java similarity index 94% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerProofRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java index f18065fc7..aaaeab56b 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerProofRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.PartnerProof; +import org.hyperledger.bpa.model.PartnerProof; import java.time.Instant; import java.util.List; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java similarity index 96% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java index 515a707a4..1be781817 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/PartnerRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java @@ -15,14 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.annotation.Query; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.Partner; +import org.hyperledger.bpa.model.Partner; import javax.annotation.Nullable; import java.time.Instant; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/SchemaRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/SchemaRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java index 37fc93906..e657cd61c 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/SchemaRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.annotation.Id; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.BPASchema; +import org.hyperledger.bpa.model.BPASchema; import java.util.Optional; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/UserRepository.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java similarity index 93% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/UserRepository.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java index 37680331a..b35454922 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/UserRepository.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.jdbc.annotation.JdbcRepository; import io.micronaut.data.model.query.builder.sql.Dialect; import io.micronaut.data.repository.CrudRepository; -import org.hyperledger.oa.model.BPAUser; +import org.hyperledger.bpa.model.BPAUser; import java.util.Optional; import java.util.UUID; diff --git a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIds.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java similarity index 89% rename from backend/company-agent/src/main/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIds.java rename to backend/company-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java index 8385f4529..d58db5d93 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIds.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java @@ -15,18 +15,18 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository.migration; +package org.hyperledger.bpa.repository.migration; import com.fasterxml.jackson.databind.JsonNode; import lombok.NonNull; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.aries.SchemaAPI; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.repository.MyDocumentRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.aries.SchemaAPI; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.repository.MyDocumentRepository; import javax.inject.Inject; import javax.inject.Singleton; diff --git a/backend/company-agent/src/main/resources/log4j2.xml b/backend/company-agent/src/main/resources/log4j2.xml index 31742d210..a1bfc9ec1 100644 --- a/backend/company-agent/src/main/resources/log4j2.xml +++ b/backend/company-agent/src/main/resources/log4j2.xml @@ -12,9 +12,9 @@ - + - + diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java index 6bced5a0a..3cec56697 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa; +package org.hyperledger.bpa; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTestWeb.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTestWeb.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java index 74d890c0b..ec6865365 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/ApplicationTestWeb.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa; +package org.hyperledger.bpa; import io.micronaut.context.env.Environment; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/BaseTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/BaseTest.java similarity index 95% rename from backend/company-agent/src/test/java/org/hyperledger/oa/BaseTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/BaseTest.java index 978ca51bf..1f483fe22 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/BaseTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/BaseTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa; +package org.hyperledger.bpa; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; @@ -23,8 +23,8 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.core.util.CollectionUtils; import lombok.NonNull; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.util.FileLoader; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.util.FileLoader; import org.junit.jupiter.api.BeforeEach; import java.time.Instant; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/RunWithAries.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java similarity index 99% rename from backend/company-agent/src/test/java/org/hyperledger/oa/RunWithAries.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java index bf038e009..93d5bd87e 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/RunWithAries.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa; +package org.hyperledger.bpa; import io.micronaut.context.annotation.Value; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/client/LedgerClientTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java similarity index 89% rename from backend/company-agent/src/test/java/org/hyperledger/oa/client/LedgerClientTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java index 1613d1d55..71e35c67a 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/client/LedgerClientTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java @@ -15,10 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client; +package org.hyperledger.bpa.client; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/client/URClientTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java similarity index 96% rename from backend/company-agent/src/test/java/org/hyperledger/oa/client/URClientTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java index b12e7c2c6..ac59cd58d 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/client/URClientTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.client; +package org.hyperledger.bpa.client; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.api.DidDocAPI; +import org.hyperledger.bpa.api.DidDocAPI; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/config/TestBeans.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/config/TestBeans.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java index befa08f9f..e3b8c1adb 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/config/TestBeans.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.config; +package org.hyperledger.bpa.config; import io.micronaut.context.annotation.Factory; import io.micronaut.context.annotation.Requires; import io.micronaut.context.env.Environment; import org.hyperledger.aries.AriesClient; -import org.hyperledger.oa.RunWithAries; +import org.hyperledger.bpa.RunWithAries; import org.mockito.Mockito; import javax.inject.Singleton; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/connector/api/ApiSerialisationTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java similarity index 93% rename from backend/company-agent/src/test/java/org/hyperledger/oa/connector/api/ApiSerialisationTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java index b1cac8d4f..d6456a399 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/connector/api/ApiSerialisationTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.connector.api; +package org.hyperledger.bpa.connector.api; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.client.api.DidDocument; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.client.api.DidDocument; import org.junit.jupiter.api.Test; import java.util.List; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/CredentialTestUtils.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java similarity index 92% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/CredentialTestUtils.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java index 8a6834531..7e98e710f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/CredentialTestUtils.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; public class CredentialTestUtils { diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/MyDocumentManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java similarity index 92% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/MyDocumentManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java index c034560d6..0707406c9 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/MyDocumentManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl; +package org.hyperledger.bpa.impl; import com.fasterxml.jackson.core.JsonProcessingException; import com.google.gson.Gson; @@ -25,18 +25,18 @@ import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.RunWithAries; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.client.CachingAriesClient; -import org.hyperledger.oa.impl.activity.CryptoManager; -import org.hyperledger.oa.impl.activity.DocumentValidator; -import org.hyperledger.oa.impl.activity.Identity; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.repository.DidDocWebRepository; +import org.hyperledger.bpa.RunWithAries; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.client.CachingAriesClient; +import org.hyperledger.bpa.impl.activity.CryptoManager; +import org.hyperledger.bpa.impl.activity.DocumentValidator; +import org.hyperledger.bpa.impl.activity.Identity; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.repository.DidDocWebRepository; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/CryptoManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java similarity index 96% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/CryptoManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java index 05ff9c31e..c1aaff63f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/CryptoManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java @@ -15,14 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; import org.hyperledger.aries.api.jsonld.VerifiablePresentation.VerifiablePresentationBuilder; -import org.hyperledger.oa.RunWithAries; -import org.hyperledger.oa.client.CachingAriesClient; +import org.hyperledger.bpa.RunWithAries; +import org.hyperledger.bpa.client.CachingAriesClient; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DidResolverTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java similarity index 91% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DidResolverTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java index 123a6c38d..e399b077f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DidResolverTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java @@ -15,16 +15,16 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; - -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.api.DidDocAPI; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.client.URClient; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.model.PartnerProof; -import org.hyperledger.oa.repository.PartnerRepository; +package org.hyperledger.bpa.impl.activity; + +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.api.DidDocAPI; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.client.URClient; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.model.PartnerProof; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DocumentValidatorTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java similarity index 90% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DocumentValidatorTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java index 0efeeece4..3d395c789 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/DocumentValidatorTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java @@ -15,18 +15,18 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.exception.WrongApiUsageException; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.MyDocumentRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.exception.WrongApiUsageException; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.MyDocumentRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/LabelStrategyTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/LabelStrategyTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java index e39d21a0d..66a2f376d 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/LabelStrategyTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.hyperledger.aries.api.credential.Credential; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.aries.AriesCredential; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.model.BPASchema; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.aries.AriesCredential; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.model.BPASchema; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/PartnerLookupTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java similarity index 93% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/PartnerLookupTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java index bdc0779f8..c736ad85e 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/PartnerLookupTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.client.api.DidDocument; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.client.api.DidDocument; import org.junit.jupiter.api.Test; import java.util.Optional; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/VPManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/VPManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java index fd8633866..2253f4a09 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/activity/VPManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.activity; +package org.hyperledger.bpa.impl.activity; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; @@ -24,13 +24,13 @@ import org.hyperledger.aries.api.credential.Credential; import org.hyperledger.aries.api.jsonld.VerifiableCredential; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.model.MyCredential; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.model.MyCredential; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/AriesEventHandlerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/AriesEventHandlerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java index dc1cd7317..637f07bb8 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/AriesEventHandlerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java @@ -15,16 +15,16 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.proof.PresentationExchangeRecord; import org.hyperledger.aries.webhook.EventParser; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.model.PartnerProof; -import org.hyperledger.oa.repository.PartnerProofRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.model.PartnerProof; +import org.hyperledger.bpa.repository.PartnerProofRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/ConnectionManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/ConnectionManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java index 0f4f216f9..d0873044b 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/ConnectionManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import com.google.gson.Gson; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.connection.ConnectionRecord; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerIntegrationTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java similarity index 87% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerIntegrationTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java index e463595d4..fc0b91fec 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerIntegrationTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java @@ -15,19 +15,19 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.credential.CredentialExchange; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.RunWithAries; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.client.CachingAriesClient; -import org.hyperledger.oa.impl.activity.CryptoManager; -import org.hyperledger.oa.impl.activity.Identity; -import org.hyperledger.oa.impl.activity.VPManager; -import org.hyperledger.oa.model.MyCredential; -import org.hyperledger.oa.repository.MyCredentialRepository; +import org.hyperledger.bpa.RunWithAries; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.client.CachingAriesClient; +import org.hyperledger.bpa.impl.activity.CryptoManager; +import org.hyperledger.bpa.impl.activity.Identity; +import org.hyperledger.bpa.impl.activity.VPManager; +import org.hyperledger.bpa.model.MyCredential; +import org.hyperledger.bpa.repository.MyCredentialRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java similarity index 91% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java index 21a484902..3b1f47342 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/CredentialManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.credential.Credential; @@ -23,13 +23,13 @@ import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MyCredential; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.MyCredentialRepository; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MyCredential; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.MyCredentialRepository; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookupTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java similarity index 89% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookupTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java index a7a07eb45..f2b53f3b4 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PartnerCredDefLookupTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java @@ -1,12 +1,12 @@ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; -import org.hyperledger.oa.client.LedgerClient; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; -import org.hyperledger.oa.model.BPASchema; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.PartnerRepository; -import org.hyperledger.oa.repository.SchemaRepository; +import org.hyperledger.bpa.client.LedgerClient; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.model.BPASchema; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.PartnerRepository; +import org.hyperledger.bpa.repository.SchemaRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PingManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PingManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java index e5b4874ad..ea200bdc3 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/aries/PingManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.aries; +package org.hyperledger.bpa.impl.aries; import org.hyperledger.aries.AriesClient; import org.hyperledger.aries.api.connection.ConnectionFilter; @@ -23,8 +23,8 @@ import org.hyperledger.aries.api.message.PingEvent; import org.hyperledger.aries.api.message.PingRequest; import org.hyperledger.aries.api.message.PingResponse; -import org.hyperledger.oa.model.Partner; -import org.hyperledger.oa.repository.PartnerRepository; +import org.hyperledger.bpa.model.Partner; +import org.hyperledger.bpa.repository.PartnerRepository; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/mode/web/WebDidDocManagerTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java similarity index 92% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/mode/web/WebDidDocManagerTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java index 9f05bb50f..1262ba00f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/mode/web/WebDidDocManagerTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java @@ -15,13 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.mode.web; +package org.hyperledger.bpa.impl.mode.web; import com.fasterxml.jackson.databind.ObjectMapper; import io.micronaut.context.env.Environment; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; -import org.hyperledger.oa.RunWithAries; -import org.hyperledger.oa.api.DidDocAPI; +import org.hyperledger.bpa.RunWithAries; +import org.hyperledger.bpa.api.DidDocAPI; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/AriesStringUtilTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/AriesStringUtilTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java index 2fd5bd94e..8dbe120f7 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/AriesStringUtilTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/ConverterTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java similarity index 92% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/ConverterTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java index 6e14de667..ed47ac189 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/ConverterTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java @@ -15,19 +15,19 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import com.fasterxml.jackson.databind.JsonNode; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.jsonld.VerifiableCredential.VerifiableIndyCredential; import org.hyperledger.aries.api.jsonld.VerifiablePresentation; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.MyDocumentAPI; -import org.hyperledger.oa.api.PartnerAPI; -import org.hyperledger.oa.impl.CredentialTestUtils; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.model.Partner; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.MyDocumentAPI; +import org.hyperledger.bpa.api.PartnerAPI; +import org.hyperledger.bpa.impl.CredentialTestUtils; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.model.Partner; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/TimeUtilTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/TimeUtilTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java index 4d7ae84fb..a7e8e8e0f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/impl/util/TimeUtilTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.impl.util; +package org.hyperledger.bpa.impl.util; import org.junit.jupiter.api.Test; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/BPAWebhookRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java similarity index 92% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/BPAWebhookRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java index 956b24f14..8a37a589b 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/BPAWebhookRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.data.exceptions.DataAccessException; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.apache.commons.lang3.RandomStringUtils; -import org.hyperledger.oa.core.RegisteredWebhook; -import org.hyperledger.oa.core.RegisteredWebhook.WebhookEventType; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.BPAWebhook; +import org.hyperledger.bpa.core.RegisteredWebhook; +import org.hyperledger.bpa.core.RegisteredWebhook.WebhookEventType; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.BPAWebhook; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/DidDocWebRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/DidDocWebRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java index 19e9ab698..341065df9 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/DidDocWebRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java @@ -15,10 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; -import org.hyperledger.oa.model.DidDocWeb; +import org.hyperledger.bpa.model.DidDocWeb; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/MyCredentialRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/MyCredentialRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java index f8ce03d39..dddf35556 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/MyCredentialRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import org.hyperledger.aries.api.credential.CredentialExchange; import org.hyperledger.aries.config.GsonConfig; -import org.hyperledger.oa.BaseTest; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MyCredential; +import org.hyperledger.bpa.BaseTest; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MyCredential; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerProofRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java similarity index 95% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerProofRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java index 451c38d63..b7938e06f 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerProofRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java @@ -15,10 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; -import org.hyperledger.oa.model.PartnerProof; +import org.hyperledger.bpa.model.PartnerProof; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java similarity index 97% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java index f35c8f3f5..5f848595a 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/PartnerRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java @@ -15,16 +15,16 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.commons.lang3.RandomStringUtils; -import org.hyperledger.oa.controller.api.partner.PartnerCredentialType; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.Partner; +import org.hyperledger.bpa.controller.api.partner.PartnerCredentialType; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.Partner; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/UserRepositoryTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java similarity index 94% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/UserRepositoryTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java index 455bae220..b16953334 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/UserRepositoryTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java @@ -15,10 +15,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository; +package org.hyperledger.bpa.repository; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; -import org.hyperledger.oa.model.BPAUser; +import org.hyperledger.bpa.model.BPAUser; import org.junit.jupiter.api.Test; import javax.inject.Inject; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIdsTest.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java similarity index 88% rename from backend/company-agent/src/test/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIdsTest.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java index dff81185e..1def7c606 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/repository/migration/V1_9_1__RepairSchemaIdsTest.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java @@ -15,15 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.repository.migration; +package org.hyperledger.bpa.repository.migration; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hyperledger.oa.api.CredentialType; -import org.hyperledger.oa.api.aries.SchemaAPI; -import org.hyperledger.oa.impl.aries.SchemaService; -import org.hyperledger.oa.impl.util.Converter; -import org.hyperledger.oa.model.MyDocument; -import org.hyperledger.oa.repository.MyDocumentRepository; +import org.hyperledger.bpa.api.CredentialType; +import org.hyperledger.bpa.api.aries.SchemaAPI; +import org.hyperledger.bpa.impl.aries.SchemaService; +import org.hyperledger.bpa.impl.util.Converter; +import org.hyperledger.bpa.model.MyDocument; +import org.hyperledger.bpa.repository.MyDocumentRepository; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; diff --git a/backend/company-agent/src/test/java/org/hyperledger/oa/util/FileLoader.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java similarity index 98% rename from backend/company-agent/src/test/java/org/hyperledger/oa/util/FileLoader.java rename to backend/company-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java index 615a7890d..cde6b87bd 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/oa/util/FileLoader.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package org.hyperledger.oa.util; +package org.hyperledger.bpa.util; import lombok.extern.slf4j.Slf4j; diff --git a/backend/company-agent/src/test/resources/spotbugs-exclude.xml b/backend/company-agent/src/test/resources/spotbugs-exclude.xml index ccd89aa95..a770d5823 100644 --- a/backend/company-agent/src/test/resources/spotbugs-exclude.xml +++ b/backend/company-agent/src/test/resources/spotbugs-exclude.xml @@ -23,12 +23,12 @@ - + - + From ed6171d7fda20060da237809a61c215b4baa543d Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:31:37 +0100 Subject: [PATCH 04/14] renaming to business-partner-agent Signed-off-by: Philipp Etschel --- Jenkinsfile | 1 - backend/company-agent-core/pom.xml | 10 +++++----- backend/company-agent/pom.xml | 12 ++++++------ backend/pom.xml | 9 +++++---- scripts/docker-compose.custom-acapy.yml | 4 ++-- scripts/docker-compose.yml | 4 ++-- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ad248eac2..22216a21b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,6 @@ pipeline { agent any environment { - REG_IMAGE = 'agent-registry' SETTINGS_ID = 'a77b84ea-0de6-4ede-8961-060229a96fcf' MVN_VERSION = 'maven-3.6.x' } diff --git a/backend/company-agent-core/pom.xml b/backend/company-agent-core/pom.xml index 698230193..71e096f95 100644 --- a/backend/company-agent-core/pom.xml +++ b/backend/company-agent-core/pom.xml @@ -5,17 +5,17 @@ 4.0.0 - org.hyperledger.organizational-agent - organizational-agent-parent + org.hyperledger.business-partner-agent + business-partner-agent-parent 0.1-SNAPSHOT - organizational-agent-core + business-partner-agent-core jar ${project.groupId}:${project.artifactId} - organizational-agent: shared core classes - https://github.com/hyperledger-labs/organizational-agent + business-partner-agent: shared core classes + https://github.com/hyperledger-labs/business-partner-agent true diff --git a/backend/company-agent/pom.xml b/backend/company-agent/pom.xml index 91558cbff..b45f2d088 100644 --- a/backend/company-agent/pom.xml +++ b/backend/company-agent/pom.xml @@ -5,17 +5,17 @@ 4.0.0 - org.hyperledger.organizational-agent - organizational-agent-parent + org.hyperledger.business-partner-agent + business-partner-agent-parent 0.1-SNAPSHOT - organizational-agent + business-partner-agent jar ${project.groupId}:${project.artifactId} - organizational-agent: backend + business-partner-agent: backend https://github.com/hyperledger-labs/business-partner-agent @@ -102,8 +102,8 @@ 0.5.1-SNAPSHOT - org.hyperledger.organizational-agent - organizational-agent-core + org.hyperledger.business-partner-agent + business-partner-agent-core ${project.version} diff --git a/backend/pom.xml b/backend/pom.xml index 8a8336441..479b00e2e 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -4,14 +4,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.hyperledger.organizational-agent - organizational-agent-parent + org.hyperledger.business-partner-agent + business-partner-agent-parent 0.1-SNAPSHOT pom ${project.groupId}:${project.artifactId} - organizational-agent: parent pom - https://github.com/hyperledger-labs/organizational-agent + business-partner-agent: parent pom + https://github.com/hyperledger-labs/business-partner-agent @@ -34,6 +34,7 @@ + 11 maven_execution ${jdk.version} diff --git a/scripts/docker-compose.custom-acapy.yml b/scripts/docker-compose.custom-acapy.yml index e1e4a1b17..1bdac0eda 100644 --- a/scripts/docker-compose.custom-acapy.yml +++ b/scripts/docker-compose.custom-acapy.yml @@ -3,7 +3,7 @@ version: '3' services: - company-agent: + bpa: build: context: .. # image: ${BPA_DOCKER_IMAGE} @@ -60,7 +60,7 @@ services: --plugin aries_cloudagent.messaging.jsonld \ --inbound-transport http '0.0.0.0' ${AGENT_HTTP_PORT} \ --outbound-transport http \ - --webhook-url http://company-agent:${BPA_PORT}/log \ + --webhook-url http://bpa:${BPA_PORT}/log \ --genesis-url '${LEDGER_URL}/genesis' \ --endpoint ${AGENT_ENDPOINT} \ --wallet-type 'indy' \ diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index c355756d0..cc58859b2 100644 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -3,7 +3,7 @@ version: '3' services: - company-agent: + bpa: build: context: .. # image: ${BPA_DOCKER_IMAGE} @@ -58,7 +58,7 @@ services: --plugin aries_cloudagent.messaging.jsonld \ --inbound-transport http '0.0.0.0' ${AGENT_HTTP_PORT} \ --outbound-transport http \ - --webhook-url http://company-agent:${BPA_PORT}/log \ + --webhook-url http://bpa:${BPA_PORT}/log \ --genesis-url '${LEDGER_URL}/genesis' \ --endpoint ${AGENT_ENDPOINT} \ --wallet-type 'indy' \ From 081229d69991c4541379d585b7294deca82fc962 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:51:01 +0100 Subject: [PATCH 05/14] renamed oagent to bpa - part1 Signed-off-by: Philipp Etschel --- backend/company-agent/README.md | 2 +- .../java/org/hyperledger/bpa/Application.java | 4 ++-- .../org/hyperledger/bpa/client/LedgerClient.java | 4 ++-- .../org/hyperledger/bpa/client/URClient.java | 2 +- .../bpa/config/AriesClientFactory.java | 4 ++-- .../hyperledger/bpa/config/RuntimeConfig.java | 14 +++++++------- .../org/hyperledger/bpa/config/SchemaConfig.java | 2 +- .../bpa/config/runtime/RequiresIndy.java | 2 +- .../bpa/config/runtime/RequiresWeb.java | 2 +- .../org/hyperledger/bpa/impl/PartnerManager.java | 2 +- .../org/hyperledger/bpa/impl/StartupTasks.java | 4 ++-- .../hyperledger/bpa/impl/activity/Identity.java | 6 +++--- .../bpa/impl/aries/ConnectionManager.java | 2 +- .../bpa/impl/aries/CredentialManager.java | 2 +- .../bpa/impl/aries/PartnerCredDefLookup.java | 2 +- .../hyperledger/bpa/impl/aries/ProofManager.java | 2 +- .../bpa/impl/mode/indy/EndpointService.java | 4 ++-- .../bpa/impl/mode/indy/IndyDidDocManager.java | 2 +- .../bpa/impl/mode/indy/RevocationRegistry.java | 2 +- .../bpa/impl/mode/web/WebDidDocManager.java | 2 +- .../bpa/impl/mode/web/WebStartupTasks.java | 2 +- .../org/hyperledger/bpa/impl/util/Converter.java | 2 +- .../hyperledger/bpa/repository/DBOperations.java | 4 ++-- .../src/main/resources/application.yml | 16 ++++++++-------- .../java/org/hyperledger/bpa/RunWithAries.java | 2 +- .../src/test/resources/application-test-web.yml | 2 +- .../src/test/resources/application-test.yml | 2 +- 27 files changed, 48 insertions(+), 48 deletions(-) diff --git a/backend/company-agent/README.md b/backend/company-agent/README.md index 4a08007b8..c8adf9fe0 100644 --- a/backend/company-agent/README.md +++ b/backend/company-agent/README.md @@ -32,7 +32,7 @@ In you IDE e.g. Eclipse righ click Application.java Run As/Run Configurations an If you want to run in web only mode you also have to set: ``` --Doagent.web.only=true +-Dbpa.web.only=true ``` ### Aries Mode diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java index 3d41f20cf..6b67ac393 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java @@ -24,9 +24,9 @@ @OpenAPIDefinition( info = @Info( - title = "Organizational Agent", + title = "Business Partner Agent", version = "0.1", - description = "Organizational Agent API", + description = "Business Partner Agent API", license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0"))) public class Application { diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java index 82cc4e062..8f6a6f5fe 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java @@ -46,7 +46,7 @@ public class LedgerClient { @Setter(AccessLevel.PROTECTED) - @Value("${oagent.ledger.browser}") + @Value("${bpa.ledger.browser}") private String url; @Inject @@ -66,7 +66,7 @@ public Optional> queryCredentialDefinitions(@NonNull Optional> result = Optional.empty(); if (StringUtils.isEmpty(url)) { - log.error("The system property: 'oagent.ledger.browser' is not set"); + log.error("The system property: 'bpa.ledger.browser' is not set"); return result; } diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java index 137d9c870..0ae1a11f3 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java @@ -54,7 +54,7 @@ // https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java/uni-resolver-client public class URClient { - @Client("${oagent.resolver.url}") + @Client("${bpa.resolver.url}") @Inject private RxHttpClient client; diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java index 2a1e04b10..e4c7ecd0c 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java @@ -33,9 +33,9 @@ public class AriesClientFactory { private static final long FIVE = 300; - @Value("${oagent.acapy.url}") + @Value("${bpa.acapy.url}") private String url; - @Value("${oagent.acapy.apiKey}") + @Value("${bpa.acapy.apiKey}") private String apiKey; @Singleton diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java index 210993e86..10f686984 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java @@ -29,25 +29,25 @@ @NoArgsConstructor public class RuntimeConfig { - @Value("${oagent.host}") + @Value("${bpa.host}") private String host; - @Value("${oagent.resolver.url}") + @Value("${bpa.resolver.url}") private String uniResolverUrl; - @Value("${oagent.ledger.browser}") + @Value("${bpa.ledger.browser}") private String ledgerBrowser; - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") private String ledgerPrefix; - @Value("${oagent.web.only}") + @Value("${bpa.web.only}") private Boolean webOnly; - @Value("${oagent.name}") + @Value("${bpa.name}") private String agentName; - @Value("${oagent.acapy.endpoint}") + @Value("${bpa.acapy.endpoint}") private String acapyEndpoint; public String getAgentName() { diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java index edf34ec51..28ede1662 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java @@ -24,7 +24,7 @@ /** * Schema configuration bean that maps the default schema configuration. */ -@EachProperty("oagent.schemas") +@EachProperty("bpa.schemas") @Data public class SchemaConfig { diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java index 1d34f6741..bbc3d8723 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java @@ -25,7 +25,7 @@ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.PACKAGE, ElementType.TYPE }) @Requires( - property = "oagent.web.only", + property = "bpa.web.only", value = "false") public @interface RequiresIndy { // diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java index c8c665392..767b58c77 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java @@ -25,7 +25,7 @@ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.PACKAGE, ElementType.TYPE }) @Requires( - property = "oagent.web.only", + property = "bpa.web.only", value = "true") public @interface RequiresWeb { // diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java index 892a287c9..6ef5a52a5 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java @@ -43,7 +43,7 @@ @Singleton public class PartnerManager { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") private String ledgerPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java index 579f736da..595241c36 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java @@ -44,10 +44,10 @@ @Requires(notEnv = { Environment.TEST }) public class StartupTasks { - @Value("${oagent.web.only}") + @Value("${bpa.web.only}") Boolean envState; - @Value("${oagent.host}") + @Value("${bpa.host}") String host; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java index 910986997..0e16136dd 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java @@ -41,14 +41,14 @@ @Singleton public class Identity { - @Value("${oagent.host}") + @Value("${bpa.host}") String host; - @Value("${oagent.web.only}") + @Value("${bpa.web.only}") boolean webOnly; @Getter - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") String didPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java index 1ee17f150..5d5280042 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java @@ -56,7 +56,7 @@ @Singleton public class ConnectionManager { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") String didPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java index f75ee674d..d51b07efa 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java @@ -65,7 +65,7 @@ @Singleton public class CredentialManager { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") String didPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java index 6e2da040f..c13ac82ff 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java @@ -22,7 +22,7 @@ @Singleton public class PartnerCredDefLookup { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") @Setter(AccessLevel.PACKAGE) String didPrefix; diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java index e3bf61d0e..40bc4f8ae 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java @@ -56,7 +56,7 @@ @Singleton public class ProofManager { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") String didPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java index 567ff88c0..104345444 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java @@ -59,8 +59,8 @@ public class EndpointService { @Inject public EndpointService( - @Value(value = "${oagent.acapy.endpoint}") String acapyEndpoint, - @Value(value = "${oagent.host}") String host) { + @Value(value = "${bpa.acapy.endpoint}") String acapyEndpoint, + @Value(value = "${bpa.host}") String host) { endpoints = new HashMap<>(); endpoints.put("https://" + host + "/profile.jsonld", EndpointType.Profile); endpoints.put(acapyEndpoint, EndpointType.Endpoint); diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java index a017acb79..e5fbb469f 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java @@ -35,7 +35,7 @@ @RequiresIndy public class IndyDidDocManager implements DidDocManager { - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") String didPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java index 33cc3b0fd..924ecc596 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java @@ -51,7 +51,7 @@ public class RevocationRegistry { @Setter(value = AccessLevel.PACKAGE) AriesClient ac; - @Value("${oagent.host}") + @Value("${bpa.host}") @Setter(value = AccessLevel.PACKAGE) String host; diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java index c2ec81441..0a1b1683e 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java @@ -43,7 +43,7 @@ @RequiresWeb public class WebDidDocManager implements DidDocManager { - @Value("${oagent.acapy.endpoint}") + @Value("${bpa.acapy.endpoint}") String acapyEndpoint; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java index cf1a58a82..61e0f7f06 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java @@ -32,7 +32,7 @@ @Requires(notEnv = { Environment.TEST }) public class WebStartupTasks { - @Value("${oagent.host}") + @Value("${bpa.host}") String host; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java index 12d778b89..8c036559d 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java @@ -63,7 +63,7 @@ public class Converter { public static final TypeReference> VP_TYPEREF = new TypeReference<>() { }; - @Value("${oagent.did.prefix}") + @Value("${bpa.did.prefix}") private String ledgerPrefix; @Inject diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java index e4526f3bd..7e60a1537 100644 --- a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java +++ b/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java @@ -38,10 +38,10 @@ public class DBOperations { @Inject private UserRepository userRepo; - @Value("${oagent.bootstrap.username}") + @Value("${bpa.bootstrap.username}") private String username; - @Value("${oagent.bootstrap.password}") + @Value("${bpa.bootstrap.password}") private String password; @Async diff --git a/backend/company-agent/src/main/resources/application.yml b/backend/company-agent/src/main/resources/application.yml index 41e99f439..00bbdbbec 100644 --- a/backend/company-agent/src/main/resources/application.yml +++ b/backend/company-agent/src/main/resources/application.yml @@ -60,19 +60,19 @@ micronaut: datasources: '*': - url: ${oagent.pg.url} + url: ${bpa.pg.url} driver-class-name: org.postgresql.Driver - username: ${oagent.pg.username} - password: ${oagent.pg.password} + username: ${bpa.pg.username} + password: ${bpa.pg.password} dialect: POSTGRES - schema: ${oagent.pg.schema} + schema: ${bpa.pg.schema} initialization-fail-timeout: -1 # wait forever until the db is ready flyway: datasources: '*': locations: classpath:databasemigrations - schemas: ${oagent.pg.schema} + schemas: ${bpa.pg.schema} jackson: serialization-inclusion: NON_ABSENT # Omit null and Optional.empty(), but include empty collections @@ -85,7 +85,7 @@ jackson: json-view: enabled: true -oagent: +bpa: docker: #host where containers are running: typically localhost but might be an IP as well host: localhost @@ -98,13 +98,13 @@ oagent: web: only: ${BPA_WEB_MODE:false} acapy: - url: http://${oagent.docker.host}:8031 + url: http://${bpa.docker.host}:8031 apiKey: empty endpoint: ${AGENT_ENDPOINT:`http://localhost:8030`} did: prefix: ${BPA_DID_PREFIX:`did:sov:iil:`} pg: - url: jdbc:postgresql://${oagent.docker.host}/alice + url: jdbc:postgresql://${bpa.docker.host}/alice username: alice password: alice1234 schema: public diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java b/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java index 93d5bd87e..aa1e49f61 100644 --- a/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java +++ b/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java @@ -41,7 +41,7 @@ public abstract class RunWithAries extends BaseTest { protected AriesClient ac; - @Value("${oagent.acapy.url}") + @Value("${bpa.acapy.url}") private String url; @Container diff --git a/backend/company-agent/src/test/resources/application-test-web.yml b/backend/company-agent/src/test/resources/application-test-web.yml index 1ed5dba5f..f579e71a9 100644 --- a/backend/company-agent/src/test/resources/application-test-web.yml +++ b/backend/company-agent/src/test/resources/application-test-web.yml @@ -1,4 +1,4 @@ # additional profile to be loaded for tests running in web mode -oagent: +bpa: web: only: true \ No newline at end of file diff --git a/backend/company-agent/src/test/resources/application-test.yml b/backend/company-agent/src/test/resources/application-test.yml index 4583464f2..e0e2ba05c 100644 --- a/backend/company-agent/src/test/resources/application-test.yml +++ b/backend/company-agent/src/test/resources/application-test.yml @@ -4,7 +4,7 @@ micronaut: datasources: '*': - url: jdbc:tc:postgresql:12://${oagent.docker.host}/alice?TC_TMPFS=/testtmpfs:rw + url: jdbc:tc:postgresql:12://${bpa.docker.host}/alice?TC_TMPFS=/testtmpfs:rw driverClassName: org.testcontainers.jdbc.ContainerDatabaseDriver username: test password: test From b564e38d1fbe717f7ac89dfd3e2ca472f9c2ad4e Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Wed, 16 Dec 2020 17:54:00 +0100 Subject: [PATCH 06/14] renaming oagent to bpa - part 2 Signed-off-by: Philipp Etschel --- charts/bpa/templates/bpa_deployment.yaml | 12 ++++++------ scripts/docker-compose.custom-acapy.yml | 12 ++++++------ scripts/docker-compose.yml | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/charts/bpa/templates/bpa_deployment.yaml b/charts/bpa/templates/bpa_deployment.yaml index 9d0fb6cd2..315e21f87 100644 --- a/charts/bpa/templates/bpa_deployment.yaml +++ b/charts/bpa/templates/bpa_deployment.yaml @@ -57,14 +57,14 @@ spec: key: postgresql-password - name: JAVA_OPTS value: | - -Doagent.acapy.url=http://{{ include "acapy.fullname" . }}:{{ .Values.acapy.service.adminPort }} - -Doagent.acapy.apiKey={{ .Values.acapy.adminURLApiKey }} + -bpa.acapy.url=http://{{ include "acapy.fullname" . }}:{{ .Values.acapy.service.adminPort }} + -bpa.acapy.apiKey={{ .Values.acapy.adminURLApiKey }} -Dmicronaut.security.enabled={{ .Values.bpa.securityEnabled }} -Dmicronaut.server.port=8080 - -Doagent.pg.url=jdbc:postgresql://{{ include "global.postgresql.fullname" . }}/{{ .Values.postgresql.postgresqlUsername }} - -Doagent.pg.username={{ .Values.postgresql.postgresqlUsername }} - -Doagent.pg.password=$(POSTGRES_PASSWORD) - -Doagent.host={{ (index .Values.bpa.ingress.hosts 0).host }} + -bpa.pg.url=jdbc:postgresql://{{ include "global.postgresql.fullname" . }}/{{ .Values.postgresql.postgresqlUsername }} + -bpa.pg.username={{ .Values.postgresql.postgresqlUsername }} + -bpa.pg.password=$(POSTGRES_PASSWORD) + -bpa.host={{ (index .Values.bpa.ingress.hosts 0).host }} resources: {{- toYaml .Values.bpa.resources | nindent 12 }} {{- with .Values.bpa.nodeSelector }} diff --git a/scripts/docker-compose.custom-acapy.yml b/scripts/docker-compose.custom-acapy.yml index 1bdac0eda..74ad58915 100644 --- a/scripts/docker-compose.custom-acapy.yml +++ b/scripts/docker-compose.custom-acapy.yml @@ -11,14 +11,14 @@ services: - aca-py environment: JAVA_OPTS: > - -Doagent.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} - -Doagent.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} + -bpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} + -bpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} -Dmicronaut.security.enabled=${BPA_SECURITY_ENABLED} -Dmicronaut.server.port=${BPA_PORT} - -Doagent.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} - -Doagent.pg.username=${POSTGRESQL_WALLET_USER} - -Doagent.pg.password=${POSTGRESQL_WALLET_PASSWORD} - -Doagent.host=${BPA_HOST} + -bpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} + -bpa.pg.username=${POSTGRESQL_WALLET_USER} + -bpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} + -bpa.host=${BPA_HOST} BPA_WEB_MODE: ${BPA_WEB_MODE} BPA_RESOLVER_URL: ${BPA_RESOLVER_URL} BPA_LEDGER_BROWSER: ${BPA_LEDGER_BROWSER} diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index cc58859b2..6a8313e83 100644 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -11,14 +11,14 @@ services: - aca-py environment: JAVA_OPTS: > - -Doagent.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} - -Doagent.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} + -bpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} + -bpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} -Dmicronaut.security.enabled=${BPA_SECURITY_ENABLED} -Dmicronaut.server.port=${BPA_PORT} - -Doagent.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} - -Doagent.pg.username=${POSTGRESQL_WALLET_USER} - -Doagent.pg.password=${POSTGRESQL_WALLET_PASSWORD} - -Doagent.host=${BPA_HOST} + -bpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} + -bpa.pg.username=${POSTGRESQL_WALLET_USER} + -bpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} + -bpa.host=${BPA_HOST} BPA_WEB_MODE: ${BPA_WEB_MODE} BPA_RESOLVER_URL: ${BPA_RESOLVER_URL} BPA_LEDGER_BROWSER: ${BPA_LEDGER_BROWSER} From e554272744be95aa265c41a077aa57049b238848 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Thu, 17 Dec 2020 11:51:13 +0100 Subject: [PATCH 07/14] folder renaming Signed-off-by: Philipp Etschel --- .../pom.xml | 0 .../main/java/org/hyperledger/bpa/core/RegisteredWebhook.java | 0 .../src/main/java/org/hyperledger/bpa/core/WebhookEvent.java | 0 .../src/test/resources/spotbugs-exclude.xml | 0 backend/{company-agent => business-partner-agent}/.gitignore | 0 backend/{company-agent => business-partner-agent}/README.md | 0 backend/{company-agent => business-partner-agent}/pom.xml | 4 ++++ .../src/main/java/org/hyperledger/bpa/Application.java | 0 .../src/main/java/org/hyperledger/bpa/api/ApiConstants.java | 0 .../src/main/java/org/hyperledger/bpa/api/CredentialType.java | 0 .../src/main/java/org/hyperledger/bpa/api/DidDocAPI.java | 0 .../src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java | 0 .../src/main/java/org/hyperledger/bpa/api/PartnerAPI.java | 0 .../java/org/hyperledger/bpa/api/aries/AriesCredential.java | 0 .../main/java/org/hyperledger/bpa/api/aries/AriesProof.java | 0 .../main/java/org/hyperledger/bpa/api/aries/BankAccount.java | 0 .../java/org/hyperledger/bpa/api/aries/BankAccountVC.java | 0 .../main/java/org/hyperledger/bpa/api/aries/ProfileVC.java | 0 .../main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java | 0 .../org/hyperledger/bpa/api/exception/NetworkException.java | 0 .../org/hyperledger/bpa/api/exception/PartnerException.java | 0 .../hyperledger/bpa/api/exception/WrongApiUsageException.java | 0 .../java/org/hyperledger/bpa/client/CachingAriesClient.java | 0 .../main/java/org/hyperledger/bpa/client/LedgerClient.java | 0 .../src/main/java/org/hyperledger/bpa/client/URClient.java | 0 .../main/java/org/hyperledger/bpa/client/api/DidDocument.java | 0 .../org/hyperledger/bpa/client/api/LedgerQueryResult.java | 0 .../java/org/hyperledger/bpa/config/AriesClientFactory.java | 0 .../java/org/hyperledger/bpa/config/LocalAuthProvider.java | 0 .../org/hyperledger/bpa/config/PasswordEncoderFactory.java | 0 .../main/java/org/hyperledger/bpa/config/RuntimeConfig.java | 0 .../main/java/org/hyperledger/bpa/config/SchemaConfig.java | 0 .../java/org/hyperledger/bpa/config/runtime/RequiresIndy.java | 0 .../java/org/hyperledger/bpa/config/runtime/RequiresWeb.java | 0 .../java/org/hyperledger/bpa/controller/AdminController.java | 0 .../java/org/hyperledger/bpa/controller/AppController.java | 0 .../hyperledger/bpa/controller/AriesWebhookController.java | 0 .../org/hyperledger/bpa/controller/PartnerController.java | 0 .../hyperledger/bpa/controller/PublicProfileController.java | 0 .../java/org/hyperledger/bpa/controller/StatsController.java | 0 .../java/org/hyperledger/bpa/controller/UserController.java | 0 .../java/org/hyperledger/bpa/controller/WalletController.java | 0 .../org/hyperledger/bpa/controller/WebhookController.java | 0 .../org/hyperledger/bpa/controller/WebsocketController.java | 0 .../hyperledger/bpa/controller/api/WebSocketMessageBody.java | 0 .../bpa/controller/api/admin/AddSchemaRequest.java | 0 .../bpa/controller/api/admin/TAADigestRequest.java | 0 .../bpa/controller/api/admin/UpdateSchemaRequest.java | 0 .../bpa/controller/api/exception/ErrorMessage.java | 0 .../bpa/controller/api/exception/NetworkExceptionHandler.java | 0 .../bpa/controller/api/exception/PartnerExceptionHandler.java | 0 .../api/exception/WrongApiUsageExceptionHandler.java | 0 .../bpa/controller/api/partner/AddPartnerRequest.java | 0 .../bpa/controller/api/partner/PartnerCredentialType.java | 0 .../bpa/controller/api/partner/RequestCredentialRequest.java | 0 .../bpa/controller/api/partner/RequestProofRequest.java | 0 .../bpa/controller/api/partner/SendProofRequest.java | 0 .../bpa/controller/api/partner/UpdatePartnerRequest.java | 0 .../org/hyperledger/bpa/controller/api/stats/BPAStats.java | 0 .../bpa/controller/api/wallet/WalletCredentialRequest.java | 0 .../bpa/controller/api/wallet/WalletDocumentRequest.java | 0 .../src/main/java/org/hyperledger/bpa/impl/DidDocManager.java | 0 .../main/java/org/hyperledger/bpa/impl/MessageService.java | 0 .../main/java/org/hyperledger/bpa/impl/MyDocumentManager.java | 0 .../main/java/org/hyperledger/bpa/impl/PartnerManager.java | 0 .../src/main/java/org/hyperledger/bpa/impl/StartupTasks.java | 0 .../src/main/java/org/hyperledger/bpa/impl/StatsService.java | 0 .../main/java/org/hyperledger/bpa/impl/WebhookService.java | 0 .../java/org/hyperledger/bpa/impl/activity/CryptoManager.java | 0 .../java/org/hyperledger/bpa/impl/activity/DidResolver.java | 0 .../org/hyperledger/bpa/impl/activity/DocumentValidator.java | 0 .../main/java/org/hyperledger/bpa/impl/activity/Identity.java | 0 .../java/org/hyperledger/bpa/impl/activity/LabelStrategy.java | 0 .../java/org/hyperledger/bpa/impl/activity/PartnerLookup.java | 0 .../java/org/hyperledger/bpa/impl/activity/VPManager.java | 0 .../org/hyperledger/bpa/impl/aries/AriesEventHandler.java | 0 .../org/hyperledger/bpa/impl/aries/ConnectionManager.java | 0 .../org/hyperledger/bpa/impl/aries/CredentialManager.java | 0 .../org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java | 0 .../main/java/org/hyperledger/bpa/impl/aries/PingManager.java | 0 .../java/org/hyperledger/bpa/impl/aries/ProofManager.java | 0 .../java/org/hyperledger/bpa/impl/aries/SchemaService.java | 0 .../org/hyperledger/bpa/impl/mode/indy/EndpointService.java | 0 .../org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java | 0 .../org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java | 0 .../hyperledger/bpa/impl/mode/indy/RevocationRegistry.java | 0 .../org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java | 0 .../org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java | 0 .../java/org/hyperledger/bpa/impl/util/AriesStringUtil.java | 0 .../main/java/org/hyperledger/bpa/impl/util/Converter.java | 0 .../src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java | 0 .../src/main/java/org/hyperledger/bpa/model/BPASchema.java | 0 .../src/main/java/org/hyperledger/bpa/model/BPAState.java | 0 .../src/main/java/org/hyperledger/bpa/model/BPAUser.java | 0 .../src/main/java/org/hyperledger/bpa/model/BPAWebhook.java | 0 .../src/main/java/org/hyperledger/bpa/model/DidDocWeb.java | 0 .../src/main/java/org/hyperledger/bpa/model/MessageQueue.java | 0 .../src/main/java/org/hyperledger/bpa/model/MyCredential.java | 0 .../src/main/java/org/hyperledger/bpa/model/MyDocument.java | 0 .../src/main/java/org/hyperledger/bpa/model/Partner.java | 0 .../src/main/java/org/hyperledger/bpa/model/PartnerProof.java | 0 .../org/hyperledger/bpa/repository/BPAStateRepository.java | 0 .../org/hyperledger/bpa/repository/BPAWebhookRepository.java | 0 .../java/org/hyperledger/bpa/repository/DBOperations.java | 0 .../org/hyperledger/bpa/repository/DidDocWebRepository.java | 0 .../hyperledger/bpa/repository/MessageQueueRepository.java | 0 .../hyperledger/bpa/repository/MyCredentialRepository.java | 0 .../org/hyperledger/bpa/repository/MyDocumentRepository.java | 0 .../hyperledger/bpa/repository/PartnerProofRepository.java | 0 .../org/hyperledger/bpa/repository/PartnerRepository.java | 0 .../java/org/hyperledger/bpa/repository/SchemaRepository.java | 0 .../java/org/hyperledger/bpa/repository/UserRepository.java | 0 .../bpa/repository/migration/V1_9_1__RepairSchemaIds.java | 0 .../src/main/resources/application-dev.yml | 0 .../src/main/resources/application.yml | 0 .../databasemigrations/V1.1__add-partner-proof-creddefid.sql | 0 .../databasemigrations/V1.2__add-my-credential-issuer.sql | 0 .../databasemigrations/V1.3__add-bpaschema-read-only.sql | 0 .../databasemigrations/V1.4__add-partner-last-seen.sql | 0 .../V1.5__add-partner-supported-credentials.sql | 0 .../resources/databasemigrations/V1.6__add-webhooks-table.sql | 0 .../databasemigrations/V1.7__add-message-queue-table.sql | 0 .../databasemigrations/V1.8__add-default-attr-name.sql | 0 .../resources/databasemigrations/V1.9__generic-documents.sql | 0 .../databasemigrations/V1__create-initial-schema.sql | 0 .../src/main/resources/log4j2.xml | 0 .../src/main/resources/views/signin.hbs | 0 .../src/test/java/org/hyperledger/bpa/ApplicationTest.java | 0 .../src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java | 0 .../src/test/java/org/hyperledger/bpa/BaseTest.java | 0 .../src/test/java/org/hyperledger/bpa/RunWithAries.java | 0 .../java/org/hyperledger/bpa/client/LedgerClientTest.java | 0 .../test/java/org/hyperledger/bpa/client/URClientTest.java | 0 .../src/test/java/org/hyperledger/bpa/config/TestBeans.java | 0 .../hyperledger/bpa/connector/api/ApiSerialisationTest.java | 0 .../java/org/hyperledger/bpa/impl/CredentialTestUtils.java | 0 .../java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java | 0 .../org/hyperledger/bpa/impl/activity/CryptoManagerTest.java | 0 .../org/hyperledger/bpa/impl/activity/DidResolverTest.java | 0 .../hyperledger/bpa/impl/activity/DocumentValidatorTest.java | 0 .../org/hyperledger/bpa/impl/activity/LabelStrategyTest.java | 0 .../org/hyperledger/bpa/impl/activity/PartnerLookupTest.java | 0 .../java/org/hyperledger/bpa/impl/activity/VPManagerTest.java | 0 .../org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java | 0 .../org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java | 0 .../bpa/impl/aries/CredentialManagerIntegrationTest.java | 0 .../org/hyperledger/bpa/impl/aries/CredentialManagerTest.java | 0 .../hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java | 0 .../java/org/hyperledger/bpa/impl/aries/PingManagerTest.java | 0 .../hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java | 0 .../org/hyperledger/bpa/impl/util/AriesStringUtilTest.java | 0 .../java/org/hyperledger/bpa/impl/util/ConverterTest.java | 0 .../test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java | 0 .../hyperledger/bpa/repository/BPAWebhookRepositoryTest.java | 0 .../hyperledger/bpa/repository/DidDocWebRepositoryTest.java | 0 .../bpa/repository/MyCredentialRepositoryTest.java | 0 .../bpa/repository/PartnerProofRepositoryTest.java | 0 .../org/hyperledger/bpa/repository/PartnerRepositoryTest.java | 0 .../org/hyperledger/bpa/repository/UserRepositoryTest.java | 0 .../bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java | 0 .../src/test/java/org/hyperledger/bpa/util/FileLoader.java | 0 .../src/test/resources/application-test-web.yml | 0 .../src/test/resources/application-test.yml | 0 .../src/test/resources/files/credentialExchange.json | 0 .../src/test/resources/files/didDocument.json | 0 .../src/test/resources/files/didEvan.json | 0 .../src/test/resources/files/didLocal.json | 0 .../src/test/resources/files/didLocalWrongKeyType.json | 0 .../files/request-proof/00-verifier-proposal-received.json | 0 .../files/request-proof/01-verifier-request-sent.json | 0 .../request-proof/02-verifier-presentation-received.json | 0 .../resources/files/request-proof/03-verifier-verified.json | 0 .../resources/files/send-proof/01-prover-proposal-sent.json | 0 .../files/send-proof/02-prover-request-received.json | 0 .../files/send-proof/03-prover-presentation-sent.json | 0 .../files/send-proof/04-prover-presentation-acked.json | 0 .../src/test/resources/files/verifiableCredential.json | 0 .../resources/files/verifiableCredentialAdHocContext.json | 0 .../src/test/resources/files/verifiablePresentation.json | 0 .../src/test/resources/spotbugs-exclude.xml | 0 backend/pom.xml | 4 ++-- 181 files changed, 6 insertions(+), 2 deletions(-) rename backend/{company-agent-core => business-partner-agent-core}/pom.xml (100%) rename backend/{company-agent-core => business-partner-agent-core}/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java (100%) rename backend/{company-agent-core => business-partner-agent-core}/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java (100%) rename backend/{company-agent-core => business-partner-agent-core}/src/test/resources/spotbugs-exclude.xml (100%) rename backend/{company-agent => business-partner-agent}/.gitignore (100%) rename backend/{company-agent => business-partner-agent}/README.md (100%) rename backend/{company-agent => business-partner-agent}/pom.xml (98%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/Application.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/ApiConstants.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/CredentialType.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/client/LedgerClient.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/client/URClient.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/AdminController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/AppController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/PartnerController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/StatsController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/UserController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/WalletController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/WebhookController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/MessageService.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/StatsService.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/WebhookService.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/util/Converter.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/BPASchema.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/BPAState.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/BPAUser.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/MessageQueue.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/MyCredential.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/MyDocument.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/Partner.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/model/PartnerProof.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/DBOperations.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/UserRepository.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/application-dev.yml (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/application.yml (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.1__add-partner-proof-creddefid.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.2__add-my-credential-issuer.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.3__add-bpaschema-read-only.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.4__add-partner-last-seen.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.5__add-partner-supported-credentials.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.6__add-webhooks-table.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.7__add-message-queue-table.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.8__add-default-attr-name.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1.9__generic-documents.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/databasemigrations/V1__create-initial-schema.sql (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/log4j2.xml (100%) rename backend/{company-agent => business-partner-agent}/src/main/resources/views/signin.hbs (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/ApplicationTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/BaseTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/RunWithAries.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/client/URClientTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/config/TestBeans.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/java/org/hyperledger/bpa/util/FileLoader.java (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/application-test-web.yml (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/application-test.yml (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/credentialExchange.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/didDocument.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/didEvan.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/didLocal.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/didLocalWrongKeyType.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/request-proof/00-verifier-proposal-received.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/request-proof/01-verifier-request-sent.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/request-proof/02-verifier-presentation-received.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/request-proof/03-verifier-verified.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/send-proof/01-prover-proposal-sent.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/send-proof/02-prover-request-received.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/send-proof/03-prover-presentation-sent.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/send-proof/04-prover-presentation-acked.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/verifiableCredential.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/verifiableCredentialAdHocContext.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/files/verifiablePresentation.json (100%) rename backend/{company-agent => business-partner-agent}/src/test/resources/spotbugs-exclude.xml (100%) diff --git a/backend/company-agent-core/pom.xml b/backend/business-partner-agent-core/pom.xml similarity index 100% rename from backend/company-agent-core/pom.xml rename to backend/business-partner-agent-core/pom.xml diff --git a/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java b/backend/business-partner-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java similarity index 100% rename from backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java rename to backend/business-partner-agent-core/src/main/java/org/hyperledger/bpa/core/RegisteredWebhook.java diff --git a/backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java b/backend/business-partner-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java similarity index 100% rename from backend/company-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java rename to backend/business-partner-agent-core/src/main/java/org/hyperledger/bpa/core/WebhookEvent.java diff --git a/backend/company-agent-core/src/test/resources/spotbugs-exclude.xml b/backend/business-partner-agent-core/src/test/resources/spotbugs-exclude.xml similarity index 100% rename from backend/company-agent-core/src/test/resources/spotbugs-exclude.xml rename to backend/business-partner-agent-core/src/test/resources/spotbugs-exclude.xml diff --git a/backend/company-agent/.gitignore b/backend/business-partner-agent/.gitignore similarity index 100% rename from backend/company-agent/.gitignore rename to backend/business-partner-agent/.gitignore diff --git a/backend/company-agent/README.md b/backend/business-partner-agent/README.md similarity index 100% rename from backend/company-agent/README.md rename to backend/business-partner-agent/README.md diff --git a/backend/company-agent/pom.xml b/backend/business-partner-agent/pom.xml similarity index 98% rename from backend/company-agent/pom.xml rename to backend/business-partner-agent/pom.xml index b45f2d088..b5afe5607 100644 --- a/backend/company-agent/pom.xml +++ b/backend/business-partner-agent/pom.xml @@ -262,6 +262,10 @@ org.codehaus.mojo license-maven-plugin 2.0.0 + + test,provided + spotbugs-annotations + diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/Application.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/Application.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/Application.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/ApiConstants.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/CredentialType.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/DidDocAPI.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/MyDocumentAPI.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/PartnerAPI.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesProof.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccount.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/BankAccountVC.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/ProfileVC.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/SchemaAPI.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/NetworkException.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/PartnerException.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/exception/WrongApiUsageException.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/CachingAriesClient.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/LedgerClient.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/URClient.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/client/URClient.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/URClient.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/api/DidDocument.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/client/api/LedgerQueryResult.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/AriesClientFactory.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/LocalAuthProvider.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/PasswordEncoderFactory.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/RuntimeConfig.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/SchemaConfig.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresIndy.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/config/runtime/RequiresWeb.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AdminController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AppController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/AriesWebhookController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/PartnerController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/PublicProfileController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/StatsController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/UserController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WalletController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WebhookController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/WebsocketController.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/WebSocketMessageBody.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/AddSchemaRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/TAADigestRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/admin/UpdateSchemaRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/ErrorMessage.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/NetworkExceptionHandler.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/PartnerExceptionHandler.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/exception/WrongApiUsageExceptionHandler.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/AddPartnerRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/PartnerCredentialType.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestCredentialRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/RequestProofRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/SendProofRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/partner/UpdatePartnerRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/stats/BPAStats.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletCredentialRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/controller/api/wallet/WalletDocumentRequest.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/DidDocManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/MessageService.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/MyDocumentManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/PartnerManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/StartupTasks.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/StatsService.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/WebhookService.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/CryptoManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/DidResolver.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/DocumentValidator.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/Identity.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/PartnerLookup.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/VPManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/ConnectionManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/CredentialManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookup.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/PingManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/ProofManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/SchemaService.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/EndpointService.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyDidDocManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/IndyStartupTasks.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/indy/RevocationRegistry.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManager.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/mode/web/WebStartupTasks.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/AriesStringUtil.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/Converter.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/util/TimeUtil.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPASchema.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAState.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAUser.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/BPAWebhook.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/DidDocWeb.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MessageQueue.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MyCredential.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/MyDocument.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/Partner.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/Partner.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/Partner.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/Partner.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/model/PartnerProof.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/BPAStateRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/BPAWebhookRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/DBOperations.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/DidDocWebRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MessageQueueRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MyCredentialRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/MyDocumentRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/PartnerProofRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/PartnerRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/SchemaRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/UserRepository.java diff --git a/backend/company-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java b/backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java similarity index 100% rename from backend/company-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java rename to backend/business-partner-agent/src/main/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIds.java diff --git a/backend/company-agent/src/main/resources/application-dev.yml b/backend/business-partner-agent/src/main/resources/application-dev.yml similarity index 100% rename from backend/company-agent/src/main/resources/application-dev.yml rename to backend/business-partner-agent/src/main/resources/application-dev.yml diff --git a/backend/company-agent/src/main/resources/application.yml b/backend/business-partner-agent/src/main/resources/application.yml similarity index 100% rename from backend/company-agent/src/main/resources/application.yml rename to backend/business-partner-agent/src/main/resources/application.yml diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.1__add-partner-proof-creddefid.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.1__add-partner-proof-creddefid.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.1__add-partner-proof-creddefid.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.1__add-partner-proof-creddefid.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.2__add-my-credential-issuer.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.2__add-my-credential-issuer.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.2__add-my-credential-issuer.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.2__add-my-credential-issuer.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.3__add-bpaschema-read-only.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.3__add-bpaschema-read-only.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.3__add-bpaschema-read-only.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.3__add-bpaschema-read-only.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.4__add-partner-last-seen.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.4__add-partner-last-seen.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.4__add-partner-last-seen.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.4__add-partner-last-seen.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.5__add-partner-supported-credentials.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.5__add-partner-supported-credentials.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.5__add-partner-supported-credentials.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.5__add-partner-supported-credentials.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.6__add-webhooks-table.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.6__add-webhooks-table.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.6__add-webhooks-table.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.6__add-webhooks-table.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.7__add-message-queue-table.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.7__add-message-queue-table.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.7__add-message-queue-table.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.7__add-message-queue-table.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.8__add-default-attr-name.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.8__add-default-attr-name.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.8__add-default-attr-name.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.8__add-default-attr-name.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1.9__generic-documents.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1.9__generic-documents.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1.9__generic-documents.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1.9__generic-documents.sql diff --git a/backend/company-agent/src/main/resources/databasemigrations/V1__create-initial-schema.sql b/backend/business-partner-agent/src/main/resources/databasemigrations/V1__create-initial-schema.sql similarity index 100% rename from backend/company-agent/src/main/resources/databasemigrations/V1__create-initial-schema.sql rename to backend/business-partner-agent/src/main/resources/databasemigrations/V1__create-initial-schema.sql diff --git a/backend/company-agent/src/main/resources/log4j2.xml b/backend/business-partner-agent/src/main/resources/log4j2.xml similarity index 100% rename from backend/company-agent/src/main/resources/log4j2.xml rename to backend/business-partner-agent/src/main/resources/log4j2.xml diff --git a/backend/company-agent/src/main/resources/views/signin.hbs b/backend/business-partner-agent/src/main/resources/views/signin.hbs similarity index 100% rename from backend/company-agent/src/main/resources/views/signin.hbs rename to backend/business-partner-agent/src/main/resources/views/signin.hbs diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/ApplicationTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/ApplicationTestWeb.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/BaseTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/BaseTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/BaseTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/BaseTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/RunWithAries.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/client/LedgerClientTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/client/URClientTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/config/TestBeans.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/connector/api/ApiSerialisationTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/CredentialTestUtils.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/MyDocumentManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/CryptoManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/DidResolverTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/DocumentValidatorTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/PartnerLookupTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/VPManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/AriesEventHandlerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/ConnectionManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerIntegrationTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/CredentialManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/PartnerCredDefLookupTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/aries/PingManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/mode/web/WebDidDocManagerTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/AriesStringUtilTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/ConverterTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/util/TimeUtilTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/BPAWebhookRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/DidDocWebRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/MyCredentialRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/PartnerProofRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/PartnerRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/UserRepositoryTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/repository/migration/V1_9_1__RepairSchemaIdsTest.java diff --git a/backend/company-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java b/backend/business-partner-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java similarity index 100% rename from backend/company-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java rename to backend/business-partner-agent/src/test/java/org/hyperledger/bpa/util/FileLoader.java diff --git a/backend/company-agent/src/test/resources/application-test-web.yml b/backend/business-partner-agent/src/test/resources/application-test-web.yml similarity index 100% rename from backend/company-agent/src/test/resources/application-test-web.yml rename to backend/business-partner-agent/src/test/resources/application-test-web.yml diff --git a/backend/company-agent/src/test/resources/application-test.yml b/backend/business-partner-agent/src/test/resources/application-test.yml similarity index 100% rename from backend/company-agent/src/test/resources/application-test.yml rename to backend/business-partner-agent/src/test/resources/application-test.yml diff --git a/backend/company-agent/src/test/resources/files/credentialExchange.json b/backend/business-partner-agent/src/test/resources/files/credentialExchange.json similarity index 100% rename from backend/company-agent/src/test/resources/files/credentialExchange.json rename to backend/business-partner-agent/src/test/resources/files/credentialExchange.json diff --git a/backend/company-agent/src/test/resources/files/didDocument.json b/backend/business-partner-agent/src/test/resources/files/didDocument.json similarity index 100% rename from backend/company-agent/src/test/resources/files/didDocument.json rename to backend/business-partner-agent/src/test/resources/files/didDocument.json diff --git a/backend/company-agent/src/test/resources/files/didEvan.json b/backend/business-partner-agent/src/test/resources/files/didEvan.json similarity index 100% rename from backend/company-agent/src/test/resources/files/didEvan.json rename to backend/business-partner-agent/src/test/resources/files/didEvan.json diff --git a/backend/company-agent/src/test/resources/files/didLocal.json b/backend/business-partner-agent/src/test/resources/files/didLocal.json similarity index 100% rename from backend/company-agent/src/test/resources/files/didLocal.json rename to backend/business-partner-agent/src/test/resources/files/didLocal.json diff --git a/backend/company-agent/src/test/resources/files/didLocalWrongKeyType.json b/backend/business-partner-agent/src/test/resources/files/didLocalWrongKeyType.json similarity index 100% rename from backend/company-agent/src/test/resources/files/didLocalWrongKeyType.json rename to backend/business-partner-agent/src/test/resources/files/didLocalWrongKeyType.json diff --git a/backend/company-agent/src/test/resources/files/request-proof/00-verifier-proposal-received.json b/backend/business-partner-agent/src/test/resources/files/request-proof/00-verifier-proposal-received.json similarity index 100% rename from backend/company-agent/src/test/resources/files/request-proof/00-verifier-proposal-received.json rename to backend/business-partner-agent/src/test/resources/files/request-proof/00-verifier-proposal-received.json diff --git a/backend/company-agent/src/test/resources/files/request-proof/01-verifier-request-sent.json b/backend/business-partner-agent/src/test/resources/files/request-proof/01-verifier-request-sent.json similarity index 100% rename from backend/company-agent/src/test/resources/files/request-proof/01-verifier-request-sent.json rename to backend/business-partner-agent/src/test/resources/files/request-proof/01-verifier-request-sent.json diff --git a/backend/company-agent/src/test/resources/files/request-proof/02-verifier-presentation-received.json b/backend/business-partner-agent/src/test/resources/files/request-proof/02-verifier-presentation-received.json similarity index 100% rename from backend/company-agent/src/test/resources/files/request-proof/02-verifier-presentation-received.json rename to backend/business-partner-agent/src/test/resources/files/request-proof/02-verifier-presentation-received.json diff --git a/backend/company-agent/src/test/resources/files/request-proof/03-verifier-verified.json b/backend/business-partner-agent/src/test/resources/files/request-proof/03-verifier-verified.json similarity index 100% rename from backend/company-agent/src/test/resources/files/request-proof/03-verifier-verified.json rename to backend/business-partner-agent/src/test/resources/files/request-proof/03-verifier-verified.json diff --git a/backend/company-agent/src/test/resources/files/send-proof/01-prover-proposal-sent.json b/backend/business-partner-agent/src/test/resources/files/send-proof/01-prover-proposal-sent.json similarity index 100% rename from backend/company-agent/src/test/resources/files/send-proof/01-prover-proposal-sent.json rename to backend/business-partner-agent/src/test/resources/files/send-proof/01-prover-proposal-sent.json diff --git a/backend/company-agent/src/test/resources/files/send-proof/02-prover-request-received.json b/backend/business-partner-agent/src/test/resources/files/send-proof/02-prover-request-received.json similarity index 100% rename from backend/company-agent/src/test/resources/files/send-proof/02-prover-request-received.json rename to backend/business-partner-agent/src/test/resources/files/send-proof/02-prover-request-received.json diff --git a/backend/company-agent/src/test/resources/files/send-proof/03-prover-presentation-sent.json b/backend/business-partner-agent/src/test/resources/files/send-proof/03-prover-presentation-sent.json similarity index 100% rename from backend/company-agent/src/test/resources/files/send-proof/03-prover-presentation-sent.json rename to backend/business-partner-agent/src/test/resources/files/send-proof/03-prover-presentation-sent.json diff --git a/backend/company-agent/src/test/resources/files/send-proof/04-prover-presentation-acked.json b/backend/business-partner-agent/src/test/resources/files/send-proof/04-prover-presentation-acked.json similarity index 100% rename from backend/company-agent/src/test/resources/files/send-proof/04-prover-presentation-acked.json rename to backend/business-partner-agent/src/test/resources/files/send-proof/04-prover-presentation-acked.json diff --git a/backend/company-agent/src/test/resources/files/verifiableCredential.json b/backend/business-partner-agent/src/test/resources/files/verifiableCredential.json similarity index 100% rename from backend/company-agent/src/test/resources/files/verifiableCredential.json rename to backend/business-partner-agent/src/test/resources/files/verifiableCredential.json diff --git a/backend/company-agent/src/test/resources/files/verifiableCredentialAdHocContext.json b/backend/business-partner-agent/src/test/resources/files/verifiableCredentialAdHocContext.json similarity index 100% rename from backend/company-agent/src/test/resources/files/verifiableCredentialAdHocContext.json rename to backend/business-partner-agent/src/test/resources/files/verifiableCredentialAdHocContext.json diff --git a/backend/company-agent/src/test/resources/files/verifiablePresentation.json b/backend/business-partner-agent/src/test/resources/files/verifiablePresentation.json similarity index 100% rename from backend/company-agent/src/test/resources/files/verifiablePresentation.json rename to backend/business-partner-agent/src/test/resources/files/verifiablePresentation.json diff --git a/backend/company-agent/src/test/resources/spotbugs-exclude.xml b/backend/business-partner-agent/src/test/resources/spotbugs-exclude.xml similarity index 100% rename from backend/company-agent/src/test/resources/spotbugs-exclude.xml rename to backend/business-partner-agent/src/test/resources/spotbugs-exclude.xml diff --git a/backend/pom.xml b/backend/pom.xml index 479b00e2e..07197a180 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -79,8 +79,8 @@ - company-agent-core - company-agent + business-partner-agent-core + business-partner-agent From 694553aa7e8500b58ebaaa645b241b0405ec55b9 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Thu, 17 Dec 2020 12:39:54 +0100 Subject: [PATCH 08/14] more renaming and license fix Signed-off-by: Philipp Etschel --- Dockerfile | 12 ++++++------ backend/business-partner-agent/pom.xml | 19 +++++++++++++++++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 10dc99366..8a56e9292 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,24 +5,24 @@ WORKDIR /home/maven/backend # Copy Files COPY backend/pom.xml backend/formatter.xml ./ -COPY backend/company-agent ./company-agent -COPY backend/company-agent-core ./company-agent-core +COPY backend/business-partner-agent ./business-partner-agent +COPY backend/business-partner-agent-core ./business-partner-agent-core COPY frontend ../frontend # Cache Maven Artefacts RUN mvn dependency:go-offline || true # Generate License Info -RUN mvn -f company-agent-core/pom.xml clean install -Dspotbugs.skip=true -Dpmd.skip=true +RUN mvn -f business-partner-agent-core/pom.xml clean install -Dspotbugs.skip=true -Dpmd.skip=true RUN mvn attribution:generate-attribution-file -RUN cp ./company-agent/target/attribution.xml ../frontend/licenses/attribution.xml +RUN cp ./business-partner-agent/target/attribution.xml ../frontend/licenses/attribution.xml # Build .jar RUN mvn clean install -P build-frontend -DskipTests=true -Dspotbugs.skip=true -Dpmd.skip=true # Runtime Container FROM amazoncorretto:15-alpine -COPY --from=0 /home/maven/backend/company-agent/target/organizational-agent*SNAPSHOT.jar organizational-agent.jar +COPY --from=0 /home/maven/backend/business-partner-agent/target/business-partner-agent*SNAPSHOT.jar business-partner-agent.jar EXPOSE 8080 -CMD java -XX:+UnlockExperimentalVMOptions -Dcom.sun.management.jmxremote -noverify ${JAVA_OPTS} -jar organizational-agent.jar \ No newline at end of file +CMD java -XX:+UnlockExperimentalVMOptions -Dcom.sun.management.jmxremote -noverify ${JAVA_OPTS} -jar business-partner-agent.jar \ No newline at end of file diff --git a/backend/business-partner-agent/pom.xml b/backend/business-partner-agent/pom.xml index b5afe5607..8597c364e 100644 --- a/backend/business-partner-agent/pom.xml +++ b/backend/business-partner-agent/pom.xml @@ -29,6 +29,13 @@ io.micronaut micronaut-inject + + + + javax.annotation + javax.annotation-api + + io.micronaut @@ -78,6 +85,11 @@ 2.2.3 provided + + jakarta.annotation + jakarta.annotation-api + 1.3.5 + io.swagger.core.v3 swagger-annotations @@ -163,7 +175,6 @@ org.testcontainers postgresql - ${testcontainers.version} test @@ -264,7 +275,11 @@ 2.0.0 test,provided - spotbugs-annotations + spotbugs-annotations + + The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache License, Version 2.0|Apache License 2.0|Apache 2.0 + The MIT License|MIT License + From abd1781b7bfcfe5b05dbf839a8f1d49403f7359e Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Thu, 17 Dec 2020 13:01:07 +0100 Subject: [PATCH 09/14] added -D Signed-off-by: Philipp Etschel --- charts/bpa/templates/bpa_deployment.yaml | 12 ++++++------ scripts/docker-compose.custom-acapy.yml | 12 ++++++------ scripts/docker-compose.yml | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/charts/bpa/templates/bpa_deployment.yaml b/charts/bpa/templates/bpa_deployment.yaml index 315e21f87..2d8e394c8 100644 --- a/charts/bpa/templates/bpa_deployment.yaml +++ b/charts/bpa/templates/bpa_deployment.yaml @@ -57,14 +57,14 @@ spec: key: postgresql-password - name: JAVA_OPTS value: | - -bpa.acapy.url=http://{{ include "acapy.fullname" . }}:{{ .Values.acapy.service.adminPort }} - -bpa.acapy.apiKey={{ .Values.acapy.adminURLApiKey }} + -Dbpa.acapy.url=http://{{ include "acapy.fullname" . }}:{{ .Values.acapy.service.adminPort }} + -Dbpa.acapy.apiKey={{ .Values.acapy.adminURLApiKey }} -Dmicronaut.security.enabled={{ .Values.bpa.securityEnabled }} -Dmicronaut.server.port=8080 - -bpa.pg.url=jdbc:postgresql://{{ include "global.postgresql.fullname" . }}/{{ .Values.postgresql.postgresqlUsername }} - -bpa.pg.username={{ .Values.postgresql.postgresqlUsername }} - -bpa.pg.password=$(POSTGRES_PASSWORD) - -bpa.host={{ (index .Values.bpa.ingress.hosts 0).host }} + -Dbpa.pg.url=jdbc:postgresql://{{ include "global.postgresql.fullname" . }}/{{ .Values.postgresql.postgresqlUsername }} + -Dbpa.pg.username={{ .Values.postgresql.postgresqlUsername }} + -Dbpa.pg.password=$(POSTGRES_PASSWORD) + -Dbpa.host={{ (index .Values.bpa.ingress.hosts 0).host }} resources: {{- toYaml .Values.bpa.resources | nindent 12 }} {{- with .Values.bpa.nodeSelector }} diff --git a/scripts/docker-compose.custom-acapy.yml b/scripts/docker-compose.custom-acapy.yml index 74ad58915..33157274f 100644 --- a/scripts/docker-compose.custom-acapy.yml +++ b/scripts/docker-compose.custom-acapy.yml @@ -11,14 +11,14 @@ services: - aca-py environment: JAVA_OPTS: > - -bpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} - -bpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} + -Dbpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} + -Dbpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} -Dmicronaut.security.enabled=${BPA_SECURITY_ENABLED} -Dmicronaut.server.port=${BPA_PORT} - -bpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} - -bpa.pg.username=${POSTGRESQL_WALLET_USER} - -bpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} - -bpa.host=${BPA_HOST} + -Dbpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} + -Dbpa.pg.username=${POSTGRESQL_WALLET_USER} + -Dbpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} + -Dbpa.host=${BPA_HOST} BPA_WEB_MODE: ${BPA_WEB_MODE} BPA_RESOLVER_URL: ${BPA_RESOLVER_URL} BPA_LEDGER_BROWSER: ${BPA_LEDGER_BROWSER} diff --git a/scripts/docker-compose.yml b/scripts/docker-compose.yml index 6a8313e83..43b09a2e1 100644 --- a/scripts/docker-compose.yml +++ b/scripts/docker-compose.yml @@ -11,14 +11,14 @@ services: - aca-py environment: JAVA_OPTS: > - -bpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} - -bpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} + -Dbpa.acapy.url=http://aca-py:${AGENT_ADMIN_PORT} + -Dbpa.acapy.apiKey=${ACAPY_ADMIN_URL_API_KEY} -Dmicronaut.security.enabled=${BPA_SECURITY_ENABLED} -Dmicronaut.server.port=${BPA_PORT} - -bpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} - -bpa.pg.username=${POSTGRESQL_WALLET_USER} - -bpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} - -bpa.host=${BPA_HOST} + -Dbpa.pg.url=jdbc:postgresql://${POSTGRESQL_WALLET_HOST}/${POSTGRESQL_WALLET_USER} + -Dbpa.pg.username=${POSTGRESQL_WALLET_USER} + -Dbpa.pg.password=${POSTGRESQL_WALLET_PASSWORD} + -Dbpa.host=${BPA_HOST} BPA_WEB_MODE: ${BPA_WEB_MODE} BPA_RESOLVER_URL: ${BPA_RESOLVER_URL} BPA_LEDGER_BROWSER: ${BPA_LEDGER_BROWSER} From ff32e293540584bd9852d46cc3c36a244113187c Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Fri, 18 Dec 2020 17:12:46 +0100 Subject: [PATCH 10/14] added profile to generate and process license information. open issue in the license plugin Signed-off-by: Philipp Etschel --- backend/business-partner-agent/pom.xml | 80 +++++++++++++++---- .../src/main/resources/xml/stylesheet.xsl | 39 +++++++++ 2 files changed, 105 insertions(+), 14 deletions(-) create mode 100644 backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl diff --git a/backend/business-partner-agent/pom.xml b/backend/business-partner-agent/pom.xml index 8597c364e..f4ab493ce 100644 --- a/backend/business-partner-agent/pom.xml +++ b/backend/business-partner-agent/pom.xml @@ -268,20 +268,6 @@ org.apache.maven.plugins maven-source-plugin - - - org.codehaus.mojo - license-maven-plugin - 2.0.0 - - test,provided - spotbugs-annotations - - The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache License, Version 2.0|Apache License 2.0|Apache 2.0 - The MIT License|MIT License - - - @@ -369,5 +355,71 @@ + + generate-license-info + + false + + + + + + org.codehaus.mojo + license-maven-plugin + 2.0.1-SNAPSHOT + + + generate-resources + + third-party-report + + + + + test,provided + spotbugs-annotations + + The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache License, Version 2.0|Apache License 2.0|Apache 2.0 + The MIT License|MIT License + + + + + + org.codehaus.mojo + xml-maven-plugin + 1.0.2 + + + process-resources + + transform + + + + + + + ${project.build.directory}/site + src/main/resources/xml/stylesheet.xsl + + + .xml + + + + + + + + net.sf.saxon + Saxon-HE + 10.3 + + + + + + diff --git a/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl b/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl new file mode 100644 index 000000000..5bfc6cfb2 --- /dev/null +++ b/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 09bfbe8f82e7228b0b8cca45ff9809494f0d3b9e Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Mon, 21 Dec 2020 15:11:33 +0100 Subject: [PATCH 11/14] switched license generation to maven-license-plugin Signed-off-by: Philipp Etschel --- Dockerfile | 5 +-- Jenkinsfile | 3 +- .../src/main/resources/xml/stylesheet.xsl | 5 ++- backend/pom.xml | 31 +++++++++---------- frontend/src/views/About.vue | 19 +----------- 5 files changed, 24 insertions(+), 39 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a56e9292..ac7f04479 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,10 @@ COPY frontend ../frontend RUN mvn dependency:go-offline || true # Generate License Info +RUN mvn clean install -N RUN mvn -f business-partner-agent-core/pom.xml clean install -Dspotbugs.skip=true -Dpmd.skip=true -RUN mvn attribution:generate-attribution-file -RUN cp ./business-partner-agent/target/attribution.xml ../frontend/licenses/attribution.xml +RUN mvn -f business-partner-agent/pom.xml license:third-party-report xml:transform -Pgenerate-license-info +RUN cp ./business-partner-agent/target/generated-resources/xml/xslt/third-party-report.xml ../frontend/licenses/attribution.xml # Build .jar RUN mvn clean install -P build-frontend -DskipTests=true -Dspotbugs.skip=true -Dpmd.skip=true diff --git a/Jenkinsfile b/Jenkinsfile index 22216a21b..764f4c8f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,8 @@ pipeline { jdk: "java-11", maven: "${MVN_VERSION}", globalMavenSettingsConfig: "${SETTINGS_ID}") { - sh "mvn clean deploy -Pbuild-frontend -DaltDeploymentRepository=bds-nexus::default::https://nexus.bosch-digital.com/repository/bds-snapshots/" + sh 'mvn -f business-partner-agent/pom.xml clean license:third-party-report xml:transform -Pgenerate-license-info' + sh "mvn deploy -Pbuild-frontend -DaltDeploymentRepository=bds-nexus::default::https://nexus.bosch-digital.com/repository/bds-snapshots/" sh "mvn docker:build docker:push -Ddocker.push.registry=nexus.bosch-digital.com:5000 -Ddocker.name=bds/%a" } } diff --git a/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl b/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl index 5bfc6cfb2..36ac1ddbd 100644 --- a/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl +++ b/backend/business-partner-agent/src/main/resources/xml/stylesheet.xsl @@ -11,7 +11,9 @@ - + + + @@ -27,6 +29,7 @@ + diff --git a/backend/pom.xml b/backend/pom.xml index 07197a180..8b9884599 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -78,6 +78,20 @@ + + + plugin-snapshots + https://nexus.bosch-digital.com/repository/bds-snapshots + + false + + + true + + + + + business-partner-agent-core business-partner-agent @@ -284,23 +298,6 @@ ../formatter.xml - - - com.github.jinnovations - attribution-maven-plugin - 0.9.8 - - - - generate-attribution-file - - - - - ${project.build.directory}/attribution.xml - true - - diff --git a/frontend/src/views/About.vue b/frontend/src/views/About.vue index b83b72f2b..6e26bea46 100644 --- a/frontend/src/views/About.vue +++ b/frontend/src/views/About.vue @@ -56,26 +56,9 @@ {{ item.name.text }} -
- -
Version: {{ item.version.text }}
+
License: {{ item.licenses.license.name.text }}
- -

{{ item.licenses.license.name.text }}

-
- License text: - -
-
From fa0f977c89d87242242adea80655fbcd64f53d46 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Mon, 21 Dec 2020 15:17:04 +0100 Subject: [PATCH 12/14] fixed build file Signed-off-by: Philipp Etschel --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 764f4c8f6..db7252599 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,9 +21,12 @@ pipeline { jdk: "java-11", maven: "${MVN_VERSION}", globalMavenSettingsConfig: "${SETTINGS_ID}") { - sh 'mvn -f business-partner-agent/pom.xml clean license:third-party-report xml:transform -Pgenerate-license-info' - sh "mvn deploy -Pbuild-frontend -DaltDeploymentRepository=bds-nexus::default::https://nexus.bosch-digital.com/repository/bds-snapshots/" - sh "mvn docker:build docker:push -Ddocker.push.registry=nexus.bosch-digital.com:5000 -Ddocker.name=bds/%a" + sh 'mvn clean' + sh 'mvn install -N' + sh 'mvn -f business-partner-agent-core/pom.xml install -Dspotbugs.skip=true -Dpmd.skip=true' + sh 'mvn -f business-partner-agent/pom.xml license:third-party-report xml:transform -Pgenerate-license-info' + sh "mvn deploy -Pbuild-frontend -DaltDeploymentRepository=bds-nexus::default::https://nexus.bosch-digital.com/repository/bds-snapshots/" + sh "mvn docker:build docker:push -Ddocker.push.registry=nexus.bosch-digital.com:5000 -Ddocker.name=bds/%a" } } } From 68118a4988e93c67ea06e6ea72f14d3cf2f79d7c Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Mon, 21 Dec 2020 15:22:48 +0100 Subject: [PATCH 13/14] missing copy step Signed-off-by: Philipp Etschel --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index db7252599..48d0a61fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,6 +25,7 @@ pipeline { sh 'mvn install -N' sh 'mvn -f business-partner-agent-core/pom.xml install -Dspotbugs.skip=true -Dpmd.skip=true' sh 'mvn -f business-partner-agent/pom.xml license:third-party-report xml:transform -Pgenerate-license-info' + sh 'cp ./business-partner-agent/target/generated-resources/xml/xslt/third-party-report.xml ../frontend/licenses/attribution.xml' sh "mvn deploy -Pbuild-frontend -DaltDeploymentRepository=bds-nexus::default::https://nexus.bosch-digital.com/repository/bds-snapshots/" sh "mvn docker:build docker:push -Ddocker.push.registry=nexus.bosch-digital.com:5000 -Ddocker.name=bds/%a" } From 4cadfae320c936ef8f7b5fd6f0c0ee6bba7dfdf3 Mon Sep 17 00:00:00 2001 From: Philipp Etschel Date: Mon, 21 Dec 2020 16:34:13 +0100 Subject: [PATCH 14/14] fixed .gitignore Signed-off-by: Philipp Etschel --- .gitignore | 3 +-- backend/pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6b52b7abe..4e18873ad 100644 --- a/.gitignore +++ b/.gitignore @@ -51,10 +51,9 @@ formatter-maven-cache.properties # Build **/target/** -/docker-compose-backend.yml # Ignore dynamically added frontend files -backend/company-agent/src/main/resources/public/** +backend/*/src/main/resources/public/** # -------------------------------------- # Frontend diff --git a/backend/pom.xml b/backend/pom.xml index 8b9884599..13ef1540d 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -116,7 +116,7 @@ org.flywaydb flyway-core - 7.3.1 + 7.3.2 org.testcontainers