* docs: add 1.0 PRD, deep-dive audit, plan, and session state * build: target qqq 4.1.0-RC.1, opensearch-java 3.10.0, wrapper 3.9.11, real JaCoCo gate * feat: add 1.0 config surface, instance-scoped runtime, and deprecated static facade * feat: implement the 4.1 QBit contract with a record-change listener and failed-event capture * feat: opensearch client with auth modes, TLS, timeouts, mapping v2, aliases, versioned bulk writes * feat: trustworthy indexing steps and permission-aware bounded search * docs: rewrite README for 1.0, add CHANGELOG and migration guide * feat: table picker and result screens for the maintenance processes; close out 1.0 planning docs * docs: add AGENTS.md so Codex shares the CLAUDE.md guidance * fix: keep the live index after an alias swap, atomic legacy upgrade, exact paging under record locks From the PR #10 review: never delete the new physical index once the alias points at it, upgrade a legacy concrete index in one aliases request, base hasMore on raw hits so filtered pages stay reachable, and deduplicate requested table names. * docs: explain the hasMore trade-off under record locks * docs: session state for the RC.1 hand-off
40 lines
1.6 KiB
Java
40 lines
1.6 KiB
Java
/*
|
|
* Copyright 2024 Kingsrook, LLC
|
|
*
|
|
* 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 com.kingsrook.qbits.quicksearch;
|
|
|
|
|
|
/*******************************************************************************
|
|
** How the QBit authenticates to OpenSearch.
|
|
**
|
|
** NONE - no credentials (local development, security plugin disabled).
|
|
** BASIC - HTTP basic authentication (security plugin internal users, or
|
|
** Amazon OpenSearch Service fine-grained access control with an
|
|
** internal-database master user).
|
|
** AWS_SIGV4 - AWS Signature Version 4 request signing with the default AWS
|
|
** credential chain (Amazon OpenSearch Service domains that use
|
|
** IAM). Requires the optional AWS SDK v2 dependencies.
|
|
**
|
|
** Bearer tokens, API keys and client certificates are added through an
|
|
** {@link com.kingsrook.qbits.quicksearch.opensearch.OpenSearchTransportCustomizer}.
|
|
*******************************************************************************/
|
|
public enum QuickSearchAuthMode
|
|
{
|
|
NONE,
|
|
BASIC,
|
|
AWS_SIGV4
|
|
}
|