fix: merge depuis backend-test
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 42s
CI / build (push) Failing after 9s
Format / formatting (pull_request) Successful in 7s

This commit is contained in:
ALAMI Adnane 2025-05-08 16:32:06 +02:00
parent 0abafb4f7f
commit 695ec5d9b8
8 changed files with 4 additions and 2697 deletions

View File

@ -16,7 +16,7 @@ BACKEND_PASSWORD=backend_db_user_password
DATABASE_URL=MyINPulse-DB
VITE_KEYCLOAK_URL=http://localhost:7080
VITE_KEYCLOAK_CLIENT_ID=myinpulse-dev
VITE_KEYCLOAK_REALM=test
VITE_KEYCLOAK_CLIENT_ID=myinpulse
VITE_KEYCLOAK_REALM=MyINPulse
VITE_APP_URL=http://localhost:5173
VITE_BACKEND_URL=http://localhost:8081/

View File

@ -70,6 +70,7 @@ const fallbackProjects = [
},
];
/*
const createFirstAdmin = () => {
createAdmin(
(response) => {
@ -83,7 +84,7 @@ const createFirstAdmin = () => {
}
);
};
onMounted(createFirstAdmin);
*/
const fetchProjects = () => {
getAdminProjects(

View File

@ -1 +0,0 @@
keycloak-cas

View File

@ -1,6 +0,0 @@
FROM maven:3.8.8-eclipse-temurin-21-alpine
COPY ./keycloak-cas/ .
RUN mvn clean package

View File

@ -1,15 +0,0 @@
#!/bin/bash
if [ ! -d "./keycloak-cas/" ]
then
git clone https://github.com/RoboJackets/keycloak-cas
patch $(find . | grep UrlHelper.java) https_patch
fi
if [ -d "./target/" ]
then
rm -r target/
fi
docker build -t build-dep .
docker create -it --name build-dep-container build-dep bash
docker cp build-dep-container:/target ./target
docker rm -f build-dep-container

View File

@ -1,4 +0,0 @@
41c41
< .queryParam(PROVIDER_PARAMETER_SERVICE, uriInfo.getAbsolutePath().toString());
---
> .queryParam(PROVIDER_PARAMETER_SERVICE, uriInfo.getAbsolutePath().toString().replace("http://", "https://"));

View File

@ -1,30 +0,0 @@
FROM quay.io/keycloak/keycloak:latest AS builder
ARG KC_DB
ENV KC_DB=$KC_DB
# Install custom providers
ADD --chown=keycloak:keycloak --chmod=644 ./CAS/target/*.jar /opt/keycloak/providers/cas-provider.jar
# build optimized image
RUN /opt/keycloak/bin/kc.sh build
FROM quay.io/keycloak/keycloak:latest
ARG KC_DB
ENV KC_DB=$KC_DB
ARG KC_DB_URL
ENV KC_DB_URL=$KC_DB_URL
ARG KC_DB_USERNAME
ENV KC_DB_USERNAME=$KC_DB_USERNAME
ARG KC_DB_PASSWORD
ENV KC_DB_PASSWORD=$KC_DB_PASSWORD
COPY --from=builder /opt/keycloak/ /opt/keycloak/
WORKDIR /opt/keycloak
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]

File diff suppressed because it is too large Load Diff