Age | Commit message (Collapse) | Author | Files | Lines |
|
support config parameter resolution to k8s secret value
Issue-ID: CCSDK-1502
Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Change-Id: I8acc98fa3fdd9ba46c617b4d0113086c1e889997
|
|
Support connect timeout and read timeout in a configurable way
Issue-ID: CCSDK-1433
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I58d77dfcb48adc2cf917aff29b0eb4a69acb9c17
|
|
Change-Id: I21c70038bc19c3bab137fc9604b7b593b6d529e1
Issue-ID: CCSDK-1385
Signed-off-by: Stan Bonev <sb5356@att.com>
|
|
implement generic retry and partners in restapicallnode
Change-Id: I436622dda5a5a83b029c935b929f43e05d37a2a0
Issue-ID: CCSDK-1343
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
|
|
Change-Id: I50eeea493197010aba4b37af97dcedb446ed5d10
Issue-ID: CCSDK-1305
Signed-off-by: Stan Bonev <sb5356@att.com>
|
|
Add support for multipart form data in CCSDK
Change-Id: Iacc35efe28b9d91afcfc1e87e0faf41fc74d5c8a
Issue-ID: CCSDK-239
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
RestApiCallNode patch not working after upgrading from sun jersey to glassfish, apply workaround
Change-Id: I3a36b9c0c8b241b46059edec08fb80087e67fd93
Issue-ID: CCSDK-1191
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
|
|
allow the http header Accept to be set independently from the http header Content-Type
Change-Id: I66fd846cec065a12afe7111c644aa373b61cf424
Issue-ID: CCSDK-1077
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
|
|
Fixed sonar issues/code-smells across this file
Issue-ID: CCSDK-879
Change-Id: I037ff59f5cb1b6855b62db434236fc2e567608a9
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed sonar issues/code-smells across this file
Issue-ID: CCSDK-845
Change-Id: I25e16b7189fd8c063b8d33605dd55094e3ad5877
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
|
|
|
|
Fixed sonar issues/code-smellls across this file
Issue-ID: CCSDK-845
Change-Id: I0a4a59ea875739839a692acec7f1feafb013d32e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
|
|
Fixed sonar issues/code-smells across this file.
Issue-ID: CCSDK-822
Change-Id: Icf2de267282ad30b9235c9aa9dadd1761344c1aa
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed sonar issues/code-smells across this file
Issue-ID: CCSDK-821
Change-Id: Ieac7de3d1bb542394bc876406a4ef0055f4c8ea0
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed sonar issues/code-smells across this file.
Issue-ID: CCSDK-820
Change-Id: I495f35866607a1403536dfcebc366afd6d7c0ff7
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed Restapicall JsonParser to process ":" if it
exist in the response body, this change is required
for casablanca too.
Change-Id: I83b0769eb13eb8d286cc70adc0e85823d6517dcd
Issue-ID: SDNC-519
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
|
|
Add authorization header in SSE request to support https
Issue-ID: CCSDK-628
Change-Id: I031cbed94e21e1f6d90bc0b00b2d70905d47bd69
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
|
|
Restapicallnode remove empty parameter from json template,
if template mandates empty parameter to be present then it
should not be removed.
Change-Id: I075e0858f956eb3aff87d2a7387b55caa3310568
Issue-ID: CCSDK-607
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
|
|
Changes includes:
- Upgrade Restapicallnode implementation to use latest version of
JAX-RS and sun.jersey versions to align with RestconfClient which is
using latest versions for SSE support. This solve problem 1 as
specified in the JIRA.
Change-Id: If641acbca247f8ad0e804161fb97f88c293ba43a
Issue-ID: CCSDK-567
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
Restconf Api Call Node
Issue-ID: CCSDK-372
Change-Id: I1820e97d54e734ccf73c6f48a9afcc4b59dff549
Signed-off-by: janani b <janani.b@huawei.com>
|
|
fix dme2 & ueb support in rest api call node
Change-Id: Ia387c0be8e907900e0b808879582048624dbef36
Issue-ID: CCSDK-459
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
|
|
Issue-ID: CCSDK-385
Change-Id: I430f9075ced10edb49062fc12091774e91611b32
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
|
|
Changes to save request payload to context variable based on
returnRequestPayload flag
Change-Id: I75069f700f34848904204049d6160251ea43578d
Issue-ID: CCSDK-365
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
|
|
Restapi-call-node: Give opportunity for developer to specify a variable in a JSON template, so that restapi-call-node will know it should not surround the value with quotes.
Change-Id: I844a8fd68f3015cbd6f5b039b8911e903de557ea
Issue-ID: CCSDK-296
Signed-off-by: Stan Bonev <sb5356@att.com>
|
|
Issue-ID: CCSDK-299
Change-Id: I61a56c873189ccc6ba9985c5121d50e2ad1f3f48
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
|
|
Issue-ID: CCSDK-298
Change-Id: I16d3e15f0250c78b48886c80d9a4427838ae36b3
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
|
|
currently the RESTAPI adaptor doesn't make a REST request with empty Content-type, this change is to help the adaptor to make request with no Content-type, currently defaulting to application/json. This is to avoid, when some servers throw 415 Unsupported Media Type error, when they dont support JSON response.
Issue-ID: CCSDK-232
Change-Id: I19fbb949f0aad4ea7ca91d6afcac06a5b7f8deed
Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
|
|
allow request body to be passed into rest api call node
Change-Id: I14a79fccb8dc3e29f2ec487bb6ba2f8021a0e498
Issue-ID: CCSDK-210
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
|
|
previously this exception was not thrown, it was caught and ignored. This restores backwards compatibility
Change-Id: Ia07c409f47be1269f959134ddbd4aa2898004e7d
Issue-ID: CCSDK-203
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
|
|
*Move string literal to the left side of comparison
Null check is performed by String.equalsIgnorecase hence removed
Issue-Id: CCSDK-117
Change-Id: I48c8815f9f20a1c6e86c8b4af8966c9945d5b0c7
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
|
|
|
|
*Iterating over map entries with entrySet
This is done because both key and value are needed and
iterating over entryset is more efficient than keyset
Issue-Id: CCSDK-87
Change-Id: I31d14239c8f7300ff2d3a629683e00b42e61ad86
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Changes includes
1) Added validation for invalid length
2) Added testcases to test length
Change-Id: Iefd56ca470382be139f185fdf84b6c0de0fa99f6
Issue-Id: CCSDK-100
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
Changes includes
1. Perform validation of URL syntax during parameter parsing phase.
2. StringBuilder to replace string concatenation within loop.
3. Testcase addition.
4. Sonar critical issue fix for XmlJsonUtil
5) Use logger built-in string formatting rather then string concatenation
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: I884af51023bbd4983c43707aca97c398d24fc9de
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
Merge build fails because catch statement is trying to catch JSONException
which is not thrown in body of try
Change-Id: I9e29e1698e04f8135799440ca4859aa418d1c54d
Issue-ID: CCSDK-99
Signed-off-by: Dan Timoney <dtimoney@att.com>
|
|
|
|
|
|
Changes includes:
1) Check for null in JsonParser.convertToProperties() which can otherwise result in null pointer exception
2) Use logger built-in string formatting rather then string concatenation
3) Use StringBuilder for multiple string concatenations
4) Making utility classes final and defines private constructor for them
5) Added testcases/testpoints
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: Ic047b6d0369827a38a98c52e8365f1fe7266840f
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
Changes includes
1) Sonar critical fixes stating use of specific exceptions instead of generic one
2) Throw exception for invalid input of repeat times.
3) Added testcases
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL
Change-Id: I2633f857e161bf7068c51ef835b7c2cd5eb5aa62
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
|
|
One major issue in sli/plugins module
*Making anonymous inner class a lambda
for better code readabilty
Issue-Id: CCSDK-87
Change-Id: Ib650546c4c2c86411744379fe5beae828403453d
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
One major issue
* move string literal to left side
of string comparison
Issue-Id: CCSDK-87
Change-Id: I1277c4c5515bd45ad6854c63cf6160f17b7725d0
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
few critical/major issues in sli/plugins module
Issue-Id: CCSDK-87
Change-Id: I4fc33df4ed782670252c9b550349f45b6618c77c
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Few major issues in Restapi call node
Issue-Id: CCSDK-87
Change-Id: Ieb733fcf178cecb9983b5135be8d7737cb42a1f3
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Fix Blocker/Critical sonar issues in vnfapi module
https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=BLOCKER
Issue-Id: CCSDK-67
Change-Id: I6393ebbaf4bd6dc2dea4a325f2a7d106ba20dd81
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
|
|
few major issues
https://sonar.onap.org/dashboard/index?id=org.onap.ccsdk.sli.plugins%3Arestapi-call-node-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fccsdk%2Fsli%2Fplugins%2Frestapicall%2FRestapiCallNode.java
Issue-ID: SDNC-75
Change-Id: Ida6ea182545bf57513bcd958519e3b50dfa004b2
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
|
|
Per ONAP Style Guide:
1. Convert tabs to 4 spaces.
2. Break lines to be less than 120 characters
3. Clean ecomp references
4. Remove extraneous spaces
Issue-Id: CCSDK-1
Change-Id: I5638326170aa3ab26774b373ab573643840e97ab
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
|
|
Updated sli/plugins to compile against OpenDaylight Carbon SR1
Change-Id: I5ca937a5a9b51cb0dadd3648c71fe2c5dcefdcf1
Issue-ID: CCSDK-26
Signed-off-by: Dan Timoney <dtimoney@att.com>
|