Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ db-port-forward:
@echo "$(YELLOW)Press Ctrl+C to stop the tunnel$(NC)"
kubectl port-forward \
--namespace $(NAMESPACE) \
--address 0.0.0.0 \
service/$(DB_K8S_SERVICE) \
$(DB_PF_LOCAL_PORT):$(DB_PF_REMOTE_PORT)

Expand Down
6 changes: 4 additions & 2 deletions docker/install-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ fi
CERT_DIR=$(mktemp -d)
echo "Created temporary directory: $CERT_DIR"

echo "Creating new custom truststore from scratch at: $CUSTOM_TRUSTSTORE"
echo "Creating custom truststore based on Java cacerts at: $CUSTOM_TRUSTSTORE"

# Remove existing truststore if it exists
# Copy Java cacerts as the base truststore
rm -f "$CUSTOM_TRUSTSTORE"
cp "$JAVA_HOME/lib/security/cacerts" "$CUSTOM_TRUSTSTORE"
chmod 600 "$CUSTOM_TRUSTSTORE"

# Split CERT_URLS by comma and process each URL
IFS=',' read -ra URLS <<< "$CERT_URLS"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
--liquibase formatted sql

-- ============================================================================
-- changeset ods:007-update-platform-api-visibility
-- Description: Set project-platforms-v1 API as public.
-- ============================================================================
UPDATE api_definitions
SET is_public = TRUE
WHERE api_id = 'project-platforms-v1';

--rollback UPDATE api_definitions SET is_public = FALSE WHERE api_id = 'project-platforms-v1';


-- ============================================================================
-- changeset ods:008-seed-component-api-definitions
-- Description: Seed API definitions for Project Components APIs v0 and v1.
-- ============================================================================
INSERT INTO api_definitions (api_id, name, base_path, version, auth_types, is_public, enabled)
VALUES
('project-component-v1', 'Project Components API v1', 'projects/*/components', 'v1', ARRAY['CLIENT_CREDENTIALS', 'OBO'], FALSE, TRUE),
('project-component-v0', 'Project Components API v0', 'projects/*/components', 'v0', ARRAY['CLIENT_CREDENTIALS', 'OBO'], FALSE, TRUE)
ON CONFLICT (api_id) DO NOTHING;

--rollback DELETE FROM api_definitions WHERE api_id IN ('project-component-v1', 'project-component-v0');


Loading