Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Feb 16, 2020
1 parent 478b164 commit 9269545
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 36 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@ If you like the project, a star on GitHub is always appreciated.

# News and noteworthy

* v0.9.10 - work in progress
* v0.9.10 - 2020-02-16
* Fixed a stupid error in the demo code that prohibits the correct receiver check activation - see https://github.com/phax/phase4/commit/796c054d972562d31fe33597b8f7938081b8183e for the resolution
* Invoking the `AS4RequestHandler` error consumer also on asynchronous processing
* Extended the error consumer interface of `AS4RequestHandler` from `Consumer` to `IAS4RequestHandlerErrorConsumer`
* Extended the message metadata class `AS4IncomingMessageMetadata`
* Updated to ph-web 9.1.8
* Updated to ph-web 9.1.9
* v0.9.9 - 2020-02-09
* Removed the methods deprecated in v0.9.8
* Updated to peppol-commons 8.x
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* Copyright (C) 2015-2020 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.helger.phase4.messaging;

import javax.annotation.Nonnull;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import com.helger.commons.ws.TrustManagerTrustAll;
import com.helger.httpclient.HttpClientSettings;
import com.helger.phase4.CAS4Version;

/**
* Special {@link HttpClientSettings} with better defaults for Peppol.
Expand All @@ -44,5 +45,8 @@ public Phase4PeppolHttpClientSettings () throws GeneralSecurityException
setConnectionRequestTimeoutMS (100_000);
setConnectionTimeoutMS (5_000);
setSocketTimeoutMS (100_000);

// Set an explicit user agent
setUserAgent ("phase4/" + CAS4Version.BUILD_VERSION + " github.com/phax/phase4");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ protected AbstractBaseBuilder ()
// Set default values
try
{
setHttpClientFactory (new Phase4PeppolHttpClientFactory ());
setHttpClientFactory (new HttpClientFactory (new Phase4PeppolHttpClientSettings ()));
setCryptoFactory (AS4CryptoFactoryPropertiesFile.getDefaultInstance ());
final IPModeResolver aPModeResolver = DefaultPModeResolver.DEFAULT_PMODE_RESOLVER;
setPModeResolver (aPModeResolver);
Expand All @@ -674,8 +674,8 @@ protected AbstractBaseBuilder ()

/**
* Set the HTTP client factory to be used. By default an instance of
* {@link Phase4PeppolHttpClientFactory} is used and there is no need to
* invoke this method.
* {@link HttpClientFactory} is used and there is no need to invoke this
* method.
*
* @param aHttpClientFactory
* The new HTTP client factory to be used. May not be
Expand Down
2 changes: 1 addition & 1 deletion phase4-peppol-server-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<exclude>**/*.cer</exclude>
<exclude>**/*.mime</exclude>
<exclude>**/*.mmd</exclude>
<exclude>as4-data/*</exclude>
<exclude>as4-data/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit 9269545

Please sign in to comment.