Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Inital vehicle manufacture network (v0.16.x) #146

Merged
merged 1 commit into from
Feb 9, 2018

Conversation

awjh-ibm
Copy link
Contributor

@awjh-ibm awjh-ibm commented Feb 5, 2018

The new vehicle manufacture network to be used by the updated vehicle demo when installing against composer@latest.

Relates to:

hyperledger/composer#3130
hyperledger/composer-sample-applications#112

This Business Network definition has been used to create demo applications that simulate the scenario outlined above. You can find more detail on these at https://github.com/hyperledger/composer-sample-applications/tree/master/packages/vehicle-lifecycle

## Permissions in this business network for modelled participants
Within this network permissions are outlines for the participants outlining what they can and can't do. The rules in the permissions.acl file explicitly ALLOW participants to perform actions. Actions no written for a participant in that file are blocked.
Copy link
Contributor

@cazfletch cazfletch Feb 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A typo in the sentence "Actions no written..."

@@ -0,0 +1,266 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if "base.js" is a good name for the script file now there is only one

@@ -0,0 +1,106 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if "org.base.cto" is a good name for the model file now there is only one

* limitations under the License.
*/

namespace org.base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think the namespace could be better named

participant Regulator extends Company {
}

enum VehicleStatus {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need vehicleStatus

Signed-off-by: awjh-ibm <andrew.hurt1@ibm.com>
@cazfletch cazfletch merged commit 279c0b7 into hyperledger-archives:v0.16.x Feb 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants