Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N21-2103 update media activations #5364

Open
wants to merge 81 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
dd8bdff
N21-2103 WIP
mrikallab Nov 27, 2024
f250d37
init add vidis sync strategy
sdinkov Nov 29, 2024
07ecc98
add vidis console job script
sdinkov Nov 29, 2024
9490543
init add ansible role for vidis sync cron job
sdinkov Nov 29, 2024
1f113ce
N21-2103 mediasource module
mrikallab Dec 3, 2024
ba85962
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
mrikallab Dec 3, 2024
69f3295
rename role
sdinkov Dec 4, 2024
3a72046
update job definition
sdinkov Dec 4, 2024
80f9e23
Merge branch 'main' into N21-2103-update-media-activations
sdinkov Dec 4, 2024
f79a88b
N21-2103 mediasource module imports
mrikallab Dec 4, 2024
186ce64
Merge branch 'main' into N21-2103-update-media-activations
mrikallab Dec 4, 2024
ade04ee
update job scheduling
sdinkov Dec 4, 2024
3638343
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
mrikallab Dec 4, 2024
cf0143b
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
mrikallab Dec 4, 2024
82e5614
test scheduling
sdinkov Dec 4, 2024
3dc4521
format job
sdinkov Dec 4, 2024
d468f02
update job
sdinkov Dec 4, 2024
a9643b8
update job formatting
sdinkov Dec 4, 2024
2bf9f64
update job: add deployment and service
sdinkov Dec 5, 2024
294696c
update vidis sync job
sdinkov Dec 5, 2024
2933de5
update vidis job
sdinkov Dec 5, 2024
c693c61
update cronjob
sdinkov Dec 5, 2024
23bfe2d
update vidis job
sdinkov Dec 5, 2024
2ee912e
update vidis cronjob
sdinkov Dec 5, 2024
bf32018
update cronjob vidis
sdinkov Dec 5, 2024
cd9a6f5
Merge branch 'main' into N21-2103-update-media-activations
sdinkov Dec 5, 2024
4b8ffc2
update cronjob
sdinkov Dec 5, 2024
96e4277
Merge branch 'N21-2103-update-media-activations' of https://github.co…
sdinkov Dec 5, 2024
a5f9ea1
update job
sdinkov Dec 5, 2024
280c5c7
update vidis job
sdinkov Dec 5, 2024
98f1401
update job schedule
sdinkov Dec 5, 2024
06b2d6f
fix conflict
sdinkov Dec 5, 2024
3b1a028
update vidis sync strategy; init test
sdinkov Dec 6, 2024
36fe5a2
apply suggestions from code review
sdinkov Dec 6, 2024
6589cde
Merge branch 'N21-2103-update-media-activations' of https://github.co…
sdinkov Dec 6, 2024
85054a2
N21-2103 sync logic
mrikallab Dec 9, 2024
af43da2
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
mrikallab Dec 9, 2024
5cefd4f
N21-2103 wip
mrikallab Dec 9, 2024
1a891a6
Merge branch 'main' into N21-2103-update-media-activations
mrikallab Dec 9, 2024
ca9eb0b
N21-2103 WIP
mrikallab Dec 10, 2024
1db0b10
N21-2103 fix request
mrikallab Dec 10, 2024
1e8997a
N21-2103 WIP
mrikallab Dec 11, 2024
2bfa55a
cleanup media school license service
sdinkov Dec 11, 2024
ef1b547
fix for school media licences
sdinkov Dec 11, 2024
da91fc1
cleanup
sdinkov Dec 11, 2024
159148f
update job schedule
sdinkov Dec 11, 2024
1196424
update tests
sdinkov Dec 11, 2024
eeb638b
N21-2103 add vidis to api-init with encryption, placeholder files for…
GordonNicholasCap Dec 12, 2024
847dc2a
Merge remote-tracking branch 'refs/remotes/origin/main' into N21-2103…
GordonNicholasCap Dec 12, 2024
31b4d37
N21-2103 wip tests, mark some code for changes
GordonNicholasCap Dec 12, 2024
c744a29
server-init review changes
GordonNicholasCap Dec 13, 2024
9651e8a
N21-2103 renamed module mediasource -> media-source, fixed imports
GordonNicholasCap Dec 13, 2024
7ce3274
N21-2103 vidis-sync service unit test
GordonNicholasCap Dec 13, 2024
a564ea1
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
GordonNicholasCap Dec 13, 2024
81d7e80
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 13, 2024
71c8853
N21-2103 fix missing imports
GordonNicholasCap Dec 13, 2024
6dae8fc
Merge remote-tracking branch 'origin/N21-2103-update-media-activation…
GordonNicholasCap Dec 13, 2024
8b191f3
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 16, 2024
78113e1
N21-2103 fix media license repo test
GordonNicholasCap Dec 16, 2024
1a3f65f
N21-2103 wip refactor license sync code, fix eslint errors
GordonNicholasCap Dec 16, 2024
33b06d6
N21-2103 wip sync service test
GordonNicholasCap Dec 17, 2024
07bdc4c
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 17, 2024
de94936
N21-2103 finish vidis sync service refactoring, fix tests
GordonNicholasCap Dec 18, 2024
3200b50
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 18, 2024
e423520
Merge branch 'main' into N21-2103-update-media-activations
sdinkov Dec 18, 2024
317ef9a
N21-2103 cleanup, more tests
GordonNicholasCap Dec 18, 2024
260d280
N21-2103 cleanup, add missing unit tests
GordonNicholasCap Dec 19, 2024
47684f6
N21-2103 cleanup, use repo-interface, adjust tests
GordonNicholasCap Dec 19, 2024
e8b10e9
N21-2103 wip vidis response test coverage
GordonNicholasCap Dec 19, 2024
b693121
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 19, 2024
b88a030
test coverage
GordonNicholasCap Dec 20, 2024
30db6c8
add vidis client
sdinkov Dec 20, 2024
06a973a
update client api
sdinkov Dec 20, 2024
2fe346b
add client factory and init test
sdinkov Dec 20, 2024
650cb18
N21-2103 adapt vidis sync code to use vidis client
GordonNicholasCap Dec 20, 2024
7a6b7f8
N21-2103 add config for vidis region
GordonNicholasCap Dec 20, 2024
2a12aa9
Merge branch 'main' into N21-2103-update-media-activations
GordonNicholasCap Dec 20, 2024
ab54ba5
N21-2103 fix tests and eslint
GordonNicholasCap Dec 20, 2024
009a024
N21-2103 fix configs
GordonNicholasCap Dec 20, 2024
72c6ce2
N21-2103 fix configs
GordonNicholasCap Dec 20, 2024
68c6152
N21-2103 fix cronjob tasks condition
GordonNicholasCap Dec 20, 2024
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
Prev Previous commit
Next Next commit
Merge branch 'main' into N21-2103-update-media-activations
sdinkov authored Dec 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 80f9e23607c7a08e743368abf2fff7a08a41ba0e
3 changes: 2 additions & 1 deletion apps/server/src/modules/server/server.module.ts
Original file line number Diff line number Diff line change
@@ -47,9 +47,10 @@ import { ALL_ENTITIES } from '@shared/domain/entity';
import { createConfigModuleOptions, DB_PASSWORD, DB_URL, DB_USERNAME } from '@src/config';
import { CoreModule } from '@src/core';
import { LoggerModule } from '@src/core/logger';
import { SchoolLicenseModule } from '../school-license/school-license.module';
import { defaultMikroOrmOptions } from '@shared/common/defaultMikroOrmOptions';
import { ServerConfigController, ServerController, ServerUc } from './api';
import { SERVER_CONFIG_TOKEN, serverConfig } from './server.config';
import { SchoolLicenseModule } from '../school-license/school-license.module';

const serverModules = [
ConfigModule.forRoot(createConfigModuleOptions(serverConfig)),

Unchanged files with check annotations Beta

createAndStartPrometheusMetricsAppIfEnabled,
} from './helpers';
async function bootstrap() {

Check warning on line 16 in apps/server/src/apps/admin-api-server.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
const nestAdminServerExpress = express();
// application imports
import { SwaggerDocumentOptions } from '@nestjs/swagger';
import { LegacyLogger, Logger } from '@src/core/logger';
import { RedisIoAdapter } from '@infra/socketio';

Check warning on line 11 in apps/server/src/apps/board-collaboration.app.ts

GitHub Actions / nest_lint

'@infra/socketio' import is restricted from being used by a pattern. apps-modules may NOT import from @apps, @infra or @shared
import { BoardCollaborationModule } from '@modules/board/board-collaboration.app.module';
import express from 'express';
import { ExpressAdapter } from '@nestjs/platform-express';
createAndStartPrometheusMetricsAppIfEnabled,
} from './helpers';
async function bootstrap() {

Check warning on line 21 in apps/server/src/apps/board-collaboration.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
const nestExpress = express();
createAndStartPrometheusMetricsAppIfEnabled,
} from './helpers';
async function bootstrap() {

Check warning on line 16 in apps/server/src/apps/common-cartridge.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
const nestExpress = express();
import { DeletionConsoleModule } from '@modules/deletion-console/deletion-console.app.module';
import { BootstrapConsole } from 'nestjs-console';
async function run() {

Check warning on line 5 in apps/server/src/apps/deletion-console.app.ts

GitHub Actions / nest_lint

Missing return type on function
const bootstrap = new BootstrapConsole({
module: DeletionConsoleModule,
useDecorators: true,
import { FilesStorageAMQPModule } from '@modules/files-storage/files-storage-amqp.module';
import { install as sourceMapInstall } from 'source-map-support';
async function bootstrap() {

Check warning on line 9 in apps/server/src/apps/files-storage-consumer.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
const nestApp = await NestFactory.create(FilesStorageAMQPModule);
import { LegacyLogger } from '@src/core/logger';
import { enableOpenApiDocs } from './helpers';
async function bootstrap() {

Check warning on line 17 in apps/server/src/apps/files-storage.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
// create the NestJS application on a seperate express instance
import { FwuLearningContentsModule } from '@modules/fwu-learning-contents';
import { enableOpenApiDocs } from './helpers';
async function bootstrap() {

Check warning on line 15 in apps/server/src/apps/fwu-learning-contents.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
// create the NestJS application on a seperate express instance
/* istanbul ignore file */
/* eslint-disable no-console */
import { NestFactory } from '@nestjs/core';

Check warning on line 3 in apps/server/src/apps/h5p-editor.app.ts

GitHub Actions / nest_lint

Filename 'h5p-editor.app.ts' does not match kebabcase
import { ExpressAdapter } from '@nestjs/platform-express';
import express from 'express';
import { H5PEditorModule } from '@modules/h5p-editor';
import { enableOpenApiDocs } from './helpers';
async function bootstrap() {

Check warning on line 15 in apps/server/src/apps/h5p-editor.app.ts

GitHub Actions / nest_lint

Missing return type on function
sourceMapInstall();
// create the NestJS application on a seperate express instance
You are viewing a condensed version of this merge commit. You can view the full changes here.