|
1 |
| -Feature: Publish example service |
| 1 | +Feature: Publish example service |
2 | 2 |
|
3 |
| -Scenario: Run all services and publish example service |
4 |
| - Given Ethereum network is running on port 8545 |
5 |
| - Given Contracts are deployed using Truffle |
6 |
| - Given IPFS is running with API port 5002 and Gateway port 8081 |
7 |
| - Given Identity is created with user "snet-user" and private key "0xc71478a6d0fe44e763649de0a0deb5a080b788eefbbcf9c6f7aef0dd5dbd67e0" |
8 |
| - Given snet is configured with Ethereum RPC endpoint 8545 |
9 |
| - Given snet is configured with IPFS endpoint 5002 |
10 |
| - When Organization is added: |
11 |
| - | organization | address | member | |
12 |
| - | ExampleOrganization | 0x4e74fefa82e83e0964f0d9f53c68e03f7298a8b2 | 0x3b2b3c2e2e7c93db335e69d827f3cc4bc2a2a2cb | |
13 |
| - When example-service is registered |
14 |
| - | name | price | endpoint | tags | description | |
15 |
| - | ExampleOrganization | 1 | http://localhost:8080 | example service | Example service | |
16 |
| - When example-service is published to network |
17 |
| - | agent factory address | registry address | |
18 |
| - | 0x5c7a4290f6f8ff64c69eeffdfafc8644a4ec3a4e | 0x4e74fefa82e83e0964f0d9f53c68e03f7298a8b2 | |
19 |
| - When example-service is run with snet-daemon |
20 |
| - | daemon port | ethereum endpoint port| passthrough endpoint port | agent contract address | private key | |
21 |
| - | 8080 | 8545 | 5001 | 0xD39321C654351b412F4D13B45E7020FE9f99f608 | ba398df3130586b0d5e6ef3f757bf7fe8a1299d4b7268fdaae415952ed30ba87 | |
22 |
| - Then SingularityNET job is created |
23 |
| - | max price | agent contract address | |
24 |
| - | 100000000 | 0xD39321C654351b412F4D13B45E7020FE9f99f608 | |
| 3 | + Scenario: Run all services and publish example service |
| 4 | + Given Ethereum network is running on port 8545 |
| 5 | + Given Contracts are deployed using Truffle |
| 6 | + Given IPFS is running with API port 5002 and Gateway port 8081 |
| 7 | + Given Identity is created with user "snet-user" and private key "0xc71478a6d0fe44e763649de0a0deb5a080b788eefbbcf9c6f7aef0dd5dbd67e0" |
| 8 | + Given snet is configured with Ethereum RPC endpoint 8545 |
| 9 | + Given snet is configured with IPFS endpoint 5002 |
| 10 | + When Organization is added: |
| 11 | + | organization | address | member | |
| 12 | + | ExampleOrganization | 0x4e74fefa82e83e0964f0d9f53c68e03f7298a8b2 | 0x3b2b3c2e2e7c93db335e69d827f3cc4bc2a2a2cb | |
| 13 | + When example-service is registered |
| 14 | + | name | price | endpoint | tags | description | |
| 15 | + | ExampleOrganization | 1 | http://localhost:8080 | example service | Example service | |
| 16 | + When example-service is published to network |
| 17 | + | agent factory address | registry address | |
| 18 | + | 0x5c7a4290f6f8ff64c69eeffdfafc8644a4ec3a4e | 0x4e74fefa82e83e0964f0d9f53c68e03f7298a8b2 | |
| 19 | + When example-service is run with snet-daemon |
| 20 | + | daemon port | ethereum endpoint port | passthrough endpoint port | agent contract address | private key | |
| 21 | + | 8080 | 8545 | 5001 | 0xD39321C654351b412F4D13B45E7020FE9f99f608 | ba398df3130586b0d5e6ef3f757bf7fe8a1299d4b7268fdaae415952ed30ba87 | |
| 22 | + Then SingularityNET job is created |
| 23 | + | max price | agent contract address | |
| 24 | + | 100000000 | 0xD39321C654351b412F4D13B45E7020FE9f99f608 | |
0 commit comments