You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2020/04/17 19:04:29 UTC

[airavata-custos] branch develop updated (bb474fe -> fedfb91)

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 bb474fe  Merge pull request #40 from isururanawaka/microservices_based_impl
     new 758621e  Initiate secret management service
     new 3235ea2  Improve agent functions
     new 84e1c91  end session endpoints
     new 6e8cb2b  remote token
     new fedfb91  Merge pull request #41 from isururanawaka/microservices_based_impl

The 168 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:
 .../samples/user_management_samples.py             |   6 +-
 .../pom.xml                                        |   5 +-
 .../management/client/ClusterManagementClient.java |  57 +++++++++++
 .../custos/identity/client/IdentityClient.java     |   6 ++
 custos-core-services-client-stubs/pom.xml          |   2 +
 .../pom.xml                                        |   5 +-
 .../src/main/java/ResourceSecretClient.java        |  54 ++++++++++
 .../custos/agent/profile/mapper/AgentMapper.java   |   5 +-
 .../agent/profile/persistance/model/Agent.java     |  10 ++
 .../agent/profile/service/AgentProfileService.java |  31 ++++--
 .../agent/profile/validator/InputValidator.java    |  81 ++++-----------
 .../Dockerfile                                     |   0
 .../pom.xml                                        |   9 +-
 .../src/main/helm/.helmignore                      |   0
 .../src/main/helm/Chart.yaml                       |   2 +-
 .../src/main/helm/templates/NOTES.txt              |   0
 .../src/main/helm/templates/_helpers.tpl           |   0
 .../src/main/helm/templates/deployment.yaml        |   0
 .../src/main/helm/templates/ingress.yaml           |   0
 .../src/main/helm/templates/role-bindings.yaml     |  11 ++
 .../src/main/helm/templates/role.yaml              |  22 ++++
 .../src/main/helm/templates/service.yaml           |   0
 .../src/main/helm/templates/serviceaccount.yaml    |   0
 .../main/helm/templates/tests/test-connection.yaml |   0
 .../src/main/helm/values.yaml                      |   4 +
 .../ClusterManagementServiceInitializer.java}      |  11 +-
 .../service/ClusterManagementService.java          |  90 +++++++++++++++++
 .../util/ClusterManagementOperations.java}         |   7 +-
 .../management/validator/InputValidator.java       |  61 +++++++++++
 .../src/main/proto/ClusterManagementService.proto  |  25 ++++-
 .../src/main/resources/application.properties      |   4 +-
 .../store/service/CredentialStoreService.java      |  88 ++++++++++++----
 .../custos/identity/service/IdentityService.java   |  50 +++++++++
 .../custos/identity/validator/InputValidator.java  |  51 ++++++++++
 .../src/main/proto/IdentityService.proto           |  17 ++++
 custos-core-services/pom.xml                       |   2 +
 .../Dockerfile                                     |   0
 .../pom.xml                                        |   3 +-
 .../src/main/helm/.helmignore                      |   0
 .../src/main/helm/Chart.yaml                       |   2 +-
 .../src/main/helm/templates/NOTES.txt              |   0
 .../src/main/helm/templates/_helpers.tpl           |   0
 .../src/main/helm/templates/deployment.yaml        |   0
 .../src/main/helm/templates/ingress.yaml           |   0
 .../src/main/helm/templates/service.yaml           |   0
 .../src/main/helm/templates/serviceaccount.yaml    |   0
 .../main/helm/templates/tests/test-connection.yaml |   0
 .../src/main/helm/values.yaml                      |   0
 .../secret/ResourceSecretServiceInitializer.java}  |  22 +---
 .../src/main/proto/ResourceSecretService.proto}    |  55 +++++-----
 .../src/main/resources/application.properties      |   4 +-
 .../clusterManagementCoreService.properties}       |   4 +-
 ... => resourceSecretManagementService.properties} |   8 +-
 .../clients/keycloak/auth/KeycloakAuthClient.java  | 112 +++++++++++++++++++--
 .../management/service/AgentManagementService.java |  47 +++++----
 .../main/resources/identity-management-service.pb  | Bin 96967 -> 98997 bytes
 .../interceptors/AgentAuthInterceptor.java         |  25 ++++-
 .../interceptors/AuthInterceptorImpl.java          |  12 ++-
 .../management/interceptors/InputValidator.java    |   2 +
 .../service/IdentityManagementService.java         |  32 ++++++
 .../src/main/proto/IdentityManagementService.proto |  23 ++++-
 custos-integration-services/pom.xml                |   1 +
 .../pom.xml                                        |   6 +-
 .../Dockerfile                                     |   3 +
 .../pom.xml                                        |   6 +-
 .../src/main/resources/envoy.yaml                  |   4 +-
 .../resource-secret-management-service.pb}         | Bin 96967 -> 83673 bytes
 .../resource-secret-management-service}/Dockerfile |   0
 .../resource-secret-management-service}/pom.xml    |  29 +++++-
 .../src/main/helm/.helmignore                      |   0
 .../src/main/helm/Chart.yaml                       |   2 +-
 .../src/main/helm/templates/NOTES.txt              |   0
 .../src/main/helm/templates/_helpers.tpl           |   0
 .../src/main/helm/templates/deployment.yaml        |   0
 .../src/main/helm/templates/ingress-grpc.yaml      |   4 +-
 .../src/main/helm/templates/ingress.yaml           |   6 +-
 .../src/main/helm/templates/service.yaml           |   0
 .../src/main/helm/templates/serviceaccount.yaml    |   0
 .../main/helm/templates/tests/test-connection.yaml |   0
 .../src/main/helm/values.yaml                      |   7 +-
 .../ResourceSecretManagementInitializer.java}      |  18 ++--
 .../interceptors/ClientAuthInterceptorImpl.java    |  24 ++---
 .../management/interceptors/InputValidator.java    |   2 +-
 .../interceptors/UserAuthInterceptorImpl.java}     |  19 ++--
 .../service/ResourceSecretManagementService.java   |  94 +++++++++++++++++
 .../proto/ResourceSecretManagementService.proto    |  62 +++++-------
 .../src/main/resources/application.properties      |   2 +-
 .../src/main/resources/bootstrap.properties        |   0
 pom.xml                                            |  11 ++
 89 files changed, 1069 insertions(+), 298 deletions(-)
 copy custos-core-services-client-stubs/{user-profile-core-service-client-stub => cluster-management-core-service-client-stub}/pom.xml (95%)
 create mode 100644 custos-core-services-client-stubs/cluster-management-core-service-client-stub/src/main/java/org/apache/custos/cluster/management/client/ClusterManagementClient.java
 copy custos-core-services-client-stubs/{agent-profile-core-service-client-stub => resource-secret-core-service-client-stub}/pom.xml (96%)
 create mode 100644 custos-core-services-client-stubs/resource-secret-core-service-client-stub/src/main/java/ResourceSecretClient.java
 copy custos-core-services/{utility-services/custos-configuration-service => cluster-management-core-service}/Dockerfile (100%)
 copy custos-core-services/{agent-profile-core-service => cluster-management-core-service}/pom.xml (95%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/cluster-management-core-service}/src/main/helm/.helmignore (100%)
 copy custos-core-services/{utility-services/custos-configuration-service => cluster-management-core-service}/src/main/helm/Chart.yaml (60%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/cluster-management-core-service}/src/main/helm/templates/NOTES.txt (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/cluster-management-core-service}/src/main/helm/templates/_helpers.tpl (100%)
 copy custos-core-services/{user-profile-core-service => cluster-management-core-service}/src/main/helm/templates/deployment.yaml (100%)
 copy custos-core-services/{utility-services/custos-configuration-service => cluster-management-core-service}/src/main/helm/templates/ingress.yaml (100%)
 create mode 100644 custos-core-services/cluster-management-core-service/src/main/helm/templates/role-bindings.yaml
 create mode 100644 custos-core-services/cluster-management-core-service/src/main/helm/templates/role.yaml
 copy custos-core-services/{user-profile-core-service => cluster-management-core-service}/src/main/helm/templates/service.yaml (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/cluster-management-core-service}/src/main/helm/templates/serviceaccount.yaml (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/cluster-management-core-service}/src/main/helm/templates/tests/test-connection.yaml (100%)
 copy custos-core-services/{agent-profile-core-service => cluster-management-core-service}/src/main/helm/values.yaml (96%)
 copy custos-core-services/{identity-core-service/src/main/java/org/apache/custos/identity/IdentityServiceInitializer.java => cluster-management-core-service/src/main/java/org/apache/custos/cluster/management/ClusterManagementServiceInitializer.java} (90%)
 create mode 100644 custos-core-services/cluster-management-core-service/src/main/java/org/apache/custos/cluster/management/service/ClusterManagementService.java
 copy custos-core-services/{custos-core-services-commons/src/main/java/org/apache/custos/core/services/commons/persistance/model/OperationStatus.java => cluster-management-core-service/src/main/java/org/apache/custos/cluster/management/util/ClusterManagementOperations.java} (86%)
 create mode 100644 custos-core-services/cluster-management-core-service/src/main/java/org/apache/custos/cluster/management/validator/InputValidator.java
 copy thrift-interfaces/authentication-service/authentication_service_cpi_errors.thrift => custos-core-services/cluster-management-core-service/src/main/proto/ClusterManagementService.proto (66%)
 copy custos-core-services/{user-profile-core-service => cluster-management-core-service}/src/main/resources/application.properties (89%)
 copy custos-core-services/{utility-services/custos-configuration-service => resource-secret-core-service}/Dockerfile (100%)
 copy custos-core-services/{agent-profile-core-service => resource-secret-core-service}/pom.xml (98%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/resource-secret-core-service}/src/main/helm/.helmignore (100%)
 copy custos-core-services/{agent-profile-core-service => resource-secret-core-service}/src/main/helm/Chart.yaml (58%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/resource-secret-core-service}/src/main/helm/templates/NOTES.txt (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/resource-secret-core-service}/src/main/helm/templates/_helpers.tpl (100%)
 copy custos-core-services/{user-profile-core-service => resource-secret-core-service}/src/main/helm/templates/deployment.yaml (100%)
 copy custos-core-services/{utility-services/custos-configuration-service => resource-secret-core-service}/src/main/helm/templates/ingress.yaml (100%)
 copy custos-core-services/{user-profile-core-service => resource-secret-core-service}/src/main/helm/templates/service.yaml (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/resource-secret-core-service}/src/main/helm/templates/serviceaccount.yaml (100%)
 copy {custos-integration-services/user-management-service-parent/user-management-service => custos-core-services/resource-secret-core-service}/src/main/helm/templates/tests/test-connection.yaml (100%)
 copy custos-core-services/{user-profile-core-service => resource-secret-core-service}/src/main/helm/values.yaml (100%)
 copy custos-core-services/{user-profile-core-service/src/main/java/org/apache/custos/user/profile/UserProfileServiceInitializer.java => resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/ResourceSecretServiceInitializer.java} (76%)
 copy custos-core-services/{agent-profile-core-service/src/main/proto/AgentProfileService.proto => resource-secret-core-service/src/main/proto/ResourceSecretService.proto} (53%)
 copy custos-core-services/{tenant-profile-core-service => resource-secret-core-service}/src/main/resources/application.properties (91%)
 copy custos-core-services/{federated-authentication-core-service/src/main/resources/bootstrap.properties => utility-services/custos-configuration-service/src/main/resources/clusterManagementCoreService.properties} (89%)
 copy custos-core-services/utility-services/custos-configuration-service/src/main/resources/{scimService.properties => resourceSecretManagementService.properties} (89%)
 copy custos-integration-services/{group-management-service-parent => resource-secret-management-service-parent}/pom.xml (86%)
 create mode 100644 custos-integration-services/resource-secret-management-service-parent/resource-secret-management-service-sidecar/Dockerfile
 copy custos-integration-services/{identity-management-service-parent/identity-management-service-sidecar => resource-secret-management-service-parent/resource-secret-management-service-sidecar}/pom.xml (92%)
 copy custos-integration-services/{tenant-management-service-parent/tenant-management-service-sidecar => resource-secret-management-service-parent/resource-secret-management-service-sidecar}/src/main/resources/envoy.yaml (88%)
 copy custos-integration-services/{identity-management-service-parent/identity-management-service-sidecar/src/main/resources/identity-management-service.pb => resource-secret-management-service-parent/resource-secret-management-service-sidecar/src/main/resources/resource-secret-management-service.pb} (81%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/Dockerfile (100%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/pom.xml (84%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/.helmignore (100%)
 copy {custos-core-services/identity-core-service => custos-integration-services/resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/Chart.yaml (55%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/NOTES.txt (100%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/_helpers.tpl (100%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/deployment.yaml (100%)
 copy custos-integration-services/{agent-management-service-parent/agent-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/ingress-grpc.yaml (65%)
 copy custos-integration-services/{identity-management-service-parent/identity-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/ingress.yaml (60%)
 copy custos-integration-services/{tenant-management-service-parent/tenant-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/service.yaml (100%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/serviceaccount.yaml (100%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/templates/tests/test-connection.yaml (100%)
 copy custos-integration-services/{agent-management-service-parent/agent-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/helm/values.yaml (92%)
 copy custos-integration-services/{group-management-service-parent/group-management-service/src/main/java/org/apache/custos/group/management/GroupManagementServiceInitializer.java => resource-secret-management-service-parent/resource-secret-management-service/src/main/java/org/apache/custos/resource/secret/management/ResourceSecretManagementInitializer.java} (85%)
 copy custos-integration-services/{group-management-service-parent/group-management-service/src/main/java/org/apache/custos/group => resource-secret-management-service-parent/resource-secret-management-service/src/main/java/org/apache/custos/resource/secret}/management/interceptors/ClientAuthInterceptorImpl.java (83%)
 copy custos-integration-services/{agent-management-service-parent/agent-management-service/src/main/java/org/apache/custos/agent => resource-secret-management-service-parent/resource-secret-management-service/src/main/java/org/apache/custos/resource/secret}/management/interceptors/InputValidator.java (96%)
 copy custos-integration-services/{agent-management-service-parent/agent-management-service/src/main/java/org/apache/custos/agent/management/interceptors/ClientAuthInterceptorImpl.java => resource-secret-management-service-parent/resource-secret-management-service/src/main/java/org/apache/custos/resource/secret/management/interceptors/UserAuthInterceptorImpl.java} (72%)
 create mode 100644 custos-integration-services/resource-secret-management-service-parent/resource-secret-management-service/src/main/java/org/apache/custos/resource/secret/management/service/ResourceSecretManagementService.java
 copy custos-core-services/agent-profile-core-service/src/main/proto/AgentProfileService.proto => custos-integration-services/resource-secret-management-service-parent/resource-secret-management-service/src/main/proto/ResourceSecretManagementService.proto (52%)
 copy custos-integration-services/{agent-management-service-parent/agent-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/resources/application.properties (90%)
 copy custos-integration-services/{user-management-service-parent/user-management-service => resource-secret-management-service-parent/resource-secret-management-service}/src/main/resources/bootstrap.properties (100%)