appc.git
6 years agoInitial commit for Sequence Generator 27/7627/9
Kalpesh Chaniyara [Tue, 15 Aug 2017 18:10:34 +0000 (23:40 +0530)]
Initial commit for Sequence Generator

Added sequence generator for start and stop
action with dependency model
Removed java check style from json files
from license maven plugin
JIRA Issues : APPC-33,APPC-106

Issue-Id : APPC-106
Change-Id: I7f12d39b705d77d559790a10b914b8108f5faa5e
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
6 years agoFix sonar blocker in DefaultConfiguration 99/7899/3
Skip Wonnell [Thu, 17 Aug 2017 16:53:24 +0000 (11:53 -0500)]
Fix sonar blocker in DefaultConfiguration

Update the equals() method with checks for
null and for class equality.

Issue-ID:  APPC-156
Change-Id: I7ee2ded5d18be560ee1d7bc63b936f22602ca0b4
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoInitial add of appc-directed-graph bundles 81/7681/2
Skip Wonnell [Wed, 16 Aug 2017 02:18:04 +0000 (21:18 -0500)]
Initial add of appc-directed-graph bundles

Directed Graph library

Additional JIRA Issues:  APPC-66, APPC-71, APPC-74

Issue-ID: APPC-65
Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoInitial adds artifact handler and design services 17/7517/4
Skip Wonnell [Mon, 14 Aug 2017 22:47:10 +0000 (17:47 -0500)]
Initial adds artifact handler and design services

asdc-artifact-handler: an interface to receive artifacts distributed
by SDC and persist them into the local database.

appc-design-services: an interface to manage VNF configuration
artifacts, primarily those generated by the configuration design tool.

Includes these user stories: APPC-28/85

Change-Id: Ib207070d4593554fa424fc69d9c77a6cd5349fec
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue-Id: APPC-9

6 years agoInitial commit for appc-config-audit bundle 75/7975/1
Skip Wonnell [Wed, 16 Aug 2017 00:57:50 +0000 (19:57 -0500)]
Initial commit for appc-config-audit bundle

This Bundle is used for Auditing against
a running configurition

Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue-Id: APPC-22
Signed-off-by: Patrick Brady <pb071s@att.com>
Change-Id: Id19c65e351cc377d32d6533d3fa73415019652f0

6 years agoInitial commit for appc-config-adaptor 77/7677/5
Skip Wonnell [Wed, 16 Aug 2017 01:42:44 +0000 (20:42 -0500)]
Initial commit for appc-config-adaptor

This bundle contains utilities used by config-generator.

Change-Id: I04877ebe90536fd57368d00c033189c280e77c90
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue-ID: APPC-67

6 years agoInitial commit for config-generator bundle 67/7667/12
Skip Wonnell [Tue, 15 Aug 2017 23:07:13 +0000 (18:07 -0500)]
Initial commit for config-generator bundle

This bundle contains logic for creating the configuration,
reading templates, and merging the data together

Issue-ID: APPC-59
Change-Id: Ifd745964f659f075250d6acaf1b5f033da28e1c4
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoInitial commit for appc-flow-controller bundle 63/7663/10
Skip Wonnell [Tue, 15 Aug 2017 22:26:38 +0000 (17:26 -0500)]
Initial commit for appc-flow-controller bundle

This bundle contains the APPC orchestration control
for the directed graph for model driven transactions

Issue-ID: APPC-73
Change-Id: Ia812fe14b2d6aa46c3acd5b2bfab0c004507c628
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoInitial commit for appc-data-services bundle 61/7661/8
Skip Wonnell [Tue, 15 Aug 2017 22:05:27 +0000 (17:05 -0500)]
Initial commit for appc-data-services bundle

This bundle contains the generic execute nodes that
interact with the database.

Issue-ID: APPC-58
Change-Id: Ib1447443ed259f4133cd33d554a5ac43f2c3dd1b
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoFix APPC sonar coverage 57/7757/2
Marcus G K Williams [Wed, 16 Aug 2017 17:05:43 +0000 (10:05 -0700)]
Fix APPC sonar coverage

Issue-Id: APPC-156
Change-Id: Idccbf97538d05d173ebe74cef1442392c6a91486
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
6 years ago[APPC-144] OAM operation abort messages 59/7759/3
beili.zhou [Wed, 16 Aug 2017 18:16:50 +0000 (14:16 -0400)]
[APPC-144] OAM operation abort messages

Provide abort audit log as well as notification when OAM operation is
interrupted by a new OAM operation request.
Fix missing ID in audit log for reject message.

Issue-Id: APPC-144
Change-Id: Ie87e19949be85c085444c753fdf061f4fc45e48f
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoInitial commit for appc-encryption-tool bundle 23/7623/8
Skip Wonnell [Tue, 15 Aug 2017 17:43:03 +0000 (12:43 -0500)]
Initial commit for appc-encryption-tool bundle

appc-encryption-tool:  module to retrieve and store
encryped credentials

Change-Id: I3d45c662c9d58dbeec2ab7fffb51658c9ee0d5d3
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue-Id: APPC-67

6 years agoCreate and store Dependency model from Tosca 61/7561/3
Masal, Sushil (sm588m) [Sun, 13 Aug 2017 13:40:02 +0000 (19:10 +0530)]
Create and store Dependency model from Tosca

Updated asdc listerner bundle to create dependency model from tosca
artifact reveived from SDC.This dependency model will be in JSON
format and will be stored to ASDC_ARTIFACT table as new artifact.
Also ASDC_REFERENCE table  will be updated to with new artifact
details.
This commit also include bug fix for MDSALStore to handle all http
code for successful rest calls

Issue ID: APPC-32
Change-Id: Iaef6cdee67475917968a4bcdec131cd1bc4c4f41
Signed-off-by: Masal, Sushil (sm588m) <sushil.masal@amdocs.com>
6 years agoMerge "Action-Identifier to support vf-module-id"
Marcus Williams [Wed, 16 Aug 2017 00:54:38 +0000 (00:54 +0000)]
Merge "Action-Identifier to support vf-module-id"

6 years agoMerge "[APPC-127] NPE on execution of LCM action Lock"
Marcus Williams [Tue, 15 Aug 2017 19:53:35 +0000 (19:53 +0000)]
Merge "[APPC-127] NPE on execution of LCM action Lock"

6 years ago[APPC-143] OAM restart operation with stop error 31/7631/1
beili.zhou [Tue, 15 Aug 2017 18:39:58 +0000 (14:39 -0400)]
[APPC-143] OAM restart operation with stop error

Fix OAM restart operation does not report stop failure. And also remove
unused LCM OperationStatus and related comments.

Issue-Id: APPC-143
Change-Id: Ia2580717ef515856725e3e50c63b17404f123325
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoAdded review comment 21/7521/3
Anand Chaturvedi [Tue, 15 Aug 2017 00:10:36 +0000 (20:10 -0400)]
Added review comment

Initial commit for Network-Inv and  AAI client

commit 61419e46211f1f1e763d4a84214c62a5e699bdf2
Author: Anand Chaturvedi <ac204h@att.com>
Date:   Mon Aug 14 19:54:11 2017 -0400
Issue-Id: APPC-21

    [OnapMigration] OnapMigration for APPC OutBound Services..

Change-Id: I7db4bcb52b050988b601f3abac544c43f34c677b
Signed-off-by: Anand Chaturvedi <ac204h@att.com>
6 years agoAction-Identifier to support vf-module-id 81/7581/1
Kalpesh Chaniyara [Tue, 15 Aug 2017 09:15:00 +0000 (14:45 +0530)]
Action-Identifier to support vf-module-id

As of now LCM Request Identifier supports
vnf-id, vnfc-name and vserver-id. This change
supports vf-module-id as action identifier
and its value is set in DG context with key
input.action-identifiers.vf-module-id when
invoking DG

Issue-Id : APPC-142
Change-Id: I65d44b073d32e39eaba183b8ce47584441921f3c
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
6 years ago[APPC-127] NPE on execution of LCM action Lock 47/7547/1
Kalpesh Chaniyara [Tue, 15 Aug 2017 05:14:15 +0000 (10:44 +0530)]
[APPC-127] NPE on execution of LCM action Lock

2 Constants classes were present under
same package in appc-dispatcher sub modules,
Moved one class under appc-request-handler-core
to different package

Issue-Id :APPC-127
Change-Id: I9bb9000b90862d245c2c8465495690a2635a741d
Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
6 years agoInitial commit for appc-config-params 23/7423/4
Anand Chaturvedi [Sat, 12 Aug 2017 05:31:10 +0000 (01:31 -0400)]
Initial commit for appc-config-params

Change-Id: I5805591892184b4456dd30639417d783d353a6a3
Signed-off-by: Anand Chaturvedi <ac204h@att.com>
Issue-Id:APPC-9

6 years agoUpdate license plugin to exclude json files 37/7437/2
Skip Wonnell [Sun, 13 Aug 2017 20:19:32 +0000 (15:19 -0500)]
Update license plugin to exclude json files

Change-Id: I843185af796729c71ccc9aa822844436d4804c3f
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue-ID: APPC-87

6 years agoOAM operations 3 - JUnit tests 25/7425/4
beili.zhou [Sat, 12 Aug 2017 02:55:57 +0000 (22:55 -0400)]
OAM operations 3 - JUnit tests

OAM operations changes are large, need to be broken down to multiple
submission based on size and compilability. This is the third (last) set
which covers JUnit test cases.

Includes these user stories: APPC-39/41/43/44/45/46/52/77.

Issue Id: APPC-38
Change-Id: I2df5e6b371d05030fb18bdd48155e4bb23034997
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoOAM operations 2 - oam 21/7421/3
beili.zhou [Sat, 12 Aug 2017 02:16:05 +0000 (22:16 -0400)]
OAM operations 2 - oam

OAM operations changes are large, need to break down to multiple
submissions based on size and compilability. This is the second set which
covers the following OAM operations: start, stop, restart,
maintenance-mode, and timeout of the operation along with error OAM
state.

Includes these user stories: APPC-39/41/43/44/45/46/52/77.

Issue Id: APPC-38
Change-Id: Iafad643c5ba2d2af24482b03db8f7a40397fa46e
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoOAM operations 1 - miscellaneous 19/7419/3
beili.zhou [Sat, 12 Aug 2017 01:48:22 +0000 (21:48 -0400)]
OAM operations 1 - miscellaneous

OAM operations changes are large, need to break down to multiple
submissions based on size and compilability. This is the first set which
covers: feature installation, audit log message, listener instantiation
and etc.

Includes these user stories: APPC-39/41/43/44/45/46/52/77.

Issue Id: APPC-38
Change-Id: Ifc0f5bd2468732d04ae462be09a6ad720aefba2b
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoMerge "[APPC-44] revert license line ending changes"
Marcus Williams [Fri, 11 Aug 2017 23:00:18 +0000 (23:00 +0000)]
Merge "[APPC-44] revert license line ending changes"

6 years ago[APPC-45] appc-dg-common start 95/7395/2
beili.zhou [Fri, 11 Aug 2017 19:43:00 +0000 (15:43 -0400)]
[APPC-45] appc-dg-common start

Fix appc-dg-common bundle start issue (does not occur at the APPC start
up) by using blueprint for its instantiation.

Issue-Id: APPC-45
Change-Id: I40887701269a44ba711a00aa12a551e672b34532
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years ago[APPC-44] command executor feature installer 59/7359/4
beili.zhou [Fri, 11 Aug 2017 19:52:51 +0000 (15:52 -0400)]
[APPC-44] command executor feature installer

ONAP used karaf plugin installation which required each feature has
installer, this one is adding the feature installer for command
executor. Pre-change for APPC OAM operations.

Issue-Id: APPC-44
Change-Id: I02080f4ee52ee0e9794237e11ef86f4c330de420
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoFixing dmaap authentication exception 77/7377/2
Patrick Brady [Fri, 11 Aug 2017 18:41:51 +0000 (11:41 -0700)]
Fixing dmaap authentication exception

Dmaap http client was incorrectly throwing an exception if
no authetication was present. This should not be since
dmaap does not require authentication.

Change-Id: If90ce1e52bf226bacc5a6c57bfe8aaa98e583bc5
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-Id: APPC-135

6 years ago[APPC-44] revert license line ending changes 93/7393/1
Joey Sullivan [Fri, 11 Aug 2017 19:07:16 +0000 (19:07 +0000)]
[APPC-44] revert license line ending changes

Issue-Id: APPC-44
Change-Id: Id9350fb7e19512ee380d6ca480d5ca9569fe3bd4
Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
6 years ago[APPC-44] APPC Lifecycle Management refactor 41/7241/5
beili.zhou [Thu, 10 Aug 2017 18:54:42 +0000 (14:54 -0400)]
[APPC-44] APPC Lifecycle Management refactor

Pull APPC lifecycle Management out of APPC dispatcher, so that it can be
used by both APPC dispatcher and APPC OAM. This is the pre-step of
introducing APPC OAM operations.

Issue-Id: APPC-44
Change-Id: Icbde399b5121fae9e1919cfdd5c77bbe55d61188
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years ago[APPC-126] rename license diretory for windows 23/7023/1
beili.zhou [Tue, 8 Aug 2017 19:54:28 +0000 (15:54 -0400)]
[APPC-126] rename license diretory for windows

Change-Id: Ic93af88532864ca4f4e9d3024719c9f4fbd651a6
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years ago[APPC-121]Fix VNF NumberFormatException 51/6751/1
beili.zhou [Fri, 4 Aug 2017 20:45:06 +0000 (16:45 -0400)]
[APPC-121]Fix VNF NumberFormatException

Change-Id: I14464adc0b11b909131232cdcb9d46cb0a01b000
Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
6 years agoAvoid possible NEP in WorkingStateManagerImpl.java 75/6675/1
Skip Wonnell [Thu, 3 Aug 2017 19:58:41 +0000 (14:58 -0500)]
Avoid possible NEP in WorkingStateManagerImpl.java

Squashed commit of the following:

commit 7f62d9a1fa166aa55579795b7a592e22a6df3772
Author: Skip Wonnell <kw5258@att.com>
Date:   Thu Aug 3 13:22:22 2017 -0500

    [APPC-92] Fix sonar blocker issue

    Check vnfWorkingStateDto for null before dereference.

Change-Id: I4630df4bcd3d696041123e1fc0267c46a756425b
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue: APPC-92

6 years agoMerging in bug fixes 43/6343/9
Patrick Brady [Fri, 28 Jul 2017 18:29:23 +0000 (11:29 -0700)]
Merging in bug fixes

Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue: APPC-100

6 years agoAvoid possible NPEs in EventHandlerImpl.java 27/6427/2
Skip Wonnell [Mon, 31 Jul 2017 17:31:22 +0000 (12:31 -0500)]
Avoid possible NPEs in EventHandlerImpl.java

Change-Id: Id2c5fe1b07ecf1c6e7b70261daae8fa3955400e7
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue: APPC-98

6 years agoFix resource leak in ChefAdapterImpl.java 39/6139/2
Skip Wonnell [Fri, 21 Jul 2017 12:03:48 +0000 (08:03 -0400)]
Fix resource leak in ChefAdapterImpl.java

Convert to Closeable versions of HttpClient and HttpResponse
and instantiate both inside a TWR.

Change-Id: I37ac34bab545592f51fb054068065fa1c00f7224
Signed-off-by: Skip Wonnell <kw5258@att.com>
Issue: APPC-94

6 years ago[APPC-93] Resource leak in appc.adapter.chef.chefclient.Utils 95/6095/3
Skip Wonnell [Thu, 20 Jul 2017 02:02:57 +0000 (22:02 -0400)]
[APPC-93] Resource leak in appc.adapter.chef.chefclient.Utils

Place instantiation of FileReader and BufferedReader inside a TWR

Change-Id: Ibc0fffa76e536bdccca92731dc7ebc878faf67a1
Signed-off-by: Skip Wonnell <kw5258@att.com>
6 years agoApplying license changes to all files 57/6057/5
Patrick Brady [Wed, 19 Jul 2017 19:09:28 +0000 (12:09 -0700)]
Applying license changes to all files

[APPC-87] Fix Maven License Plugin

Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoAdding custom license for maven license plugin 53/6053/3
Patrick Brady [Wed, 19 Jul 2017 18:22:32 +0000 (11:22 -0700)]
Adding custom license for maven license plugin

[APPC-87] Fix Maven License Plugin

Change-Id: If19274f46b2eaf83539642d313130bdcfa6a9eb7
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoRefactor POM to inherit from oparent 77/5177/3
Gary Wu [Wed, 21 Jun 2017 23:51:59 +0000 (16:51 -0700)]
Refactor POM to inherit from oparent

Refactor POM to inherit from oparent.
Remove local settings related to nexus and checkstyle.

Issue-id: APPC-78
Change-Id: I52167488d5d9216f351f306348ca77544cac9def
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years ago[APPC-16] update the chef adapter 85/5785/1
root [Thu, 13 Jul 2017 13:43:35 +0000 (09:43 -0400)]
[APPC-16] update the chef adapter

Change-Id: I712b42f0e09a250cd06ec3a67561ca2ce062f760
Signed-off-by: root <jh245g@att.com>
6 years ago[feature/APPC-7] ansible server commit 99/5699/4
ecnoel [Thu, 6 Jul 2017 14:02:01 +0000 (09:02 -0500)]
[feature/APPC-7] ansible server commit

Change-Id: I87b4843ca5d646e390d985be27aa1e3b94491d07
Signed-off-by: ecnoel <eric.noel@att.com>
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoChanging to sdnc snapshot version [APPC-15] 91/5191/1
Patrick Brady [Thu, 22 Jun 2017 17:30:40 +0000 (10:30 -0700)]
Changing to sdnc snapshot version [APPC-15]

Sdnc docker images do not seem to contain non-snapshot artifacts.
Switching to use snapshot artifacts should fix the problem.

Change-Id: Ie1e1c3b53ccfee9976c03d9f0934aef7f272eeb5
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoUpdating sdnc version [APPC-15] 31/5131/1
Patrick Brady [Tue, 20 Jun 2017 20:20:12 +0000 (13:20 -0700)]
Updating sdnc version [APPC-15]

Change-Id: I523cc2ce8ec9ddbb606b2e41520dd161a13fcea9
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years ago[feature/APPC-6] 45/5045/2
Ashwin Sridharan [Thu, 15 Jun 2017 03:11:25 +0000 (23:11 -0400)]
[feature/APPC-6]

Added Ansible Adapter Extension for APP-C

Change-Id: I4580fe5ebec526186fff5520fc7d12bff49f3fa4
Signed-off-by: Ashwin Sridharan <asridharan@research.att.com>
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoUpdating licenses in all files 71/4771/5
Patrick Brady [Wed, 7 Jun 2017 05:35:43 +0000 (22:35 -0700)]
Updating licenses in all files

Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoRemove duplicated dependencies 89/4589/2
Victor Morales [Thu, 1 Jun 2017 19:14:11 +0000 (14:14 -0500)]
Remove duplicated dependencies

It was removed some duplicated entries from the pom.xml file of
appc-chef-adapter-bundle project

Change-Id: Idab32dcffcaa18af249ff4354453856ab378de2e
Signed-off-by: Victor Morales <victor.morales@intel.com>
6 years agoFixing logic in an if statement 73/4673/1
Patrick Brady [Mon, 5 Jun 2017 20:44:20 +0000 (13:44 -0700)]
Fixing logic in an if statement

Change-Id: Ibc50b5e56953ce6ceed11b21e9d2042d5a540cad
Signed-off-by: Patrick Brady <pb071s@att.com>
6 years agoMerge of new rebased code 83/4583/4
Patrick Brady [Thu, 1 Jun 2017 17:45:37 +0000 (10:45 -0700)]
Merge of new rebased code

Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoRemove commented methods/fields in APPC 27/3827/2
Marcus G K Williams [Tue, 2 May 2017 22:11:04 +0000 (15:11 -0700)]
Remove commented methods/fields in APPC

Taking a stab at removing numerous
commented out methods and fields.
Almost all of what is removed is
commented code with no explanation.

Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoFix compilation errors in Eclipse 99/3999/2
Gary Wu [Tue, 9 May 2017 04:04:32 +0000 (21:04 -0700)]
Fix compilation errors in Eclipse

Change-Id: Ic5aa1977199237e006376231ae3970ece7f2cd26
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoEnable NETCONF Adapter bundle logging 25/3825/4
Marcus G K Williams [Tue, 2 May 2017 22:14:39 +0000 (15:14 -0700)]
Enable NETCONF Adapter bundle logging

Change-Id: If746c9a29066f8cbf7c27b280a44665144fe96d9
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMerge "Remove unused class StreamHelper"
Patrick Brady [Tue, 16 May 2017 19:56:46 +0000 (19:56 +0000)]
Merge "Remove unused class StreamHelper"

7 years agoRefactor CommandTask classes to be immutable 01/4001/2
Gary Wu [Tue, 9 May 2017 06:04:31 +0000 (23:04 -0700)]
Refactor CommandTask classes to be immutable

Refactor CommandTask and its subclasses to be immutable.
Also made CommandResponse immutable.

Change-Id: I9ea1b57fdff677b163c0fe9ad5d48f24b781a08f
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoMigrate to Java 8 Time API 79/3979/5
Gary Wu [Mon, 8 May 2017 19:59:44 +0000 (12:59 -0700)]
Migrate to Java 8 Time API

Migrate the uses of the old Date class in CommonHeader,
RuntimeContext, QueueMessage, and TransactionRecord to
Java 8 Time API.

Change-Id: I3b0c18b2e63cdab06e37587d2010cb7f626a0396
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoRemove unused class StreamHelper 95/3995/1
Gary Wu [Mon, 8 May 2017 23:13:34 +0000 (16:13 -0700)]
Remove unused class StreamHelper

Change-Id: I217ef6d42065f029434e55aeed259604ce68689a
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoMerge "Remove unused CONFIGURATION_METHOD_NAME"
Patrick Brady [Mon, 8 May 2017 18:52:10 +0000 (18:52 +0000)]
Merge "Remove unused CONFIGURATION_METHOD_NAME"

7 years agoRemove commented out logger in APPC 19/3819/3
Marcus G K Williams [Tue, 2 May 2017 17:29:39 +0000 (10:29 -0700)]
Remove commented out logger in APPC

Change-Id: Ib1b9bb1797180118ee1e5c0de18aafa2089c514b
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoRemove unused CONFIGURATION_METHOD_NAME 17/3817/1
Marcus G K Williams [Tue, 2 May 2017 16:43:45 +0000 (09:43 -0700)]
Remove unused CONFIGURATION_METHOD_NAME

Change-Id: Ifa9b1855dd22c9453c145ed8faf6c16c38b6a17a
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMake Flags immutable 91/3591/2
Gary Wu [Fri, 21 Apr 2017 19:34:25 +0000 (12:34 -0700)]
Make Flags immutable

Change-Id: Ib2e06d41d4e1eb6fb40144258067d2c71ac1d620
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoRemove CommandExecutorInput 87/3587/3
Gary Wu [Fri, 21 Apr 2017 18:51:01 +0000 (11:51 -0700)]
Remove CommandExecutorInput

CommandExecutorInput.getTtl() was never called. Once that
is removed, CommandExecutorInput only contains a single
RuntimeContext object.  This change removes CommandExecutorInput
and replaces its uses with RuntimeContext directly.

Change-Id: Ib8145b7f844d4b9ea294622e7cf4bdfc3aefcd0a
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoadd some comments 31/3731/2
Cheng (Ian) Liu [Wed, 26 Apr 2017 20:26:25 +0000 (15:26 -0500)]
add some comments

Change-Id: If01eec50c638ac03828d562f2204309aabb6635a
Signed-off-by: Cheng (Ian) Liu <lch.ian12@gmail.com>
7 years agoRemoving java source and target properties 25/3725/3
Patrick Brady [Wed, 26 Apr 2017 16:05:54 +0000 (09:05 -0700)]
Removing java source and target properties

Change-Id: Ifecb7859b2826a296e5b79e32088069543a27e61
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoRemove CommandRequest and subclasses 85/3585/1
Gary Wu [Fri, 21 Apr 2017 17:22:36 +0000 (10:22 -0700)]
Remove CommandRequest and subclasses

From the last refactoring, CommandRequest ended up
containing only a single CommandExecutorInput value.
This change removes CommandRequest and subclasses and
replaces their use with CommandExecutorInput directly

The type parameter on CommandTask is also removed
accordingly.

Change-Id: I867df65f344fa58698a44c4b20815dbce382ad55
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoMerge "Remove unused methods from CommandRequest"
Patrick Brady [Fri, 21 Apr 2017 06:20:16 +0000 (06:20 +0000)]
Merge "Remove unused methods from CommandRequest"

7 years agoMerge "Refactor CommandExecutorInput to be immutable"
Patrick Brady [Fri, 21 Apr 2017 06:08:59 +0000 (06:08 +0000)]
Merge "Refactor CommandExecutorInput to be immutable"

7 years agoMerge "Refactor Status to be immutable"
Patrick Brady [Thu, 20 Apr 2017 21:10:43 +0000 (21:10 +0000)]
Merge "Refactor Status to be immutable"

7 years agoMerge "Parameterize raw generic type CommandTask<M>"
Patrick Brady [Thu, 20 Apr 2017 20:09:20 +0000 (20:09 +0000)]
Merge "Parameterize raw generic type CommandTask<M>"

7 years agoMerge "Parameterize raw generic type QueueMessage<M>"
Patrick Brady [Thu, 20 Apr 2017 19:28:26 +0000 (19:28 +0000)]
Merge "Parameterize raw generic type QueueMessage<M>"

7 years agoRemove unused methods from CommandRequest 23/3223/2
Gary Wu [Sun, 9 Apr 2017 22:48:12 +0000 (15:48 -0700)]
Remove unused methods from CommandRequest

Remove unused methods/fields from CommandRequest
and make CommandRequest immutable.

Change-Id: Ie7c43da6a1025ce98dedbff2f68f6f2356882b5b
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoRefactor CommandExecutorInput to be immutable 21/3221/2
Gary Wu [Sun, 9 Apr 2017 22:35:41 +0000 (15:35 -0700)]
Refactor CommandExecutorInput to be immutable

Change-Id: Iebaf1f35d4229426086c2f2f1a41da2511f8110b
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoRefactor Status to be immutable 15/3215/3
Gary Wu [Sat, 8 Apr 2017 21:36:17 +0000 (14:36 -0700)]
Refactor Status to be immutable

Change Status class to be immutable.
Add convenience method to convert from a LCMCommandStatus to
a Status object.

Change-Id: I9e47750d15b5ee0f5649b2fabf6387aa12ff9c9d
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoFix unchecked conversion warnings 13/3213/2
Gary Wu [Sat, 8 Apr 2017 05:26:17 +0000 (22:26 -0700)]
Fix unchecked conversion warnings

Change-Id: I5704987b8a7fea1fc7619fa65d93ab3e936cfd26
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoParameterize raw generic type QueueMessage<M> 11/3211/2
Gary Wu [Sat, 8 Apr 2017 05:18:59 +0000 (22:18 -0700)]
Parameterize raw generic type QueueMessage<M>

Change-Id: Ib6de8d2f0c62bf7a5564b4e104c9384b7b6debce
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoParameterize raw generic type CommandTask<M> 09/3209/2
Gary Wu [Sat, 8 Apr 2017 04:13:53 +0000 (21:13 -0700)]
Parameterize raw generic type CommandTask<M>

Change-Id: I935d39537b83d1daaa63cee86d6fb83c49a5011f
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
7 years agoModifying feature install scripts 31/3531/2
Patrick Brady [Tue, 18 Apr 2017 19:09:24 +0000 (12:09 -0700)]
Modifying feature install scripts

Adding a while loop around each call to the opendaylight
karaf client. If the client is not available it will try again up
to 10 times. The new version of opendaylight seems to have delays after
installing sdnc components which can cause errors for the appc components.
These script changes fix allow the install script to wait for opendaylight to
become available.

Change-Id: Ib1bf6c7880398ac2ebe81eaff987ee4921cdb420
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoChanging name of javadocs site to onap 29/3429/1
Patrick Brady [Fri, 14 Apr 2017 16:32:19 +0000 (09:32 -0700)]
Changing name of javadocs site to onap

Change-Id: Ica77f21a06eae2cb9f007978950f5cc1f0bb3f4d
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdding import package wildcard 33/3133/1
Patrick Brady [Thu, 6 Apr 2017 19:33:04 +0000 (12:33 -0700)]
Adding import package wildcard

Solving an issue with a missing sdnc sli class.

Change-Id: Ia037c57e17d30e0e6ab14599e48c121bf7875f24
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoSeveral more properties changes 03/3103/1
Patrick Brady [Wed, 5 Apr 2017 23:16:59 +0000 (16:16 -0700)]
Several more properties changes

Needed to support transition away from sdnc root pom.

Change-Id: I9cc410d32afbe17d8060e4ed2353a3a3e0c1628d
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoUpdating properties for Opendaylight Boron 95/3095/2
Patrick Brady [Wed, 5 Apr 2017 17:16:12 +0000 (10:16 -0700)]
Updating properties for Opendaylight Boron

Change-Id: I1af8dc52b98413c4c4c6cb9798843a3790350f9b
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoModifying maven staging url 51/3051/1
Patrick Brady [Tue, 4 Apr 2017 20:13:42 +0000 (13:13 -0700)]
Modifying maven staging url

Change-Id: I3624a0a39fa5b1cc31331149223607da17abcda5
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoMoving maven staging plugin 31/3031/1
Patrick Brady [Tue, 4 Apr 2017 18:24:11 +0000 (11:24 -0700)]
Moving maven staging plugin

Maven staging plugin should be in the plugin section,
not the pluginManagement section where it was.

Change-Id: I51012fb6e22e44a59ce52f4b3937f66619b7945b
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoReplacing nexus urls with properties 67/2967/2
Patrick Brady [Tue, 4 Apr 2017 05:53:26 +0000 (22:53 -0700)]
Replacing nexus urls with properties

Change-Id: I5a018f0652b4ad6f35a83ec47203cf0a6efa5366
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoMerge "Update .gitreview with onap URL"
Patrick Brady [Mon, 3 Apr 2017 22:04:50 +0000 (22:04 +0000)]
Merge "Update .gitreview with onap URL"

7 years agoChanging to opendaylight version Boron 55/2955/4
Patrick Brady [Mon, 3 Apr 2017 16:47:37 +0000 (09:47 -0700)]
Changing to opendaylight version Boron

Change-Id: Ic9e2ee43d991f8308afaef7ff5566c27f4119b12
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdding repositories to distributionManagement 53/2953/1
Patrick Brady [Mon, 3 Apr 2017 16:00:49 +0000 (09:00 -0700)]
Adding repositories to distributionManagement

Change-Id: Iaa16f758930910f9b468faee0b6574b1b0af18e9
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoRoot pom parent and other cleanup 63/2763/5
Patrick Brady [Thu, 30 Mar 2017 18:04:22 +0000 (11:04 -0700)]
Root pom parent and other cleanup

Change-Id: I61deff5cffeb0a3730066ca83f86a98b647acd03
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoPoint Nexus proxy to new URL 15/2715/1
Andrew Grimberg [Wed, 29 Mar 2017 20:39:41 +0000 (13:39 -0700)]
Point Nexus proxy to new URL

The nexus.openecomp.org domain has been deprecated for nexus.onap.org

Change-Id: Id549765f76a9e7cc64ba6f2d4f13a77012922901
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoUpdate .gitreview with onap URL 37/2537/1
Andrew Grimberg [Wed, 29 Mar 2017 15:18:49 +0000 (08:18 -0700)]
Update .gitreview with onap URL

Change-Id: I98df56416d6b9335a9f8eb1fc58ce3def188bd9f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoUpdating master to 1.1.0-SNAPSHOT 31/2031/1
Patrick Brady [Fri, 10 Mar 2017 21:07:19 +0000 (13:07 -0800)]
Updating master to 1.1.0-SNAPSHOT

Change-Id: I4f2bf794f5ce8b60c4fc35817e69c9cbd337cc47
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoMaven staging url 09/1709/2
Patrick Brady [Mon, 6 Mar 2017 21:28:06 +0000 (13:28 -0800)]
Maven staging url

Changing the url to the nexus staging server.

Change-Id: Ie4dbf4a6adc4d7dc76ce2885816c84ca4b9f2fe7
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoPreparing for maven staging releases 89/1689/3
Patrick Brady [Mon, 6 Mar 2017 19:56:21 +0000 (11:56 -0800)]
Preparing for maven staging releases

Adding version.properties file to contain release_variable property.
Adding maven staging plugin to pom file.

Change-Id: I310a27a75ca62408f253a69d461718cbad0c6815
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoChanging dependency version 39/1639/1
Patrick Brady [Fri, 3 Mar 2017 16:00:06 +0000 (08:00 -0800)]
Changing dependency version

Replace 1.0.0 version of netconf-adapter-bundle
with project version variable.

Change-Id: Ib27e09775a54fc116632456faabe4aa52d0bb83c
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdd log statement 37/1637/1
Patrick Brady [Fri, 3 Mar 2017 15:54:48 +0000 (07:54 -0800)]
Add log statement

Add log statement to check if rpcRegistry was up when the
rpc is registered for appc-provider

Change-Id: Ic0939490a04bf4cf61feb7d030a66c4bf8e9353e
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdding com.sun.jersey to import package for iaas 33/1633/1
Patrick Brady [Fri, 3 Mar 2017 14:19:17 +0000 (06:19 -0800)]
Adding com.sun.jersey to import package for iaas

Change-Id: I7b26e442459e5a7600e5d51f4e334011a927d037
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoRevert "Removing resolution optional" 31/1631/1
Patrick Brady [Fri, 3 Mar 2017 14:02:11 +0000 (06:02 -0800)]
Revert "Removing resolution optional"

This reverts commit c0b99426c3b8eff26830bccb6e54010b4bbfbfba.

Change-Id: Ic4a61188a88f5feabf7c76af4fff3a6fc1e5c3d0
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoRemoving resolution optional bundle statements 23/1623/1
Patrick Brady [Fri, 3 Mar 2017 05:45:25 +0000 (21:45 -0800)]
Removing resolution optional bundle statements

Statements were added a few commits ago, across several
commits. Removing all of them.

Change-Id: I7891e85be4e890ff52b887c0463615c731eccc75
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoChanging the sdnc snapshot version 09/1609/1
Patrick Brady [Thu, 2 Mar 2017 21:09:19 +0000 (13:09 -0800)]
Changing the sdnc snapshot version

The snapshot version is supposed to be more reliable right now

Change-Id: Iaf47a1444b4622dd41e2263d2782c334663f32e9
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdding more resolution optional to import-package 83/1583/2
Patrick Brady [Wed, 1 Mar 2017 23:18:29 +0000 (15:18 -0800)]
Adding more resolution optional to import-package

Trying to correct bundle resolution error caused by com.sun.jdi package
that is used by test case. Adding optional could cause java errors if a
required package is not present.

Change-Id: I6295b8c529390952dfec66fa12a040686c9ebb44
Signed-off-by: Patrick Brady <pb071s@att.com>
7 years agoAdding more resolution optional to import-package 21/1521/1
Patrick Brady [Tue, 28 Feb 2017 16:26:32 +0000 (08:26 -0800)]
Adding more resolution optional to import-package

Trying to correct artifact errors coming from bundle not containing
artifacts that are used for test cases.

Change-Id: Ia0a2f701809399ef37ae43f575a6ebef3be9e18c
Signed-off-by: Patrick Brady <pb071s@att.com>