Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
ba54603f
Commit
ba54603f
authored
Apr 29, 2026
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ssa export data: resetup services.yaml config
parent
703a52ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
8 deletions
+26
-8
services.yaml
config/services.yaml
+15
-2
ExportAndUploadDataCommand.php
src/Command/ExportAndUploadDataCommand.php
+11
-6
No files found.
config/services.yaml
View file @
ba54603f
...
...
@@ -22,6 +22,11 @@ parameters:
extra_security_admin_password
:
'
%env(EXTRA_SECURITY_ADMIN_PASSWORD)%'
ccas_mode
:
'
%env(CCAS_MODE)%'
use_external_data
:
'
%env(USE_EXTERNAL_DATA)%'
export.ssh.host
:
'
%env(EXPORT_SSH_HOST)%'
export.ssh.user
:
'
%env(EXPORT_SSH_USER)%'
export.ssh.password
:
'
%env(EXPORT_SSH_PASSWORD)%'
export.remote.path
:
'
%env(EXPORT_REMOTE_PATH)%'
export.local.path
:
'
%env(resolve:EXPORT_LOCAL_PATH)%'
# PARAMETRES DES IMPORTS POSSIBLE POUR L'APPLICATION DE GESTION DE MONNAIE LOCALE COMPLEMENTAIRE
...
...
@@ -835,4 +840,12 @@ services:
arguments
:
-
'
@session'
tags
:
-
{
name
:
'
kernel.event_listener'
,
event
:
'
security.interactive_login'
}
\ No newline at end of file
-
{
name
:
'
kernel.event_listener'
,
event
:
'
security.interactive_login'
}
App\Command\ExportAndUploadDataCommand
:
arguments
:
$host
:
'
%export.ssh.host%'
$user
:
'
%export.ssh.user%'
$password
:
'
%export.ssh.password%'
$remotePath
:
'
%export.remote.path%'
$localPath
:
'
%export.local.path%'
\ No newline at end of file
src/Command/ExportAndUploadDataCommand.php
View file @
ba54603f
...
...
@@ -26,16 +26,21 @@ class ExportAndUploadDataCommand extends Command
public
function
__construct
(
CustomEntityManager
$em
,
LoggerInterface
$logger
LoggerInterface
$logger
,
string
$host
,
string
$user
,
string
$password
,
string
$remotePath
,
string
$localPath
)
{
parent
::
__construct
();
$this
->
em
=
$em
;
$this
->
logger
=
$logger
;
$this
->
host
=
$
_ENV
[
'EXPORT_SSH_HOST'
]
;
$this
->
user
=
$
_ENV
[
'EXPORT_SSH_USER'
]
;
$this
->
password
=
$
_ENV
[
'EXPORT_SSH_PASSWORD'
]
;
$this
->
remotePath
=
$
_ENV
[
'EXPORT_REMOTE_PATH'
]
;
$this
->
localPath
=
$
_ENV
[
'EXPORT_LOCAL_PATH'
]
;
$this
->
host
=
$
host
;
$this
->
user
=
$
user
;
$this
->
password
=
$
password
;
$this
->
remotePath
=
$
remotePath
;
$this
->
localPath
=
$
localPath
;
}
protected
function
execute
(
InputInterface
$input
,
OutputInterface
$output
)
:
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment