diff --git a/service/common/build.gradle.kts b/service/common/build.gradle.kts index a98ef50a9f..fec8f12c74 100644 --- a/service/common/build.gradle.kts +++ b/service/common/build.gradle.kts @@ -28,6 +28,7 @@ dependencies { implementation(project(":polaris-api-management-model")) implementation(project(":polaris-api-management-service")) implementation(project(":polaris-api-iceberg-service")) + implementation(project(":polaris-api-catalog-service")) implementation(platform(libs.iceberg.bom)) implementation("org.apache.iceberg:iceberg-api") diff --git a/service/common/src/main/java/org/apache/polaris/service/catalog/generic/GenericTableCatalogAdapter.java b/service/common/src/main/java/org/apache/polaris/service/catalog/generic/GenericTableCatalogAdapter.java new file mode 100644 index 0000000000..f479afcd74 --- /dev/null +++ b/service/common/src/main/java/org/apache/polaris/service/catalog/generic/GenericTableCatalogAdapter.java @@ -0,0 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.polaris.service.catalog.generic; + +import jakarta.enterprise.context.RequestScoped; +import org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService; + +@RequestScoped +public class GenericTableCatalogAdapter implements PolarisCatalogGenericTableApiService {} diff --git a/service/common/src/main/java/org/apache/polaris/service/catalog/policy/PolicyServiceImpl.java b/service/common/src/main/java/org/apache/polaris/service/catalog/policy/PolicyServiceImpl.java new file mode 100644 index 0000000000..55bb180006 --- /dev/null +++ b/service/common/src/main/java/org/apache/polaris/service/catalog/policy/PolicyServiceImpl.java @@ -0,0 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.polaris.service.catalog.policy; + +import jakarta.enterprise.context.RequestScoped; +import org.apache.polaris.service.catalog.api.PolarisCatalogPolicyApiService; + +@RequestScoped +public class PolicyServiceImpl implements PolarisCatalogPolicyApiService {}