Create your own Git Collections
To create your own collections:
STEP 1: Click on +Create a Collection+
![]()
STEP 2: Create a new repository or connect an existing one
To create a brand new repository, fill out the CREATE REPOSITORY box and click Confirm.
To connect an empty existing repository, input the git url in the EXISTING REPOSITORY box and click Connect.
![]()
STEP 3: Click Modify to add your collection name and description
![]()
Click Save and Dismiss to complete.
Once you have created your collections, you can now:
Learn more:
How do collections work?
It is quite a simple mechanism. A collection.json file is created in the git repository that hosts the collection. This file has a simple human readable JSON format:
{
"collection": {
"https://bitbucket.org/interfaceware/hl7-listener.git": {
"description": "#hl7 #llp #server #test This a self contained component for testing - it receives a stream of HL7 messages and logs them. It should not be connected.",
"name": "Test Listener",
"type": "component"
},
"https://bitbucket.org/interfaceware/hl7-viewer.git": {
"description": "Example HL7 mapping channel #hl7 #custom #filter Copy this and customize for your needs. This feeds from a source queue into a destination queue.",
"name": "HL7 Map",
"type": "component"
},
"https://bitbucket.org/interfaceware/hl7todb.git": {
"description": "#hl7 #db #sink This is an example of mapping HL7 into a database.",
"name": "HL7 -> DB",
"type": "component"
},
"https://bitbucket.org/interfaceware/hl7_client.git": {
"description": "#hl7 #llp #client #sink This component will send HL7 messages to a port. It using the LLP protocol. This is a destination.",
"name": "HL7 Client",
"type": "component"
},
"https://bitbucket.org/interfaceware/hl7_server.git": {
"description": "#hl7 #llp #server #source This component will receive HL7 messages on a port using the LLP protocol. It is a source.",
"name": "HL7 Server",
"type": "component"
},
"https://bitbucket.org/interfaceware/hl7_simulator.git": {
"description": "#hl7 #llp #client #test Self contained component to simulate a stream of HL7 messages to a HL7 Server port. Use this for testing. It should not be connected.",
"name": "Simulator",
"type": "component"
},
"https://bitbucket.org/interfaceware/x12todb.git": {
"description": "#x12 Example parsing an X12 transaction.",
"name": "X12 Parse",
"type": "component"
}
},
"description": "Components for HL7/X12 interfaces.",
"name": "HL7/X12 Interfaces"
}
How can someone use my collection?
They will need to go to their Settings > Collections, click EDIT and add the URL of the collection you created.
![]()
Note: They will also need to have read access to your repository in order to access it.