golemfactory / ya-runtime-http-auth Goto Github PK
View Code? Open in Web Editor NEWGeneric HTTP authentication runtime for providing services on Golem network
Generic HTTP authentication runtime for providing services on Golem network
What:
htpasswd
to Rust (lib)
htpasswd-verify
crate, an implementation of the apr1
digest and a .htpasswd
formatter.htpasswd
file update.htpasswd
files should be flush
ed and sync
ed as soon as possiblehtpasswd.sh
invocations with library callsWhy:
htpasswd.sh
is a shell script which relies on external tools and proper environment (e.g. PATH configuration).htpasswd
locks are required when multiple runtimes (activities) modify the same access fileWhat:
Runtime::start
function, spawn a background task responsible for:
Why:
Follow GAP-8
What:
deploy
and start
commandsWhy:
What:
ya-http-proxy-client
crateya-http-proxy-client
's Management API
Why:
ya-http-proxy
As in title
What:
v*
or pre-rel-*
Why:
What:
Why:
Blocked by #3
What:
ya-http-proxy
process to background
GET /services
HTTP request on Management API)
Why:
What:
siege
)
nginx
nginx
, secured by a custom auth_request
endpoint
Why:
nginx
w/ auth_request
nginx
static site endpoint as referenceFollow GAP-8
What:
Runtime::run_command
sends HTTP requests to the Management API in order to add and remove service users, according to GAP-8Why:
What:
the start
command should add the designated service within the proxy via Management API:
start
for the stop
command:
implement the test
command to verify that:
Note: test
command is executed automatically by the provider agent on startup
implement the offer-template
command so that the following will be included in the offer:
sha3:deadbeef..
)golem.runtime.http-auth.
)update the implementation of existing commands according to GAP-8
Why:
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.