sitalab / FlightChain

FlightChain is a reference project for the SITA Aviation Sandbox
https://www.developer.aero/Blockchain/Aviation-Blockchain-Sandbox
Apache License 2.0
5 stars 1 forks source link

Add chaincode method to return chaincode version. #3

Open kosullivansita opened 5 years ago

kosullivansita commented 5 years ago

Add a transaction that simply returns the chaincode version number. This will need to be added in chaincode (a new method in chaincode/src/flightCode.ts).

And this new function will need to be exposed in the flight-chain-ap. Have a look at the controller flight-chain-api/src/flight-chain/flight-chain.controller.ts and the service flight-chain-api/src/flight-chain/flight-chain.service.ts.