Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -0700 | [diff] [blame] | 1 | help: |
| 2 | @echo "tests: Run unit tests (if you're running local, you'll need to have virtual-env activated)" |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame^] | 3 | @echo "test-call: Send a sample tosca recipe" |
| 4 | @echo "sample-tosca: Generate tosca definition from core.xproto" |
Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -0700 | [diff] [blame] | 5 | |
| 6 | tests: |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame^] | 7 | nosetests -s -v --with-id --with-coverage --cover-html --cover-erase --cover-xml --cover-package="grpc_client, tosca" |
Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -0700 | [diff] [blame] | 8 | |
| 9 | build: |
| 10 | @echo 'TBD' |
| 11 | |
| 12 | clean: |
| 13 | @echo 'TBD' |
| 14 | |
| 15 | test-call: |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame^] | 16 | curl -H "xos-username: xosadmin@opencord.org" -H "xos-password: rk1UYDHZXbu6KVCMkhmV" -X POST --data-binary @test/tosca/test.yaml 127.0.0.1:9200 |
| 17 | |
| 18 | sample-tosca: |
| 19 | xosgenx --target=src/tosca/xtarget/tosca.xtarget --output=src/tosca/custom_types --write-to-file=model --dest-extension=yaml ../xos/xos/core/models/core.xproto |