Skip to content

Commit

Permalink
fix(*): Adjuts all the tests post 0.23, fixes to keystores
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Mar 17, 2022
1 parent b94794a commit 44b49fe
Show file tree
Hide file tree
Showing 114 changed files with 254 additions and 110 deletions.
4 changes: 2 additions & 2 deletions packages/cicero-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

'use strict';

const Logger = require('@accordproject/concerto-core').Logger;
const Logger = require('@accordproject/concerto-util').Logger;
const Commands = require('./lib/commands');

require('yargs')
Expand Down Expand Up @@ -170,7 +170,7 @@ require('yargs')
};
return Commands.verify(argv.template, options)
.then((result) => {
if(result) {Logger.info(`Author/developer's signature for ${argv.template} template is verified`);}
Logger.info(`Author/developer's signature for ${argv.template} template is verified`);
})
.catch((err) => {
Logger.error(err.message);
Expand Down
5 changes: 2 additions & 3 deletions packages/cicero-cli/lib/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,8 @@ class Commands {
*/
static verify(templatePath, options) {
return Commands.loadTemplate(templatePath, options)
.then(async(template) => {
const result = await template.verifyTemplateSignature();
return result;
.then((template) => {
return template.verifyTemplateSignature();
});
}

Expand Down
1 change: 0 additions & 1 deletion packages/cicero-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@accordproject/cicero-engine": "0.23.0-alpha.1",
"@accordproject/cicero-test": "0.23.0-alpha.1",
"@accordproject/cicero-tools": "0.23.0-alpha.1",
"@accordproject/concerto-core": "2.0.0-alpha.2",
"@accordproject/concerto-util": "2.0.0-alpha.2",
"mkdirp": "1.0.4",
"yargs": "17.3.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/cicero-cli/test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ describe('#validateArchiveArgs', () => {
describe('#archive', async () => {
it('should create signed archive', async () => {
const archiveName = 'test.cta';
const p12path = path.resolve(__dirname, 'data/keystore.p12');
const p12path = path.resolve(__dirname, 'data/keystore/keystore.p12');
const keystore = {
path: p12path,
passphrase: 'password'
Expand Down Expand Up @@ -1327,7 +1327,7 @@ describe('#verify', async () => {
const templatePath = path.resolve(__dirname, 'data/signedArchive/');
return Commands.verify(templatePath).should.be.fulfilled;
});
it('should throw error when signture is invalid', async () => {
it('should throw error when signature is invalid', async () => {
const templatePath = path.resolve(__dirname, 'data/signedArchiveFail/');
return Commands.verify(templatePath).should.be.rejectedWith('Template\'s author signature is invalid!');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/cicero-cli/test/data/helloemit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "This is the Hello World of Accord Protocol Templates with Emit.",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-cli/test/data/helloworldstate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "Apache-2.0",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
},
"keywords": ["hello", "world", "greet"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"license": "Apache-2.0",
"accordproject": {
"template": "contract",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-cli/test/data/ip-payment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
},
"devDependencies": {
"mocha": "5.2.0"
Expand Down
Binary file removed packages/cicero-cli/test/data/keystore.p12
Binary file not shown.
8 changes: 8 additions & 0 deletions packages/cicero-cli/test/data/keystore/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### To create a new keystore from scratch

```
openssl genrsa -out key.pem 2048
openssl req -new -sha256 -key key.pem -out csr.csr // enter 'password' for: A challenge password []:password
openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out certificate.pem
openssl pkcs12 -export -out keystore.p12 -inkey key.pem -in certificate.pem // enter 'password' when challenged
```
19 changes: 19 additions & 0 deletions packages/cicero-cli/test/data/keystore/certificate.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIC/jCCAeYCCQC4dwUqFJiqBjANBgkqhkiG9w0BAQsFADBBMQswCQYDVQQGEwJV
UzELMAkGA1UECAwCTlkxDDAKBgNVBAcMA05ZQzEXMBUGA1UECgwOQWNjb3JkIFBy
b2plY3QwHhcNMjIwMzE3MTkwNTA5WhcNMjMwMzE3MTkwNTA5WjBBMQswCQYDVQQG
EwJVUzELMAkGA1UECAwCTlkxDDAKBgNVBAcMA05ZQzEXMBUGA1UECgwOQWNjb3Jk
IFByb2plY3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCuxdSc23cv
RwfwyzmRT+mNCZHM91D2ojh8cgV6rTsWpxCN/tkQJByg3PSuU+D5GJxSq+oTKTXC
y9B0a2FrKDLPjpKa3xnK970ZZjEdatA5n3xwBgiJ4wo/xjJF0vYTsJ9QZ9u2+vGB
7H+bXyXhtRNucb1ZK/CvKVjc/nxW1ONg0aSdZIAxxTkxMsYWTychrDtZC1VN7371
j9cOz2P+iuv5qTiAvQ+mJ/NGlQxeKjFbrfS4ihZX8/quJpFzW3ZsOANueAPzYx89
oZ1lRSwkx8/8PmPNa14xCY5TwD+o9hEMHDwq26DswDP9zNnE10Ke+L3Pw2swoveB
5Y/L4cl9IQvrAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAHPeynBGlcXy1lAeVvch
luZ0FOkxahXo1tyMec8386OMZfTw+q+fcPyHTVzzcDtLG04k9KC73HfAW9v2B46X
VgZ6wPW4z6Z8eyMEB/d2CukC2g9zfh8OU5f3m9BvHnloy8U8hCb7EIyqjJxUF2uS
4+kEro0z4b4/Qju40/xDdIJi8TcvNw7dcilaGbv/3QjyXFjpbkve1SgSsP7LFVkQ
cNXNShL4HKT/uc8UROfiglw6hrSYhPdxuTvcE3VGwFarXCOqMPI9/WFcYdbI0BCw
FWck4bOTXKotDgH+epVCblOSLNgpgy4n77Qf0f+7X0K77DtMVe+JjD7si7QO5aTg
rjQ=
-----END CERTIFICATE-----
17 changes: 17 additions & 0 deletions packages/cicero-cli/test/data/keystore/csr.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICnzCCAYcCAQAwQTELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5ZMQwwCgYDVQQH
DANOWUMxFzAVBgNVBAoMDkFjY29yZCBQcm9qZWN0MIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEArsXUnNt3L0cH8Ms5kU/pjQmRzPdQ9qI4fHIFeq07FqcQ
jf7ZECQcoNz0rlPg+RicUqvqEyk1wsvQdGthaygyz46Smt8Zyve9GWYxHWrQOZ98
cAYIieMKP8YyRdL2E7CfUGfbtvrxgex/m18l4bUTbnG9WSvwrylY3P58VtTjYNGk
nWSAMcU5MTLGFk8nIaw7WQtVTe9+9Y/XDs9j/orr+ak4gL0PpifzRpUMXioxW630
uIoWV/P6riaRc1t2bDgDbngD82MfPaGdZUUsJMfP/D5jzWteMQmOU8A/qPYRDBw8
Ktug7MAz/czZxNdCnvi9z8NrMKL3geWPy+HJfSEL6wIDAQABoBkwFwYJKoZIhvcN
AQkHMQoMCHBhc3N3b3JkMA0GCSqGSIb3DQEBCwUAA4IBAQCaY0rcbucxcWQ6aVaA
f/yycONtlo6BdLZpErhaZSPebTWi+4lTxb3BSuIAJLNMI+V3nRPgjaZS8qBQ9zb9
d7WZIR/sbJmdgTTOSJ0AzOoSGyulKk/jVSjNjqF9wgDPnlPmpDIfPgEWxV7GiIfL
z7et96uuXhkZa9PvHwpMs+2c4bovfHwHWF8Jt2kkBBrs1Ov42IjeTDrvOXB4D3KR
4J39fDPGUGIeM90tJul2ZMYgb4l+9Rg3ZPlnryRvnaSKtD1YppVnFoCygMP8i1c6
fgQ6mp6+risAj/IBErHMSDuaMfRR2DMfNeMhWSGMxp2fxEC5VH0BpbDHz0Tyt/aF
/g29
-----END CERTIFICATE REQUEST-----
27 changes: 27 additions & 0 deletions packages/cicero-cli/test/data/keystore/key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEArsXUnNt3L0cH8Ms5kU/pjQmRzPdQ9qI4fHIFeq07FqcQjf7Z
ECQcoNz0rlPg+RicUqvqEyk1wsvQdGthaygyz46Smt8Zyve9GWYxHWrQOZ98cAYI
ieMKP8YyRdL2E7CfUGfbtvrxgex/m18l4bUTbnG9WSvwrylY3P58VtTjYNGknWSA
McU5MTLGFk8nIaw7WQtVTe9+9Y/XDs9j/orr+ak4gL0PpifzRpUMXioxW630uIoW
V/P6riaRc1t2bDgDbngD82MfPaGdZUUsJMfP/D5jzWteMQmOU8A/qPYRDBw8Ktug
7MAz/czZxNdCnvi9z8NrMKL3geWPy+HJfSEL6wIDAQABAoIBAGF2eyl6Dc30m44B
lrndSY3YL1GQ/bp8Hmnvn/SYlCH+ynGVE/E3Yium7GAm8IeY3NwReLh0u8FErZuu
oiYCxcsPY9wv3A9e9joqzersvO/Va6yBANP8I6QK39AmZAn47e8F6/XvnSxp+YNo
nRRwSUTG8uO+aDsWILMky6wUjjRX6GijEa2ugw3eIXxUxd9LiYtjr5Y9B3IkH8dD
9mZU7a17eQCiewsnyIZ+O78WAPf0kJJUPaYe5DAsiAN1ooIqB5OpbbbQIW0fCO0T
p1UsepW8Tr/LhnUtpIUo+9HjoSirL6vW8QAUOYii7+BWfjnrApOUmKodsQ/uhyUx
Seo03sECgYEA3wKSr/z9/fbX6Ae/B0wRcPSxVEGBMTmoAbFzi6YtudSeVRtG7tMQ
mOv7rGT9LuUsZ3sPK8h5JmpaFrsmXtxwqDCKZtO6TSp9t+Kmk+Cs57vIkpipX5yX
9ozv/KEecMoqF3hOGYSg6mcr19kOzVlB+Uv7eBzyPfe1KhV/EOak7wsCgYEAyKCB
CHvGvi2Bz5peGHNzxMZWopAfHGfmyIeFkTtK1igIUGxkhxhuh0Xhh0Y8bTGIxRUL
Hym/P6rIk5J9Wj9h3EUvW2dxykinGdA6L9Wg7fAm/0ZviJolE2yx3mGccXF4XyMn
4M6rTLhv7duSVgO6a61jPAonizwIoZckR9R94qECgYADabuq+9k7SMrXHz86MlzV
+Li6DGKYyUQb+oZFLd7nSCzAKrG0OAC6BmqMoeMKE7HRR53c0q2f++KzFFwq+X6z
5EJJ/pWMVskjxlE8VCTxSvtv2uxErVXaDSAjIqgfm8h3IX04gMIhtECEhirm06Xh
1drcZL0EW8UnBrsyHAWMLwKBgQCW6KQmTXRg+Ln7/pFosu8RxF7GSMIeC8l8bPP7
Gi5giBw44k97jtUUy2uo5RvuxqOqGvoSpsREj6Hv3vCLQcHKff/xMQ5Wqe+HaylZ
ccdrMoki20hp6AibY9cm/yU976wrY7ZLUylmvBT1RYP9TzCabgGG19yGztFvOtD/
dsZ6AQKBgFE3uneInu/0s5sun4INcQvu1E59TghSFxgOjPfsH/qUMwQC+FgPghbo
cKUNZwdUOYep3atVPZRSZU38JQTTsjjMuQuISDZNkS7N1bNkaKnT3PES189k+k2B
X6rHYwG997gc9bw3cYLfP61AItP+N6OuZhTYUQamKzC/7aoUPd7A
-----END RSA PRIVATE KEY-----
Binary file not shown.
Binary file modified packages/cicero-cli/test/data/latedeliveryandpenalty.cta
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, the Seller shall pay to the Buyer for every 9 DAY of delay penalty amounting to 7% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a DAY is to be considered a full DAY. The total amount of penalty shall not however, exceed 2% of the total value of the Equipment involved in late delivery. If the delay is more than 2 WEEK, the Buyer is entitled to terminate this Contract.",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, the Seller shall pay to the Buyer for every 9 DAY of delay penalty amounting to 7% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a DAY is to be considered a full DAY. The total amount of penalty shall not however, exceed 2% of the total value of the Equipment involved in late delivery. If the delay is more than 2 WEEK, the Buyer is entitled to terminate this Contract.",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0",
"cicero": "^0.23.0",
"runtime": "es6"
},
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion packages/cicero-cli/test/data/signedArchive/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"helloworldstate","displayName":"Hello World State","version":"0.15.0","description":"This is the stateful Hello World of Accord Project Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","author":"Accord Project","license":"Apache-2.0","accordproject":{"template":"clause","cicero":"^0.22.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["hello","world","greet"]}
{"name":"helloworldstate","displayName":"Hello World State","version":"0.15.0","description":"This is the stateful Hello World of Accord Project Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","author":"Accord Project","license":"Apache-2.0","accordproject":{"template":"clause","cicero":"^0.23.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["hello","world","greet"]}
2 changes: 1 addition & 1 deletion packages/cicero-cli/test/data/signedArchive/signature.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"templateSignature":{"templateHash":"7165b080ef626bfb8f8756b5c660db79416f225748ae3cac6b12a9fe594d87f6","timestamp":1626898420878,"signatoryCert":"-----BEGIN CERTIFICATE-----\r\nMIIECTCCAvGgAwIBAgIBATANBgkqhkiG9w0BAQUFADBpMRQwEgYDVQQDEwtleGFt\r\ncGxlLm9yZzELMAkGA1UEBhMCVVMxETAPBgNVBAgTCFZpcmdpbmlhMRMwEQYDVQQH\r\nEwpCbGFja3NidXJnMQ0wCwYDVQQKEwRUZXN0MQ0wCwYDVQQLEwRUZXN0MB4XDTIx\r\nMDYxMDE2MTkxM1oXDTIyMDYxMDE2MTkxM1owaTEUMBIGA1UEAxMLZXhhbXBsZS5v\r\ncmcxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhWaXJnaW5pYTETMBEGA1UEBxMKQmxh\r\nY2tzYnVyZzENMAsGA1UEChMEVGVzdDENMAsGA1UECxMEVGVzdDCCASIwDQYJKoZI\r\nhvcNAQEBBQADggEPADCCAQoCggEBAKANP1Bm1qfd4GEjrWBI9VTf4Feu2JdNropq\r\n9M0XSO2+H/ds3TxYDnQoZgOvQMhG6M1hKQY6qeEvf5pnQNZcelKC2YDTv4s22mZk\r\nWwbnx2iWILEn/EoTqbXwXuYnvyH+sVJaq83j2J0yCzjTyCd9c5rmga18aSpxbaWH\r\nXvWJqgoBvzdWcWSEhFPFnCsUorEgUlXgbkHUhqWIlVGiw6ngEMNHQkly5qQ8t83f\r\n7uVE6nQVJy9Ir9CsJ5O/dJeEVB4uJYwp9WYlg/M2sSyCpk4b9cuGGsfXPngzI+v+\r\nRNMGMDmSk0rvMYlrLRIxr93AtK56cDTOh1jX2lprBB2lzKC6rWMCAwEAAaOBuzCB\r\nuDAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIC9DA7BgNVHSUENDAyBggrBgEFBQcD\r\nAQYIKwYBBQUHAwIGCCsGAQUFBwMDBggrBgEFBQcDBAYIKwYBBQUHAwgwEQYJYIZI\r\nAYb4QgEBBAQDAgD3MCwGA1UdEQQlMCOGG2h0dHA6Ly9leGFtcGxlLm9yZy93ZWJp\r\nZCNtZYcEfwAAATAdBgNVHQ4EFgQU4rxXvo9KWAb88LyvSbE8jgA9jDkwDQYJKoZI\r\nhvcNAQEFBQADggEBAGjc7yQxsfsFS8m2+BW4J1KOT2MV+NlxUTKhbee3eUDn0EzQ\r\n3f/wPn+zjNyTqSbAkxbnQx6EqK5UylGzr7GiUu6zai3fvDg9/ZvcAi+2+PQH0KcI\r\nUqH7stHP0ND8ej8a6pVctpjdcsE038Twboy36F/iQ6QyCGbh0BMabl/7Z0ekbPVh\r\niT2tEmz/xvVWLzZS/hGDlRSkqQBoSoE4zuFMBahhDgvNMWR63vrlRO4FJ6ytoyZ0\r\nVwODlUxLCxZg08mAzRA6k8nRSkezSd4AKgqnDe2OEs5agkSzYd9/pQTerF4hefPh\r\na/2uzH7SDYTFDCnC6hzfimWhmctTFAXO5GOXm0c=\r\n-----END CERTIFICATE-----\r\n","signature":"93e9b6d0c677d6e923cdf41a7c64271449b3a9c74fa59e85bba6dfaa68253ec15d7e33b02fb9a18b3634b7a053f0c4057cf9cd8cbbd864188035b47175ba7d653447ac76d9bd6a1db31cb22d46abb90473e482249fe49f50a0fe0189399908e642958cf06bdd53a4978a67ba9ab948870218bdfedd370f9a8b6d51b9f259875bef2801236e1d76ddea86c1684d19a3191c8f67ab995c1c04b0c93608a247729f2c70fe356bfad3583e09b2cef7813ded013d970fa5c52d452927986da8a245bdfd173586540603dbe7313a8036738d962fb63e7afc4577a7a0ae382954f96b187e52204960757250d580ebbac15d095582605f9f798bffede0147b70fd7e4a02"}}
{"templateSignature":{"templateHash":"13f37e3399100d3b18073f059495f04aa90a003c4359afb18b5d970f8520349b","timestamp":1647543095844,"signatoryCert":"-----BEGIN CERTIFICATE-----\r\nMIIC/jCCAeYCCQCDtxRIC5rn/zANBgkqhkiG9w0BAQsFADBBMQswCQYDVQQGEwJV\r\nUzELMAkGA1UECAwCTlkxDDAKBgNVBAcMA05ZQzEXMBUGA1UECgwOQWNjb3JkIFBy\r\nb2plY3QwHhcNMjIwMzE3MTg0NzU0WhcNMjMwMzE3MTg0NzU0WjBBMQswCQYDVQQG\r\nEwJVUzELMAkGA1UECAwCTlkxDDAKBgNVBAcMA05ZQzEXMBUGA1UECgwOQWNjb3Jk\r\nIFByb2plY3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPeGT1fXH+\r\nXAOzdnirm3pfQLUbTs1xlucDolY8aD3e1wwvwNFS8Xv3e8bzif6AmXXB1xaHJMv6\r\n3FNAWZKJ9J95c2nH6uVv1Sxhl8Pgl26sY1qDE91Ce/Nz+BQvzBBgbaVbpAtjiLiD\r\nKjyi59MqMllIYuptXGyOEaWQvhIknDZxEwSIo4dmUu83qEOm1zlyjD2wzkm7yZrS\r\nTr8phjzpiBau2OKDxs4oLhAJr8xBXbYCEpPc4bAHNHO0cqq+B941vwe5DstqAiAv\r\nvtrYOwVxjlovadpSeK4OUPR5KjVe7tEEo4Dg+mRejEzNgd9hMWCEscG4Vl87FiUy\r\nXWq5d3qC2/x9AgMBAAEwDQYJKoZIhvcNAQELBQADggEBACY0ZFvmbcwm1bVhQ+Rg\r\nFpMLtZz1+YvE1x/upEjFTiNJWWk0BN8SIrQle56hW4OH6ISkE3EX8jws24zRUwQH\r\nTkvQZZ23ZnA5Gn5tI1q+9sZhXXVbhPPGD2XnZtIPmB4VSZQtb9Dfb+fOvdLzy4fi\r\n9NdobS5p49yKuYR8DOoFhlVMH93tpFMmaWSst+SoYbduYauQgIpSsT2eHgAHLfbc\r\nN8IFW7AsffqGimStY8YE0Os5G9mORTAbq/608IfuysWUY3nJAVsGR7Y75Ws4DMyL\r\nxy6CTlhWTf9w/H7+irtman4xH2QbabFpinJZe0QMNwdgGtdna/Dis0Sswc6lK3nf\r\nexs=\r\n-----END CERTIFICATE-----\r\n","signature":"1f1330001e7f7a05f8e1f889fc709cdb8f398ed16403d46025b60f35bd92c8815736dc751033807f929966167ec12b976e0a4a3a0ce98f06cba64928e1113401f4d332a9b26b662698483e66863e55970f7f2ce7205ca11bdc2b2fc7819cb9db970e99ea3fdf37275af9fff61f44bd2639ff9701ed06564a1dec5bc3e2353e351a5e05546d3328ccecc15462ddef9b86e74c83944e8ca65830357ca2c743c1efdbb4a51c901821e508f8fb8190aacfd18ea40377514b239aebfe615eb46819cdeeb290e82c15dab9bfc6a1387670807c17b5d18eea902722a676f994ed58532bad02278bd2de80e52f15d71ebb05c7a8bff41a45999357164bfcfed7fa51d862"}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"helloworldstate","displayName":"Hello World State","version":"0.15.0","description":"This is the stateful Hello World of Accord Project Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","author":"Accord Project","license":"Apache-2.0","accordproject":{"template":"clause","cicero":"^0.22.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["hello","world","greet"]}
{"name":"helloworldstate","displayName":"Hello World State","version":"0.15.0","description":"This is the stateful Hello World of Accord Project Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","author":"Accord Project","license":"Apache-2.0","accordproject":{"template":"clause","cicero":"^0.23.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["hello","world","greet"]}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/allblocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Test all blocks",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/alltypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Test all types",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/bad-binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "\"Dan Selman\" agrees to spend 100.0 conga coins on \"swag\"",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "\"Dan Selman\" agrees to spend 100.0 conga coins on \"swag\"",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "0.0.1",
"accordproject": {
"template": "contract",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "\"Dan Selman\" agrees to spend 100.0 conga coins on \"swag\"",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/bad-locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "\"Dan Selman\" agrees to spend 100.0 conga coins on \"swag\"",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/bad-logic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, the Seller shall pay to the Buyer for every 9 DAY of delay penalty amounting to 7% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a DAY is to be considered a full DAY. The total amount of penalty shall not however, exceed 2% of the total value of the Equipment involved in late delivery. If the delay is more than 2 WEEK, the Buyer is entitled to terminate this Contract.",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/bad-property/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"description": "\"Dan Selman\" agrees to spend 100.0 conga coins on \"swag\"",
"accordproject": {
"template": "clause",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
}
}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/block-ergo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"accordproject": {
"template": "contract",
"cicero": "^0.22.0"
"cicero": "^0.23.0"
},
"devDependencies": {
"cucumber": "^5.1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"elseblock","version":"0.1.0","description":"A sample volume discount contract (unordered list).","license":"Apache-2.0","accordproject":{"template":"contract","cicero":"^0.22.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["volume","discount","contract","agreement","percentage","percent","rate","flat","monthly","credit","chargeback","rejection","deduction","withholding"]}
{"name":"elseblock","version":"0.1.0","description":"A sample volume discount contract (unordered list).","license":"Apache-2.0","accordproject":{"template":"contract","cicero":"^0.23.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["volume","discount","contract","agreement","percentage","percent","rate","flat","monthly","credit","chargeback","rejection","deduction","withholding"]}
2 changes: 1 addition & 1 deletion packages/cicero-core/test/data/block-ifelse/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"elseblock","version":"0.1.0","description":"A sample volume discount contract (unordered list).","license":"Apache-2.0","accordproject":{"template":"contract","cicero":"^0.22.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["volume","discount","contract","agreement","percentage","percent","rate","flat","monthly","credit","chargeback","rejection","deduction","withholding"]}
{"name":"elseblock","version":"0.1.0","description":"A sample volume discount contract (unordered list).","license":"Apache-2.0","accordproject":{"template":"contract","cicero":"^0.23.0","runtime":"ergo"},"devDependencies":{"cucumber":"^5.1.0"},"scripts":{"test":"cucumber-js test -r .cucumber.js"},"keywords":["volume","discount","contract","agreement","percentage","percent","rate","flat","monthly","credit","chargeback","rejection","deduction","withholding"]}
Loading

0 comments on commit 44b49fe

Please sign in to comment.