summaryrefslogtreecommitdiffstats
path: root/cadi/core/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15Improve PoolInstrumental1-55/+133
Move interface Log out, make JUPool test the functionality better, add "tooManyObjects" to help control memory. Minor BasicEnv for standalone usability. included ".checkstyle" files, generated by Eclipse/Maven to .gitignore. They shouldn't be in repo. Issue-ID: AAF-1146 Signed-off-by: Instrumental <jgonap@stl.gathman.org> Change-Id: I72c22fa455029950e3d73d2e9addbccc1a990189
2020-04-15Fix CADI Connection to Remote DNS AAF servers on proxied networkRene Glover2-6/+6
Java CADI client code and web filter has been fixed to allow specification of a fixed hostname for connecting to AAF service and avoiding use of the AAF Locator service to bootstrap. The CADI code was also updated to avoid pre-resolving DNS in this scenario. This fix is necessary to address use cases where the AAF servers live in a different network domain from the CADI client where the access point is through a proxied endpoint and the DNS name is unresolvable on the network where the CADI client code is executing. Issue-ID: AAF-1123 Signed-off-by: Rene Glover <rene.glover@att.com> Change-Id: I8835b7445e9bc1f6e89380462062748b53e078e5
2019-12-11Add a MassMail Batch ProgramInstrumental2-3/+49
Had to move Holder cover for change in WS/Bind to compile Issue-ID: AAF-1059 Change-Id: I754515a6e65bd0665fa3e03dabd8f5a144241f6e Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-11-20Fix namesInstrumental1-49/+0
Issue-ID: AAF-1046 Change-Id: Idd0d5e2272863f021842eaa604e11728c1379c5f Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-10-15Sonar Fixes, FormattingInstrumental51-262/+262
Issue-ID: AAF-1019 Change-Id: Ica49d9e7323aad9622ff9d95cc21b87430c22c54 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-09-10OParent 2.1.0Instrumental1-0/+7
Issue-ID: AAF-966 Change-Id: I2de5d5747ce8bce4ba2cfe11f5c407869d3be20d Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-08-07Remove Tabs, per JococoInstrumental3-370/+370
Issue-ID: AAF-932 Change-Id: I3ab0ebcc082048d2d1424a58a90ea479fb005ee6 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-07-12Adjust Agent for none K8sInstrumental1-0/+1
Issue-ID: AAF-857 Change-Id: Iae6ab3800376465deb69d735d1ab38c931b46688 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-07-08Cred delete fixesGathman, Jonathan (jg1555)1-1/+1
Issue-ID: AAF-857 Change-Id: I5e590eec0e18a17bb9f89d7f704c86fca3f377de Signed-off-by: Gathman, Jonathan (jg1555) <jg1555@us.att.com>
2019-06-11Update for more Logging InfoInstrumental2-1/+4
Issue-ID: AAF-853 Change-Id: I51e9160e2b53ebf74ba5f93c9a634a790f7ed848 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-04-05Refine Helm Client ChartsInstrumental1-5/+5
Issue-ID: AAF-802 Change-Id: Ie00cd2919eeecef00aac1dae139c7ef80092589a Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-04-03Create Helm based Certificates for ClientsInstrumental1-12/+12
Issue-ID: AAF-802 Change-Id: I5fdc4daecd6bac7f042940473784cfb05c9e338e Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-03-27remove INFORMATIONAL emailInstrumental1-9/+10
Users found confusing. Can be reinstated later if matching GUI elements created.. Correct Onboard Doc Issue-ID: AAF-798 Change-Id: Ic3672626df919791141f897ed11c818e594c8d7b Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-03-26Mod some loggingInstrumental1-10/+9
Issue-ID: AAF-798 Change-Id: I1b97d309b0a2b86e49dd79d6b712f1c4506647cd Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-03-07Improve BatchesInstrumental5-37/+2
Issue-ID: AAF-740 Change-Id: Ib3e8a3f977964eed2e992dc02154dd3bc90492df Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-02-20fix new openssl, data, etcInstrumental1-2/+2
Issue-ID: AAF-667 Change-Id: Ic87c5159c453c293d845abea6be0c4cfb3164fc1 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-02-03Approval Batch, prep better JUnitInstrumental3-10/+7
Issue-ID: AAF-740 Change-Id: Id9e8ca121c9bf92c2f98c7a61631e2417bba70b1 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-01-31Implement public private locatorInstrumental1-0/+155
Issue-ID: AAF-723 Change-Id: Ib5507ccaab0b7e565c98a16733d1b42dfb608095 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2019-01-03DOC Add Architecture CADIInstrumental3-1/+0
Issue-ID: AAF-694 Change-Id: I0617cbdca89ccd8dead0abcf91ca36a941d282ee Signed-off-by: Instrumental <jonathan.gathman@att.com>
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>