s3.multi.split.storage.livetests.html 1.74 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>JIO S3 Storage Qunit Live Tests</title>
  <link rel="stylesheet" href="../../lib/qunit/qunit.css" />
  <script src="../../lib/qunit/qunit.js"></script>

  <script src="../../lib/rsvp/rsvp-custom.js"></script>
  <script src="../../lib/jquery/jquery.min.js"></script>
  <script src="../../src/sha256.amd.js"></script>
  <script src="../../jio.js"></script>
  <script src="../../complex_queries.js"></script>
  <script src="../../src/sha1.amd.js"></script>
15
  <script src="../../src/jio.storage/gidstorage.js"></script>
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
  <script src="../../src/jio.storage/s3storage.js"></script>
  <script src="../../src/jio.storage/multisplitstorage.js"></script>
  <script src="../jio/util.js"></script>
</head>
<body>
  <script>
var s3storage_spec = {};
console.log(location.href);
location.href.split('?')[1].split('&').forEach(function (item) {
  s3storage_spec[item.split('=')[0]] = decodeURI(item.split('=').slice(1).join('=')).
    replace(/%3A/ig, ':').replace(/%2F/ig, '/');
});
  </script>
  <h3>JIO initialization</h3>
  <form method="get" action="">
    <input type="hidden" name="type" value="s3"/>
    <input type="text" name="url" placeholder="URL" value="https://jiobucket.s3.amazonaws.com"/>
    <input type="text" name="server" placeholder="Bucket" value="jiobucket"/>
    <input type="text" name="AWSIdentifier" placeholder="AWSIdentifier" value="AKIAJLNYGVLTV66RHPEQ"/>
    <input type="password" name="password" placeholder="Password" value="/YHoa5r2X6EUHfvP31jdYx6t75h81pAjIZ4Mt94y"/>
    <input type="submit" value="Run Tests"/>
  </form>
  <br />
  <div id="qunit"></div>
  <!--<script src="s3storage.tests.js"></script>-->
  <script src="multi.split.s3storage.tests.js"></script>
</body>
</html>