Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Change the operational policy payload from Yaml to a JSon, yaml being
embedded as URLEncoded
Issue-ID: CLAMP-359
Change-Id: I8c97bb155e6136ce37c29a65a7d9d85e21fedd61
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Rework the logging of the policy calls so it's easier to debug it
Issue-ID: CLAMP-357
Change-Id: I0ad955de05fef45c4eaae3a6770baefe8e7f0a1f
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix policy calls so that the url is now right + update camel version to
latest
Issue-ID: CLAMP-357
Change-Id: Iffc83f53eb2361d7551b43b28c8e822fbf38c619
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Rework unit tests + test resources and code for policy type renaming
Issue-ID: CLAMP-356
Change-Id: Id64c620b42347d6f5535523f33a0a04a54a60fa2
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Change-Id: I274a946af91f6b06d3aa53b8127c94010274e353
Issue-ID: CLAMP-354
Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
|
|
- introduced a few String constants,
- removed unused code,
- added @FunctionalInterface annotation,
- made most fields private (when possible)
Change-Id: If8c523125de6a5e5c756e18bd04efd548b19ba91
Issue-ID: CLAMP-346
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
|
|
|
|
Fix the logging issues created by the api defined by camel. Adding the
entering/exiting and invoking/invoking return logs as based on the ONAP
Logging Requirement.
Issue-ID: CLAMP-351
Change-Id: I5cb314ade5a716993206a917dfdbdab3f2572b3a
Signed-off-by: xg353y <xg353y@intl.att.com>
|
|
literal in DefaultUserConfiguration"
|
|
|
|
Remove duplicated literal in DefaultUserConfiguration
Change-Id: I8318b568d4dd093e9a57a30341ce607c6668c5d1
Issue-ID: CLAMP-346
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
|
|
|
|
|
|
Fix Checkstyle issues
Issue-ID: CLAMP-328
Change-Id: Ic03e0a00094a5de8b592ecd3ce3b9ae0ecdb59f8
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
|
|
GUI modifications for operation policy
Change-Id: I21fd7bc499ba799a0b8436b1946733608d9c62e2
Issue-ID: CLAMP-350
Signed-off-by: ThamlurRaju <TR00568434@TechMahindra.com>
|
|
Fixed Sonar issue:
- name convection for static field in AuthorizationController
- optimize condition flow in AuthorizationController
- remove not used import in BlueprintParserMappingConfiguration
- remove not used field in AuthorizationController, SdcControllersConfiguration, CldsService
- add private constructor to the AwtUtils
- change redundant EnableAutoConfiguration annotation to SpringBootApplication annotation
- remove duplications of code in the CldsDao
Change-Id: I49d8be9ec44b5930f76bace0fc9d8cf61ee000f5
Issue-ID: CLAMP-346
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
|
|
|
|
Fix Checkstyle issues
Change-Id: I67fa832cc1ac3e4992837a8022bb7673ab81913d
Issue-ID: CLAMP-328
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
|
|
Removed 3 unused private fields from the class
org.onap.clamp.clds.model.properties.AbstractModelElement
along with the following changes within 4 other classes and 1 test class
Change-Id: Id4cc30964ca5478add446601f642c6c0ed190ab7
Issue-ID: CLAMP-347
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
|
|
GuardPolicyDeleteDelegate"
|
|
Fixed Sonar issues:
- change the HasMap to more optimized(in this case) EnumMap in GuardPolicyAttributesConstructor
- remove no necessary casting in the TcaRequestFormatter
- remove not used value in the DcaeDispatcherServices
Additionally correct javadoc in PolicyClient.
Change-Id: I6435fe093248073fee9749366e98d5720a8fe375
Issue-ID: CLAMP-346
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
|
|
Removed unused code from GuardPolicyDelegate
and GuardPolicyDeleteDelegate according to Sonar
Change-Id: I9a58765b4bcf7015b0ca2e3b1dce272358657052
Issue-ID: CLAMP-345
Signed-off-by: p.borelowski <p.borelowski@partner.samsung.com>
|
|
Fixed Sonar vulnerabilities in CldsDao:
- used StringBuilder instead of String concatenation to build the query
Change-Id: Idc5fb50eae240352edd93329398eca0ef1b3d1f8
Issue-ID: CLAMP-344
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
|
|
|
|
Removed code duplication in PolicyClient according to Sonar analysis
Change-Id: I7fd7bdee228eb80661a8416ffc0aab0b2e8c7e04
Issue-ID: CLAMP-343
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
|
|
Fix Checkstyle issues
Issue-ID: CLAMP-328
Change-Id: Idecd87abbf3765a7e77e2219df1063e732bb04b0
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
|
|
Replace PolicyID by the real microservice policy name as it's known in
the csar installer code
Issue-ID: CLAMP-304
Change-Id: Ifbd1796cb52b6271218fe63927af32ec392ed81a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add Start/stop routes for policy control, it's obviously working the PDP
group
Issue-ID: CLAMP-303
Change-Id: I16cafa46ee39b6114af9b36f7382b7c2401edaf1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add log in UI from Loop logs table so that user see what has been done
Issue-ID: CLAMP-313
Change-Id: I673a46e7b867852179b32d163241de67b300b07c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add pdp group code to add/remove policies from active PDP group
Issue-ID: CLAMP-303
Change-Id: I3fcffd229bc7703231b813948aac14ce63437127
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add Loop name in UI + removal of useless javascript code
Issue-ID: CLAMP-313
Change-Id: Iba72f3bfcf2a0bf2731120c77b17f41ed7ac77f6
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
* changes:
Add timeout + Creds
Remove SQL Dump
Add delete support
Rework Gson in Camel
PDP Group support
|
|
Add Creds and timeout to queries done to policy Engine in CAMEL routes
Issue-ID: CLAMP-303
Change-Id: I8c744a3272e139e5968751bcece7c53612c23904
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Remove SQL dump in logs done by hibernate
Issue-ID: CLAMP-254
Change-Id: Id357ac37dfa475a9774d0b2c3b5f254c84caa9d7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Move delete code to Camel way so that it's more flexible + introduce
removal of the loop + test
Issue-ID: CLAMP-315
Change-Id: I7df87e1441d4511ad6b42d0d269c3b2c8c7d8eef
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Create new Camel DataFormat class to handle the Clamp JSon model
specific type
Issue-ID: CLAMP-303
Change-Id: I2abd173c7d2a96a03d333a8def4307bc3cf082d7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add support to push all policies to pdp group + log
Issue-ID: CLAMP-303
Change-Id: Ie53b1dfd11ef8db9c2b5ccca0511e6f6343fb70a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
* changes:
Fix guard payload
Add logs
Remove the license issue
|
|
Fix guard payload nullpointerException when guard list is empty or null
Issue-ID: CLAMP-303
Change-Id: I6f714a877036cbc531dd35505202dde227cc224a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Add logs entries in loop database so that we can track what is going on
Issue-ID: CLAMP-303
Change-Id: If69e3ebbb9f96e4bc3a95b06e61eaa301bd32007
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
* changes:
Update sql files
Create submit route
Fix tomcat issue
|
|
|
|
Create required components for Submit route in camel + unit tests +
Policy payload generation + emulator feature for new policy api
Issue-ID: CLAMP-303
Change-Id: If9033cfa3f4e346e2cbd7f891baff1f2c04a40a2
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Upgrade Spring and Camel to latest version so that it fixes thesecurity
issues
Issue-ID: CLAMP-338
Change-Id: I214ac3520be3c388ec2f7e715b7d37e0db5d5a9c
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
Fix saving of config policy due to refactoring + fix missing model
type in config policy
Issue-ID: CLAMP-303
Change-Id: I863f3bb6b2acef8ed7bf534e142c1730b1493b67
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
|
|
|
|
Updated cadi for Dublin
Issue-ID: CLAMP-337
Change-Id: I71e02369e8aa0a23250c94c68fcd9cf434de4414
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
|