From f0c0c621de1901e07e49a959e1da0a3353c36bc9 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Wed, 8 May 2024 23:25:15 +0800 Subject: [PATCH 1/2] chore: PR feedback Signed-off-by: Yurii Shynbuiev --- .../identus/agent/server/http/DocModels.scala | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/http/DocModels.scala b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/http/DocModels.scala index c87a47921f..4da38db95f 100644 --- a/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/http/DocModels.scala +++ b/cloud-agent/service/server/src/main/scala/org/hyperledger/identus/agent/server/http/DocModels.scala @@ -57,11 +57,11 @@ object DocModels { .openapi("3.0.3") .info( Info( - title = "Open Enterprise Agent API Reference", + title = "Identus Cloud Agent API Reference", version = "1.0", // Will be replaced dynamically by 'Tapir2StaticOAS' summary = None, description = Some(""" - |The Open Enterprise Agent API facilitates the integration and management of self-sovereign identity capabilities within applications. + |The Identus Cloud Agent API facilitates the integration and management of self-sovereign identity capabilities within applications. |It supports DID (Decentralized Identifiers) management, verifiable credential exchange, and secure messaging based on DIDComm standards. |The API is designed to be interoperable with various blockchain and DLT (Distributed Ledger Technology) platforms, ensuring wide compatibility and flexibility. |Key features include connection management, credential issuance and verification, and secure, privacy-preserving communication between entities. @@ -81,11 +81,14 @@ object DocModels { ) .servers( List( - Server(url = "http://localhost:8085", description = Some("Local Prism Agent")), - Server(url = "http://localhost/cloud-agent", description = Some("Local Cloud Agent with APISIX proxy")), + Server(url = "http://localhost:8085", description = Some("The local instance of the Cloud Agent")), + Server( + url = "http://localhost/cloud-agent", + description = Some("The local instance of the Cloud Agent behind the APISIX proxy") + ), Server( url = "https://k8s-dev.atalaprism.io/cloud-agent", - description = Some("Prism Agent on the Staging Environment") + description = Some("The Cloud Agent in the Staging Environment") ), ) ) From 9c4e96ce723c5e7b34fc7261b1a83ee1a7d71b40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 22:32:59 +0700 Subject: [PATCH 2/2] style: apply linters automatic fixes (#1025) Signed-off-by: Hyperledger Bot Co-authored-by: Hyperledger Bot --- .../src/common/Config.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/performance-tests/agent-performance-tests-k6/src/common/Config.ts b/tests/performance-tests/agent-performance-tests-k6/src/common/Config.ts index 06aeb358c1..08ed0f2f92 100644 --- a/tests/performance-tests/agent-performance-tests-k6/src/common/Config.ts +++ b/tests/performance-tests/agent-performance-tests-k6/src/common/Config.ts @@ -1,49 +1,49 @@ -/*global __ENV*/ +/* global __ENV */ /** * Maximum number of iterations for the waiting loop. * If not provided, the default value is 100. */ -export const WAITING_LOOP_MAX_ITERATIONS = Number(__ENV.MY_USER_AGENT) || 1000; +export const WAITING_LOOP_MAX_ITERATIONS = Number(__ENV.MY_USER_AGENT) || 1000 /** * Pause interval in seconds for each iteration of the waiting loop. * If not provided, the default value is 10 milliseconds. */ -export const WAITING_LOOP_PAUSE_INTERVAL = Number(__ENV.WAITING_LOOP_PAUSE_INTERVAL) || 0.1; +export const WAITING_LOOP_PAUSE_INTERVAL = Number(__ENV.WAITING_LOOP_PAUSE_INTERVAL) || 0.1 /** * URL for the Issuer agent. * If not provided, the default value is "http://localhost:8080/cloud-agent". */ -export const ISSUER_AGENT_URL = __ENV.ISSUER_AGENT_URL || "http://localhost:8080/cloud-agent"; +export const ISSUER_AGENT_URL = __ENV.ISSUER_AGENT_URL || 'http://localhost:8080/cloud-agent' /** * API key for the Issuer agent. * If not provided, the default value is an empty string. */ -export const ISSUER_AGENT_API_KEY = __ENV.ISSUER_AGENT_API_KEY || ""; +export const ISSUER_AGENT_API_KEY = __ENV.ISSUER_AGENT_API_KEY || '' /** * URL for the Holder agent. * If not provided, the default value is "http://localhost:8090/cloud-agent". */ -export const HOLDER_AGENT_URL = __ENV.HOLDER_AGENT_URL || "http://localhost:8090/cloud-agent"; +export const HOLDER_AGENT_URL = __ENV.HOLDER_AGENT_URL || 'http://localhost:8090/cloud-agent' /** * API key for the Holder agent. * If not provided, the default value is an empty string. */ -export const HOLDER_AGENT_API_KEY = __ENV.HOLDER_AGENT_API_KEY || ""; +export const HOLDER_AGENT_API_KEY = __ENV.HOLDER_AGENT_API_KEY || '' /** * URL for the Verifier agent. * If not provided, the default value is "http://localhost:8100/cloud-agent". */ -export const VERIFIER_AGENT_URL = __ENV.VERIFIER_AGENT_URL || "http://localhost:8100/cloud-agent"; +export const VERIFIER_AGENT_URL = __ENV.VERIFIER_AGENT_URL || 'http://localhost:8100/cloud-agent' /** * API key for the Verifier agent. * If not provided, the default value is an empty string. */ -export const VERIFIER_AGENT_API_KEY = __ENV.VERIFIER_AGENT_API_KEY || ""; +export const VERIFIER_AGENT_API_KEY = __ENV.VERIFIER_AGENT_API_KEY || ''