Giter Club home page Giter Club logo

citadel's People

Contributors

crawld avatar jbkoh avatar rpasricha avatar sandeep-iitr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

citadel's Issues

Branch clean-up

There is no meaning in the current branch setup. I will move dev-api to master once my PR is merged.

Directory Restructure?

Hi all,

Before I decide where to put my module in the project, I'd like to restructure the current directory structure.

  • Currently rest_api.py contains all the REST APIs (hypothetically). Each module that would reside under our app will have to implement REST interfaces (corresponding to view), which is colliding when multiple developers develop their modules. Shouldn't we separate out to individual modules?
    (ref: https://www.digitalocean.com/community/tutorials/how-to-structure-large-flask-applications)

  • Moving MongoDB initiation into the specific module for metadata for modularization.

I have updated above issues in my local repository and am ready to push to the repo. If no objections, I will push it to the repo.

Change Policy data structure and authentication scenario.

The current version of authentication is not working when there are many points (uuids) as Sandeep and I discussed. Thus,

  1. I propose to limit the spatio-temporal query to always have UUIDs specified. This will limit the functionality of spatio-temp query but I'd argue it's acceptable as metadata query should be performed beforehand anyway in many cases. This may cause difficulties in visualization, which can be solved by the caching mechanism that we already have.
  2. To optimize the policy iteration, I suggest changing the policy's data structure from JsonArray to Map<String, JsonObject> where String is for UUIDs. This will avoid iterating all the policies (which can be significantly many as time goes on) but we can only look for the necessary UUIDs' policies. It does not harm the performance in the current design also even without the proposal 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.