-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from assimbly/develop
Release 3.8.1
- Loading branch information
Showing
24 changed files
with
1,131 additions
and
279 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
mode: auto | ||
|
||
silent: false | ||
|
||
commentMessage: 'Branch ${branchName} created for issue: ${issue.number}-${issue.title}' | ||
|
||
defaultBranch: 'develop' | ||
|
||
branchName: 'issue-${issue.number}/${issue.title,}' | ||
|
||
gitSafeReplacementChar: '-' | ||
|
||
branches: | ||
- label: [ feature ] | ||
prefix: feature/ | ||
|
||
- label: [ bug ] | ||
prefix: bugfix/ | ||
|
||
- label: [ documentation ] | ||
prefix: documentation/ | ||
|
||
- label: '*' | ||
prefix: issues/ | ||
|
||
- label: no-branch | ||
skip: true | ||
|
||
autoCloseIssue: true | ||
openDraftPR: true | ||
|
||
copyIssueDescriptionToPR: true | ||
copyIssueLabelsToPR: true | ||
copyIssueAssigneeToPR: true | ||
copyIssueProjectsToPR: false | ||
copyIssueMilestoneToPR: false |
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 @@ | ||
feature: ['feature/*', 'feat/*'] | ||
fix: ['fix/*', 'bug-fix/*'] | ||
chore: ['chore/*', 'maintenance/*', 'wip/*'] |
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 |
---|---|---|
@@ -1,33 +1,38 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
name-template: '$RESOLVED_VERSION' | ||
tag-template: '$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
collapse-after: 5 | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
collapse-after: 5 | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
collapse-after: 5 | ||
labels: | ||
- 'chore' | ||
- 'maintenance' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
- 'wip' | ||
exclude-labels: | ||
- 'skip-changelog' | ||
change-template: '- $TITLE (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
#version-resolver: | ||
# major: | ||
# labels: | ||
# - 'major' | ||
# minor: | ||
# labels: | ||
# - 'minor' | ||
# patch: | ||
# labels: | ||
# - 'patch' | ||
# default: patch | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES | ||
$CHANGES |
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,14 @@ | ||
name: Create Issue Branch | ||
|
||
on: | ||
issues: | ||
types: [ created, assigned ] | ||
|
||
jobs: | ||
create_issue_branch_job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create Issue Branch | ||
uses: robvanderleek/create-issue-branch@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
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,23 @@ | ||
name: PR Labeler | ||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, assigned] | ||
branches: | ||
- develop # matches develop branch | ||
- '*/*' # matches every branch containing a single '/' | ||
- '!master' # excludes master branch (production) | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pr-labeler: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add labels to PR | ||
uses: TimonVS/pr-labeler-action@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
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
66 changes: 66 additions & 0 deletions
66
dil/src/main/java/org/assimbly/dil/blocks/templates/Hl7.java
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,66 @@ | ||
package org.assimbly.dil.blocks.templates; | ||
|
||
import org.apache.camel.builder.RouteBuilder; | ||
|
||
public class Hl7 extends RouteBuilder { | ||
|
||
@Override | ||
public void configure() throws Exception { | ||
|
||
routeTemplate("hl7xml-source") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("out") | ||
.from("mllp:{{path}}") | ||
.unmarshal().hl7(true) | ||
.to("bean:Hl7ToXmlConverter") | ||
.routeConfigurationId("{{routeconfiguration_id}}") | ||
.to("{{out}}"); | ||
|
||
routeTemplate("hl7xml-action") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("in") | ||
.templateParameter("out") | ||
.from("{{in}}") | ||
.to("bean:XmlToHl7Converter") | ||
.to("mllp:{{path}}") | ||
.to("{{out}}"); | ||
|
||
routeTemplate("hl7xml-sink") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("in") | ||
.templateParameter("out") | ||
.from("{{in}}") | ||
.to("bean:XmlToHl7Converter") | ||
.to("mllp:{{path}}"); | ||
|
||
routeTemplate("hl7er7-source") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("out") | ||
.from("mllp:{{path}}") | ||
.routeConfigurationId("{{routeconfiguration_id}}") | ||
.to("{{out}}"); | ||
|
||
routeTemplate("hl7er7-action") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("in") | ||
.templateParameter("out") | ||
.from("{{in}}") | ||
.to("mllp:{{path}}") | ||
.to("{{out}}"); | ||
|
||
routeTemplate("hl7er7-sink") | ||
.templateParameter("routeconfiguration_id","0") | ||
.templateParameter("path") | ||
.templateParameter("in") | ||
.templateParameter("out") | ||
.from("{{in}}") | ||
.to("mllp:{{path}}"); | ||
|
||
} | ||
|
||
} |
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
Oops, something went wrong.