Skip to content
Snippets Groups Projects
Commit 068b6469 authored by MZhu9's avatar MZhu9
Browse files

add copyright description

parent 30f7743d
No related branches found
No related tags found
1 merge request!556Implement reindex records API
Pipeline #190616 canceled
...@@ -64,7 +64,7 @@ public class ReindexApi { ...@@ -64,7 +64,7 @@ public class ReindexApi {
@Inject @Inject
private AuditLogger auditLogger; private AuditLogger auditLogger;
@Operation(summary = "${reindexApi.reindex.summary}", description = "${reindexApi.reindex.description}", @Operation(summary = "${reindexApi.reindexRecords.summary}", description = "${reindexApi.reindexRecords.description}",
security = {@SecurityRequirement(name = "Authorization")}, tags = { "reindex-api" }) security = {@SecurityRequirement(name = "Authorization")}, tags = { "reindex-api" })
@ApiResponses(value = { @ApiResponses(value = {
@ApiResponse(responseCode = "202", description = "Accepted"), @ApiResponse(responseCode = "202", description = "Accepted"),
......
// Copyright 2023, SLB
//
// Licensed 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.opengroup.osdu.indexer.model; package org.opengroup.osdu.indexer.model;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
......
// Copyright 2023, SLB
//
// Licensed 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.opengroup.osdu.indexer.model; package org.opengroup.osdu.indexer.model;
import lombok.Builder; import lombok.Builder;
......
...@@ -31,6 +31,9 @@ partitionSetupApi.provisionPartition.description=Provision partition. Required r ...@@ -31,6 +31,9 @@ partitionSetupApi.provisionPartition.description=Provision partition. Required r
reindexApi.reindex.summary=Re-index given 'kind' reindexApi.reindex.summary=Re-index given 'kind'
reindexApi.reindex.description=This API allows users to re-index a 'kind' without re-ingesting the records via storage API. \ reindexApi.reindex.description=This API allows users to re-index a 'kind' without re-ingesting the records via storage API. \
Required roles: `service.search.admin` Required roles: `service.search.admin`
reindexApi.reindexRecords.summary=Re-index given records
reindexApi.reindexRecords.description=This API allows users to re-index the given records by providing record ids without \
re-ingesting the records via storage API. Required roles: `service.search.admin`
reindexApi.fullReindex.summary=Full Re-index by data partition reindexApi.fullReindex.summary=Full Re-index by data partition
reindexApi.fullReindex.description=This API allows users to re-index an entire partition without re-ingesting the records via storage API.\ reindexApi.fullReindex.description=This API allows users to re-index an entire partition without re-ingesting the records via storage API.\
Required roles: `service.search.admin` Required roles: `service.search.admin`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment