Git Product home page Git Product logo

arbor-rb's People

Contributors

dependabot[bot] avatar mikecmpbll avatar thomas07vt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arbor-rb's Issues

Support for the changelog API

The uber-REST nature of the API means that to extract data in bulk is a bit unwieldy. This is why the API developers have a changelog method, so you can see which resources have changed since the revision id at the time you last synced (if that's how you're utilising the API)

This is far more efficient than the "snapshot" technique of pulling out everything and working out what's changed at the client end.

The API supports this by appending /changelog to the usual resource endpoints, and there's a from-revision query parameter to instruct the API from which revision ID to return changes.

Handle failed authentication (401 response code)

At the moment it just tries to parse the empty response body, ignoring the 401 response code, making it difficult to tell that it is an authentication error.

Should handle different response codes accordingly, before looking at the response body.

Namespaced resources problem with underscore/camelcase/dasherize conversion

There are certain resources, e.g. uk-dfe_upn-assignments, which don't conform to the convention of dasherized resource names used for all other resources (the underscore), this could cause a problem when we convert from underscore to dasherize & camelcase, etc.

Also need to add this new resource type.

Stack level too deep when record has no href

we assumed (fairly) that all records have a href. when they don't, however, the call to href hits the method_missing, which tries to load the full resource, which calls href .. and the loop begins.

if we add href to attr_accessor it won't hit method missing.

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.