GitHub user gouravshenoy opened a pull request:
https://github.com/apache/airavata/pull/105
Add Profile-Service SDK and Implement Event-Driven DB Replication
This pull-request contains code changes and new feature implementations for
the following:
1. Implement a Profile-Service SDK
This profile-service sdk contains standalone thrift APIs for the following:
a. User-Profile Service
b. Tenant-Profile Service
The interactions related to Users and Tenants (a.k.a. Gateway), will now be
via the Profile-Service SDK, instead of the Airavata-Server APIs. This SDK also
contains a security module, which will mandate use of AuthToken while
communicating with the Profile-Service APIs.
2. Implement an event-driven db replication scheme
Since the user and tenant interactions channel via the profile-service
APIs, this db-event-manager module will make sure that information pertaining
towards user-profiles and tenants (gateways) are replicated/synced in necessary
micro-services, such as Registry, Sharing-Registry, etc. These events are
propagated using RabbitMQ messages and broker. Currently, only the following
replications have been added:
a. UserProfile (profile-service) --> UserProfile (sharing-registry)
b. UserProfile (profile-service) --> UserProfile (app-catalog,
experiment-catalog)
c. Tenant (profile-service) --> Gateway (experiment-catalog)
d. Tenant (profile-service) --> GatewayProfile (app-catalog)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gouravshenoy/airavata user-profile
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/airavata/pull/105.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #105
----
commit 75527b42ee3004e547d15931a0b2c8c532666844
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-24T23:45:59Z
making corrections to user profile service code
commit 234486710d8a03e8a1346f31cca27accfd2fc0e5
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-24T23:57:11Z
adding the server property file, which was left out in last commit
commit 3e62c282b490d1d78b75269703fcbc01e77b4b25
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-25T00:00:16Z
adding dependancy for user-profile service in distribution pom
commit 890b87317216a35a97c5ebe7e6ae02ad7f3bd7cf
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-25T00:05:59Z
adding user profile service to server module
commit 8df74920c95d3e1e826de45faae513b31fe1d223
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-25T20:00:50Z
renaming classes and including userProfileSerive exception
commit 32c11f95753f5250b4a41a6292f87029edda58a9
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-25T20:10:30Z
adding user profile client, which was accidently deleted in last commit
commit 5df3f813019215755b020b02ba0f821b1f448d1e
Author: Anuj Bhandar <[email protected]>
Date: 2017-01-25T20:34:26Z
updating some external dependencies
commit 05e97d6e6c750c3bf5f5435dd4768b4e733f620a
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-01T20:12:33Z
Moving registry components for user-profile service to respective module
commit c4d32f4205cfffc7b75c1e1d3385900a6401af76
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-06T20:59:30Z
removing data models not related to user-profile and intantiating
user-profile service
commit 593f2cfd52f59f945d4f6cafe23f8cda864733bd
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-06T22:02:57Z
changing package name due to class loading problem
commit 6f498a40678832330646b74544d4e2b5601ce398
Author: Marcus Christie <[email protected]>
Date: 2017-02-10T16:55:45Z
AIRAVATA-2316 Configure forward mapping to generate foreign keys
commit 3f1914c24d31bf68b8e8d9e8e40617c9cca629af
Author: Marcus Christie <[email protected]>
Date: 2017-02-15T17:35:43Z
AIRAVATA-2316 Fixing openjpa version
commit f68f55a1abf9e6cad1e3a4d909f5c050a46d5ce5
Author: Marcus Christie <[email protected]>
Date: 2017-02-15T19:40:59Z
AIRAVATA-2316 Adding user profile properties
commit 4120d75f36eb692cd92c6fed054715b5c9c7c334
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T18:10:26Z
AIRAVATA-2316 Adding API methods to thrift
commit 54e0f39eb5ae508f532be673057da6088e768e91
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T18:12:41Z
AIRAVATA-2316 Updating Thrift generated stubs
commit de26509047837989ceddd505fe13a96837493928
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T18:14:56Z
AIRAVATA-2316 Initial implementation of user profile API methods
commit 589392ef0d4868d1c32970e31ca7fe0515990048
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T21:29:20Z
AIRAVATA-2316 Fixing loading user profile, eager fetch emails
commit 0bc5f2e9b4d63fb02f5519d26a8cd84443ef70d3
Author: Marcus Christie <[email protected]>
Date: 2017-02-22T22:03:34Z
AIRAVATA-2316 Eager fetch all UserProfile associations
commit 52fb440274fbc121b28e0af8de91d2037345a532
Author: Marcus Christie <[email protected]>
Date: 2017-02-28T16:55:41Z
AIRAVATA-2316 Adding authz checks to user profile modification methods
commit bfe1066a4bc83eccf5ac731aba930665180e9b36
Author: Marcus Christie <[email protected]>
Date: 2017-02-28T17:18:04Z
AIRAVATA-2316 User Profile API methods added to xacml policy
commit eed4f7de04ca47e5eb07e1f294331acaa51ff086
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-28T17:36:17Z
Merge pull request #1 from machristie/user-profile-service
AIRAVATA-2316 Store user profile in User Profile Service
commit e9f14e2d97c798c495364df2c897d2ea06345646
Author: Suresh Marru <[email protected]>
Date: 2017-02-28T17:54:11Z
Triggering branch mirror to github
commit 01943baf04a15b10f800497e0de111276602d7ab
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-01T20:12:33Z
Moving registry components for user-profile service to respective module
commit 9085dfe5f87d5a3bb8321e1d6adf7e6226cb9264
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-06T20:59:30Z
removing data models not related to user-profile and intantiating
user-profile service
commit e0f63bcb936e496d0630de19637673b0a5a31862
Author: Anuj Bhandar <[email protected]>
Date: 2017-02-06T22:02:57Z
changing package name due to class loading problem
commit 71dcaac1b728bbf305e3e10de9d90399f68f9f51
Author: Marcus Christie <[email protected]>
Date: 2017-02-10T16:55:45Z
AIRAVATA-2316 Configure forward mapping to generate foreign keys
commit bd1ada588c5cfed3bd3c9e9c740e243c7c38ec1e
Author: Marcus Christie <[email protected]>
Date: 2017-02-15T17:35:43Z
AIRAVATA-2316 Fixing openjpa version
commit 53193fb4d2f81feb79805805afeaba7cb24b40a6
Author: Marcus Christie <[email protected]>
Date: 2017-02-15T19:40:59Z
AIRAVATA-2316 Adding user profile properties
commit ebba4c9f54b3a36688fbdc99d8692e31f6b28922
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T18:10:26Z
AIRAVATA-2316 Adding API methods to thrift
commit 9dd4fdb3fd0190f27e4d13a510f90965789632ed
Author: Marcus Christie <[email protected]>
Date: 2017-02-17T18:12:41Z
AIRAVATA-2316 Updating Thrift generated stubs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---