Skip to content

Commit

Permalink
Renamed directories
Browse files Browse the repository at this point in the history
The directiory "openvidu-call-back" has been renamed to "backend" and "openvidu-call-front"  has been renamed to frontend
  • Loading branch information
CSantosM committed Sep 24, 2024
1 parent f94cd27 commit ebf7e05
Show file tree
Hide file tree
Showing 134 changed files with 40 additions and 45 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/openvidu-call-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
- name: Install dependencies and build openvidu-call
run: |
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ openvidu-call-back/dist/public/
npm install openvidu-components-angular-*.tgz --prefix frontend && \
npm install --prefix backend && \
npm run build --prefix backend && \
npm run build --prefix frontend && \
mv frontend/dist/openvidu-call/ backend/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand All @@ -83,11 +83,11 @@ jobs:
- name: Serve openvidu-call
env:
CALL_PRIVATE_ACCESS: true
run: npm run start --prefix openvidu-call-back &
run: npm run start --prefix backend &
- name: Run tests
env:
LAUNCH_MODE: CI
run: npm run e2e:auth --prefix openvidu-call-front
run: npm run e2e:auth --prefix frontend

home_e2e_test:
needs: prepare_openvidu_components_angular
Expand All @@ -114,11 +114,11 @@ jobs:
- name: Install dependencies and build openvidu-call
run: |
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ openvidu-call-back/dist/public/
npm install openvidu-components-angular-*.tgz --prefix frontend && \
npm install --prefix backend && \
npm run build --prefix backend && \
npm run build --prefix frontend && \
mv frontend/dist/openvidu-call/ backend/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand All @@ -127,12 +127,12 @@ jobs:
sleep 5
done
- name: Serve openvidu-call
run: npm run start --prefix openvidu-call-back &
run: npm run start --prefix backend &
- name: Run tests
env:
LAUNCH_MODE: CI
CALL_PRIVATE_ACCESS: false
run: npm run e2e:home --prefix openvidu-call-front
run: npm run e2e:home --prefix frontend

room_e2e_test:
needs: prepare_openvidu_components_angular
Expand All @@ -159,11 +159,11 @@ jobs:
- name: Install dependencies and build openvidu-call
run: |
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ openvidu-call-back/dist/public/
npm install openvidu-components-angular-*.tgz --prefix frontend && \
npm install --prefix backend && \
npm run build --prefix backend && \
npm run build --prefix frontend && \
mv frontend/dist/openvidu-call/ backend/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand All @@ -172,12 +172,12 @@ jobs:
sleep 5
done
- name: Serve openvidu-call
run: npm run start --prefix openvidu-call-back &
run: npm run start --prefix backend &
- name: Run tests
env:
LAUNCH_MODE: CI
CALL_PRIVATE_ACCESS: false
run: npm run e2e:room --prefix openvidu-call-front
run: npm run e2e:room --prefix frontend

recording_e2e_test:
needs: prepare_openvidu_components_angular
Expand All @@ -204,11 +204,11 @@ jobs:
- name: Install dependencies and build openvidu-call
run: |
npm install openvidu-components-angular-*.tgz --prefix openvidu-call-front && \
npm install --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-back && \
npm run build --prefix openvidu-call-front && \
mv openvidu-call-front/dist/openvidu-call/ openvidu-call-back/dist/public/
npm install openvidu-components-angular-*.tgz --prefix frontend && \
npm install --prefix backend && \
npm run build --prefix backend && \
npm run build --prefix frontend && \
mv frontend/dist/openvidu-call/ backend/dist/public/
- name: Wait for openvidu-local-deployment
run: |
Expand All @@ -217,9 +217,9 @@ jobs:
sleep 5
done
- name: Serve openvidu-call
run: npm run start --prefix openvidu-call-back &
run: npm run start --prefix backend &
- name: Run tests
env:
LAUNCH_MODE: CI
CALL_PRIVATE_ACCESS: false
run: npm run e2e:recordings --prefix openvidu-call-front
run: npm run e2e:recordings --prefix frontend
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ Thumbs.db
*.browserslistrc
.git/*

openvidu-call-back-java/src/main/resources/static/

openvidu-call-back/public/
backend/public/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions openvidu-call-back/src/config.ts → backend/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export const LIVEKIT_URL_PRIVATE = process.env.LIVEKIT_URL_PRIVATE || LIVEKIT_UR
export const LIVEKIT_API_KEY = process.env.LIVEKIT_API_KEY || 'devkey';
export const LIVEKIT_API_SECRET = process.env.LIVEKIT_API_SECRET || 'secret';

// export const LIVEKIT_URL = process.env.LIVEKIT_URL || 'wss://call.openvidu.io';
// export const LIVEKIT_URL_PRIVATE = process.env.LIVEKIT_URL_PRIVATE || LIVEKIT_URL;
// export const LIVEKIT_API_KEY = process.env.LIVEKIT_API_KEY || 'APIWZHJbPh9ANkd';
// export const LIVEKIT_API_SECRET = process.env.LIVEKIT_API_SECRET || 'xIewKYpYWA8x2N8fxWolqxK1AohMlL06F1cS7yJuDmj';

// S3 configuration
export const CALL_S3_BUCKET = process.env.CALL_S3_BUCKET || 'openvidu';
export const CALL_S3_SERVICE_ENDPOINT = process.env.CALL_S3_SERVICE_ENDPOINT || 'http://localhost:9000';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ WORKDIR /app/frontend

ARG BASE_HREF=/

COPY --chown=node:node openvidu-call-front/package*.json ./
COPY --chown=node:node frontend/package*.json ./

RUN npm install

COPY --chown=node:node openvidu-call-front/ ./
COPY --chown=node:node frontend/ ./

RUN npm run build

Expand All @@ -22,11 +22,11 @@ USER node

WORKDIR /app/backend

COPY --chown=node:node openvidu-call-back/package*.json ./
COPY --chown=node:node backend/package*.json ./

RUN npm install

COPY --chown=node:node openvidu-call-back/ ./
COPY --chown=node:node backend/ ./

RUN npm run build

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Capabilities } from 'selenium-webdriver';
import * as chrome from 'selenium-webdriver/chrome';
import * as chrome from 'selenium-webdriver/chrome.js';
import { LAUNCH_MODE } from './config.js';

interface BrowserConfig {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion openvidu-call-front/package.json → frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"private": true,
"scripts": {
"dev:start": "ng serve --configuration development --port=5080 --host=0.0.0.0",
"dev:build": "./node_modules/@angular/cli/bin/ng.js build --output-path ../openvidu-call-back/public/",
"dev:build": "./node_modules/@angular/cli/bin/ng.js build --output-path ../backend/public/",
"build": "func() { ./node_modules/@angular/cli/bin/ng.js build --configuration production --base-href=\"${1:-/}\"; }; func",
"e2e:all": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/**/*.test.js",
"e2e:home": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/home.test.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions openvidu-call-front/.vscode/settings.json

This file was deleted.

0 comments on commit ebf7e05

Please sign in to comment.