Changeset 2626222
- Timestamp:
- 11/08/2021 04:16:37 PM (4 years ago)
- Location:
- wp-migrate-2-aws/trunk
- Files:
-
- 7 deleted
- 13 edited
-
.gitignore (deleted)
-
admin/abstracts/uploader/async-requests/runRequestDownload.class.php (deleted)
-
admin/abstracts/uploader/background-processes/runProcessDownload.class.php (deleted)
-
admin/assets/scripts.js (modified) (1 diff)
-
admin/classes/apiGlobal.class.php (modified) (5 diffs)
-
admin/classes/apiRemote.class.php (modified) (2 diffs)
-
admin/classes/apiRemoteIam.class.php (modified) (1 diff)
-
admin/classes/apiRemoteS3.class.php (modified) (3 diffs)
-
admin/classes/downloader.class copy.php (deleted)
-
admin/classes/downloader.class.php (deleted)
-
admin/includes/adminFunctions.php (modified) (2 diffs)
-
admin/includes/welcomePanel.class.php (modified) (1 diff)
-
inc/downloadZipLog.txt (modified) (1 diff)
-
inc/log.txt (modified) (1 diff)
-
inc/zipLog.txt (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
settings.php (modified) (1 diff)
-
vendor/aws-autoloader.php (deleted)
-
vendor/aws/aws-sdk-php/phpstan.neon (deleted)
-
wp-migrate-2-aws.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-migrate-2-aws/trunk/admin/assets/scripts.js
r2603472 r2626222 158 158 function wpm2aws_logError($, action, message) 159 159 { 160 var wpm2aws_migrations_api_url = wpm2aws_script_defined_variables.wpm2aws_migrations_api_url; 161 160 162 $.post( 161 "https://wponaws.migration.seahorse-data.com/api/migration/log/action",163 wpm2aws_migrations_api_url + "/api/migration/log/action", 162 164 { 163 165 "data": -
wp-migrate-2-aws/trunk/admin/classes/apiGlobal.class.php
r2603472 r2626222 2291 2291 // $response = wp_remote_post( , array( 2292 2292 $response = wp_remote_post( 2293 // 'http://localhost/wpm2aws-console-api/public/api/console/data', 2294 'http://52.213.129.222/api/console/data', 2293 WPM2AWS_CONSOLE_API_URL . '/api/console/data', 2295 2294 array( 2296 2297 'method' => 'POST', 2298 'timeout' => 45, 2299 'redirection' => 10, 2300 'httpversion' => '1.0', 2301 'blocking' => true, 2302 'headers' => array( 2303 'Cache-Control' => 'no-cache', 2304 ), 2305 'body' => array( 'data' => $requestData ), 2306 'cookies' => array(), 2295 'method' => 'POST', 2296 'timeout' => 45, 2297 'redirection' => 10, 2298 'httpversion' => '1.0', 2299 'blocking' => true, 2300 'headers' => array( 2301 'Cache-Control' => 'no-cache', 2302 ), 2303 'body' => array( 'data' => $requestData ), 2304 'cookies' => array(), 2307 2305 ) 2308 2306 ); … … 2386 2384 ); 2387 2385 2388 // $response = wp_remote_post( 'http://localhost/wpm2aws-console-api/public/api/console/addAlarm', array(2389 2386 $response = wp_remote_post( 2390 'http://52.213.129.222/api/console/addAlarm',2387 WPM2AWS_CONSOLE_API_URL . '/api/console/addAlarm', 2391 2388 array( 2392 'method' => 'PUT',2393 'timeout' => 45,2394 'redirection' => 10,2395 'httpversion' => '1.0',2396 'blocking' => true,2397 'headers' => array(2398 'Cache-Control' => 'no-cache',2399 ),2400 'body' => array( 'data' => $requestData ),2401 'cookies' => array(),2389 'method' => 'PUT', 2390 'timeout' => 45, 2391 'redirection' => 10, 2392 'httpversion' => '1.0', 2393 'blocking' => true, 2394 'headers' => array( 2395 'Cache-Control' => 'no-cache', 2396 ), 2397 'body' => array( 'data' => $requestData ), 2398 'cookies' => array(), 2402 2399 ) 2403 2400 ); … … 2477 2474 ); 2478 2475 // wp_die(print_r($instanceDetails)); 2479 // $response = wp_remote_post( 'http://localhost/wpm2aws-console-api/public/api/console/rebootInstance', array( 2476 2480 2477 $response = wp_remote_post( 2481 'http://52.213.129.222/api/console/rebootInstance',2478 WPM2AWS_CONSOLE_API_URL . '/api/console/rebootInstance', 2482 2479 array( 2483 2484 'method' => 'POST', 2485 'timeout' => 45, 2486 'redirection' => 10, 2487 'httpversion' => '1.0', 2488 'blocking' => true, 2489 'headers' => array( 2490 'Cache-Control' => 'no-cache', 2491 ), 2492 'body' => array( 'data' => $requestData ), 2493 'cookies' => array(), 2480 'method' => 'POST', 2481 'timeout' => 45, 2482 'redirection' => 10, 2483 'httpversion' => '1.0', 2484 'blocking' => true, 2485 'headers' => array( 2486 'Cache-Control' => 'no-cache', 2487 ), 2488 'body' => array( 'data' => $requestData ), 2489 'cookies' => array(), 2494 2490 ) 2495 2491 ); … … 2579 2575 2580 2576 // wp_die(print_r($instanceDetails)); 2581 // $response = wp_remote_post( 'http://localhost/wpm2aws-console-api/public/api/console/createSnapshot', array(