dummyDeploy.php 321 B

123456789101112131415161718
  1. <?php
  2. $clusterName = $_GET['clusterName'];
  3. header("Content-type: application/json");
  4. /* All we need to do is give back a new txnId. */
  5. $txnId = rand();
  6. error_log( 'Generated new txnId: ' . $txnId );
  7. $jsonOutput = array(
  8. 'txnId' => $txnId,
  9. 'clusterName' => $clusterName );
  10. print (json_encode($jsonOutput));
  11. ?>