refactor: 빌드 최적화 및 ci 수정
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
working-directory: src
|
||||
# GITHUB_SHA is read by the lane and written into every evidence line, because "certified"
|
||||
# is a claim about one source tree.
|
||||
run: ./gradlew :messaging:messaging-kafka:verifyMessagingCertificationEvidence --no-daemon --stacktrace
|
||||
run: ./gradlew :messaging:messaging-kafka:verifyMessagingCertificationEvidence --stacktrace
|
||||
- name: Publish the certification evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # actions/upload-artifact@v4.6.2
|
||||
|
||||
+8
-21
@@ -43,29 +43,16 @@ leaf의 정확한 id는 registry에서 읽는다. family는 **디렉터리 이
|
||||
등장하고 adopter가 이름 부를 일이 없다.
|
||||
- 새 public 타입은 그 모듈의 계약이다. 삭제·시그니처 변경은 breaking change로 취급한다.
|
||||
|
||||
## Runtime membership이 비어 있다는 것의 의미
|
||||
## Application runtime에 포함되는 기준
|
||||
|
||||
**이 절은 한동안 사실이 아닌 채로 남아 있었다.** "registry의 모든 messaging leaf는
|
||||
`runtime_memberships`가 비어 있고 따라서 build-only"라고 쓰여 있었는데, 다섯 어댑터 remediation이
|
||||
`messaging-spring-boot-starter`를 `app-bootstrap` 의존성으로 넣으면서 그 closure 전체가 런타임
|
||||
classpath에 올라갔다. 정확한 목록은 registry가 소유하므로 여기서 세지 않는다 — 세는 순간 다시
|
||||
drift한다.
|
||||
Messaging family는 기본 application이 `messaging-spring-boot-starter`를 dependency로 가지므로 그
|
||||
transitive project graph가 runtime에 포함된다. 이 사실의 SSOT는 Gradle `runtimeClasspath`이며 registry에
|
||||
동일한 membership 목록을 복제하지 않는다. `app.messaging.enabled=false`가 기본값이고 master switch가
|
||||
activation을 결정한다.
|
||||
|
||||
지금 의미는 이렇다:
|
||||
|
||||
- 대부분의 leaf는 `runtime_memberships`에 `app-bootstrap`을 갖는다. **배포된 아티팩트가 싣고 있고,
|
||||
master switch `app.messaging.enabled`로 켜진다.** 기본값은 `false`다.
|
||||
- 여전히 비어 있는 leaf(experimental transport, 일부 codec, bridge, testkit)만이 build-only /
|
||||
incubating이다.
|
||||
- **런타임에 있다는 것과 자격이 증명됐다는 것은 다르다.** Kafka publish 경로만 실브로커 round trip으로
|
||||
자격 검증됐고(`MessagingLiveRoundTripQualificationTest`), Rabbit·JDBC inbox/outbox·claim check·admin
|
||||
plane은 shipped, inactive, unqualified다. 이 구분은
|
||||
`MessagingMembershipQualificationTest`가 문서가 아니라 테스트로 붙들고 있다.
|
||||
- 애플리케이션에 새로 배선하려면 registry의 `runtime_memberships`를 먼저 바꾸고
|
||||
`verifyRuntimeModuleMembership`을 통과시켜야 한다. 코드만 추가하는 것으로는 런타임에 들어가지
|
||||
않는다.
|
||||
- 지원 상태 문서(`docs/messaging/support-matrix.md`)의 tier는 이 사실과 별개다. tier는 "무엇이
|
||||
증명되었는가", membership은 "무엇이 실행되는가"다.
|
||||
experimental transport, 일부 codec/bridge/testkit처럼 starter graph에 들어오지 않는 leaf는 build-only다.
|
||||
새 leaf를 application에 채택할 때는 starter 또는 composition dependency와 architecture edge policy,
|
||||
qualification/support 상태를 함께 변경한다.
|
||||
|
||||
## application이 이 family에 도달하는 경로 (MSG-015, 미해결)
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.jmh-benchmarks'
|
||||
plugins {
|
||||
id 'ca.jmh-benchmarks'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.jmh-benchmarks'
|
||||
plugins {
|
||||
id 'ca.jmh-benchmarks'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
// The central publish and delivery orchestration.
|
||||
//
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
apply plugin: 'ca.spring-config'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
id 'ca.spring-config'
|
||||
}
|
||||
|
||||
// Scopes, not a flat list of `api`.
|
||||
//
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.jmh-benchmarks'
|
||||
plugins {
|
||||
id 'ca.jmh-benchmarks'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
apply plugin: 'ca.platform-module'
|
||||
plugins {
|
||||
id 'ca.platform-module'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':messaging:messaging-core-api')
|
||||
|
||||
Reference in New Issue
Block a user