feat: jpa, messaging, notification, mongo, graphql 어댑터터 리펙토링
This commit is contained in:
@@ -90,13 +90,15 @@ echo "=== [actual-topology] provider environments"
|
||||
# connection. Which classes count is `src/config/mongodb/release-contracts.json`, and
|
||||
# MongoReleaseEvidenceVerifier checks the JUnit XML rather than the exit code.
|
||||
if [[ -n "${MONGODB_SHARDED_URI:-}" ]]; then
|
||||
SHARDED_CLASS="$(python3 -c "import json,sys; print(next(c['className'] for c in json.load(open('${REPO_ROOT}/src/config/mongodb/release-contracts.json'))['contracts'] if c['topology']=='sharded'))")"
|
||||
if (cd "${GRADLE_DIR}" && MONGODB_SHARDED_URI="${MONGODB_SHARDED_URI}" \
|
||||
"${GRADLE[@]}" "${MODULE}:mongoShardedTest" --tests "${SHARDED_CLASS}"); then
|
||||
echo "actual-topology(sharded): ${SHARDED_CLASS} executed"
|
||||
else
|
||||
FAILED+=("actual-topology:sharded")
|
||||
fi
|
||||
# Not promoted. `mongoShardedTest` is declared in release-contracts.json under
|
||||
# experimental_contracts and is registered by no build file, so invoking it here could only ever
|
||||
# fail — and before the demotion it made this script unrunnable while the manifest still reported
|
||||
# the capability as a blocking gate. Supplying the URI is therefore an explicit error rather than
|
||||
# a silent skip: an operator who set it expected a qualification to run.
|
||||
echo "sharded topology is experimental and has no registered lane;" >&2
|
||||
echo " MONGODB_SHARDED_URI was set but mongoShardedTest does not exist." >&2
|
||||
echo " See experimental_contracts in src/config/mongodb/release-contracts.json." >&2
|
||||
FAILED+=("actual-topology:sharded-not-promoted")
|
||||
else
|
||||
echo "actual-topology(sharded): no MONGODB_SHARDED_URI"
|
||||
MISSING_EVIDENCE+=("actual-topology: sharded cluster")
|
||||
|
||||
Reference in New Issue
Block a user