fix(velocity): use dmg package namespace
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## 2026-08-01
|
## 2026-08-01
|
||||||
|
|
||||||
|
* **Refine**: Corrected the Velocity Java and Gradle namespace to the repository owner's `games.dmg` reverse domain.
|
||||||
* **Create**: Established the OKF v0.1 [user-story index](index.md).
|
* **Create**: Established the OKF v0.1 [user-story index](index.md).
|
||||||
* **Document**: Captured the implemented player portal, Discord authentication, onboarding, account management, network intelligence, Velocity admission, auditing, administration, API error, and operational stories.
|
* **Document**: Captured the implemented player portal, Discord authentication, onboarding, account management, network intelligence, Velocity admission, auditing, administration, API error, and operational stories.
|
||||||
* **Governance**: Added repository agent guidance and automated OKF validation for story-driven development.
|
* **Governance**: Added repository agent guidance and automated OKF validation for story-driven development.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ type: User Story
|
|||||||
title: Enforce registration at the Velocity proxy
|
title: Enforce registration at the Velocity proxy
|
||||||
description: Online-mode Java connections are admitted only after a fail-closed account-manager decision.
|
description: Online-mode Java connections are admitted only after a fail-closed account-manager decision.
|
||||||
tags: [minecraft, velocity, whitelist, security]
|
tags: [minecraft, velocity, whitelist, security]
|
||||||
timestamp: 2026-08-01T18:43:58Z
|
timestamp: 2026-08-01T18:52:20Z
|
||||||
story_id: US-009
|
story_id: US-009
|
||||||
status: verified
|
status: verified
|
||||||
---
|
---
|
||||||
@@ -34,7 +34,7 @@ As a registered player, I want the Velocity proxy to recognize my approved Java
|
|||||||
|
|
||||||
# Validation
|
# Validation
|
||||||
|
|
||||||
- [`plugins/velocity/src/test/java/games/twentyfaces/accountmanager/AccountManagerClientTest.java`](../plugins/velocity/src/test/java/games/twentyfaces/accountmanager/AccountManagerClientTest.java)
|
- [`plugins/velocity/src/test/java/games/dmg/accountmanager/AccountManagerClientTest.java`](../plugins/velocity/src/test/java/games/dmg/accountmanager/AccountManagerClientTest.java)
|
||||||
- Shared request and response contracts are covered by [`packages/contracts/test/contracts.test.ts`](../packages/contracts/test/contracts.test.ts).
|
- Shared request and response contracts are covered by [`packages/contracts/test/contracts.test.ts`](../packages/contracts/test/contracts.test.ts).
|
||||||
|
|
||||||
# Related Stories
|
# Related Stories
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ plugins {
|
|||||||
id("com.gradleup.shadow") version "8.3.9"
|
id("com.gradleup.shadow") version "8.3.9"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "games.twentyfaces"
|
group = "games.dmg"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -30,7 +30,7 @@ tasks.test {
|
|||||||
|
|
||||||
tasks.shadowJar {
|
tasks.shadowJar {
|
||||||
archiveClassifier.set("")
|
archiveClassifier.set("")
|
||||||
relocate("com.google.gson", "games.twentyfaces.accountmanager.lib.gson")
|
relocate("com.google.gson", "games.dmg.accountmanager.lib.gson")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.build {
|
tasks.build {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package games.twentyfaces.accountmanager;
|
package games.dmg.accountmanager;
|
||||||
|
|
||||||
record AccessDecision(boolean allowed, String message) {
|
record AccessDecision(boolean allowed, String message) {
|
||||||
static AccessDecision denied(String message) {
|
static AccessDecision denied(String message) {
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package games.twentyfaces.accountmanager;
|
package games.dmg.accountmanager;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package games.twentyfaces.accountmanager;
|
package games.dmg.accountmanager;
|
||||||
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import com.velocitypowered.api.event.EventTask;
|
import com.velocitypowered.api.event.EventTask;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package games.twentyfaces.accountmanager;
|
package games.dmg.accountmanager;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package games.twentyfaces.accountmanager;
|
package games.dmg.accountmanager;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
Reference in New Issue
Block a user