Age | Commit message (Collapse) | Author | Files | Lines |
|
Also apply the valueof to non svc context arguments.
The original code would always treat null arguments
as null strings. This replaces that functionality
in the prepared statements.
Change-Id: I88ab22c87b86a8f5ff41946757c40a399c37a6c3
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: OJSI-25
|
|
The old non-parameterized queries would treat null entries in the SvcLogicContext
as "null" string values. The parameterized query treats these as NULL sql values.
This change keeps those values as "null" strings.
Change-Id: Iee7f7a1861bdd82dc65d59db2be7862b49cf1207
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1639
|
|
Convert all database queries to use java sql
parameterized queries to reduce risk of sql
injection attack.
Change-Id: I15876ce3a2f2e2dfbd6578f5141367deed75d097
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: OJSI-25
|
|
Update the parent version to match the new 2.*
parent versioning.
Change-Id: I77280d8cf12de1de20c01249491dc85243f5d655
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1601
|
|
Requests from cdt with the action set to ConfigModify
did not have entries added to the device interface
protocol table. With this change the entry will be
made in the table.
Change-Id: I29835554a0ebf2fea29f1c8745b99ac1813c0d7d
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1593
|
|
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare
for next development cycle.
Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1585
|
|
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I149ad0ee6354822fcb9712fe12ad22885b65cf8e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I02b723e7f9aa83e2f7f51aa5a9c8883ac149299c
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: APPC-1086
Change-Id: Ic03b32bc4c8b87a76db2e2aae45f7706f19e9bd4
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I202822e53c2086b5db41a8028410c07c46821d1d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
|
|
Fasterxml databind is being brought in to karaf by opendaylight
and trying to force a different version for the appc components is
causing class errors.
This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212.
Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1533
|
|
upgrade jackson's databind
from 2.8.11.2 to 2.8.11.3
Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c
Issue-ID: APPC-1533
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Increase coverage from 51% to 96%
Fix assertions and Sonar major branch coverage problem
Issue-ID: APPC-1335
Change-Id: I1edb662db199dda46972fdf37820aa1de1ad46fc
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Changes required to update to latest opendaylight
version. Some powermock tests have been temporarily
removed due to an powermock incompatibility. They
will be fixed and re-added.
Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1370
|
|
Issue-ID: APPC-1364
Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa
Signed-off-by: Sonali Das <sd394g@att.com>
Review Comment update
Issue-ID: APPC-1364
Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34
Signed-off-by: Sonali Das <sd394g@att.com>
Review Comment update
Issue-ID: APPC-1364
Change-Id: I03fa97d60c6497218c14b53531c2dea69c7fba34
Signed-off-by: Sonali Das <sd394g@att.com>
Support multiple Ansible servers
Issue-ID: APPC-1364
Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa
Signed-off-by: Sonali Das <sd394g@att.com>
Support multiple Ansible servers
Issue-ID: APPC-1364
Change-Id: I63cf89f5964bcfaba7d1f0b0eac2477f827b69fa
Signed-off-by: Sonali Das <sd394g@att.com>
|
|
Called interrupt method on current thread
Issue-ID: APPC-1437
Change-Id: I0dbb8cf01f285c01f96fe4f1c0396999e3361373
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
|
|
Increased coverage from 21% to 91%
Issue-ID: APPC-1335
Change-Id: Ib0ed16e6e0ef01c83666491644564d1c6f341160
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Increased coverage from 56% to 93%
Issue-ID: APPC-1335
Change-Id: I65ed7979141a035444ff45e7540d7fb022d24355
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Increased coverage from 0% to 95%
Issue-ID: APPC-1335
Change-Id: I3c2e1f22009c47cda983e61eda7e98c48564ee98
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Increased test coverage from 74% to 92%
in DBService class
Issue-ID: APPC-1335
Change-Id: Iabd792eb104429d5090e0099dba463e8ad6d499a
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Changing to the current release snapshot version of
the appc parents instead of the previous release version.
This allows updated changes to parents to be in builds.
Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1304
|
|
Update the parent version to appc parent 1.4.1
Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1304
|
|
Changing to version 1.5.0-SNAPSHOT
Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1212
|
|
Change to version 1.4.1-SNAPSHOT
Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1212
|
|
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1212
|
|
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1208
|
|
Karaf is now including an older version of json bundle. In order to
avoid conflicts, the correct version is now embedded here.
Change-Id: Id1c037abc2a2825998e4f2e4777bd2e2d5996529
Signed-off-by: Patrick Brady <pb071s@att.com>a
Issue-ID: APPC-1202
|
|
Change over to using blueprint for rpc registration
Change-Id: Ie647472eb3e42eb7e878c526b13acbfffd1bc18f
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1185
|
|
Junit Test cases for checking Exceptions part and also for isUpdate in
DBService.java file
Issue-ID: APPC-1140
Change-Id: Ibbfe9daf5465f4efcc8d42e8ed508d0b5e5129bb
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
|
|
Change-Id: I94f8b31e509d0e231e36b8b8d2871ad10bdf02f8
Issue-ID: APPC-1148
Signed-off-by: Patrick Brady <pb071s@att.com>
|
|
The changes between patch 3 and patch 4 of this commit
https://gerrit.onap.org/r/#/c/55093, where the parameters
are sent to the SvcLogicContext instead of values, breaks
the save functionality in cdt. When SvcLogicContext is
allowed to subsitute the values, the StringUtils.isEmpty
functions are skipped over.
Although it appears this change is changing a parameterized
query to a static statement query, in fact the query is not
parameterized in its current form either. In its current form,
SvcLogicContext is just subsituting the values into a static
statement query. SvcLogicContext does perform a simple single
quote escape, which could be duplicated here.
Change-Id: If3ffceed5ad147c402355ffef17a8abf0752d5b1
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1107
|
|
Fix query statements related to url in DBService
Issue-ID: APPC-1107
Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3
Signed-off-by: Mei Su <ms6523@att.com>
|
|
Support Multiple Templates For Configure and ConfigModify for VNFs with VNFC level templates
Issue-ID: APPC-1010
Change-Id: I7540af3b793bac696bdc28aabc3c0c8e0c13d29e
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
|
|
Modify license header in appc-event-listener, appc-inbound, appc-lifecycle-management and appc-metric xml files to reflect 2018 changes.
Change-Id: I0e5d9eb55b92d9b4274f0ebc5c5a1044e451707c
Issue-ID: APPC-1003
Signed-off-by: John McClung <jm1364@att.com>
|
|
Modify license header in miscellaneous appc properties files to reflect 2018 changes.
Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33
Issue-ID: APPC-998
Signed-off-by: John McClung <jm1364@att.com>
|
|
Modify license header in appc-inbound java files to reflect 2018 changes.
Change-Id: I32b2cf9e659bb8987da56415589c6c773698a09c
Issue-ID: APPC-984
Signed-off-by: John McClung <jm1364@att.com>
|
|
Fixed code to set userid and
password correctly. Also set the url
in context when passed in reference
artifact.
Issue-ID: APPC-917
Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
|
|
Change from version 1.3.0-SNAPSHOT to
1.4.0-SNAPSHOT and update version file.
Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-916
|
|
Change-Id: Ifaa388425d21d62e34481f38bfa6d014e023d5e7
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-895
|
|
Class not found error related to snakeyaml
dependency.
Change-Id: I9d5a2c6b86c355050ecea0d4010113aec0cf285b
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-893
|
|
Change-Id: I49d6210898eb974401099ab73b2dd7f16e81229c
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-891
|
|
Changes necessary to support upgrade to ODL Nitrogen,
while continuing to use Karaf 3 style features
Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-403
|
|
Added model id to condition when
checking for update/insert of
records
Issue-ID: APPC-837
Change-Id: I3fb49c378ac8c1d3180b05772d214d5cc8892810
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
|
|
Code changes to Dbservice.java in artifact-handler
Issue-ID: APPC-821
Change-Id: I805a16e90866e946ca2e8d331b2c63b3ef209f71
Signed-off-by: vidhyasree <sn141y@att.com>
|
|
Unit test for SdcArtifactHandlerConstants.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Futils%2FSdcArtifactHandlerConstants.java
Change-Id: I21e97b7afcd58196ea064be4c4e8e9dc38cf487b
Issue-ID: APPC-793
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test coverage for DBException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fdbservices%2FDBException.java
Change-Id: Iae0c5a90358f61560c8e164fa506a0e3e75857f5
Issue-ID: APPC-791
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test for ArtifactHandlerInternalException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fnode%2FArtifactHandlerInternalException.java
Change-Id: I887613bc793256be84e288ca432d11c45d320cfc
Issue-ID: APPC-792
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Change-Id: I6c58803ab47ff411d7ff29097a7e64a489dfed03
Issue-ID: APPC-605
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Update .gitignore with license text
Remove IDE generated files from repository
Update .gitignore to ignore IDE Generated files
Issue-ID: APPC-637
Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6
Signed-off-by: Skip Wonnell <skip@att.com>
|
|
Change-Id: I4cc803bc6c5d88b569405ea0af918a6c340fce9d
Issue-ID: APPC-581
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|