algolia / api-key-dealer Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://keys.algolia.engineering
Home Page: https://keys.algolia.engineering
It already exists but I suspect the credentials are incorrect, I forgot why. Needs tests.
๐ Would be useful to add in this README the documentation to easily integrate the api-key-dealer
into any api client.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.