Giter Club home page Giter Club logo

plugin-admin-api's People

Contributors

greenkeeper[bot] avatar javierbrea avatar methadata avatar renovate-bot avatar renovate[bot] avatar

Watchers

 avatar  avatar

plugin-admin-api's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>mocks-server/ci-cd)

Configurable path for administration api rest

Currently the "administration" rest api is served under the "/mocks" api path.

It is desirable to add a new option for let the user decide in which path wants to start the administration api, just in case of conflict with any other api path.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency @mocks-server/core to v2.5.2
  • chore(deps): update dependency cross-fetch to v3.1.5

Rate Limited

These updates are currently rate limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency wait-on to v6.0.1
  • fix(deps): update dependency express to v4.17.3
  • chore(deps): update dependency eslint to v8.12.0
  • chore(deps): update dependency eslint-config-prettier to v8.5.0
  • chore(deps): update dependency jest to v27.5.1
  • chore(deps): update dependency lint-staged to v12.3.7
  • chore(deps): update dependency prettier to v2.6.1
  • chore(deps): update actions/cache action to v3
  • chore(deps): update actions/checkout action to v3
  • chore(deps): update actions/download-artifact action to v3
  • chore(deps): update actions/setup-node action to v3
  • chore(deps): update actions/upload-artifact action to v3
  • chore(deps): update dependency sinon to v13

  • Check this box to trigger a request for Renovate to run again on this repository

RESTful administration api

Design and implement a better administration api, RESTful based.

It should expose "behaviors" and "fixtures" resources for managing both collections. Relationships between collections and models should be defined by unique identifiers of both concepts, based on their unique exportation "names".

Old api should be kept for the moment due to maintaining compatibility. To achieve this, the new api methods could be exposed under a new api path, which should be the one configurable mentioned at the mocks-server/main#15 issue. Maybe the default path for the new administration api could be "/mocks-server-admin", a clearly "namespaced" path in order to avoid conflicts with the mocks paths.

admin-api-paths constants repository

It is desirable that administration api paths are defined in a new repository and published as an independent npm package in order to reuse them in the "admin-api-client" package.

Add display name

displayName getter should be added to the plugin to improve traces.

Currently, when the mock server is started, logs refer to this plugin as "2":

npm run mocks -- --cli=false --log=debug
...
07:36:28:72 [Mocks debug] Starting plugin "2"
...

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.