Block Chain Development discussion 5
Chapter 8 describes the process of maintaining blockchain apps after deployment. Create a new thread, choose one aspect of app maintenance from the material in chapter 8, and describe the life cycle problem and how addressing your chosen problem in a blockchain environment differs from a traditional application development life cycle. Then think of three questions you’d like to ask other students and add these to the end of your thread. The questions should be taken from material you read in Chapter 7 or 8. You’re not trying to test each other, but you are trying to start a discussion.
You must do this following:
1) Create a new thread. As indicated above, choose one aspect of app maintenance from the material in chapter 8, and describe the life cycle problem and how addressing your chosen problem in a blockchain environment differs from a traditional application development life cycle. Then think of three questions you’d like to ask other students and add these to the end of your thread. The questions should be taken from material you read in Chapter 7 or 8. You’re not trying to test each other, but you are trying to start a discussion.
Professor Michael Solomon
BLCN 532
Blockchain development
Chapter 7
Chapter 7
• Business Network Example
• Analyzing the Letter of
Credit process
• Describing the business
network
• Presenting a business
network model
• Examining the live network
• Creating APIs
Letter of
Credit
Sample
Installing the
sample
Running the
sample
Letter of
Credit
Sample
1. LC request
preparation
2. Request LC
3. Importing bank
approval
4. Exporting bank
approval
5. Exporter
receives LC
6. Goods shipped
7. Goods received
8. Payment issued
9. LC closed
10. Seller receives
payment
The
Business
Network
Participants
Assets
Transactions
Events
Business
Network
Model
Namespaces Enumerations
Asset
definitions
Participant
definitions
Concept
definitions
Transaction
definitions
Event
definitions
Examining
the Live
Network
Letter of Credit instance
Participant instances
Transaction instances
Creating a new transaction
Examining how transactions are
implemented
Creating
Business
Network
APIs
SWAGGER API definitions
Testing the network from the
command line
Creating a new letter using
SWAGGER
Network cards and wallets
Access control lists
Summary
• Business Network Example
• Analyzing the Letter of
Credit process
• Describing the business
network
• Presenting a business
network model
• Examining the live network
• Creating APIs
Professor Michael Solomon
BLCN 53
2
Blockchain development
Chapter 8
Chapter 8
• Agility in a Blockchain Network
• Defining the promotion
process
• Configuring the continuous
integration pipeline
• Protecting the source
control
• Updating the network
• Designing team structures
for a consortium
Defining
the
Promotion
Process
Smart contract considerations
Integration layer considerations
Promotion process overview
• Git issues to record new features or bug
fixes
• Git branches to isolate proposed
modifications
• Git GPG to sign every commit and tag
• Pull requests to enforce governance
Promotion Process
Promotion
Process
Constraints
Every code change is tied to a change request
Developers sign their modification using GPG
Master branch integrity is preserved by the
pull request process
The pipeline builds and tests the code for pull
requests
The pipeline publishes the smart contract to
the artifact repository when changes are
tagged
Each organization receives a notification when
a new version is available
Configuring a Continuous
Integration Pipeline
Customizing
Customizing the pipeline
process
• Local build
• Configuring Travis CI
• Customizing the pipeline
Publishing
Publishing the smart
contract package
Makefile Structure for Build
Configuring
Your Git
Repository
Setting the smart
contract code
owners
Protecting the
master branch
Commit
signing and
validation
Local
works
tation
GPG
Testing the End-to-end Process
Creating
Creating a new
transaction
• Pushing a commit to
the master branch
• Pull requests with
unsigned commit
Adding
Adding test cases
• Pull requests with a
signed commit
• Adding a unit test
Releasing
Releasing a new
version
Updating the Network
Notifying the
consortium
1
Upgrading the
business network
• Downloading a new
version
• Updating the business
network
2
Summary
• Agility in a Blockchain Network
• Defining the promotion
process
• Configuring the continuous
integration pipeline
• Protecting the source
control
• Updating the network
• Designing team structures
for a consortium