This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support more oob exchanges with attachments (#796)
* issue oob credential v2 with attachment Signed-off-by: Philipp Etschel <[email protected]> * refactoring to render presentation-request only. moved common code into base class. Signed-off-by: Philipp Etschel <[email protected]> * wired flow in the controller Signed-off-by: Philipp Etschel <[email protected]> * formater Signed-off-by: Philipp Etschel <[email protected]> * updated backend types Signed-off-by: Philipp Etschel <[email protected]> * added path for dif oob exchange Signed-off-by: Philipp Etschel <[email protected]> * renamed class Signed-off-by: Philipp Etschel <[email protected]> * using base cred ex record Signed-off-by: Philipp Etschel <[email protected]> * added maintainers.md Signed-off-by: Philipp Etschel <[email protected]> * new client release Signed-off-by: Philipp Etschel <[email protected]> * formatter Signed-off-by: Philipp Etschel <[email protected]> * rollback version, needs fixing the testcontainers setup Signed-off-by: Philipp Etschel <[email protected]> * revert part2 Signed-off-by: Philipp Etschel <[email protected]> * updated readme and fixed swagger comments Signed-off-by: Philipp Etschel <[email protected]>
- Loading branch information
Showing
31 changed files
with
793 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Maintainers | ||
|
||
### Active Maintainers | ||
| name | Github | Discord | | ||
|--------------------|----------------------------------------------------|----------------| | ||
| Philipp Etschel | [@etschelp](https://github.com/etschelp) | etschelp#7436 | | ||
| Tim Schlagenhaufer | [@schlagtim](https://github.com/schlagtim) | schlagtim#1600 | | ||
| Driton Goxhufi | [@DritonGoxhufi](https://github.com/DritonGoxhufi) | Driton#1353 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...ner-agent/src/main/java/org/hyperledger/bpa/controller/api/ExchangeVersionTranslator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright (c) 2020-2022 - for information on the respective copyright owner | ||
* see the NOTICE file and/or the repository at | ||
* https://github.com/hyperledger-labs/business-partner-agent | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.hyperledger.bpa.controller.api; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import org.hyperledger.aries.api.ExchangeVersion; | ||
|
||
public interface ExchangeVersionTranslator { | ||
|
||
ExchangeVersion getExchangeVersion(); | ||
|
||
@JsonIgnore | ||
default boolean exchangeIsV1() { | ||
return getExchangeVersion() == null || ExchangeVersion.V1.equals(getExchangeVersion()); | ||
} | ||
|
||
@JsonIgnore | ||
default boolean exchangeIsV2() { | ||
return ExchangeVersion.V2.equals(getExchangeVersion()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.