Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 290 Rev 301
Línea 3396... Línea 3396...
3396
                        'action' => 'send'
3396
                        'action' => 'send'
3397
                    ]
3397
                    ]
3398
                ],
3398
                ],
3399
                'may_terminate' => true,
3399
                'may_terminate' => true,
3400
            ],
3400
            ],
3401
            'services' => [
-
 
3402
                'type' => Literal::class,
-
 
3403
                'options' => [
-
 
3404
                    'route' => '/services',
-
 
3405
                    'defaults' => [
-
 
3406
                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3407
                        'action' => 'index'
-
 
3408
                    ]
-
 
3409
                ],
-
 
3410
                'may_terminate' => true,
-
 
3411
                'child_routes' => [
-
 
3412
                    'storage' => [
-
 
3413
                        'type' => Segment::class,
-
 
3414
                        'options' => [
-
 
3415
                            'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
-
 
3416
                            'constraints' => [
-
 
3417
                                'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|microlearning-topic|microlearning-capsule|microlearning-slide',
-
 
3418
                                'code' => '[A-Za-z0-9\-]+\=*',
-
 
3419
                                'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
-
 
3420
                            ],
-
 
3421
                            // MjM5ODk0Mzgg
-
 
3422
                            'defaults' => [
-
 
3423
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3424
                                'action' => 'storage'
-
 
3425
                            ]
-
 
3426
                        ]
-
 
3427
                    ],
-
 
3428
                    'device' => [
-
 
3429
                        'type' => Literal::class,
-
 
3430
                        'options' => [
-
 
3431
                            'route' => '/device',
-
 
3432
                            'defaults' => [
-
 
3433
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3434
                                'action' => 'device'
-
 
3435
                            ]
-
 
3436
                        ]
-
 
3437
                    ],
-
 
3438
                    'fcm' => [
-
 
3439
                        'type' => Literal::class,
-
 
3440
                        'options' => [
-
 
3441
                            'route' => '/fcm',
-
 
3442
                            'defaults' => [
-
 
3443
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3444
                                'action' => 'fcm'
-
 
3445
                            ]
-
 
3446
                        ]
-
 
3447
                    ],
-
 
3448
                    'signin' => [
-
 
3449
                        'type' => Literal::class,
-
 
3450
                        'options' => [
-
 
3451
                            'route' => '/signin',
-
 
3452
                            'defaults' => [
-
 
3453
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3454
                                'action' => 'signin'
-
 
3455
                            ]
-
 
3456
                        ]
-
 
3457
                    ],
-
 
3458
                    'check-session' => [
-
 
3459
                        'type' => Literal::class,
-
 
3460
                        'options' => [
-
 
3461
                            'route' => '/check-session',
-
 
3462
                            'defaults' => [
-
 
3463
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3464
                                'action' => 'checkSession'
-
 
3465
                            ]
-
 
3466
                        ]
-
 
3467
                    ],
-
 
3468
                    'signout' => [
-
 
3469
                        'type' => Literal::class,
-
 
3470
                        'options' => [
-
 
3471
                            'route' => '/signout',
-
 
3472
                            'defaults' => [
-
 
3473
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3474
                                'action' => 'signout'
-
 
3475
                            ]
-
 
3476
                        ]
-
 
3477
                    ],
-
 
3478
                    'sync' => [
-
 
3479
                        'type' => Literal::class,
-
 
3480
                        'options' => [
-
 
3481
                            'route' => '/sync',
-
 
3482
                            'defaults' => [
-
 
3483
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3484
                                'action' => 'sync'
-
 
3485
                            ]
-
 
3486
                        ]
-
 
3487
                    ],
-
 
3488
                    'sync-batch' => [
-
 
3489
                        'type' => Literal::class,
-
 
3490
                        'options' => [
-
 
3491
                            'route' => '/sync-batch',
-
 
3492
                            'defaults' => [
-
 
3493
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3494
                                'action' => 'syncBatch'
-
 
3495
                            ]
-
 
3496
                        ]
-
 
3497
                    ],
-
 
3498
                    'delete-account' => [
-
 
3499
                        'type' => Literal::class,
-
 
3500
                        'options' => [
-
 
3501
                            'route' => '/delete-account',
-
 
3502
                            'defaults' => [
-
 
3503
                                'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3504
                                'action' => 'deleteAccount'
-
 
3505
                            ]
-
 
3506
                        ]
-
 
3507
                    ],
-
 
3508
                    'microlearning' => [
-
 
3509
                        'type' => Literal::class,
-
 
3510
                        'options' => [
-
 
3511
                            'route' => '/microlearning',
-
 
3512
                            'defaults' => [
-
 
3513
                                'controller' => '\LeadersLinked\Controller\ServiceMicrolearningController',
-
 
3514
                                'action' => 'index'
-
 
3515
                            ]
-
 
3516
                        ],
-
 
3517
                        'may_terminate' => true,
-
 
3518
                        'child_routes' => [
-
 
3519
                            'refresh' => [
-
 
3520
                                'type' => Literal::class,
-
 
3521
                                'options' => [
-
 
3522
                                    'route' => '/refresh',
-
 
3523
                                    'defaults' => [
-
 
3524
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3525
                                        'action' => 'microlearningRefresh'
-
 
3526
                                    ]
-
 
3527
                                ]
-
 
3528
                            ],
-
 
3529
                            'delete-account' => [
-
 
3530
                                'type' => Literal::class,
-
 
3531
                                'options' => [
-
 
3532
                                    'route' => '/delete-account',
-
 
3533
                                    'defaults' => [
-
 
3534
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3535
                                        'action' => 'deleteAccount'
-
 
3536
                                    ]
-
 
3537
                                ]
-
 
3538
                            ],
-
 
3539
                            'check-changes' => [
-
 
3540
                                'type' => Literal::class,
-
 
3541
                                'options' => [
-
 
3542
                                    'route' => '/check-changes',
-
 
3543
                                    'defaults' => [
-
 
3544
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3545
                                        'action' => 'microlearningCheckChanges'
-
 
3546
                                    ]
-
 
3547
                                ]
-
 
3548
                            ],
-
 
3549
                            'capsules' => [
-
 
3550
                                'type' => Literal::class,
-
 
3551
                                'options' => [
-
 
3552
                                    'route' => '/capsules',
-
 
3553
                                    'defaults' => [
-
 
3554
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
3555
                                        'action' => 'microlearningCapsules'
-
 
3556
                                    ]
-
 
3557
                                ],
-
 
3558
                                'may_terminate' => true,
-
 
3559
                                'child_routes' => [
-
 
3560
         
-
 
3561
                                    
3401
           
3562
                                    'comments' => [
-
 
3563
                                        'type' => Segment::class,
-
 
3564
                                        'options' => [
-
 
3565
                                            'route' => '/comments/:capsule_id',
-
 
3566
                                            'constraints' => [
-
 
3567
                                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
-
 
3568
                                            ],
-
 
3569
                                            'defaults' => [
-
 
3570
                                                'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
3571
                                                'action' => 'index'
-
 
3572
                                            ]
-
 
3573
                                        ],
-
 
3574
                                        'may_terminate' => true,
-
 
3575
                                        'child_routes' => [
-
 
3576
                                            'add' => [
-
 
3577
                                                'type' => Literal::class,
-
 
3578
                                                'options' => [
-
 
3579
                                                    'route' => '/add',
-
 
3580
                                                    'defaults' => [
-
 
3581
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
3582
                                                        'action' => 'add'
-
 
3583
                                                    ]
-
 
3584
                                                ]
-
 
3585
                                            ],
-
 
3586
                                            'get' => [
-
 
3587
                                                'type' => Segment::class,
-
 
3588
                                                'options' => [
-
 
3589
                                                    'route' => '/get/:comment_id',
-
 
3590
                                                    'constraints' => [
-
 
3591
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
-
 
3592
                                                    ],
-
 
3593
                                                    'defaults' => [
-
 
3594
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
3595
                                                        'action' => 'get'
-
 
3596
                                                    ]
-
 
3597
                                                ]
-
 
3598
                                            ],
-
 
3599
                                            'edit' => [
-
 
3600
                                                'type' => Segment::class,
-
 
3601
                                                'options' => [
-
 
3602
                                                    'route' => '/edit/:comment_id',
-
 
3603
                                                    'constraints' => [
-
 
3604
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
-
 
3605
                                                    ],
-
 
3606
                                                    'defaults' => [
-
 
3607
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
3608
                                                        'action' => 'edit'
-
 
3609
                                                    ]
-
 
3610
                                                ]
-
 
3611
                                            ],
-
 
3612
                                            'delete' => [
-
 
3613
                                                'type' => Segment::class,
-
 
3614
                                                'options' => [
-
 
3615
                                                    'route' => '/delete/:comment_id',
-
 
3616
                                                    'constraints' => [
-
 
3617
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
-
 
3618
                                                    ],
-
 
3619
                                                    'defaults' => [
-
 
3620
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
3621
                                                        'action' => 'delete'
-
 
3622
                                                    ]
-
 
3623
                                                ]
-
 
3624
                                            ],
-
 
3625
                                        ]
-
 
3626
                                    ],
-
 
3627
                                ]
-
 
3628
                            ],
-
 
3629
 
-
 
3630
                        ]
-
 
3631
                    ],
-
 
3632
                ]
-
 
3633
            ],
-
 
3634
            'marketplace' => [
3402
            'marketplace' => [
3635
                'type' => Literal::class,
3403
                'type' => Literal::class,
3636
                'options' => [
3404
                'options' => [
3637
                    'route' => '/marketplace',
3405
                    'route' => '/marketplace',
3638
                    'defaults' => [
3406
                    'defaults' => [
Línea 3997... Línea 3765...
3997
            
3765
            
3998
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
3766
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
3999
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
3767
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
4000
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
3768
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
4001
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
-
 
4002
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
-
 
4003
            \LeadersLinked\Controller\ServiceCapsuleCommentsController::class => \LeadersLinked\Factory\Controller\ServiceCapsuleCommentsControllerFactory::class,
-
 
4004
           // \LeadersLinked\Controller\ZoomController::class => \LeadersLinked\Factory\Controller\ZoomControllerFactory::class,
3769
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
4005
 
3770
       
4006
        ],
3771
        ],
4007
        'aliases' => [
3772
        'aliases' => [
Línea 4008... Línea 3773...
4008
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
3773
            '\LeadersLinked\Controller\AbuseReportController' => \LeadersLinked\Controller\AbuseReportController::class,
Línea 4033... Línea 3798...
4033
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3798
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
4034
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3799
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
4035
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
3800
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
4036
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
3801
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
4037
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
3802
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
4038
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
-
 
4039
            '\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,
-
 
4040
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
3803
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
Línea 4041... Línea 3804...
4041
 
3804