-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamic content type mapping based on filename extension. (#347)
* Add configDir to make testing easier * Helper class to aid testing * Remove config poller for partnership * Check and load Content-Type mappings at system level. Make openas2.properties.file a static for testing purposes. * Check and load Content-Type mappings at partnership level. * Sample file for Content-Type dynamic mappings. * Enable Content-Type mapping in server to server test * Additional utility methods for file operations * Fix outbox to support multiple sending <-> receiving partner combinations * Use a more appropriately named variable for readability * Extract common server test stuff to base class * Tests for dynamic Content-Type mapping * Helper methods for file related stuff * Fix spelling error * Enhance to support dynamic Content-Type setting based on filename extension * Change visibility scope of static to support testing * Use partnership based polller instead of config * Support system level Content-Type mapping * Minor cleanup * Fix formatting to use spaces instead of tabs * Release notes and associated documentation. * Version updates. * Add debug for Microsoft crap as usual * Escape backslash in file path so it works on Windows * Remove the custom properties file and associated system property to avoid affecting other tests. * Escape the backslash in Windows paths when setting the custom Openas2 property file system property
- Loading branch information
1 parent
bbd9f42
commit 455d6b4
Showing
28 changed files
with
467 additions
and
108 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
xml=application/xml | ||
edi=application/edifact | ||
txt=text/plain |
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
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
Oops, something went wrong.