Git Product home page Git Product logo

api-key-dealer's People

Contributors

bsuravech avatar chloelbn avatar devincodes avatar julienbourdeau avatar nunomaduro avatar rayrutjes avatar tomklotzpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

api-key-dealer's Issues

MCM credientials

It already exists but I suspect the credentials are incorrect, I forgot why. Needs tests.

Client: add debug options

I'd love to be able to do things like this in order to call localhost for instance

./algolia-keys export --debug --repo="algolia/search-bundle"

It would help debugging and testing.

Unable to configure Api key dealer server, outdated documentation?

Hi, brilliant api, great job. This was missing in Travis for a a long time. I'm wondering how to configure it with some simple token inside. It is correct command for linux? eval $(DEALER_HOST=localhost:8080./public/clients/algolia-keys-mac export) Looks like my .env is broken.
Thanks a lot.
Documentation says:

# edit to `.env` and add
# - test_ADMIN
# - NOCTT5TZUU_ADMIN
# - UCX3XB3SH4_ADMIN
# - CTS_1_ADMIN_KEY
# - CTS_2_ADMIN_KEY
    
# Run tests
composer test

My setup:
Using ubuntu 18.04
php 7.4

cat .env
APP_ENV=local
APP_DEBUG=true
APP_TIMEZONE=UTC

DB_CONNECTION=sqlite

CACHE_DRIVER=file
QUEUE_DRIVER=sync

KEY_VALIDITY=1296000

test_ADMIN=abcdef
composer test
> phpunit
PHPUnit 7.5.15 by Sebastian Bergmann and contributors.

  Warning - The configuration file did not pass validation!
  The following problems have been detected:

  Line 11:
  - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.

  Test results may not be as expected.


E                                                                   1 / 1 (100%)

Time: 41 ms, Memory: 6.00 MB

There was 1 error:

1) GenerationOfKeysTest::testTravisService
ErrorException: Trying to access array offset on value of type null

/home/ubuntu/api-key-dealer/vendor/illuminate/support/ServiceProvider.php:97
/home/ubuntu/api-key-dealer/vendor/illuminate/pagination/PaginationServiceProvider.php:16
/home/ubuntu/api-key-dealer/vendor/illuminate/container/BoundMethod.php:32
/home/ubuntu/api-key-dealer/vendor/illuminate/container/BoundMethod.php:90
/home/ubuntu/api-key-dealer/vendor/illuminate/container/BoundMethod.php:34
/home/ubuntu/api-key-dealer/vendor/illuminate/container/Container.php:576
/home/ubuntu/api-key-dealer/vendor/laravel/lumen-framework/src/Application.php:244
/home/ubuntu/api-key-dealer/vendor/laravel/lumen-framework/src/Application.php:229
/home/ubuntu/api-key-dealer/vendor/laravel/lumen-framework/src/Application.php:230
/home/ubuntu/api-key-dealer/vendor/laravel/lumen-framework/src/Testing/TestCase.php:62
/home/ubuntu/api-key-dealer/vendor/laravel/lumen-framework/src/Testing/TestCase.php:73

ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
Script phpunit handling the tests event returned with error code 2

eval $(DEALER_HOST=localhost:8080./public/clients/algolia-keys-mac export)
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier
-bash: declare: `-x': not a valid identifier

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.