air flow
This commit is contained in:
@@ -1822,6 +1822,10 @@ long WrenchSendJobsOfferPublic(CVars in, CVars &out) {
|
|||||||
x["depend_uid"] = in["depend_uid"];
|
x["depend_uid"] = in["depend_uid"];
|
||||||
x["depend_uid"].set_valid(true);
|
x["depend_uid"].set_valid(true);
|
||||||
|
|
||||||
|
x["strict_timeline"] = in["strict_timeline"];
|
||||||
|
x["strict_timeline"].set_valid(true);
|
||||||
|
|
||||||
|
|
||||||
if ( x["depend_uid"] != ""){
|
if ( x["depend_uid"] != ""){
|
||||||
logfmt(logINFO, "****** Let us confirm this job is in the market === > %s", x["depend_uid"].c_str());
|
logfmt(logINFO, "****** Let us confirm this job is in the market === > %s", x["depend_uid"].c_str());
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,10 @@ $routes->set404Override();
|
|||||||
// We get a performance increase by specifying the default
|
// We get a performance increase by specifying the default
|
||||||
// route since we don't have to scan directories.
|
// route since we don't have to scan directories.
|
||||||
//www-api/app/Config/RoutesV1.php
|
//www-api/app/Config/RoutesV1.php
|
||||||
|
|
||||||
|
|
||||||
|
$routes->get('/en/flow/api/v1/new-account','AirFlow::flowNewAccount');
|
||||||
|
|
||||||
include "RoutesV1.php";
|
include "RoutesV1.php";
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controllers;
|
||||||
|
|
||||||
|
class AirFlow extends BaseController
|
||||||
|
{
|
||||||
|
|
||||||
|
public function flowNewAccount(){
|
||||||
|
|
||||||
|
$raw_json = file_get_contents('php://input');
|
||||||
|
$in = json_decode($raw_json, true);
|
||||||
|
$out =[];
|
||||||
|
log_message('critical', "AirFlow::flowNewAccount ********* ALL ".serialize($in) );
|
||||||
|
return []; //json_encode( $final_out );
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user