Skip to content

Commit

Permalink
chore: Remove ietf-json-patch from protocol
Browse files Browse the repository at this point in the history
Remove ietf-json-patch from protocol

Closes #1444

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
  • Loading branch information
sandrask committed Aug 23, 2022
1 parent 05a1ee1 commit dcf5623
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ extract-orb-cli-binaries:
@mkdir -p .build/extract;cd .build/dist/bin;tar -zxf orb-cli-darwin-amd64.tar.gz;mv orb-cli-darwin-amd64 ../../extract/

.PHONY: bdd-test-cas-local
bdd-test-cas-local: generate-test-keys orb-docker orb-test-docker orb-driver-docker build-orb-cli-binaries extract-orb-cli-binaries
bdd-test-cas-local: generate-test-keys orb-docker orb-driver-docker build-orb-cli-binaries extract-orb-cli-binaries
@scripts/integration_cas_local.sh

.PHONY: bdd-test-cas-ipfs
bdd-test-cas-ipfs: generate-test-keys orb-docker orb-test-docker orb-driver-docker build-orb-cli-binaries extract-orb-cli-binaries
bdd-test-cas-ipfs: generate-test-keys orb-docker orb-driver-docker build-orb-cli-binaries extract-orb-cli-binaries
@scripts/integration_cas_ipfs.sh

.PHONY: bdd-test-protocol-versions
bdd-test-protocol-versions: generate-test-keys orb-docker orb-test-docker orb-driver-docker build-orb-cli-binaries extract-orb-cli-binaries
bdd-test-protocol-versions: generate-test-keys orb-docker orb-test-docker
@scripts/integration_protocol_versions.sh

.PHONY: clean
Expand Down
2 changes: 1 addition & 1 deletion pkg/mocks/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (m *MockProtocolClientProvider) create() *MockProtocolClient {
MaxProvisionalIndexFileSize: maxBatchFileSize,
MaxCoreIndexFileSize: maxBatchFileSize,
MaxProofFileSize: maxBatchFileSize,
Patches: []string{"replace", "add-public-keys", "remove-public-keys", "add-services", "remove-services", "ietf-json-patch", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
Patches: []string{"replace", "add-public-keys", "remove-public-keys", "add-services", "remove-services", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
SignatureAlgorithms: []string{"EdDSA", "ES256", "ES256K"},
KeyAlgorithms: []string{"Ed25519", "P-256", "secp256k1"},
MaxMemoryDecompressionFactor: 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func GetProtocolConfig() protocol.Protocol {
MaxProvisionalIndexFileSize: 1000000,
MaxCoreIndexFileSize: 1000000,
MaxProofFileSize: 2500000,
Patches: []string{"add-public-keys", "remove-public-keys", "add-services", "remove-services", "ietf-json-patch", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
Patches: []string{"add-public-keys", "remove-public-keys", "add-services", "remove-services", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
SignatureAlgorithms: []string{"EdDSA", "ES256", "ES256K"},
KeyAlgorithms: []string{"Ed25519", "P-256", "secp256k1"},
MaxMemoryDecompressionFactor: 3,
Expand Down
2 changes: 1 addition & 1 deletion pkg/protocolversion/versions/v1_0/config/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func GetProtocolConfig() protocol.Protocol {
MaxProvisionalIndexFileSize: 1000000,
MaxCoreIndexFileSize: 1000000,
MaxProofFileSize: 2500000,
Patches: []string{"add-public-keys", "remove-public-keys", "add-services", "remove-services", "ietf-json-patch", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
Patches: []string{"add-public-keys", "remove-public-keys", "add-services", "remove-services", "add-also-known-as", "remove-also-known-as"}, //nolint:lll
SignatureAlgorithms: []string{"EdDSA", "ES256", "ES256K"},
KeyAlgorithms: []string{"Ed25519", "P-256", "P-384", "secp256k1"},
MaxMemoryDecompressionFactor: 3,
Expand Down

0 comments on commit dcf5623

Please # to comment.