aaf/cadi.git
5 years agoExempt Cassandra traffic from fproxy 69/70669/1
Ravi Geda [Wed, 17 Oct 2018 16:34:57 +0000 (17:34 +0100)]
Exempt Cassandra traffic from fproxy

The connection to cassandra is not http/https. Hence bypassing it from
going through the forward proxy.

Change-Id: Ic4f65222fca5f3698d6ed806333b265d0e392314
Issue-ID: AAF-572
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoMerge "Make 2-way TLS optional"
Jonathan Gathman [Wed, 17 Oct 2018 03:11:26 +0000 (03:11 +0000)]
Merge "Make 2-way TLS optional"

5 years agoMake 2-way TLS optional 68/70468/1
Ravi Geda [Mon, 15 Oct 2018 10:30:29 +0000 (11:30 +0100)]
Make 2-way TLS optional

Change-Id: I180e584b78dbe32d4c00b05672c2f6aa182ce4b1
Issue-ID: AAF-562
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoAdd to configuration information for rproxy 56/70356/1
IanB [Fri, 12 Oct 2018 13:31:17 +0000 (14:31 +0100)]
Add to configuration information for rproxy

Added more information on how to configure URIs & needed permissions
for the ReverseProxyAuthorization filter, the authorization enforcement
point. Added the necessary steps to use an alternative authorization
provider.

Issue-ID: AAI-1604

Change-Id: Ia16dd2687b0032a0bd75641c1523307e90ceeb32
Signed-off-by: IanB <IanB@amdocs.com>
5 years agoMerge "Enhance fproxy unit tests"
Jonathan Gathman [Wed, 10 Oct 2018 22:35:09 +0000 (22:35 +0000)]
Merge "Enhance fproxy unit tests"

5 years agoCorrect the forward proxy port 72/70172/1
Ravi Geda [Wed, 10 Oct 2018 15:18:38 +0000 (16:18 +0100)]
Correct the forward proxy port

Change-Id: I1531731713729dec57590f014dfe0c947ef55d37
Issue-ID: AAF-553
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoEnhance fproxy unit tests 58/70058/1
Lee, Tian (tl5884) [Tue, 9 Oct 2018 12:00:39 +0000 (13:00 +0100)]
Enhance fproxy unit tests

Ensure that the fproxy unit tests are specifically testing the
propagation of the X-TransactionId header in downstream requests.

Change-Id: I5e2da81eacaaf2f30e08b2cb95a12049fd5da6ff
Issue-ID: AAF-529
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoUpdate cadi sidecar version 63/69963/2
Sai Gandham [Mon, 8 Oct 2018 00:05:09 +0000 (19:05 -0500)]
Update cadi sidecar version

Adding relative path to oparent

Issue-ID: AAF-537
Change-Id: I6601b919c3e96bb7987aa316e460077a6de4e0bd
Signed-off-by: Sai Gandham <sg481n@att.com>
5 years agoRemove pom property preventing fproxy deploy 20/69920/1
Lee, Tian (tl5884) [Fri, 5 Oct 2018 15:24:49 +0000 (16:24 +0100)]
Remove pom property preventing fproxy deploy

rproxy sonar job is failing because fproxy artifact is not being
deployed.

Change-Id: I32d1b52e9420f76c0c1e27e0c87a2ecb5996e864
Issue-ID: AAF-528
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoUpdate oparent version in aaf cadi 82/69882/1
Sai Gandham [Fri, 5 Oct 2018 02:48:01 +0000 (21:48 -0500)]
Update oparent version in aaf cadi

Issue-ID: AAF-537
Change-Id: Ifc517cc153b0e1cb0b3b990e347349b148ba883d
Signed-off-by: Sai Gandham <sg481n@att.com>
5 years agochange cadi shiro version 72/69872/1
Sai Gandham [Fri, 5 Oct 2018 01:23:05 +0000 (20:23 -0500)]
change cadi shiro version

Issue-ID: AAF-537
Change-Id: I76cd87edad7acdb43ab48552cf68bc3df598ccf2
Signed-off-by: Sai Gandham <sg481n@att.com>
5 years agochange cadi actual version from SNAPSHOT 62/69862/1
Sai Gandham [Thu, 4 Oct 2018 21:16:50 +0000 (16:16 -0500)]
change cadi actual version from SNAPSHOT

Issue-ID: AAF-537
Change-Id: I9722b1d3541077f8900017b7293801fac343fbae
Signed-off-by: Sai Gandham <sg481n@att.com>
5 years agoFix NexusIQ security vulnerabilities 92/69592/1
Lee, Tian (tl5884) [Mon, 1 Oct 2018 15:24:47 +0000 (16:24 +0100)]
Fix NexusIQ security vulnerabilities

Remove Spring Boot Jackson dependencies and replace with Gson
implementation.

Fix potential source of NullPointerException.

Change-Id: I3a715a023223b596e8a0979f0e0d381511fca32d
Issue-ID: AAF-529
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoFix aaf-cadi-master-release-version-java-daily job 83/69583/1
Lee, Tian (tl5884) [Mon, 1 Oct 2018 12:55:40 +0000 (13:55 +0100)]
Fix aaf-cadi-master-release-version-java-daily job

Job is failing because aaf-cadi-aaf version 2.1.2 cannot be found in the
release repository.

Change-Id: I1f339401e514c93b5311d9c995832b12a5983631
Issue-ID: AAF-528
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoFix version.properties line endings 95/69395/1
Ravi Geda [Thu, 27 Sep 2018 18:35:03 +0000 (19:35 +0100)]
Fix version.properties line endings

The docker jobs are failing when reading the version.properties.
Also. remove unused version.properties under sub modules

Change-Id: If2940ac3a158e8c0bfba7fcb34ca241838a34597
Issue-ID: AAI-1689
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoFix failing jenkins jobs 67/68967/2
Ravi Geda [Tue, 25 Sep 2018 20:54:30 +0000 (21:54 +0100)]
Fix failing jenkins jobs

The docker java daily job is hanging when it tries to build the image.
Add rproxy and tproxy-config as submodules to sidecar. Align the groupid
of sidecar pom.

Change-Id: Idb24459b9eae43dbbef39b4a14b6167762fa126f
Issue-ID: AAI-1676
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoMerge "Initial drop of rProxy code"
Jonathan Gathman [Tue, 25 Sep 2018 16:57:31 +0000 (16:57 +0000)]
Merge "Initial drop of rProxy code"

5 years agoMerge "Initial drop of tproxy-config init container"
Jonathan Gathman [Tue, 25 Sep 2018 16:57:19 +0000 (16:57 +0000)]
Merge "Initial drop of tproxy-config init container"

5 years agoInitial drop of rProxy code 81/68081/8
Lee, Tian (tl5884) [Thu, 20 Sep 2018 11:27:40 +0000 (12:27 +0100)]
Initial drop of rProxy code

The Reverse Proxy sidecar is used to separate the responsibility of
authentication and authorization away from the primary microservice. In
conjunction with the Forward Proxy sidecar, it is responsible for
controlling access to the REST URL endpoints exposed by the primary
microservice, and propogating security credentials to downstream
microservices.

Change-Id: I5d80429e5422d7b3937cde73ac10c2ec00d264e8
Issue-ID: AAI-1604
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
5 years agoInitial drop of tproxy-config init container 57/68157/1
Blackwell, Ian (ib733q) [Thu, 20 Sep 2018 14:56:25 +0000 (15:56 +0100)]
Initial drop of tproxy-config init container

The tproxy-config init container sets up a pod's internal
network routing such that any traffic outbound from
the primary service is routed through the forward
proxy.

Change-Id: Ieca438fbed07db5fe7bce6162811634237c61b2a
Issue-ID: AAI-1664
Signed-off-by: Blackwell, Ian (ib733q) <ib733q@att.com>
5 years agoAdd forward proxy code 81/66981/8
Ravi Geda [Mon, 17 Sep 2018 11:57:44 +0000 (12:57 +0100)]
Add forward proxy code

Add a maven module called sidecar to cadi.
Add forward proxy as a maven module to sidecar.
Note that though sidecar is a module of cadi it does not inherit from cadi's pom.

Change-Id: I617ecb1a66a3cbdd3f03287f28c6527693c6dfc6
Issue-ID: AAI-1603
Signed-off-by: Ravi Geda <gravik@amdocs.com>
5 years agoShiro mixed version 51/65251/1
Instrumental [Fri, 7 Sep 2018 15:48:27 +0000 (10:48 -0500)]
Shiro mixed version

Issue-ID: AAF-420
Change-Id: I1b2015a75f0760a507e7ef46573c5aa3b91d77b5
Signed-off-by: Instrumental <jonathan.gathman@att.com>
5 years agoCadi Build Release 99/65199/2
Instrumental [Fri, 7 Sep 2018 12:57:03 +0000 (07:57 -0500)]
Cadi Build Release

Issue-ID: AAF-420
Change-Id: I62029d418c5055281957bee87ab2af5f290bbc76
Signed-off-by: Instrumental <jonathan.gathman@att.com>
5 years agoMerge "Use managed guava version"
Jonathan Gathman [Fri, 7 Sep 2018 11:55:59 +0000 (11:55 +0000)]
Merge "Use managed guava version"

5 years agoClean Sonar project name 89/64889/1
Gildas Lanilis [Thu, 6 Sep 2018 00:34:34 +0000 (17:34 -0700)]
Clean Sonar project name

Update <name> to match to the repo name.

Change-Id: Ia98e50a9f6668910a9bc52b8eed904a30142b620
Issue-ID: CIMAN-202
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
5 years agoUse managed guava version 43/62443/2
Gary Wu [Fri, 24 Aug 2018 22:13:38 +0000 (15:13 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I44a95ff149d7ff86452e4b86e4ca522c306e8499
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
5 years agoPTL 85/61385/1
Instrumental [Mon, 20 Aug 2018 21:03:20 +0000 (16:03 -0500)]
PTL

Issue-ID: AAF-419
Change-Id: I312efd03230fc6d1e931be97f77ce94ee60dfe28
Signed-off-by: Instrumental <jonathan.gathman@att.com>
5 years agoSonar fixes related to exceptions 51/59651/1
Maciej Wejs [Mon, 16 Jul 2018 14:42:23 +0000 (16:42 +0200)]
Sonar fixes related to exceptions

Fixes in aaf-cadi-aaf module
This one is related to ticket in main repo

Change-Id: I1eeaba545d9cc3b3c07ba53ec12500cdb5567742
Issue-ID: AAF-396
Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
5 years agoMoving Shiro modules to cadi repo 69/55669/1
Sai Gandham [Tue, 3 Jul 2018 03:37:37 +0000 (22:37 -0500)]
Moving Shiro modules to cadi repo

Issue-ID: AAF-380
Change-Id: If1029a16958335277ff38cdbe5662b0a14ea439f
Signed-off-by: Sai Gandham <sg481n@att.com>
5 years agoAdd INFO.yaml file 33/49033/1 2.0.0-ONAP beijing 2.0.0-ONAP
Jessica Wagantall [Thu, 24 May 2018 22:12:09 +0000 (15:12 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I9c2813390d3bbf199652774ddb664957a3c7efa7
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRemove Code from cadi, it is now in authz 39/38639/1
Instrumental [Mon, 26 Mar 2018 19:04:27 +0000 (12:04 -0700)]
Remove Code from cadi, it is now in authz

Issue-ID: AAF-193
Change-Id: Ib7abdb15ba8a7445a3875cf8c6bb48b7d563f424
Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
6 years agoAdd Notice of aaf/cadi source moving to aaf/authz 13/38213/1
instrumental [Fri, 23 Mar 2018 22:23:52 +0000 (17:23 -0500)]
Add Notice of aaf/cadi source moving to aaf/authz

Issue-ID: AAF-191
Change-Id: Ic91bca4f3b46f93a2af7278b9f859ba16c8d53d1
Signed-off-by: instrumental <jcgmisc@stl.gathman.org>
6 years agoUpgrade to latest oparent 85/36085/1 Amsterdam
Gildas Lanilis [Fri, 16 Mar 2018 00:16:15 +0000 (17:16 -0700)]
Upgrade to latest oparent

Update pom.xml file to latest version release of oparent, 1.1.0

Change-Id: I9b0586c764b27d5a80ebe2bca390671551b11dc6
Issue-ID: INT-443
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
6 years agoExclude jackson dependency 69/27169/1 v1.0.0
Sripad [Fri, 29 Dec 2017 19:34:01 +0000 (19:34 +0000)]
Exclude jackson dependency

exclude the jackson-mapper dependency which is causing license
issue.

Issue-ID: AAF-90
Change-Id: I821e24ad579fe31c3ea1a4a1f0acd4591e2871cc
Signed-off-by: Sripad <sg481n@att.com>
6 years agoAdd test cases for aaf cadi module 71/17371/1
sg481n [Thu, 5 Oct 2017 18:56:50 +0000 (18:56 +0000)]
Add test cases for aaf cadi module

Add test cases to increase code coverage for cadi module.

Issue-ID: AAF-79
Change-Id: I03ec3b73f131f3b1426ef44eefa6dffaad333347
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 97/17297/2
sg481n [Thu, 5 Oct 2017 02:11:27 +0000 (02:11 +0000)]
Improve code coverage for aaf cadi modules

Modify propaccess test cases

Issue-ID: AAF-79
Change-Id: Ie994b119017e044300cde1cfce9734fe8a8f6d84
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 81/17281/4
sg481n [Wed, 4 Oct 2017 19:48:09 +0000 (19:48 +0000)]
Improve code coverage for aaf cadi modules

Modify test case and add properties file.

Issue-ID: AAF-82
Change-Id: Ied85f1da15ff7ffede39749f1fb851d017aa9e81
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 45/17245/2
sg481n [Wed, 4 Oct 2017 16:01:39 +0000 (16:01 +0000)]
Improve code coverage for aaf cadi  modules

INcluded new test case

Issue-ID: AAF-79
Change-Id: I6edba798b1b3f7f37a9f51bc3f2c65aa16a959c4
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 53/17153/1
sg481n [Wed, 4 Oct 2017 03:01:35 +0000 (03:01 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I15325ac5538bab4693b169ceea15a36d3aaa42d8
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 23/16923/1
sg481n [Mon, 2 Oct 2017 20:56:03 +0000 (20:56 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I51d05fb06eae4d8adedfd3efe4e143dc5bc990d0
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 19/16919/1
sg481n [Mon, 2 Oct 2017 20:31:06 +0000 (20:31 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: Id98e2fd4a7756916ed6346bf9bead481e7f42180
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules. 57/16857/2
sg481n [Mon, 2 Oct 2017 13:40:28 +0000 (13:40 +0000)]
Improve code coverage for aaf cadi modules.

Issie-ID: AAF-79
Change-Id: I57c757a12997a81137a71c2ce131fb3ef934ec1f
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 23/16823/1
sg481n [Mon, 2 Oct 2017 04:27:49 +0000 (04:27 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I3ff6a0ffba6f8777d0972aca3f74c2c8cfe4f8cb
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 11/16811/1
sg481n [Mon, 2 Oct 2017 01:59:15 +0000 (01:59 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I1db3ce73fd7733372caab5a13c981e62a8d58074
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 07/16807/1
sg481n [Sun, 1 Oct 2017 23:47:48 +0000 (23:47 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: Ia116c12709f005c6bc6aa3b5f59b17c198893459
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 03/16803/2
sg481n [Sun, 1 Oct 2017 21:06:52 +0000 (21:06 +0000)]
Improve code coverage for aaf cadi modules

Updated few testcases.

Issue-ID: AAF-79
Change-Id: If0760b6f3e74d52fa5132224bf1e6f5e3099f0e4
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 99/16799/1
sg481n [Sun, 1 Oct 2017 19:47:49 +0000 (19:47 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I9e12b64024aaa5dad13965fdbfc474c330bae864
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 71/16771/1
sg481n [Sun, 1 Oct 2017 13:37:12 +0000 (13:37 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: Iddb91a7d72b7ef8a246b81b0111feda59d82d56d
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 43/16743/1
sg481n [Sat, 30 Sep 2017 18:40:19 +0000 (18:40 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I6b7153858f6b8acd050715fe4d7984c9b2fbaac8
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 23/16723/1
sg481n [Sat, 30 Sep 2017 03:30:05 +0000 (03:30 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: Ib01236cc4548a172d6455c59cd03a46b9743b09d
Signed-off-by: sg481n <sg481n@att.com>
6 years agoImprove code coverage for aaf cadi modules 67/16667/1
sg481n [Fri, 29 Sep 2017 17:20:35 +0000 (17:20 +0000)]
Improve code coverage for aaf cadi modules

Issue-ID: AAF-79
Change-Id: I6679f27eba438c7a02ea36fe4bd885eb405e2222
Signed-off-by: sg481n <sg481n@att.com>
6 years agoUpdate License & modify properties in aaf/cadi 87/14787/2
sg481n [Sat, 23 Sep 2017 03:02:43 +0000 (03:02 +0000)]
Update License & modify properties in aaf/cadi

Updated license file & sitepath modified and O-parent latest added to
parent pom of aaf/cadi,Javadocs plugin version added & duplicate staging plugin
removed.

Issue-id: AAF-59
Change-Id: Ia52c18b6c42445e3b858476dcb0b029c681c121e
Signed-off-by: sg481n <sg481n@att.com>
6 years agoCleanup project's name in Sonar 79/11379/1
Jessica Wagantall [Fri, 8 Sep 2017 21:39:32 +0000 (14:39 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency
in Sonar.

Change-Id: Ic831a909ce62ae31f54da77f974e12ca53c3988c
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdate version.properties to aaf cadi 57/9957/1
sg481n [Fri, 1 Sep 2017 17:15:38 +0000 (13:15 -0400)]
Update version.properties to aaf cadi

Updating version.properties file in aaf cadi.

Issue-id: AAF-57
Change-Id: I6a07c5754fceea6b5725b5b6a00443e644b9e5cf
Signed-off-by: sg481n <sg481n@att.com>
6 years agoAdd version.properties to aaf cadi 41/9941/1
sg481n [Fri, 1 Sep 2017 16:26:39 +0000 (12:26 -0400)]
Add version.properties to aaf cadi

Adding version.properties to aaf cadi modules.

Issue-id: AAF-57
Change-Id: Id5fafcecab4b5dc78d52c1591ea49df203a19e0a
Signed-off-by: sg481n <sg481n@att.com>
6 years agoUpdate project structure for aaf/cadi 51/8751/1
sg481n [Fri, 25 Aug 2017 05:57:24 +0000 (01:57 -0400)]
Update project structure for aaf/cadi

Update project structure from com.att to org.onap
and add distribution management and staging plugin.

Issue-id: AAF-22
Change-Id: Idf2b591139e38921ad28782a51486714a05dee92
Signed-off-by: sg481n <sg481n@att.com>
6 years ago Update AAF Version 1.0.0 65/7265/1
sg481n [Thu, 10 Aug 2017 21:52:09 +0000 (17:52 -0400)]
 Update AAF Version 1.0.0

Change-Id: I8d12cf2e495a7cee9f59d45e04c5623dedb50bc8
Signed-off-by: sg481n <sg481n@att.com>
6 years ago [AAF-21] Updated Copyright Headers for AAF 83/7183/1
sg481n [Thu, 10 Aug 2017 03:34:20 +0000 (23:34 -0400)]
 [AAF-21] Updated Copyright Headers for AAF

Change-Id: I6075e7a49fc6ad61db0c89a980d39e8d8691fd5f
Signed-off-by: sg481n <sg481n@att.com>
6 years ago [AAF-21] Initial code import 91/6691/1
sg481n [Thu, 3 Aug 2017 21:39:12 +0000 (17:39 -0400)]
 [AAF-21] Initial code import

Change-Id: Ia1dd196befd061f6ba0c2be6bf4456a30ea50f97
Signed-off-by: sg481n <sg481n@att.com>
6 years agoInitial empty repository
Jessica Wagantall [Wed, 12 Jul 2017 17:55:53 +0000 (17:55 +0000)]
Initial empty repository