summaryrefslogtreecommitdiffstats
path: root/cadi/core/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-12-30Add more junits in auth cass & misc envSai Gandham3-0/+1
Issue-ID: AAF-111 Change-Id: Iac8ff0043b89b00f2f6f9f45ccfa6253552d445d Signed-off-by: Sai Gandham <sg481n@att.com>
2018-11-05Missing LicensesInstrumental2-88/+19
Issue-ID: AAF-607 Change-Id: Ibd6c50104af69c4164d53aa0f8709520020ce7a5 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-10-22Final Sonar redsInstrumental2-3/+35
Issue-ID: AAF-580 Change-Id: I99de4518853504c2a211e92bce3dba70c8bc6a76 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-10-12CADI ID TranslateInstrumental2-0/+339
Issue-ID: AAF-556 Change-Id: Ifd6c42012a90b369b41ad5ae8e724fb5950df958 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-10-06Refactor Client ConfigInstrumental1-2/+2
Refactored the client to handle multiple keystores without compromising keys, etc. After testing, now valiates just fine Issue-ID: AAF-424, AAF-540 Change-Id: I3b99014dd4b73ae22c359d35658da3bb13745ef9 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass whitespace changes (Style Warnings)Instrumental10-23/+23
Issue-ID: AAF-473 Change-Id: Ia1b3825a527bd56299949b5962bb9354dffbeef8 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass add newline package (Style Warnings)Instrumental36-0/+36
Issue-ID: AAF-473 Change-Id: Ibced57f7e0bc22ec7eba9c69ead0ecca11aaf3e9 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass removal of all Tabs (Style Warnings)Instrumental68-4571/+4571
Issue-ID: AAF-473 Change-Id: Iaf0ef8120882937959bb0065f2f6ba74a021940f Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-06Add timing CadiFilterInstrumental5-8/+20
Issue-ID: AAF-468 Change-Id: I335a1106609ac99e12eeb0640a06c9eb969e9bbb Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-08-29Change CadiFilter Default SSetterInstrumental1-18/+18
Issue-ID: AAF-460 Change-Id: I1f7d52104eb36c35cca3264b4995342936e69ef6 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-19Configuration and Auto-CertificatesInstrumental3-5/+5
Issue-ID: AAF-378 Change-Id: Ic820a4e43684a6130f00b28b415a974876099fc3 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-10System dependent separators in JU testsMaciej Wejs5-35/+36
Change-Id: I6795074d6cdec24821f465504e3d20bc4cc68eaf Issue-ID: AAF-387 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-07-05Refine Agent for cadi utilsInstrumental1-14/+14
Issue-ID: AAF-361 Change-Id: Id07b60181b906e65aefb24cbe0d192e362c2c3f4 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-03Collection syntax change because of SonarInstrumental4-8/+8
Issue-ID: AAF-386 Change-Id: I8ba8d8561d03e680ddc90a81b8db0339814c65fa Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-02Add ability for BAuth by domainInstrumental1-5/+5
Issue-ID: AAF-361 Change-Id: I6f437ffcfef5555f44acfb32fd6020f86f8cf403 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-06-26Initial Interface for remote ConfigurationInstrumental1-1/+1
Issue-ID: AAF-378 Change-Id: I320b0c23ece63199a49a5d8b1706868d2c4e5355 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-06-23JettyStartups to improve new FiltersInstrumental1-4/+2
Issue-ID: AAF-361 Change-Id: I74cac231ebac81466778c1c3ebca16c63ae6f78a Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-21Improve coverage of cadi-coreIanHowell1-0/+11
* Fix some of the Sonar issues in SecurityInfo * Improve coverage of SecurityInfo Issue-ID: AAF-225 Change-Id: I1a7c6e5ad9d0444cd8441bccf2c79ad79d9d3ddb Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-17Improve cadi-core coverageIanHowell7-119/+363
* Wrote tests for AUTHZServlet, MapPermConverter, NullPermConverter, and PathFilter * Deleted old test for FCGet - the class is not accessable to JUnits * Reduced complexity of AUTHZServlet, MapPermConverter, NullPermConverter, and PathFilter * Fixed a NullPointerException in CmdLine and its associated JUnit Issue-ID: AAF-225 Change-Id: Ifa6453043469cebb30d10a8a9e2bc1d01599a8c8 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-16Improve coverage of cadi-coreIanHowell2-0/+246
* Reduced complexity of HttpEpiTaf and LoginPageTafResp * Applied ONAP's code style to HttpEpiTaf and LoginPageTafResp * wrote JUnits for HttpEpiTaf and LoginPageTafResp Issue-ID: AAF-225 Change-Id: I28059237e838d0276593d556d2e04fe3a7b852c6 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-15Improve tests in cadi-coreIanHowell11-327/+446
* Added tests for LocalLur and AbsTafResp * Fixed several warnings on old tests Issue-ID: AAF-225 Change-Id: I3583424a734c9999934153bcd069c50f306d235b Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-11Improve coverage of cadi-coreIanHowell5-0/+502
Issue-ID: AAF-225 Change-Id: I72bd430c9dcf7fbe973f478a46d1f2aaee52da09 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-09Check Perm Instance ending in colonInstrumental2-3/+14
Issue-ID: AAF-269 Change-Id: I5422c0f119a53284ddc25eb7b99a8a6b09d3dd39 Signed-off-by: Instrumental <jonathan.gathman@att.com> Fix broken JUnits Issue-ID: AAF-270 Change-Id: I91e5d24b0e0610b10dcd12e90813e9ea00af1812 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-08Improve code coverage for auth locateSai Gandham1-0/+1
Issue-ID: AAF-243 Change-Id: I00b38931fa683ca04d48f273f23b538c9a51a426 Signed-off-by: Sai Gandham <sg481n@att.com>
2018-04-26Fix Bath config issueInstrumental1-1/+1
Issue-ID: AAF-264 Change-Id: Id9203fe4d756ac9aab51f7ccc5f33d8a41e2f5ce Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-20Improve coverage of cadi-clientIanHowell1-0/+123
Issue-ID: AAF-224 Change-Id: I36eef9e11e0944d29f3cd0bf71c2856a4b955966 Signed-off-by: IanHowell <ian.howell@att.com> Comment out tests that fail the jenkins builds Issue-ID: AAF-224 Change-Id: I1140c7b00f2a2abfced62a0c48b1b86cbe567d8a Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-19Merge "Cleanup JUnits"Jonathan Gathman38-40/+38
2018-04-18Support Multiple Realms for DefaultOrgInstrumental1-0/+4
Issue-ID: AAF-254 Change-Id: I89a9b1ceaa304861debd4c7dd21879e0b1fc902a Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-17Cleanup JUnitsIanHowell38-40/+38
* Moved JUnits into proper packages so as to match other packages * Suppressed most of the noisy output from JUnits in cadi-aaf * Prepared SecurityInfo for JUnit testing Issue-ID: AAF-128 Change-Id: Ib34658ca6da71a692336c51f1489ed167b531f77 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-17Improve coverage of CadiIanHowell11-29/+362
Improved coverage of tests in cadi-core, cadi-aaf, and cadi-client Issue-ID: AAF-128 Change-Id: Ie7df52ede1586d127098937f8d42cc6314e7eaa7 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-10Improve JUnit test coverageIanHowell8-65/+857
* Fixed a typo in DenialOfServiceTaf * Added a JUnit for DenialOfServiceTaf * Cleaned up JU_Cached, JU_AuthzEnv (WIP) Issue-ID: AAF-128 Change-Id: I76ace8aff3f72538f40068f6cc9c80f24aee7403 Signed-off-by: IanHowell <ian.howell@att.com> Increase coverage in cadi/client and cadi/core Get coverage for Holder, NulTaf, and NullTafResp to 100% Issue-ID: AAF-128 Change-Id: Ica83c29311801d499f922ccb4c33fb7f4e58f686 Signed-off-by: IanHowell <ian.howell@att.com> Improve coverage of the Tafs Issue-ID: AAF-128 Change-Id: I07f9ebee0a64c598047e74801a266898107783f7 Signed-off-by: IanHowell <ian.howell@att.com> Improve test coverage of XReader Issue-ID: AAF-128 Change-Id: I9b369b803743166027170b4a8ca50bd337e45b7b Signed-off-by: IanHowell <ian.howell@att.com> Improve coverage of GreatCircle Issue-ID: AAF-128 Change-Id: Id5e41a481db1106d050fb216664c1aa1e07cef2a Signed-off-by: IanHowell <ian.howell@att.com> Suppress test output Issue-ID: AAF-128 Change-Id: I7a7afe7617c81403d27baf89353f175d9cead165 Signed-off-by: IanHowell <ian.howell@att.com> Move JU_DNSLocator to the correct package Change-Id: Ic8feddf7444afcaaaa252a40d340116597533f46 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-05Add Certs, Docker BuildInstrumental3-476/+476
Issue-ID: AAF-211 Change-Id: Idc7630578155586a6e53d7af80dd16e4e0ac41ca Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-03Create method of Logging to O/S from ContainerInstrumental2-4/+25
Issue-ID: AAF-211 Change-Id: Ib5c369c24082823f6f8cfde7609b966f57085665 Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-03Fix the remaining failing tests in CadiIanHowell2-8/+8
Change-Id: Icac61b413bdc2de9ee73c14a785d26a3fe443fe4 Signed-off-by: IanHowell <ian.howell@att.com> Modify deprecated sonar properties in AAF Modified Misc pom files. Issue-ID: AAF-208 Change-Id: Iaf4e12c81f98fdca18992ffb24b78cd0135996df Signed-off-by: Sai Gandham <sg481n@att.com> Include Cadi and Misc JUnits for testing phase Issue-ID: AAF-128 Change-Id: Iee531d58c3aad1c5504e2e2619f611f30063e601 Signed-off-by: IanHowell <ian.howell@att.com> Fix a concurrency bug when removing invalid items from a Pool Change-Id: I5f3e18ff4e3eaedc2b4f3a4be1891c5187ab261b Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-03Fix up several JUnitsIanHowell6-484/+400
Issue-ID: AAF-128 Change-Id: I3644847671e08f0b6d57cce9674dc8a3d60fcbc4 Signed-off-by: IanHowell <ian.howell@att.com> Get Test coverage for MultiGet to 100% Issue-ID: AAF-128 Change-Id: I5b591c0b7e0e7353dc669e75546961177ef8d152 Signed-off-by: IanHowell <ian.howell@att.com> Get test coverage of UserChainManip to 100% Issue-ID: AAF-128 Change-Id: I41d6a2c3f405d8959507ae02c934fffff7903e32 Signed-off-by: IanHowell <ian.howell@att.com> Get test coverage of SecurityInfoC to 100% Issue-ID: AAF-128 Change-Id: I04c088827915b14d1f597d5e1eeb7f8e9159e644 Signed-off-by: IanHowell <ian.howell@att.com> Trial run at updating POMs for SONAR coverage Change-Id: Ib2a68773fafbc660266ee5d496ffe842c10e7931 Signed-off-by: IanHowell <ian.howell@att.com>
2018-03-29Change groupID to match Garrit ProjectInstrumental3-29/+42
Issue-ID: AAF-206 Change-Id: I2f9f83c210a6741b6c25c8045466d0c7a8e31811 Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-03-29Add several JUnits for test coverageIanHowell8-0/+1211
This is several days worth of tests - future commits will be smaller Issue-ID: AAF-128 Change-Id: I32d9b76d3ff95b32f96eaaf3d2ab8a36167c5254 Signed-off-by: IanHowell <ian.howell@att.com>
2018-03-26AT&T 2.0.19 Code drop, stage 2Instrumental42-0/+4472
Issue-ID: AAF-197 Change-Id: Ifc93308f52c10d6ad82e99cd3ff5ddb900bf219a Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>