Skip to content

Commit

Permalink
build: Rename Atala Prism to Hyperledger Identus (#274)
Browse files Browse the repository at this point in the history
Rename Atala Prism to Hyperledger Identus
  • Loading branch information
FabioPinheiro authored and mineme0110 committed Apr 30, 2024
1 parent 1c6eccb commit 4765176
Show file tree
Hide file tree
Showing 56 changed files with 154 additions and 230 deletions.
34 changes: 17 additions & 17 deletions Mediator-Error_Handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ https://identity.foundation/didcomm-messaging/spec/#problem-reports

This table defines the expected behavior of the mediator in different scenarios not covered by the specifications.

| Mediators | Atala Mediator | Roadmap Atala Mediator |
|-------------|----------------|------------------------|
| Scenario G1 | G1C | - |
| Scenario G2 | G2B [ATL-5840] | - |
| Scenario G3 | Fallback G2B | [TODO] G3B |
| Scenario G4 | G4B | - |
| Scenario G5 | Fallback G4B | [TODO] G5B |
| Scenario G6 | Fallback G4B | G6B |
| Scenario G7 | Fallback G4B | [TODO] G7B |
| Scenario G8 | G8C | - |
| | | |
| Scenario M1 | M1B | - |
| Scenario M2 | M2B | - |
| Scenario M3 | M3B | - |
| Scenario M4 | M4B | - |
| Scenario M5 | M5B [#145] | - |
| Mediators | Mediator | Roadmap Mediator |
|-------------|----------------|------------------|
| Scenario G1 | G1C | - |
| Scenario G2 | G2B [ATL-5840] | - |
| Scenario G3 | Fallback G2B | [TODO] G3B |
| Scenario G4 | G4B | - |
| Scenario G5 | Fallback G4B | [TODO] G5B |
| Scenario G6 | Fallback G4B | G6B |
| Scenario G7 | Fallback G4B | [TODO] G7B |
| Scenario G8 | G8C | - |
| | | |
| Scenario M1 | M1B | - |
| Scenario M2 | M2B | - |
| Scenario M3 | M3B | - |
| Scenario M4 | M4B | - |
| Scenario M5 | M5B [#145] | - |

### Scenarios Description

Expand Down Expand Up @@ -96,7 +96,7 @@ This table defines the expected behavior of the mediator in different scenarios

### Considerations

In the Atala PRISM Mediator, when an issue arises, we undertake the following steps:
In the Identus Mediator, when an issue arises, we undertake the following steps:
* Log the error.
* Dispatch a problem report as outlined in the table above.
* Record the problem report and error information in the database.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
|-----------------|----------------|------------------------------------|
| ![CI][Badge-CI] | ![Badge-Stage] | ![Badge-CommitsSinceLatestRelease] |

# Atala Mediator
# Mediator

A DID Comm v2 mediator
A service that receives messages for many agents at a single endpoint and stores them with privacy.
Expand All @@ -23,9 +23,9 @@ graph LR

---

**#atala-mediator on Discord:**
**#identus-mediator on Discord:**

For the fastest answers, join the [#atala-mediator][Link-Discord] channel in the official Atala Discord and ask your questions, or chat with other Atala developers and pioneers!
For the fastest answers, join the [#identus-mediator][Link-Discord] channel in the official Atala Discord and ask your questions, or chat with other Atala developers and pioneers!


**More documentation:**
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ lazy val scalaJSBundlerConfigure: Project => Project =

lazy val buildInfoConfigure: Project => Project = _.enablePlugins(BuildInfoPlugin)
.settings(
buildInfoPackage := "io.iohk.atala.mediator",
buildInfoPackage := "org.hyperledger.identus.mediator",
buildInfoObject := "MediatorBuildInfo",
buildInfoKeys := Seq[BuildInfoKey](
name,
Expand Down Expand Up @@ -227,11 +227,11 @@ lazy val mediator = project
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
.settings(
Compile / mainClass := Some("io.iohk.atala.mediator.MediatorStandalone"),
Compile / mainClass := Some("org.hyperledger.identus.mediator.MediatorStandalone"),
Docker / maintainer := "atala-coredid@iohk.io",
Docker / dockerUsername := Some("input-output-hk"),
Docker / dockerRepository := Some("ghcr.io"),
Docker / packageName := "atala-prism-mediator",
Docker / packageName := "identus-mediator",
dockerExposedPorts := Seq(8080),
dockerBaseImage := "openjdk:11",
dockerUpdateLatest := true,
Expand Down Expand Up @@ -276,7 +276,7 @@ lazy val webapp = project
stShortModuleNames := true,
webpackBundlingMode := BundlingMode.LibraryAndApplication(), // BundlingMode.Application,
Compile / scalaJSModuleInitializers += {
org.scalajs.linker.interface.ModuleInitializer.mainMethod("io.iohk.atala.mediator.App", "main")
org.scalajs.linker.interface.ModuleInitializer.mainMethod("org.hyperledger.identus.mediator.App", "main")
},
)

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ services:
volumes:
- ./initdb.js:/docker-entrypoint-initdb.d/initdb.js

atalaprism-mediator:
image: ghcr.io/input-output-hk/atala-prism-mediator:${MEDIATOR_VERSION:-latest}
identus-mediator:
image: ghcr.io/input-output-hk/identus-mediator:${MEDIATOR_VERSION:-latest}
ports:
- "8080:8080"
environment:
Expand Down
10 changes: 5 additions & 5 deletions docs/architecture/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# System Architecture

This document provides an overview of the system architecture for the Atala PRISM Mediator.
This document provides an overview of the system architecture for the Identus Mediator.

## System Context Diagram

The system context diagram illustrates the high-level interactions and dependencies of the Atala PRISM Mediator with
The system context diagram illustrates the high-level interactions and dependencies of the Identus Mediator with
external components, mainly cloud and edge agents.

![](diagrams/mediator-context.png)

## Container Diagram

The container diagram depicts the internal containers/runnables and their relationships within the Atala PRISM Mediator.
The container diagram depicts the internal containers/runnables and their relationships within the Identus Mediator.

![](diagrams/mediator-container.png)

### Mediator Agent Component Diagram

The Mediator Agent handles the communication and coordination tasks of the Atala PRISM Mediator.
The Mediator Agent handles the communication and coordination tasks of the Identus Mediator.

- **DIDComm v2 Handler**: This component supports various protocols such as BasicMessage 2.0, MediatorCoordination 2.0,
Pickup 3.0, and TrustPing 2.0. It communicates with external systems via HTTP.
Expand All @@ -29,7 +29,7 @@ The Mediator Agent handles the communication and coordination tasks of the Atala

### Mediator Database

The Mediator Database stores data related to the Atala PRISM Mediator. It contains the following collection:
The Mediator Database stores data related to the Identus Mediator. It contains the following collection:

- **User Accounts**: for storing user account information of mediated agents.

Expand Down
8 changes: 4 additions & 4 deletions docs/architecture/structurizr/workspace.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ workspace {
model {
agent = softwareSystem "Cloud / Edge Agent" "" "External"

enterprise "Atala" {
atalaPrismMediator = softwareSystem "Atala PRISM Mediator" {
enterprise "Identus" {
identusMediator = softwareSystem "Identus Mediator" {
mediatorAgent = container "Mediator Agent" {
didCommHandler = component "DIDComm v2 Handler" "Supported protocols:\nBasicMessage 2.0\nMediatorCoordination 2.0\nPickup 3.0\nTrustPing 2.0" "ZIO HTTP" {
agent -> this "Sends and receives messages" "HTTPS"
Expand All @@ -22,12 +22,12 @@ workspace {
}

views {
systemContext atalaPrismMediator {
systemContext identusMediator {
include *
autolayout tb
}

container atalaPrismMediator {
container identusMediator {
include *
autolayout tb
}
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/charts/mediator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ingress:
enabled: true
applicationUrls:
- chart-base-prism-mediator.atalaprism.io
- chart-base-prism-mediator.atalaprism.io
platformIngressUrl: chart-base-platform-ingress.atalaprism.io
cors:
enabled: true
Expand All @@ -16,7 +16,7 @@ server:
image:
repository: ghcr.io
pullPolicy: IfNotPresent
tag: input-output-hk/atala-prism-mediator
tag: input-output-hk/identus-mediator
resources:
limits:
cpu: 500m
Expand Down
2 changes: 1 addition & 1 deletion logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Here is the list of annotations and their meaning that we currently have:
## Code

To have a concise code, we have created a middleware that modifies the annotations in the scope before each execution of that endpoint and includes the trace ID of the request.
See code in file `TraceIdMiddleware` (`mediator/src/main/scala/io/iohk/atala/mediator/TraceIdMiddleware.scala`).
See code in file `TraceIdMiddleware` (`mediator/src/main/scala/org/hyperledger/identus/mediator/TraceIdMiddleware.scala`).

## Logging Backend

Expand Down
2 changes: 1 addition & 1 deletion make-trust-ping-example-kotlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Using Docker

```shell
docker:publishLocal # Compile and create the mediator image
docker-compose up #docker run -p 8080:8080 ghcr.io/input-output-hk/atala-prism-mediator:0.1.0-SNAPSHOT
docker-compose up #docker run -p 8080:8080 ghcr.io/input-output-hk/identus-mediator:0.1.0-SNAPSHOT
```


Expand Down
2 changes: 1 addition & 1 deletion make-trust-ping-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

```shell
docker:publishLocal # Compile and create the mediator image
docker-compose up #docker run -p 8080:8080 ghcr.io/input-output-hk/atala-prism-mediator:0.1.0-SNAPSHOT
docker-compose up #docker run -p 8080:8080 ghcr.io/input-output-hk/identus-mediator:0.1.0-SNAPSHOT
```

## Run the client
Expand Down
26 changes: 0 additions & 26 deletions mediator/src/main/resources/public/atala-prism-logo-suite.svg

This file was deleted.

0 comments on commit 4765176

Please sign in to comment.