This tutorial will give you a clear explanation on how to run Myddleware. Firstly, we will detail all the set up process necessary to run Myddleware. Then we will explain how to handle data transfer errors. An admin user is automatically created during the installation of Myddleware . You can create other users if other people need access to Myddleware . So you will know who created a rule for example. At the moment the creation of users is done by command line. However, it will soon be possible to do it directly in Myddleware by an admin user. To create a user, run the following command through a command prompt: Create the user profile to connect to Myddleware. Change myddleware_username , myddleware_user_email , myddleware_password to the user you want to create: php bin/console fos:user:create myddleware_username myddleware_user_email myddleware_password If you want to add the administrator role to the user you just created, run this command: php bin/console fos:user:promote myddleware_username ROLE_ADMIN Myddleware is able to send notifications and alerts using scheduled task. For this, you have to configure your SMTP parameters here : Data transfers can be rejected for different reasons : A rejected data transfer can be automatically reload using the job rerunerror (see cheduled task chapter). It can be also manually reloaded by clicking on the button «Reload» : It is also possible to cancel a data transfer. Finally, you can modify a data transfer in Myddleware by clicking on the field containing the invalid data. However it is always recommanded to modify invalid data in your source applicaion Then you can reload the data transfer to send it to your target application. Myddleware can work with background tasks to sync your data, send notifications, clean data, and more. If you wish to carry out this action, you will have to set up a background task using the crontab for Linux, or Widows task scheduler. Before creating this task, make sure your configuration is correct, open a command shell and run the program symfony_requirements in the directory bin: Change your file permission or PHP configuration in case of permission error or missing PHP requirement : All you have to do is set up the “jobScheduler” scheduled task that will launch all the other Myddleware tasks:
This jobScheduler task will read the JobScheduler table and start the tasks according to the parameters of this table. You can manage this table directly in Myddleware We draw your attention to the following columns: We will detail the different tasks in the following chapters that will enable you to fill the other columns. The “synchro” program will allow you to synchronize your data by launching a specific rule or every active rules : Only active rules will be available in the list: The scheduled task “rerunerror” reloads transfers in error automatically. In the above example, we have configured 2 tasks of reloading errors: The sheduled task “notification” allows you to send notifications and alerts or statistics by email. In the above example, we have configured 2 tasks : Please make sure you have configured your SMTP parameters (see email configuration chapter). The scheduled task “cleardata” deletes all the empty or expired data in Myddleware. In the above example, we have configured a task that deletes empty or expired data in Myddleware : It can happen that your server stops or that your http service (apache for example) or MySQL encounters a problem. In these cases, Myddleware may be interrupted while it is running. Here’s how to make sure that Myddleware restarts properly once your server is restarted. Once the task is stopped, it will no longer block Myddleware, which will be able to function normally again. 1.Get started
2.User Creation
3.Email configuration
4.Error management
5.Scheduled tasks
php bin/symfony_requirements
cd <myddleware directory>; php bin/console myddleware:jobScheduler --env=background
5.1.Data Synchronization
5.2.Reloading errors
5.3.Errors notification
5.4.Data clearing
6.Myddleware shutdown