Proyectos de Subversion LeadersLinked - Services

Rev

Rev 290 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 290 Rev 333
Línea 16... Línea 16...
16
use LeadersLinked\Model\User;
16
use LeadersLinked\Model\User;
17
use LeadersLinked\Model\UserType;
17
use LeadersLinked\Model\UserType;
18
use LeadersLinked\Model\CompanyUser;
18
use LeadersLinked\Model\CompanyUser;
19
use Laminas\Mvc\I18n\Translator;
19
use Laminas\Mvc\I18n\Translator;
20
use LeadersLinked\Cache\CacheInterface;
20
use LeadersLinked\Cache\CacheInterface;
21
use LeadersLinked\Library\S3Files;
-
 
-
 
21
 
22
use LeadersLinked\Mapper\FeedMapper;
22
use LeadersLinked\Mapper\FeedMapper;
23
use LeadersLinked\Library\Storage;
23
use LeadersLinked\Library\Storage;
Línea 24... Línea 24...
24
 
24
 
25
class SendDataToS3Command extends Command
25
class SendDataToS3Command extends Command
Línea 94... Línea 94...
94
    
94
    
95
    protected function execute(InputInterface $input, OutputInterface $output) : int
95
    protected function execute(InputInterface $input, OutputInterface $output) : int
96
    {
96
    {
Línea 97... Línea 97...
97
        $output->writeln('Inicializando el S3');
97
        $output->writeln('Inicializando el S3');
Línea 98... Línea 98...
98
        
98
        
99
        $storage = Storage::getInstance($this->config);
99
        $storage = Storage::getInstance($this->config, $this->adapter);
100
        
100
        
101
        $paths = [
101
        $paths = [
102
            $this->config['leaderslinked.fullpath.chat']                            => $this->config['leaderslinked.minio.fullpath_chat'],
102
            $this->config['leaderslinked.fullpath.chat']                            => $this->config['leaderslinked.storage.fullpath_chat'],
103
            $this->config['leaderslinked.fullpath.group']                           => $this->config['leaderslinked.minio.fullpath_group'],
103
            $this->config['leaderslinked.fullpath.group']                           => $this->config['leaderslinked.storage.fullpath_group'],
104
            $this->config['leaderslinked.fullpath.user']                            => $this->config['leaderslinked.minio.fullpath_user'],
104
            $this->config['leaderslinked.fullpath.user']                            => $this->config['leaderslinked.storage.fullpath_user'],
105
            $this->config['leaderslinked.fullpath.image']                           => $this->config['leaderslinked.minio.fullpath_image'],
105
            $this->config['leaderslinked.fullpath.image']                           => $this->config['leaderslinked.storage.fullpath_image'],
106
            $this->config['leaderslinked.fullpath.job']                             => $this->config['leaderslinked.minio.fullpath_job'],
106
            $this->config['leaderslinked.fullpath.job']                             => $this->config['leaderslinked.storage.fullpath_job'],
107
            $this->config['leaderslinked.fullpath.company']                         => $this->config['leaderslinked.minio.fullpath_company'],
107
            $this->config['leaderslinked.fullpath.company']                         => $this->config['leaderslinked.storage.fullpath_company'],
108
            $this->config['leaderslinked.fullpath.feed']                            => $this->config['leaderslinked.minio.fullpath_feed'],
108
            $this->config['leaderslinked.fullpath.feed']                            => $this->config['leaderslinked.storage.fullpath_feed'],
109
            $this->config['leaderslinked.fullpath.post']                            => $this->config['leaderslinked.minio.fullpath_post'],
109
            $this->config['leaderslinked.fullpath.post']                            => $this->config['leaderslinked.storage.fullpath_post'],
110
            $this->config['leaderslinked.fullpath.microlearning_topic']             => $this->config['leaderslinked.minio.fullpath_microlearning_topic'],
110
            $this->config['leaderslinked.fullpath.microlearning_topic']             => $this->config['leaderslinked.storage.fullpath_microlearning_topic'],
111
            $this->config['leaderslinked.fullpath.microlearning_capsule']           => $this->config['leaderslinked.minio.fullpath_microlearning_capsule'],
111
            $this->config['leaderslinked.fullpath.microlearning_capsule']           => $this->config['leaderslinked.storage.fullpath_microlearning_capsule'],
112
            $this->config['leaderslinked.fullpath.microlearning_slide']             => $this->config['leaderslinked.minio.fullpath_microlearning_slide'],
112
            $this->config['leaderslinked.fullpath.microlearning_slide']             => $this->config['leaderslinked.storage.fullpath_microlearning_slide'],
113
            $this->config['leaderslinked.fullpath.job_description']                 => $this->config['leaderslinked.minio.fullpath_job_description'],
113
            $this->config['leaderslinked.fullpath.job_description']                 => $this->config['leaderslinked.storage.fullpath_job_description'],
114
            $this->config['leaderslinked.fullpath.self_evaluation']                 => $this->config['leaderslinked.minio.fullpath_self_evaluation'],
114
            $this->config['leaderslinked.fullpath.self_evaluation']                 => $this->config['leaderslinked.storage.fullpath_self_evaluation'],
115
            $this->config['leaderslinked.fullpath.performance_evaluation']          => $this->config['leaderslinked.minio.fullpath_performance_evaluation'],
115
            $this->config['leaderslinked.fullpath.performance_evaluation']          => $this->config['leaderslinked.storage.fullpath_performance_evaluation'],
116
            $this->config['leaderslinked.fullpath.recruitment_selection']           => $this->config['leaderslinked.minio.fullpath_recruitment_selection'],
116
            $this->config['leaderslinked.fullpath.recruitment_selection']           => $this->config['leaderslinked.storage.fullpath_recruitment_selection'],
117
            $this->config['leaderslinked.fullpath.planning_objectives_and_goals']   => $this->config['leaderslinked.minio.fullpath_planning_objectives_and_goals'],
117
            $this->config['leaderslinked.fullpath.planning_objectives_and_goals']   => $this->config['leaderslinked.storage.fullpath_planning_objectives_and_goals'],
118
            $this->config['leaderslinked.fullpath.message']                         => $this->config['leaderslinked.minio.fullpath_message'],
118
            $this->config['leaderslinked.fullpath.message']                         => $this->config['leaderslinked.storage.fullpath_message'],
119
            $this->config['leaderslinked.fullpath.survey']                          => $this->config['leaderslinked.minio.fullpath_survey'],
119
            $this->config['leaderslinked.fullpath.survey']                          => $this->config['leaderslinked.storage.fullpath_survey'],
120
            $this->config['leaderslinked.fullpath.network']                         => $this->config['leaderslinked.minio.fullpath_network'],
120
            $this->config['leaderslinked.fullpath.network']                         => $this->config['leaderslinked.storage.fullpath_network'],
121
            $this->config['leaderslinked.fullpath.daily_pulse']                     => $this->config['leaderslinked.minio.fullpath_daily_pulse'],
121
            $this->config['leaderslinked.fullpath.daily_pulse']                     => $this->config['leaderslinked.storage.fullpath_daily_pulse'],
122
            $this->config['leaderslinked.fullpath.engagement_reward']               => $this->config['leaderslinked.minio.fullpath_engagement_reward'],
122
            $this->config['leaderslinked.fullpath.engagement_reward']               => $this->config['leaderslinked.storage.fullpath_engagement_reward'],