This file contains hidden or 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
| sasamsas |
This file contains hidden or 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
| String file contents |
This file contains hidden or 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
| version: '2' | |
| services: | |
| ca.org1.example.com: | |
| image: hyperledger/fabric-ca:x86_64-1.0.0-rc1 | |
| environment: | |
| - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server | |
| - FABRIC_CA_SERVER_CA_CERTFILE=/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem | |
| - FABRIC_CA_SERVER_CA_KEYFILE=/etc/hyperledger/fabric-ca-server-config/36563da2256ce86097c305f779b48664938a30bd8e7614d79fa2025808dd5469_sk |
This file contains hidden or 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
| ############################################################################# | |
| # Affiliation section | |
| ############################################################################# | |
| affiliations: | |
| org1: | |
| - department1 | |
| - department2 | |
| org2: | |
| - department1 | |
| org3: |
This file contains hidden or 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
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| ############################################################################# | |
| # The CA section contains information specific to this Certificate Authority. | |
| # Minimally, the name must be unique for all CAs serviced by the same server. | |
| # Additionally, you may specify any of the settings that are defined in the | |
| # server's configuration file to override them with a value specific for this CA. | |
| # For example, you should provide a different username and password for the | |
| # bootstrap identity as found in the "identities" subsection of the "registry" section. |
This file contains hidden or 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
| # | |
| # Copyright IBM Corp. All Rights Reserved. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| version: '2' | |
| services: | |
| ca.org1.example.com: |
This file contains hidden or 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
| TxValidationCode { | |
| VALID = 0; | |
| NIL_ENVELOPE = 1; | |
| BAD_PAYLOAD = 2; | |
| BAD_COMMON_HEADER = 3; | |
| BAD_CREATOR_SIGNATURE = 4; | |
| INVALID_ENDORSER_TRANSACTION = 5; | |
| INVALID_CONFIG_TRANSACTION = 6; | |
| UNSUPPORTED_TX_PAYLOAD = 7; | |
| BAD_PROPOSAL_TXID = 8; |
This file contains hidden or 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
| ############################################################################# | |
| # This is a configuration file for the fabric-ca-server command. | |
| # | |
| # COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES | |
| # ------------------------------------------------ | |
| # Each configuration element can be overridden via command line | |
| # arguments or environment variables. The precedence for determining | |
| # the value of each element is as follows: | |
| # 1) command line argument | |
| # Examples: |
This file contains hidden or 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
| /////////////////////////////////////////////////////////////////////////////// | |
| ///////////////////////// REST ENDPOINTS START HERE /////////////////////////// | |
| /////////////////////////////////////////////////////////////////////////////// | |
| // Register and enroll user | |
| app.post('/users', function(req, res) { | |
| var username = req.body.username; | |
| var orgName = req.body.orgName; | |
| logger.debug('End point : /users'); | |
| logger.debug('User name : ' + username); | |
| logger.debug('Org name : ' + orgName); |
This file contains hidden or 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
| import { Component , Input } from '@angular/core'; | |
| import { AppService } from '~/./../app/app.service'; | |
| import { FormsModule } from '@angular/forms'; | |
| @Component({ | |
| selector: 'formpage', | |
| templateUrl:'./formpage.html', | |
| }) | |
| export class FormpageComponent { | |
| constructor(private exampleService: AppService) {} | |
| testResponse:any; |
OlderNewer