Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
marge of latest changes to Corda accelerator
- Loading branch information
Showing
216 changed files
with
9,590 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,3 +286,9 @@ __pycache__/ | |
*.btm.cs | ||
*.odx.cs | ||
*.xsd.cs | ||
|
||
# OSX & Intellij files | ||
.idea/ | ||
.DS_Store | ||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea/ | ||
.DS_Store | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea/ | ||
.DS_Store | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
#!/usr/bin/env bash | ||
|
||
# A master script for building all components in the correct order. | ||
# Can be used as the base for a CI build process or a quick way | ||
# of building and testing locally | ||
|
||
|
||
# Setup | ||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
testflags="test" | ||
#testflags="-x test" | ||
cleanflags="clean" | ||
echo "Running from $script_dir" | ||
echo $testflags | ||
|
||
|
||
### Building shared jars | ||
|
||
echo "Building 'commons'" | ||
cd $script_dir/service-bus-integration/commons | ||
./gradlew $cleanflags $testflags jar copyJarToLib && | ||
if (($?)); then exit -1 ; fi | ||
|
||
echo "Building 'corda-reflections'" | ||
cd $script_dir/service-bus-integration/corda-reflections | ||
./gradlew $cleanflags $testflags jar copyJarToLib | ||
if (($?)); then exit -1 ; fi | ||
|
||
|
||
### Building Corda Apps | ||
|
||
echo "Building 'chat' CorDapp" | ||
ls $script_dir/cordapps/chat | ||
cd $script_dir/cordapps/chat | ||
./gradlew $cleanflags $testflags assemble | ||
if (($?)); then exit -1 ; fi | ||
|
||
cp cordapp/build/libs/chat-0.1.jar ../jars/chat.jar | ||
|
||
|
||
echo "Building 'simple-marketplace' CorDapp" | ||
cd $script_dir/cordapps/simple-marketplace | ||
./gradlew $cleanflags $testflags assemble | ||
if (($?)); then exit -1 ; fi | ||
cp cordapp/build/libs/cordapp-simpleMarketplace-0.1.jar ../jars/simple-marketplace.jar | ||
|
||
|
||
echo "Building 'refrigerated-transportation' CorDapp" | ||
cd $script_dir/cordapps/refrigerated-transportation | ||
./gradlew $cleanflags $testflags assemble | ||
if (($?)); then exit -1 ; fi | ||
cp cordapp/build/libs/cordapp-0.1.jar ../jars/refrigerated-transportation.jar | ||
|
||
|
||
echo "Building 'basic-provenance' CorDapp" | ||
cd $script_dir/cordapps/basic-provenance | ||
./gradlew $cleanflags $testflags assemble | ||
if (($?)); then exit -1 ; fi | ||
cp cordapp/build/libs/cordapp-example-0.1.jar ../jars/basic-provenance.jar | ||
|
||
|
||
### Building Services | ||
|
||
echo "Building 'corda-local-network' " | ||
cd $script_dir/service-bus-integration/corda-local-network | ||
./gradlew $cleanflags $testflags jar | ||
if (($?)); then exit -1 ; fi | ||
docker build -t corda-local-network . | ||
if (($?)); then exit -1 ; fi | ||
|
||
|
||
echo "Building 'corda-transaction-builder' " | ||
cd $script_dir/service-bus-integration/corda-transaction-builder | ||
./gradlew $cleanflags $testflags jar | ||
if (($?)); then exit -1 ; fi | ||
docker build -t corda-transaction-builder . | ||
if (($?)); then exit -1 ; fi | ||
|
||
|
||
echo "Building 'service-bus-listener' " | ||
cd $script_dir/service-bus-integration/service-bus-listener | ||
./gradlew $cleanflags $testflags jar | ||
if (($?)); then exit -1 ; fi | ||
docker build -t service-bus-listener . | ||
if (($?)); then exit -1 ; fi | ||
|
||
echo "Success - everything was built" | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
80 changes: 80 additions & 0 deletions
80
blockchain-development-kit/accelerators/corda/cordapps/basic-provenance/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Eclipse, ctags, Mac metadata, log files | ||
.classpath | ||
.project | ||
.settings | ||
tags | ||
.DS_Store | ||
*.log | ||
*.log.gz | ||
*.orig | ||
|
||
.gradle | ||
|
||
# General build files | ||
**/build/* | ||
!docs/build/* | ||
|
||
lib/dokka.jar | ||
|
||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio | ||
|
||
*.iml | ||
|
||
## Directory-based project format: | ||
#.idea | ||
|
||
# if you remove the above rule, at least ignore the following: | ||
|
||
# Specific files to avoid churn | ||
.idea/gradle.xml | ||
.idea/kotlinc.xml | ||
.idea/misc.xml | ||
.idea/modules.xml | ||
.idea/vcs.xml | ||
.idea/workspace.xml | ||
.idea/inspectionProfiles | ||
.idea/copyright | ||
.idea/jsLibraryMappings.xml | ||
|
||
# User-specific stuff: | ||
.idea/tasks.xml | ||
.idea/dictionaries | ||
|
||
# Sensitive or high-churn files: | ||
.idea/dataSources.ids | ||
.idea/dataSources.xml | ||
.idea/sqlDataSources.xml | ||
.idea/dynamic.xml | ||
.idea/uiDesigner.xml | ||
|
||
# Gradle: | ||
.idea/libraries | ||
|
||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.ipr | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
/java-source/out/ | ||
/kotlin-source/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
|
||
# docs related | ||
docs/virtualenv/ |
13 changes: 13 additions & 0 deletions
13
blockchain-development-kit/accelerators/corda/cordapps/basic-provenance/LICENCE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 2016, R3 Limited. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
7 changes: 7 additions & 0 deletions
7
blockchain-development-kit/accelerators/corda/cordapps/basic-provenance/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<p align="center"> | ||
<img src="https://www.corda.net/wp-content/uploads/2016/11/fg005_corda_b.png" alt="Corda" width="500"> | ||
</p> | ||
|
||
# Example CorDapp | ||
|
||
Welcome to the example CorDapp. This CorDapp is documented [here](http://docs.corda.net/tutorial-cordapp.html). |
4 changes: 4 additions & 0 deletions
4
blockchain-development-kit/accelerators/corda/cordapps/basic-provenance/TRADEMARK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Corda and the Corda logo are trademarks of R3CEV LLC and its affiliates. | ||
All rights reserved. | ||
|
||
For R3CEV LLC's trademark and logo usage information, please consult our Trademark Usage Policy available at https://www.r3.com/trademark-policy/ |
Oops, something went wrong.