commit | 2e69b0ad5a696df714cc30c8c47f7a15f9582e6a | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Thu Mar 07 11:30:16 2019 -0500 |
committer | Jim Hahn <jrh3@att.com> | Fri Mar 08 08:47:36 2019 -0500 |
tree | c4f022bda0bb54a7c71dd5dc0af6b0857708fa1b | |
parent | 23a3dc4ece2f1533fe1d6b627b5db05e7754a70c [diff] |
Add code to allocate server ports Added code to find available server ports. Also added a trust manager that always trusts certificates. Made trust manager private so we can allocate new ones in the future, if we decide it isn't safe to re-use the same one over and over. Modified test code to allocate a port rather than assuming 8180 was not in use. Also modified retry parameters in other tests. Added another allocPort() that takes an IP address and then modified the other two to use that so the code does not have to be duplicated, while providing more functionality. Change-Id: I08cf18d923af46b1310d8496498bb1d4a0690b6e Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: