![logo](https://raw.githubusercontent.com/igwtech/OpenAs2App/master/docs/as2_logo.png)
# As2Server
The OpenAS2 application enables you to transmit and receive AS2 messages with EDI-X12, EDIFACT, XML, or binary payloads between trading partners.
## Development
There is a pom.xml in the Server folder to compile and create the jar and build the distribution package using Maven.
The current version of the application is extracted from the POM and inserted into the MANIFEST.MF at build time.
More detailed information is available in the DeveloperGuide.odt in the docs folder in Github.
## Test, Build and Package
The following commands can be used in the build process.
Checking dependency tree:
`./mvnw dependency:tree`
Checking dependencies against latest:
`./mvnw versions:display-dependency-updates`
Updating dependencies to latest:
`./mvnw versions:use-latest-releases`
Build a snapshot the following command should be used:
`./mvnw versions:set -DnewVersion=2.12.0-SNAPSHOT`
Run unit tests:
`./mvnw test`
Build a package
`./mvnw clean package`
## Deploy to Maven Central
To deploy the released artifacts requires user ID and password for Sonatype. See developer guide for details:
`./mvnw clean deploy -P release` - will require manual closing and release in Sonatype
`./mvnw release:perform`
`./mvnw nexus-staging:release -Ddescription="Some release comment here"`
## How to create docker image
To create docker image ,use the Dockerfile in the project.
In terminal, open the folder where Dockerfile is located.
Use below command to login to your dockerhub account through terminal.
```console
$ docker login
```
Run below command to create image with name and tag.
```console
$ docker build -t openas2:latest .
```
## How to use this image.
Run the default OpenAS2 server:
```console
$ docker run -it --rm openas2:latest
```
You can test it by visiting `http://container-ip:10080` in a browser or, if you need access outside the host, on port 4080:
```console
$ docker run -it --rm -p 10080:4080 -p 10081:4081 openas2:latest
```
You can then go to `http://localhost:4080` or `http://host-ip:4080` in a browser (noting that it will return a 401 since there are no proper AS2 headers sent by the browser by default).
The default OpenAS2 environment in the image is:
OPENAS2_BASE: /usr/local/tomcat
OPENAS2_HOME: /usr/local/tomcat
OPENAS2_TMPDIR: /usr/local/tomcat/temp
JAVA_HOME: /usr/local/openjdk-11
The configuration files are available in `/opt/openas2/config/`.
没有合适的资源?快使用搜索试试~ 我知道了~
开源as2包含简答的配置页面和serve端
共373个文件
java:221个
vue:22个
xml:21个
需积分: 0 0 下载量 5 浏览量
2023-01-11
09:53:05
上传
评论
收藏 11.72MB ZIP 举报
温馨提示
开源as2包含简答的配置页面和serve端
资源推荐
资源详情
资源评论
收起资源包目录
开源as2包含简答的配置页面和serve端 (373个子文件)
import_public_cert.bat 4KB
install_winsvc.bat 4KB
import_alias_from_keystore.bat 3KB
gen_p12_key_par.bat 3KB
start-openas2.bat 2KB
find_java.bat 2KB
cacerts 102KB
.classpath 2KB
mvnw.cmd 5KB
openas2.d 3KB
openas2.mv.db 16KB
openas2.mv.db 16KB
openas2.mv.db 16KB
Dockerfile 1KB
Dockerfile_WebUI 273B
.editorconfig 548B
prunsrv.exe 128KB
OpenAS2Server.exe 118KB
prunsrv.exe 108KB
find_java 3KB
.gitignore 214B
.gitignore 199B
.gitignore 52B
jdbc.properties.h2 2KB
index.html 2KB
favicon.ico 4KB
saxon9he.jar 5.24MB
h2-1.4.193.jar 1.71MB
postgresql-9.4.1212.jre6.jar 660KB
commons-collections-3.1.jar 546KB
dom4j-1.4.jar 475KB
wstx-asl-3.0.2.jar 463KB
ddlutils-1.1.jar 435KB
commons-lang-2.1.jar 203KB
commons-beanutils-1.7.0.jar 184KB
commons-digester-1.7.jar 137KB
commons-dbcp-1.2.1.jar 105KB
commons-codec-1.3.jar 46KB
commons-pool-1.2.jar 41KB
commons-logging-1.0.4.jar 37KB
stax-api-1.0.1.jar 26KB
AS2Util.java 40KB
HTTPUtil.java 37KB
AS2ReceiverHandler.java 37KB
BCCryptoHelper.java 35KB
AS2SenderModule.java 34KB
MessageBuilderModule.java 20KB
XMLSession.java 17KB
DbTrackingModule.java 16KB
XMLPartnershipFactory.java 15KB
CheckCertificate.java 15KB
EmailLogger.java 14KB
BaseMessage.java 14KB
OpenAS2Servlet.java 13KB
IOUtil.java 13KB
Partnership.java 13KB
NetModule.java 13KB
MDNSenderModule.java 12KB
OpenAS2ServerTest.java 11KB
MigratePollingModuleConfig.java 11KB
EmailSender.java 11KB
DirectoryPollingModule.java 11KB
PKCS12CertificateFactory.java 10KB
ApiResource.java 10KB
BaseSession.java 10KB
DirectoryResenderModule.java 10KB
MimeBodyPartEncodingTest.java 9KB
Log.java 9KB
SocketCommandProcessor.java 8KB
OpenAS2Server.java 8KB
XMLUtil.java 7KB
Message.java 7KB
ParameterParser.java 7KB
BaseMessageMDN.java 6KB
AS2MDNReceiverHandler.java 6KB
DefaultProcessor.java 6KB
RestCommandProcessor.java 6KB
BasePartnershipFactory.java 6KB
RestApiTest.java 6KB
BaseMsgTrackingModule.java 5KB
SplitCsvFile.java 5KB
AddPartnershipCommand.java 5KB
FileUtil.java 5KB
AuthenticationRequestFilter.java 5KB
PGPEncryptionUtil.java 5KB
IOUtilTest.java 5KB
TestPartner.java 5KB
FilenameSafetyTest.java 4KB
MessageFileModule.java 4KB
MimeUtil.java 4KB
DispositionType.java 4KB
CompositeParameters.java 4KB
Session.java 4KB
XMLMessageFactory.java 4KB
StringUtil.java 4KB
StreamCommandProcessor.java 4KB
FilenameParsingTest.java 4KB
MessageParameters.java 4KB
BaseStorageModule.java 4KB
ImportCertCommand.java 4KB
共 373 条
- 1
- 2
- 3
- 4
资源评论
ruhe8
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功