-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:hyperledger/firefly into org-prop
- Loading branch information
Showing
401 changed files
with
31,914 additions
and
7,786 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ | |
"mytag", | ||
"NATS", | ||
"nextpins", | ||
"openapi", | ||
"opid", | ||
"optype", | ||
"opupdate", | ||
|
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# FireFly Core Maintainers | ||
* @peterbroadhurst @nguyer @awrichar @shorsher | ||
|
||
# FireFly Documentation Maintainers | ||
/docs @peterbroadhurst @nguyer @awrichar @shorsher @nickgaski | ||
* @hyperledger/firefly-core-maintainers |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Maintainers | ||
# firefly-core-maintainers | ||
|
||
The following is the list of current maintainers this repo: | ||
|
||
|
@@ -9,45 +9,6 @@ The following is the list of current maintainers this repo: | |
| Andrew Richardson | awrichar | [email protected] | Andrew.Richardson | | ||
| Alex Shorsher | shorsher | [email protected] | shorsher | | ||
|
||
|
||
This list is to be kept up to date as maintainers are added or removed. | ||
|
||
# Expectations of Maintainers | ||
|
||
Maintainers are expected to regularly: | ||
|
||
- Make contributions to FireFly code repositories including code or documentation | ||
- Review pull requests | ||
- Investigate open GitHub issues | ||
- Participate in Community Calls | ||
|
||
# Becoming a Maintainer | ||
|
||
The FireFly Project welcomes and encourages people to become maintainers of the project if they are interested and meet the following criteria: | ||
|
||
## Criteria for becoming a member | ||
|
||
- Expressed interest and commitment to meet the expectations of a maintainer for at least 6 months | ||
- A consistent track record of contributions to FireFly code repositories which could be: | ||
- Enhancements | ||
- Bug fixes | ||
- Tests | ||
- Documentation | ||
- A consistent track record of helpful code reviews on FireFly code repositories | ||
- Regular participation in Community Calls | ||
- A demonstrated interest and aptitude in thought leadership within the FireFly Project | ||
- Sponsorship from an existing maintainer | ||
|
||
There is no specific quantity of contributions or pull requests, or a specific time period over which the candidate must prove their track record. This will be left up to the discretion of the existing maintainers. | ||
|
||
## Process for becoming a maintainer | ||
|
||
Once the above criteria have been met, the sponsoring maintainer shall propose the addition of the new maintainer at a public Community Call. Existing maintainers shall vote at the next public Community Call whether the new maintainer should be added or not. Proxy votes may be submitted via email _before_ the meeting. A simple majority of the existing maintainers is required for the vote to pass. | ||
|
||
## Maintainer resignation | ||
|
||
While maintainers are expected in good faith to be committed to the project for a significant period of time, they are under no binding obligation to do so. Maintainers may resign at any time for any reason. If a maintainer wishes to resign they shall open a pull request to update the maintainers list removing themselves from the list. | ||
|
||
## Maintainer inactivity | ||
|
||
If a maintainer has remained inactive (not meeting the expectations of a maintainer) for a period of time (at least several months), an email should be sent to that maintainer noting their inactivity and asking if they still wish to be a maintainer. If they continue to be inactive after being notified via email, an existing maintainer may propose to remove the inactive maintainer at a public Community Call. Existing maintainers shall vote at the next public Community Call whether the inactive maintainer should be removed or not. Proxy votes may be submitted via email _before_ the meeting. A simple majority of the existing maintainers is required for the vote to pass. | ||
For the full list of maintainers across all repos, the expectations of a maintainer and the process for becoming a maintainer, please see the [FireFly Maintainers page on the Hyperledger Wiki](https://wiki.hyperledger.org/display/FIR/Maintainers). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- no down migration |
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,7 @@ | ||
BEGIN; | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, connector, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, connector, protocol_id); | ||
COMMIT; |
6 changes: 6 additions & 0 deletions
6
db/migrations/postgres/000110_add_tokenpool_networkname.down.sql
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,6 @@ | ||
BEGIN; | ||
DROP INDEX tokenpool_networkname; | ||
ALTER TABLE tokenpool DROP COLUMN published; | ||
ALTER TABLE tokenpool DROP COLUMN network_name; | ||
ALTER TABLE tokenpool DROP COLUMN plugin_data; | ||
COMMIT; |
12 changes: 12 additions & 0 deletions
12
db/migrations/postgres/000110_add_tokenpool_networkname.up.sql
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,12 @@ | ||
BEGIN; | ||
ALTER TABLE tokenpool ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE tokenpool SET published = true WHERE message_id IS NOT NULL; | ||
|
||
ALTER TABLE tokenpool ADD COLUMN network_name VARCHAR(64); | ||
UPDATE tokenpool SET network_name = name WHERE message_id IS NOT NULL; | ||
|
||
ALTER TABLE tokenpool ADD COLUMN plugin_data TEXT; | ||
UPDATE tokenpool SET plugin_data = namespace; | ||
|
||
CREATE UNIQUE INDEX tokenpool_networkname ON tokenpool(namespace,network_name); | ||
COMMIT; |
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 @@ | ||
BEGIN; | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, connector, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, connector, protocol_id); | ||
CREATE INDEX tokenpool_locator ON tokenpool(namespace, connector, locator); | ||
COMMIT; |
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 @@ | ||
BEGIN; | ||
DROP INDEX tokenpool_locator; | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, pool_id, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, pool_id, protocol_id); | ||
COMMIT; |
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,5 @@ | ||
BEGIN; | ||
DROP INDEX ffi_networkname; | ||
ALTER TABLE ffi DROP COLUMN published; | ||
ALTER TABLE ffi DROP COLUMN network_name; | ||
COMMIT; |
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,7 @@ | ||
BEGIN; | ||
ALTER TABLE ffi ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE ffi SET published = true WHERE message_id IS NOT NULL; | ||
ALTER TABLE ffi ADD COLUMN network_name VARCHAR(64); | ||
UPDATE ffi SET network_name = name WHERE message_id IS NOT NULL; | ||
CREATE UNIQUE INDEX ffi_networkname ON ffi(namespace,network_name,version); | ||
COMMIT; |
5 changes: 5 additions & 0 deletions
5
db/migrations/postgres/000113_add_contract_api_networkname.down.sql
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,5 @@ | ||
BEGIN; | ||
DROP INDEX contractapis_networkname; | ||
ALTER TABLE contractapis DROP COLUMN published; | ||
ALTER TABLE contractapis DROP COLUMN network_name; | ||
COMMIT; |
7 changes: 7 additions & 0 deletions
7
db/migrations/postgres/000113_add_contract_api_networkname.up.sql
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,7 @@ | ||
BEGIN; | ||
ALTER TABLE contractapis ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE contractapis SET published = true WHERE message_id IS NOT NULL; | ||
ALTER TABLE contractapis ADD COLUMN network_name VARCHAR(64); | ||
UPDATE contractapis SET network_name = name WHERE message_id IS NOT NULL; | ||
CREATE UNIQUE INDEX contractapis_networkname ON contractapis(namespace,network_name); | ||
COMMIT; |
3 changes: 3 additions & 0 deletions
3
db/migrations/postgres/000114_add_message_reject_reason.down.sql
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,3 @@ | ||
BEGIN; | ||
ALTER TABLE messages DROP COLUMN reject_reason; | ||
COMMIT; |
3 changes: 3 additions & 0 deletions
3
db/migrations/postgres/000114_add_message_reject_reason.up.sql
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,3 @@ | ||
BEGIN; | ||
ALTER TABLE messages ADD COLUMN reject_reason TEXT DEFAULT ''; | ||
COMMIT; |
5 changes: 5 additions & 0 deletions
5
db/migrations/postgres/000115_rename_tokenpool_state.down.sql
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,5 @@ | ||
BEGIN; | ||
ALTER TABLE tokenpool ADD COLUMN state VARCHAR(64); | ||
UPDATE tokenpool SET state = (CASE WHEN active = true THEN 'confirmed' ELSE 'pending' END); | ||
ALTER TABLE tokenpool DROP COLUMN active; | ||
COMMIT; |
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,5 @@ | ||
BEGIN; | ||
ALTER TABLE tokenpool ADD COLUMN active BOOLEAN; | ||
UPDATE tokenpool SET active = (CASE WHEN state = 'confirmed' THEN true ELSE false END); | ||
ALTER TABLE tokenpool DROP COLUMN state; | ||
COMMIT; |
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 @@ | ||
-- no down migration |
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,5 @@ | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, connector, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, connector, protocol_id); |
4 changes: 4 additions & 0 deletions
4
db/migrations/sqlite/000110_add_tokenpool_networkname.down.sql
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,4 @@ | ||
DROP INDEX tokenpool_networkname; | ||
ALTER TABLE tokenpool DROP COLUMN published; | ||
ALTER TABLE tokenpool DROP COLUMN network_name; | ||
ALTER TABLE tokenpool DROP COLUMN plugin_data; |
10 changes: 10 additions & 0 deletions
10
db/migrations/sqlite/000110_add_tokenpool_networkname.up.sql
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,10 @@ | ||
ALTER TABLE tokenpool ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE tokenpool SET published = true WHERE message_id IS NOT NULL; | ||
|
||
ALTER TABLE tokenpool ADD COLUMN network_name VARCHAR(64); | ||
UPDATE tokenpool SET network_name = name WHERE message_id IS NOT NULL; | ||
|
||
ALTER TABLE tokenpool ADD COLUMN plugin_data TEXT; | ||
UPDATE tokenpool SET plugin_data = namespace; | ||
|
||
CREATE UNIQUE INDEX tokenpool_networkname ON tokenpool(namespace,network_name); |
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,6 @@ | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, connector, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, connector, protocol_id); | ||
CREATE INDEX tokenpool_locator ON tokenpool(namespace, connector, locator); |
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,6 @@ | ||
DROP INDEX tokenpool_locator; | ||
DROP INDEX tokentransfer_protocolid; | ||
DROP INDEX tokenapproval_protocolid; | ||
|
||
CREATE UNIQUE INDEX tokentransfer_protocolid ON tokentransfer(namespace, pool_id, protocol_id); | ||
CREATE UNIQUE INDEX tokenapproval_protocolid ON tokenapproval(namespace, pool_id, protocol_id); |
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,3 @@ | ||
DROP INDEX ffi_networkname; | ||
ALTER TABLE ffi DROP COLUMN published; | ||
ALTER TABLE ffi DROP COLUMN network_name; |
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,5 @@ | ||
ALTER TABLE ffi ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE ffi SET published = true WHERE message_id IS NOT NULL; | ||
ALTER TABLE ffi ADD COLUMN network_name VARCHAR(64); | ||
UPDATE ffi SET network_name = name WHERE message_id IS NOT NULL; | ||
CREATE UNIQUE INDEX ffi_networkname ON ffi(namespace,network_name,version); |
3 changes: 3 additions & 0 deletions
3
db/migrations/sqlite/000113_add_contract_api_networkname.down.sql
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,3 @@ | ||
DROP INDEX contractapis_networkname; | ||
ALTER TABLE contractapis DROP COLUMN published; | ||
ALTER TABLE contractapis DROP COLUMN network_name; |
5 changes: 5 additions & 0 deletions
5
db/migrations/sqlite/000113_add_contract_api_networkname.up.sql
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,5 @@ | ||
ALTER TABLE contractapis ADD COLUMN published BOOLEAN DEFAULT false; | ||
UPDATE contractapis SET published = true WHERE message_id IS NOT NULL; | ||
ALTER TABLE contractapis ADD COLUMN network_name VARCHAR(64); | ||
UPDATE contractapis SET network_name = name WHERE message_id IS NOT NULL; | ||
CREATE UNIQUE INDEX contractapis_networkname ON contractapis(namespace,network_name); |
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 @@ | ||
ALTER TABLE messages DROP COLUMN reject_reason; |
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 @@ | ||
ALTER TABLE messages ADD COLUMN reject_reason TEXT DEFAULT ''; |
Oops, something went wrong.