Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6de25e2
Add technical planning for VIBE-209: Blob Ingestion
github-actions[bot] Nov 21, 2025
5c5c084
Add technical planning documentation for VIBE-209
github-actions[bot] Nov 21, 2025
88804b8
Add technical planning for VIBE-209
github-actions[bot] Nov 22, 2025
0b64ab7
Add technical planning documentation for VIBE-209
github-actions[bot] Nov 22, 2025
331e60f
docs: Add technical plan for VIBE-209 - Blob Ingestion
github-actions[bot] Nov 22, 2025
fbc22c0
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 26, 2025
1582236
WIP
junaidiqbalmoj Nov 26, 2025
907a6b5
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 26, 2025
e565bbd
Implement endpoint to upload publication
junaidiqbalmoj Nov 26, 2025
8cb6468
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 26, 2025
1a10e26
WIP
junaidiqbalmoj Nov 26, 2025
c7a751e
refactoring, add end to end tests
junaidiqbalmoj Nov 27, 2025
bab82f6
fix build
junaidiqbalmoj Nov 27, 2025
7ab4262
fix code review comments
junaidiqbalmoj Nov 27, 2025
2cc9cd3
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 27, 2025
1d9dfca
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 27, 2025
41cf03c
Fix duplicate Subscription model in schema
junaidiqbalmoj Nov 27, 2025
4ef80a1
remove file
junaidiqbalmoj Nov 27, 2025
a41b3a1
Fix migration conflict and remove redundant Helm values
junaidiqbalmoj Nov 27, 2025
834d656
Fix migration conflict and restore values.dev.yaml
junaidiqbalmoj Nov 27, 2025
db45c3c
Merge branch 'feature/VIBE-209-blob-ingestion' of https://github.com/…
junaidiqbalmoj Nov 27, 2025
ada8443
fix local development
junaidiqbalmoj Nov 27, 2025
22d87de
Merge branch 'master' into feature/VIBE-209-blob-ingestion
junaidiqbalmoj Nov 28, 2025
29de380
fix code review comments
junaidiqbalmoj Nov 28, 2025
e658848
delete unnecessary files
junaidiqbalmoj Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ jobs:
CFT_INVALID_TEST_ACCOUNT: ${{ secrets.CFT_INVALID_TEST_ACCOUNT }}
CFT_INVALID_TEST_ACCOUNT_PASSWORD: ${{ secrets.CFT_INVALID_TEST_ACCOUNT_PASSWORD }}

# API Authentication Configuration (for blob ingestion endpoint)
AZURE_TENANT_ID: ${{ secrets.APP_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.APP_PIP_DATA_MANAGEMENT_ID }}
APP_PIP_DATA_MANAGEMENT_SCOPE: ${{ secrets.APP_PIP_DATA_MANAGEMENT_SCOPE }}

steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ lcov.info
.claude/claude.env
.claude/analytics

/storage/temp
/e2e-tests/.claude
/libs/api/.claude
8 changes: 8 additions & 0 deletions apps/api/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ nodejs:
- redis-access-key
- app-insights-connection-string
- dynatrace-url
pip-ss-kv-stg:
secrets:
- name: app-tenant-id
alias: AZURE_TENANT_ID
- name: app-pip-data-management-id
alias: AZURE_CLIENT_ID
- name: app-pip-data-management-scope
alias: AZURE_SCOPE
3 changes: 2 additions & 1 deletion apps/api/src/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

// Mock dependencies
vi.mock("@hmcts/cloud-native-platform", () => ({
healthcheck: vi.fn(() => vi.fn())
healthcheck: vi.fn(() => vi.fn()),
configurePropertiesVolume: vi.fn(() => Promise.resolve())
}));

vi.mock("@hmcts/simple-router", () => ({
Expand Down
9 changes: 7 additions & 2 deletions apps/api/src/app.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import { healthcheck } from "@hmcts/cloud-native-platform";
import { apiRoutes as blobIngestionRoutes } from "@hmcts/blob-ingestion/config";
import { configurePropertiesVolume, healthcheck } from "@hmcts/cloud-native-platform";
import { apiRoutes as locationRoutes } from "@hmcts/location/config";
import { createSimpleRouter } from "@hmcts/simple-router";
import compression from "compression";
import config from "config";
import cors from "cors";
import type { Express } from "express";
import express from "express";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const chartPath = path.join(__dirname, "../helm/values.yaml");

export async function createApp(): Promise<Express> {
await configurePropertiesVolume(config, { chartPath });

const app = express();

app.use(healthcheck());
Expand All @@ -27,7 +32,7 @@ export async function createApp(): Promise<Express> {
app.use(express.json());
app.use(express.urlencoded({ extended: true }));

const routeMounts = [{ path: `${__dirname}/routes` }, locationRoutes];
const routeMounts = [{ path: `${__dirname}/routes` }, blobIngestionRoutes, locationRoutes];

app.use(await createSimpleRouter(...routeMounts));

Expand Down
Loading