Compare commits

..

9 Commits

3 changed files with 14 additions and 15 deletions

View File

@ -61,7 +61,7 @@ CREATE TABLE Server (
CREATE TABLE Source ( CREATE TABLE Source (
SourceId SERIAL PRIMARY KEY, SourceId SERIAL PRIMARY KEY,
SourceName VARCHAR(255) NOT NULL UNIQUE, SourceName VARCHAR(255) NOT NULL UNIQUE,
SourceURL TEXT SourceDirectory TEXT
); );
-- Release -- Release
@ -97,9 +97,9 @@ CREATE TABLE Applicationservice (
ApplicationserviceName VARCHAR(255) NOT NULL, ApplicationserviceName VARCHAR(255) NOT NULL,
ApplicationserviceDescription VARCHAR(255) NOT NULL, ApplicationserviceDescription VARCHAR(255) NOT NULL,
ApplicationserviceReleaseId INTEGER NOT NULL, ApplicationserviceReleaseId INTEGER NOT NULL,
ApplicationserviceLVIS VARCHAR(255) NOT NULL, --ApplicationserviceLVIS VARCHAR(255) NOT NULL,
ApplicationserviceLVIP VARCHAR(255) NOT NULL, --ApplicationserviceLVIP VARCHAR(255) NOT NULL,
ApplicationserviceLVMP VARCHAR(255) NOT NULL, --ApplicationserviceLVMP VARCHAR(255) NOT NULL,
OS JSON, OS JSON,
UNIQUE (ApplicationserviceName, ApplicationserviceReleaseId) UNIQUE (ApplicationserviceName, ApplicationserviceReleaseId)
); );

17
debian/control vendored
View File

@ -13,19 +13,14 @@ Architecture: any
Depends: ${misc:Depends}, Depends: ${misc:Depends},
eole-db, eole-db,
eole-postgresql, eole-postgresql,
python3-aiohttp, python3-risotto-user,
risotto-user, python3-risotto-setting,
risotto-setting, python3-risotto-provider,
risotto-provider, python3-risotto-message,
risotto-message, python3-risotto-infra,
risotto-infra,
cadoles-risotto-seed, cadoles-risotto-seed,
risotto,
tiramisu,
tiramisu-api,
rougail,
cucchiaiata, cucchiaiata,
tiramisu-cmdline-parser risotto
Description: configuration pour lintégration de risotto dans EOLE Description: configuration pour lintégration de risotto dans EOLE
. .
Pour toute information complémentaire, veuillez vous rendre sur le Pour toute information complémentaire, veuillez vous rendre sur le

View File

@ -2,6 +2,8 @@
set -e set -e
systemctl start postgresql.service
psql -Upostgres -c "grant all on all tables in schema public to risotto" risotto psql -Upostgres -c "grant all on all tables in schema public to risotto" risotto
psql -Upostgres -c "grant all on all sequences in schema public to risotto" risotto psql -Upostgres -c "grant all on all sequences in schema public to risotto" risotto
psql -Upostgres -c "grant all on all functions in schema public to risotto" risotto psql -Upostgres -c "grant all on all functions in schema public to risotto" risotto
@ -9,4 +11,6 @@ psql -Upostgres -c "grant all on all tables in schema public to tiramisu" tirami
psql -Upostgres -c "grant all on all sequences in schema public to tiramisu" tiramisu psql -Upostgres -c "grant all on all sequences in schema public to tiramisu" tiramisu
psql -Upostgres -c "grant all on all functions in schema public to tiramisu" tiramisu psql -Upostgres -c "grant all on all functions in schema public to tiramisu" tiramisu
systemctl stop postgresql.service
exit 0 exit 0