Add bean configurator

Refactored PropertyConfiguration, but left the original class alone
until references to it have been removed from other policy repos.
Split the Property annotation out into its own file.  Cloned the
remaining code into BeanConfigurator, modifying its behavior so that,
instead of operating on its own subclass, it operates on a provided bean.
Also added an ability to copy the bean's fields to a Properties object.

Updated license dates.

Removed unneeded argument from functional interface.
Added comment about always checking default values.
Updated a few comments.

Change-Id: Iff36fd0524032d7630f9ee08f0eef7b05de100d1
Issue-ID: POLICY-1444
Signed-off-by: Jim Hahn <jrh3@att.com>
3 files changed
tree: 0ac567b3b063e4be61599b3fdeca95a097bd7c80
  1. capabilities/
  2. common-logging/
  3. common-parameters/
  4. gson/
  5. integrity-audit/
  6. integrity-monitor/
  7. pdp-common/
  8. policy-endpoints/
  9. project-configs/
  10. utils/
  11. utils-test/
  12. .gitattributes
  13. .gitignore
  14. .gitreview
  15. INFO.yaml
  16. LICENSE.txt
  17. pom.xml
  18. README.md
  19. version.properties
README.md

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:

  1. using Maven 3
  2. git clone http://gerrit.onap.org/r/oparent and copy oparent/settings.xml to ~/.m2
  3. mvn clean install