This is an automated email from the ASF dual-hosted git repository.
isjarana pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git.
from 719f414 Merge pull request #96 from
bhaktinarvekar/certificate-modifications
new ef30cfd Make user management multi tenant
new 0e57975 Add sharing management client and modify group management to
use multitenant client
new cf25a7f revamp python SDK to support django portal requirements
new a16b8a6 Bug fix in settings.py
new df8fb07 Merge pull request #97 from isururanawaka/sharing_service
The 267 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../management/client/GroupManagementClient.java | 60 +++--
custos-client-sdks/custos-java-clients/pom.xml | 1 +
.../pom.xml | 11 +-
.../management/client/SharingManagementClient.java | 268 +++++++++++++++++++++
.../management/client/UserManagementClient.java | 253 ++++++++++++++++++-
.../{transport => custos/clients}/__init__.py | 0
.../clients/agent_management_client.py | 16 +-
.../clients/group_management_client.py | 17 +-
.../clients/identity_management_client.py | 18 +-
.../clients/resource_secret_management_client.py | 20 +-
.../clients/super_tenant_management_client.py | 15 +-
.../clients/tenant_management_client.py | 24 +-
.../{ => custos}/clients/user_management_client.py | 18 +-
.../resources => custos/clients/utils}/__init__.py | 0
.../utils/certificate_fetching_rest_client.py | 14 +-
.../{ => custos}/clients/utils/utilities.py | 0
.../{ => custos}/samples/__init__.py | 0
.../samples/agent_management_samples.py | 16 +-
.../samples/group_management_samples.py | 18 +-
.../samples/identity_management_samples.py | 13 +-
.../{integration => samples/resources}/__init__.py | 0
.../{ => custos}/samples/resources/cert.pem | 0
.../samples/tenant_management_samples.py | 21 +-
.../samples/user_management_samples.py | 19 +-
.../custos/{core => server}/__init__.py | 0
.../{ => server}/core/AgentProfileService_pb2.py | 0
.../core/AgentProfileService_pb2_grpc.py | 0
.../core/ClusterManagementService_pb2.py | 0
.../core/ClusterManagementService_pb2_grpc.py | 0
.../core/CredentialStoreService_pb2.py | 0
.../core/CredentialStoreService_pb2_grpc.py | 0
.../core/FederatedAuthenticationService_pb2.py | 0
.../FederatedAuthenticationService_pb2_grpc.py | 0
.../{ => server}/core/IamAdminService_pb2.py | 0
.../{ => server}/core/IamAdminService_pb2_grpc.py | 0
.../{ => server}/core/IdentityService_pb2.py | 0
.../{ => server}/core/IdentityService_pb2_grpc.py | 0
.../{ => server}/core/ResourceSecretService_pb2.py | 0
.../core/ResourceSecretService_pb2_grpc.py | 0
.../{ => server}/core/TenantProfileService_pb2.py | 0
.../core/TenantProfileService_pb2_grpc.py | 0
.../{ => server}/core/UserProfileService_pb2.py | 0
.../core/UserProfileService_pb2_grpc.py | 0
.../utils => custos/server/core}/__init__.py | 0
.../integration/AgentManagementService_pb2.py | 2 +-
.../integration/AgentManagementService_pb2_grpc.py | 4 +-
.../integration/GroupManagementService_pb2.py | 6 +-
.../integration/GroupManagementService_pb2_grpc.py | 2 +-
.../integration/IdentityManagementService_pb2.py | 4 +-
.../IdentityManagementService_pb2_grpc.py | 6 +-
.../ResourceSecretManagementService_pb2.py | 6 +-
.../ResourceSecretManagementService_pb2_grpc.py | 4 +-
.../integration/TenantManagementService_pb2.py | 4 +-
.../TenantManagementService_pb2_grpc.py | 6 +-
.../integration/UserManagementService_pb2.py | 4 +-
.../integration/UserManagementService_pb2_grpc.py | 6 +-
.../server/integration}/__init__.py | 0
.../{ => custos}/transport/__init__.py | 0
.../{ => custos}/transport/certificate.pem | 0
.../{ => custos}/transport/settings.ini | 0
.../custos-python-sdk/custos/transport/settings.py | 36 +++
.../custos-python-sdk/requirements.txt | 17 +-
custos-client-sdks/custos-python-sdk/setup.py | 9 +
.../custos-python-sdk/transport/settings.py | 21 --
.../src/main/proto/UserProfileService.proto | 3 +
.../custos/integration/core/utils/Constants.java | 2 +
.../commons/interceptors/AuthInterceptor.java | 53 ++++
.../interceptors/MultiTenantAuthInterceptor.java | 16 +-
.../src/main/resources/group-management-service.pb | Bin 116752 -> 117098 bytes
.../GroupManagementServiceInitializer.java | 6 +-
.../interceptors/ClientAuthInterceptorImpl.java | 144 +++++++++--
.../interceptors/UserAuthInterceptorImpl.java | 47 ++--
.../src/main/proto/GroupManagementService.proto | 3 -
.../interceptors/ClientAuthInterceptorImpl.java | 14 +-
.../interceptors/ClientAuthInterceptorImpl.java | 32 ++-
.../interceptors/UserAuthInterceptorImpl.java | 57 ++---
76 files changed, 1016 insertions(+), 320 deletions(-)
copy custos-client-sdks/custos-java-clients/{resource-secret-management-client
=> sharing-management-client}/pom.xml (91%)
create mode 100644
custos-client-sdks/custos-java-clients/sharing-management-client/src/main/java/org/apache/custos/sharing/management/client/SharingManagementClient.java
copy custos-client-sdks/custos-python-sdk/{transport =>
custos/clients}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/agent_management_client.py (94%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/group_management_client.py (90%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/identity_management_client.py (92%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/resource_secret_management_client.py (80%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/super_tenant_management_client.py (84%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/tenant_management_client.py (93%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/user_management_client.py (95%)
rename custos-client-sdks/custos-python-sdk/{samples/resources =>
custos/clients/utils}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/utils/certificate_fetching_rest_client.py (86%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/clients/utils/utilities.py (100%)
rename custos-client-sdks/custos-python-sdk/{ => custos}/samples/__init__.py
(100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/agent_management_samples.py (81%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/group_management_samples.py (84%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/identity_management_samples.py (90%)
rename custos-client-sdks/custos-python-sdk/custos/{integration =>
samples/resources}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/resources/cert.pem (100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/tenant_management_samples.py (87%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/samples/user_management_samples.py (85%)
rename custos-client-sdks/custos-python-sdk/custos/{core =>
server}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/AgentProfileService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/AgentProfileService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/ClusterManagementService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/ClusterManagementService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/CredentialStoreService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/CredentialStoreService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/FederatedAuthenticationService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/FederatedAuthenticationService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/IamAdminService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/IamAdminService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/IdentityService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/IdentityService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/ResourceSecretService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/ResourceSecretService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/TenantProfileService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/TenantProfileService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/UserProfileService_pb2.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/core/UserProfileService_pb2_grpc.py (100%)
rename custos-client-sdks/custos-python-sdk/{clients/utils =>
custos/server/core}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/AgentManagementService_pb2.py (99%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/AgentManagementService_pb2_grpc.py (98%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/GroupManagementService_pb2.py (96%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/GroupManagementService_pb2_grpc.py (98%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/IdentityManagementService_pb2.py (99%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/IdentityManagementService_pb2_grpc.py (97%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/ResourceSecretManagementService_pb2.py (93%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/ResourceSecretManagementService_pb2_grpc.py (94%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/TenantManagementService_pb2.py (99%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/TenantManagementService_pb2_grpc.py (98%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/UserManagementService_pb2.py (99%)
rename custos-client-sdks/custos-python-sdk/custos/{ =>
server}/integration/UserManagementService_pb2_grpc.py (98%)
rename custos-client-sdks/custos-python-sdk/{clients =>
custos/server/integration}/__init__.py (100%)
rename custos-client-sdks/custos-python-sdk/{ => custos}/transport/__init__.py
(100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/transport/certificate.pem (100%)
rename custos-client-sdks/custos-python-sdk/{ =>
custos}/transport/settings.ini (100%)
create mode 100644
custos-client-sdks/custos-python-sdk/custos/transport/settings.py
delete mode 100644 custos-client-sdks/custos-python-sdk/transport/settings.py