PM 940 "ProcessMaker-MA "Email Server (endpoints)"" SOLVED
> ProcessMaker-MA "Email Server (endpoints)"
- Se han implementado los siguientes Endpoints:
GET /api/1.0/{workspace}/email/paged?filter={filter}&start={start}&limit={limit}
GET /api/1.0/{workspace}/emails?filter={filter}&start={start}&limit={limit}
GET /api/1.0/{workspace}/email/{mess_uid}
POST /api/1.0/{workspace}/email
POST /api/1.0/{workspace}/email/test-connection
PUT /api/1.0/{workspace}/email/{mess_uid}
DELETE /api/1.0/{workspace}/email/{mess_uid}
- Se esta creando un 1er registro en la tabla EMAIL_SERVER, esto al ejecutar el comando "./processmaker upgrade".
- El metodo "System::getEmailConfiguration()" recupera el EMAIL_SERVER por default, caso contrario trabajara como lo
hacia anteriormente.
Merge branch 'master' of bitbucket.org:colosa/processmaker into PM-940
Conflicts:
workflow/engine/config/schema.xml
workflow/engine/data/mysql/schema.sql
This commit is contained in:
@@ -973,8 +973,7 @@ class System
|
||||
$arrayEmailServerDefault = $emailServer->getEmailServerDefault();
|
||||
|
||||
if (count($arrayEmailServerDefault) > 0) {
|
||||
//Return
|
||||
return $arrayDataEmailServerConfig = array(
|
||||
$arrayDataEmailServerConfig = array(
|
||||
"MESS_ENGINE" => $arrayEmailServerDefault["MESS_ENGINE"],
|
||||
"MESS_SERVER" => $arrayEmailServerDefault["MESS_SERVER"],
|
||||
"MESS_PORT" => (int)($arrayEmailServerDefault["MESS_PORT"]),
|
||||
@@ -993,6 +992,9 @@ class System
|
||||
"MESS_EXECUTE_EVERY" => "",
|
||||
"MESS_SEND_MAX" => ""
|
||||
);
|
||||
|
||||
//Return
|
||||
return $arrayDataEmailServerConfig;
|
||||
} else {
|
||||
G::LoadClass("configuration");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user