This is an automated email from the ASF dual-hosted git repository.
machristie pushed a change to branch custos-integration
in repository https://gitbox.apache.org/repos/asf/airavata-data-catalog.git
from b493b4f Merge pull request #17 from isururanawaka/main
new 9f3c7b6 Adds SharingException to SharingManager methods for sharing
errors
new b94e157 Adding Custos sharing manager initialization: creating entity
type and permission type
new 8bbbbfd Create the data product sharing entity if it doesn't exist
new 40597be Including who is doing the sharing in the API
The 4 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:
.../api/DataCatalogApiServiceApplication.java | 9 +-
.../api/exception/SharingException.java | 24 +++
.../datacatalog/api/mapper/DataProductMapper.java | 10 +-
.../datacatalog/api/mapper/UserInfoMapper.java | 22 +++
.../datacatalog/api/model/DataProductEntity.java | 13 +-
.../model/{UserEntity.java => TenantEntity.java} | 34 ++--
.../airavata/datacatalog/api/model/UserEntity.java | 14 ++
.../api/repository/TenantRepository.java | 10 ++
.../api/service/DataCatalogAPIService.java | 17 +-
.../api/service/DataCatalogService.java | 3 +-
.../api/service/impl/DataCatalogServiceImpl.java | 16 +-
.../datacatalog/api/sharing/SharingManager.java | 40 +++--
.../api/sharing/SharingManagerImpl.java | 185 ++++++++++++++++++---
.../src/main/resources/application.properties | 2 +-
.../stubs/src/main/proto/DataCatalogAPI.proto | 14 +-
15 files changed, 337 insertions(+), 76 deletions(-)
create mode 100644
data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/exception/SharingException.java
create mode 100644
data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/mapper/UserInfoMapper.java
copy
data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/model/{UserEntity.java
=> TenantEntity.java} (65%)
create mode 100644
data-catalog-api/server/src/main/java/org/apache/airavata/datacatalog/api/repository/TenantRepository.java