Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] docs: Open API specification improvements #830

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# [1.24.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.23.0...prism-agent-v1.24.0) (2023-12-21)


### Features

* add configuration for gRPC usePlainText (enable TLS for gRPC) ([#823](https://github.com/hyperledger-labs/open-enterprise-agent/issues/823)) ([b871bb5](https://github.com/hyperledger-labs/open-enterprise-agent/commit/b871bb5e8eeeb71b3f22c38609ae8f1ff424016c))

# [1.23.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.22.0...prism-agent-v1.23.0) (2023-12-20)


### Bug Fixes

* Change resource defaults for postgres ([#827](https://github.com/hyperledger-labs/open-enterprise-agent/issues/827)) ([87809c4](https://github.com/hyperledger-labs/open-enterprise-agent/commit/87809c4b4d6a3baf0afa37a2cf7ddf6c41a80eb6))
* correct OAS example ([#816](https://github.com/hyperledger-labs/open-enterprise-agent/issues/816)) ([b1384b3](https://github.com/hyperledger-labs/open-enterprise-agent/commit/b1384b38524060f3cfa6df39afaddcce26a5514e))
* Swithing to startupProbe from Readiness ([#821](https://github.com/hyperledger-labs/open-enterprise-agent/issues/821)) ([22a78ec](https://github.com/hyperledger-labs/open-enterprise-agent/commit/22a78ec09ccc84b5d5c03e8f07ff3a14c654cf2b))


### Features

* complete the integration with anoncred and fixes ([#820](https://github.com/hyperledger-labs/open-enterprise-agent/issues/820)) ([15ff710](https://github.com/hyperledger-labs/open-enterprise-agent/commit/15ff710c4a68c5f282e07b23098e362825fdb3b9))
* Liveness, and readiness probes ([#817](https://github.com/hyperledger-labs/open-enterprise-agent/issues/817)) ([6e18666](https://github.com/hyperledger-labs/open-enterprise-agent/commit/6e18666f51cca2d0f151b070c59049bcf005a450))
* Tune postgresql - helm chart ([#822](https://github.com/hyperledger-labs/open-enterprise-agent/issues/822)) ([5fcd9fb](https://github.com/hyperledger-labs/open-enterprise-agent/commit/5fcd9fb6301a5c7b1296d60e4b6fa3385ffe6727))

# [1.22.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.21.1...prism-agent-v1.22.0) (2023-12-14)


Expand Down
54 changes: 27 additions & 27 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,32 +428,32 @@ MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafe
MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafeng # testcontainers-scala-vault_3 # 0.41.0](https://github.com/testcontainers/testcontainers-scala) | <notextile></notextile>
Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.hdrhistogram # HdrHistogram # 2.1.12](http://hdrhistogram.github.io/HdrHistogram/) | <notextile></notextile>
Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.latencyutils # LatencyUtils # 2.0.3](http://latencyutils.github.io/LatencyUtils/) | <notextile></notextile>
none specified | []() | [io.iohk.atala # castor-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # connect-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # connect-sql-doobie_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # event-notification_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-agent-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-agent-didcommx_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-data-models_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-connection_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-invitation_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-resolver_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-anoncreds_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-sql-doobie_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-vc-jwt_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # prism-agent-wallet-api_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # prism-node-client_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # shared # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # sharedtest # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # castor-core_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # connect-core_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # connect-sql-doobie_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # event-notification_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-agent-core_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-agent-didcommx_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-data-models_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-connection_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-invitation_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-resolver_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-anoncreds_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-core_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-sql-doobie_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # pollux-vc-jwt_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # prism-agent-wallet-api_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # prism-node-client_3 # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # shared # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [io.iohk.atala # sharedtest # 1.23.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | <notextile></notextile>
none specified | []() | [net.jcip # jcip-annotations # 1.0](http://jcip.net/) | <notextile></notextile>

9 changes: 7 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import org.scoverage.coveralls.Imports.CoverallsKeys.*
import sbtbuildinfo.BuildInfoPlugin.autoImport.*

// externalResolvers += "ScalaLibrary packages" at "https://maven.pkg.github.com/input-output-hk/anoncreds-rs" // use plugin"sbt-github-packages"

inThisBuild(
Seq(
organization := "io.iohk.atala",
Expand All @@ -10,7 +12,8 @@ inThisBuild(
releaseUseGlobalVersion := false,
versionScheme := Some("semver-spec"),
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks"
githubRepository := "atala-prism-building-blocks",
resolvers += "Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository",
)
)

Expand Down Expand Up @@ -420,7 +423,8 @@ val commonSetttings = Seq(
val overrides = licenseOverrides.value.lift
val depExclusions = licenseDepExclusions.value.lift
val originatingModule = DepModuleInfo(organization.value, name.value, version.value)
val resolution = DependencyResolution(new LicenseReportCustomDependencyResolution(ivyConfiguration.value, ivyModule.value))
val resolution =
DependencyResolution(new LicenseReportCustomDependencyResolution(ivyConfiguration.value, ivyModule.value))
license.LicenseReport.makeReport(
ivyModule.value,
resolution,
Expand Down Expand Up @@ -740,6 +744,7 @@ lazy val polluxAnoncreds = project
Compile / unmanagedResourceDirectories ++= Seq(
baseDirectory.value / "native-lib" / "NATIVE"
),
// libraryDependencies += "io.iohk.atala.prism.anoncredskmp" % "anoncreds-kmp-jvm" % "0.3.5-M2",
libraryDependencies ++= D_Pollux_AnonCreds.baseDependencies
)

Expand Down
4 changes: 2 additions & 2 deletions infrastructure/charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.22.0
version: 1.24.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 1.22.0
appVersion: 1.24.0
dependencies:
- name: vault
version: 0.24.1
Expand Down
6 changes: 5 additions & 1 deletion infrastructure/charts/agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ spec:
- name: prism-agent-server
image: "{{ .Values.server.image.repository }}/{{ .Values.server.image.tag }}:{{ .Values.server.image.version | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.server.image.pullPolicy }}
livenessProbe:
{{- toYaml .Values.server.livenessProbe | nindent 10 }}
startupProbe:
{{- toYaml .Values.server.startupProbe | nindent 10 }}
resources:
{{- toYaml .Values.server.resources | nindent 12 }}
{{- toYaml .Values.server.resources | nindent 10 }}
ports:
- containerPort: 8085
- containerPort: 8090
Expand Down
20 changes: 16 additions & 4 deletions infrastructure/charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ server:
requests:
cpu: 250m
memory: 512Mi
livenessProbe:
httpGet:
path: /_system/health
port: 8085
failureThreshold: 1
periodSeconds: 10
startupProbe:
httpGet:
path: /_system/health
port: 8085
failureThreshold: 30
periodSeconds: 10
# Additional environment variables to be added to the server container
additionalEnvVariables: {}
useVault: true
Expand Down Expand Up @@ -58,11 +70,11 @@ database:
numberOfInstances: 2
resources:
requests:
cpu: 10m
memory: 100Mi
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 500Mi
cpu: 700m
memory: 1024Mi

vdrManager:
host: chart-base-node-service
Expand Down
Loading
Loading