Comments (3)
I've been able to verify this with a (somewhat) simple test; see the code snippet at the bottom. It boils down to req.azuriteRequest
not being defined here, but I don't really know why it's undefined, or where its value should have been set even though it wasn't. I'll keep digging, but any advice would be much appreciated.
const chai = require("chai"),
chaiHttp = require("chai-http"),
should = chai.should(),
expect = chai.expect,
BbPromise = require("bluebird"),
fs = BbPromise.promisifyAll(require("fs-extra")),
Azurite = require("./../lib/AzuriteTable"),
rp = require("request-promise"),
path = require("path"),
xml2js = require("xml2js");
chai.use(chaiHttp);
const containerName = "testcontainer";
const tableName = "testtable";
const url = "http://localhost:10002";
const urlPath = "/devstoreaccount1";
describe("Table HTTP API", () => {
const azurite = new Azurite();
before(() => {
const location = path.join(process.env.AZURITE_LOCATION, "TABLE");
return azurite.init({ l: location, silent: "true", overwrite: "true" });
});
after(() => {
return azurite.close();
});
describe("List tables", () => {
it("doesn't blow up when listing tables", () =>
chai
.request(url)
.get(`${urlPath}/Tables`)
.set("Accept", "application/json")
.send()
.then(res => {
res.should.have.status(200);
})
// uncomment to see entire error with stacktrace etc:
// .catch(err => {
// console.log(JSON.stringify(err, null, 2));
// })
);
});
});
from azurite.
Hi @tlycken ! The reason Azurite crashes is that QueryTables has not been implemented yet. I'm aiming for implementing QueryTables
and QueryEntities
until end of next week. Will update you here.
Current support of Table storage is really limited right now. See https://github.com/arafato/azurite/blob/master/release-notes.md and https://github.com/arafato/azurite#table-storage---api-implementation-status respectively, for more details.
I planning on having full support by the end of this month, so stay tuned!
from azurite.
Good news! I'm willing to help with this, if I can, in order to speed it up even further :)
I'm having some difficulties following request flow at the beginning of a request, though; would you mind pointing me to the extension point(s) where I need to register/modify stuff to initialize those properties on the request object?
from azurite.
Related Issues (20)
- filenames > 255 chars cause errors on some file systems
- Queue name validation doesn't allow multiple dashes
- Incorrect content-type for GET messages endpoint
- Using with javascript SDK: Queue message result undefined HOT 8
- Use with Azure Storage Explorer HOT 9
- CORS - Enabling the allowing of origins so BLOBS can be displayed from browsers HOT 2
- CloudBlockBlob.StartCopyAsync fails with NotFound HOT 19
- Container creation allows illegal characters HOT 2
- CORS: 403 must only be returned in preflight requests
- Add support for $ prefixed container names (like $root) HOT 4
- As a user I would like to know the release notes of each release HOT 2
- Table: Support for Entity Group Transaction
- Blob ETag not being returned to C# client HOT 8
- Precondition Failed (412) when reading from blob HOT 3
- Table Storage: Add Service Data Model validation rules
- Table Storage: Create Timestamp property for every entity
- Table Storage: Query tables always return not found ERROR HOT 2
- Table Storage: Insert Entity does not return attribs when `return-content` is set, only odata attribs
- Azure Queue Storage returns messages with invalid dates HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurite.