chore: rename cameleer3 to cameleer
Rename Java packages from com.cameleer3 to com.cameleer, module directories from cameleer3-* to cameleer-*, and all references throughout workflows, Dockerfiles, docs, migrations, and pom.xml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
**Spec:** `docs/superpowers/specs/2026-04-11-infrastructure-endpoint-visibility-design.md`
|
||||
|
||||
**Cross-repo:** Tasks 1-6 in `cameleer3-server`, Tasks 7-13 in `cameleer-saas`.
|
||||
**Cross-repo:** Tasks 1-6 in `cameleer-server`, Tasks 7-13 in `cameleer-saas`.
|
||||
|
||||
---
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
### Task 1: Add property to application.yml
|
||||
|
||||
**Files:**
|
||||
- Modify: `cameleer3-server-app/src/main/resources/application.yml`
|
||||
- Modify: `cameleer3-server-app/src/test/resources/application-test.yml`
|
||||
- Modify: `cameleer-server-app/src/main/resources/application.yml`
|
||||
- Modify: `cameleer-server-app/src/test/resources/application-test.yml`
|
||||
|
||||
- [ ] **Step 1: Add the property to application.yml**
|
||||
|
||||
@@ -41,7 +41,7 @@ In `application-test.yml`, add under `cameleer.server.security` (after `bootstra
|
||||
- [ ] **Step 3: Commit**
|
||||
|
||||
```bash
|
||||
git add cameleer3-server-app/src/main/resources/application.yml cameleer3-server-app/src/test/resources/application-test.yml
|
||||
git add cameleer-server-app/src/main/resources/application.yml cameleer-server-app/src/test/resources/application-test.yml
|
||||
git commit -m "feat: add infrastructureendpoints property (default true)"
|
||||
```
|
||||
|
||||
@@ -50,7 +50,7 @@ git commit -m "feat: add infrastructureendpoints property (default true)"
|
||||
### Task 2: Add @ConditionalOnProperty to DatabaseAdminController
|
||||
|
||||
**Files:**
|
||||
- Modify: `cameleer3-server-app/src/main/java/com/cameleer3/server/app/controller/DatabaseAdminController.java`
|
||||
- Modify: `cameleer-server-app/src/main/java/com/cameleer/server/app/controller/DatabaseAdminController.java`
|
||||
|
||||
- [ ] **Step 1: Add the annotation**
|
||||
|
||||
@@ -73,7 +73,7 @@ Add before `@RestController`:
|
||||
- [ ] **Step 2: Verify compile**
|
||||
|
||||
```bash
|
||||
mvn compile -pl cameleer3-server-app -q
|
||||
mvn compile -pl cameleer-server-app -q
|
||||
```
|
||||
|
||||
Expected: BUILD SUCCESS
|
||||
@@ -81,7 +81,7 @@ Expected: BUILD SUCCESS
|
||||
- [ ] **Step 3: Commit**
|
||||
|
||||
```bash
|
||||
git add cameleer3-server-app/src/main/java/com/cameleer3/server/app/controller/DatabaseAdminController.java
|
||||
git add cameleer-server-app/src/main/java/com/cameleer/server/app/controller/DatabaseAdminController.java
|
||||
git commit -m "feat: make DatabaseAdminController conditional on infrastructureendpoints"
|
||||
```
|
||||
|
||||
@@ -90,7 +90,7 @@ git commit -m "feat: make DatabaseAdminController conditional on infrastructuree
|
||||
### Task 3: Add @ConditionalOnProperty to ClickHouseAdminController
|
||||
|
||||
**Files:**
|
||||
- Modify: `cameleer3-server-app/src/main/java/com/cameleer3/server/app/controller/ClickHouseAdminController.java`
|
||||
- Modify: `cameleer-server-app/src/main/java/com/cameleer/server/app/controller/ClickHouseAdminController.java`
|
||||
|
||||
- [ ] **Step 1: Add the annotation**
|
||||
|
||||
@@ -113,7 +113,7 @@ Add before `@RestController`:
|
||||
- [ ] **Step 2: Verify compile**
|
||||
|
||||
```bash
|
||||
mvn compile -pl cameleer3-server-app -q
|
||||
mvn compile -pl cameleer-server-app -q
|
||||
```
|
||||
|
||||
Expected: BUILD SUCCESS
|
||||
@@ -121,7 +121,7 @@ Expected: BUILD SUCCESS
|
||||
- [ ] **Step 3: Commit**
|
||||
|
||||
```bash
|
||||
git add cameleer3-server-app/src/main/java/com/cameleer3/server/app/controller/ClickHouseAdminController.java
|
||||
git add cameleer-server-app/src/main/java/com/cameleer/server/app/controller/ClickHouseAdminController.java
|
||||
git commit -m "feat: make ClickHouseAdminController conditional on infrastructureendpoints"
|
||||
```
|
||||
|
||||
@@ -132,12 +132,12 @@ git commit -m "feat: make ClickHouseAdminController conditional on infrastructur
|
||||
The server uses Spring Boot Actuator for `/api/v1/health`. Add a custom `HealthIndicator` that contributes the `infrastructureEndpoints` flag to the health response details.
|
||||
|
||||
**Files:**
|
||||
- Create: `cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/ServerCapabilitiesHealthIndicator.java`
|
||||
- Create: `cameleer-server-app/src/main/java/com/cameleer/server/app/config/ServerCapabilitiesHealthIndicator.java`
|
||||
|
||||
- [ ] **Step 1: Create the health indicator**
|
||||
|
||||
```java
|
||||
package com.cameleer3.server.app.config;
|
||||
package com.cameleer.server.app.config;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.actuate.health.Health;
|
||||
@@ -162,7 +162,7 @@ public class ServerCapabilitiesHealthIndicator implements HealthIndicator {
|
||||
- [ ] **Step 2: Verify compile**
|
||||
|
||||
```bash
|
||||
mvn compile -pl cameleer3-server-app -q
|
||||
mvn compile -pl cameleer-server-app -q
|
||||
```
|
||||
|
||||
Expected: BUILD SUCCESS
|
||||
@@ -180,7 +180,7 @@ Expected: `true`
|
||||
- [ ] **Step 4: Commit**
|
||||
|
||||
```bash
|
||||
git add cameleer3-server-app/src/main/java/com/cameleer3/server/app/config/ServerCapabilitiesHealthIndicator.java
|
||||
git add cameleer-server-app/src/main/java/com/cameleer/server/app/config/ServerCapabilitiesHealthIndicator.java
|
||||
git commit -m "feat: expose infrastructureEndpoints flag in health endpoint"
|
||||
```
|
||||
|
||||
@@ -1117,8 +1117,8 @@ git commit -m "feat: add Infrastructure to vendor sidebar and router"
|
||||
### Task 14: Update documentation
|
||||
|
||||
**Files:**
|
||||
- Modify: `cameleer3-server/CLAUDE.md` — mention `CAMELEER_SERVER_SECURITY_INFRASTRUCTUREENDPOINTS` in the Security section and Docker Orchestration section
|
||||
- Modify: `cameleer3-server/HOWTO.md` — add to Configuration table under Security
|
||||
- Modify: `cameleer-server/CLAUDE.md` — mention `CAMELEER_SERVER_SECURITY_INFRASTRUCTUREENDPOINTS` in the Security section and Docker Orchestration section
|
||||
- Modify: `cameleer-server/HOWTO.md` — add to Configuration table under Security
|
||||
- Modify: `cameleer-saas/CLAUDE.md` — mention Infrastructure page in vendor section, add to "Per-tenant server env vars" table
|
||||
|
||||
- [ ] **Step 1: Update server CLAUDE.md**
|
||||
@@ -1152,7 +1152,7 @@ In the Layout.tsx description, add "Infrastructure" to the vendor sidebar list.
|
||||
|
||||
```bash
|
||||
# Server
|
||||
cd cameleer3-server
|
||||
cd cameleer-server
|
||||
git add CLAUDE.md HOWTO.md
|
||||
git commit -m "docs: document infrastructureendpoints flag"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user