Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Dynamic control API exposed via gRPC (#32) #33

Merged
merged 788 commits into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
788 commits
Select commit Hold shift + click to select a range
9d00297
Optimize caching for Travis CI [run ci]
evdokimovs Aug 16, 2019
6572962
Down services when e2e test fail
evdokimovs Aug 16, 2019
5d1dc10
Fix Travis if
evdokimovs Aug 16, 2019
e3386af
Add contributing guide
evdokimovs Aug 20, 2019
4fe5b90
Commit for check that CI works [run ci]
evdokimovs Aug 21, 2019
b97dc21
Fix e2e tests, remove $(shell)
evdokimovs Aug 22, 2019
690053b
Merge branch 'master' into static-control-api
evdokimovs Aug 22, 2019
7574f1f
Fix docs refs
evdokimovs Aug 22, 2019
d2a5eba
Update CHANGELOG [run ci]
evdokimovs Aug 22, 2019
e510d43
Remove allow clippy::use_self from jason, use stable clippy in CI [ru…
evdokimovs Aug 22, 2019
d824aa2
Add dockerized building, upd contributing guide [run ci]
evdokimovs Aug 22, 2019
e86257a
Merge branch 'master' into static-control-api
evdokimovs Aug 22, 2019
9b83a5b
Fix Makefile [run ci]
evdokimovs Aug 22, 2019
21144b5
Merge branch 'static-control-api' into 32-grpc-dynamic-control-api
evdokimovs Aug 22, 2019
ee8d672
Upd CHANGELOG, add license, CHANGELOG and README for medea-grpc-proto
evdokimovs Aug 22, 2019
e9c7dca
Generate gRPC to OUT_DIR for publishing to crates.io [run ci]
evdokimovs Aug 23, 2019
4a9d6ff
Merge branch 'master' into static-control-api [run ci]
evdokimovs Aug 23, 2019
ea44707
Fix CHANGELOGs
evdokimovs Aug 23, 2019
5209570
Fix MD links
evdokimovs Aug 23, 2019
27d6094
Merge branch 'static-control-api' into 32-grpc-dynamic-control-api
evdokimovs Aug 27, 2019
f1709c3
refactor [run ci]
alexlapa Aug 28, 2019
fdd16ee
fmt, changelog [run ci]
alexlapa Aug 28, 2019
deefbdc
asd
alexlapa Aug 28, 2019
bc5049b
refactor [run ci]
alexlapa Aug 29, 2019
17629c0
refactor [run ci]
alexlapa Aug 30, 2019
4ea9fc8
meh, so i should docker save && load? [run ci]
alexlapa Aug 30, 2019
c107c62
meh, so i should docker save && load? [run ci]
alexlapa Aug 30, 2019
b47bbea
oops [run ci]
alexlapa Aug 30, 2019
a42403d
add docker save and docker load [run ci]
alexlapa Aug 30, 2019
8bb9acf
add docker save and docker load [run ci]
alexlapa Aug 30, 2019
892a27e
use build id [run ci]
alexlapa Aug 30, 2019
b4b81ab
debug ci [run ci]
alexlapa Aug 30, 2019
6f65dcc
travis [run ci]
alexlapa Aug 30, 2019
7e44c1d
you kidding me [run ci]
alexlapa Aug 30, 2019
cf5383b
you kidding me [run ci]
alexlapa Aug 30, 2019
bae4850
you kidding me [run ci]
alexlapa Aug 30, 2019
b604d4d
try login [run ci]
alexlapa Aug 30, 2019
7de14d6
try login [run ci]
alexlapa Aug 30, 2019
1d43887
try login [run ci]
alexlapa Aug 30, 2019
8b8bfce
try login [run ci]
alexlapa Aug 30, 2019
e5f6772
try pass docker credentials store [run ci]
alexlapa Sep 2, 2019
a6ef1ee
travis cache
alexlapa Sep 2, 2019
77289a4
Make docker-pass.sh executable [run ci]
alexlapa Sep 2, 2019
9c2a1c9
docker secure login [run ci]
alexlapa Sep 2, 2019
1590b40
debug travis [run ci]
alexlapa Sep 2, 2019
abb384c
secure login [run ci]
alexlapa Sep 2, 2019
167f3b0
secure login [run ci]
alexlapa Sep 2, 2019
c15c023
try build and push [run ci]
alexlapa Sep 2, 2019
97035dc
try build and push and pull for tests [run ci]
alexlapa Sep 2, 2019
bbf356f
try run everything on CI [run ci]
alexlapa Sep 2, 2019
8fcc52c
try run everything on CI [run ci]
alexlapa Sep 2, 2019
5888aa5
perhaps, we dont need this script anymore [run ci]
alexlapa Sep 2, 2019
271bf0b
update deps [run ci]
alexlapa Sep 3, 2019
0f453d9
Merge 'static-control-api' [run ci]
evdokimovs Sep 3, 2019
b163c8e
Fix gRPC error for parsing SrcUri [run ci]
evdokimovs Sep 3, 2019
04a51bc
Remote TODO [run ci]
evdokimovs Sep 3, 2019
1e28f6e
Remote outdated commented code
evdokimovs Sep 3, 2019
724027c
Corrections [skip ci]
tyranron Sep 3, 2019
069bd98
Create control config section, load static specs path by default
evdokimovs Sep 3, 2019
9f2b53f
Use dev/config.toml for development
evdokimovs Sep 3, 2019
7af21d1
Refactor travis.yml
evdokimovs Sep 3, 2019
32b8a47
Fix docker-compose
evdokimovs Sep 3, 2019
1fd1d93
Fix Incrementable trait
evdokimovs Sep 3, 2019
77f8cdd
Refactor Makefile [run ci]
evdokimovs Sep 3, 2019
cf41984
Fix tests [run ci]
evdokimovs Sep 3, 2019
9353d5d
Use derive_more Display in medea-client-api-proto [run ci]
evdokimovs Sep 3, 2019
7936eea
Remove old hardcoded environment vars from .travis-ci [run ci]
evdokimovs Sep 4, 2019
709b0be
Fix demo app
evdokimovs Sep 4, 2019
2b04328
Corrections to Docker Compose env
tyranron Sep 5, 2019
d5b02f2
Corrections to code style
tyranron Sep 5, 2019
301a26e
Revert Docker Compose env changes and correct medea crate version
tyranron Sep 5, 2019
5f46c5f
Some code style corrections
tyranron Sep 5, 2019
564eb15
Use derive_more, remove macro_attr and newtype_derive crates
evdokimovs Sep 5, 2019
d8e27db
Fix Counter bounds
evdokimovs Sep 5, 2019
f530a0f
Fix docs
evdokimovs Sep 5, 2019
0cfae60
Use #[display] instead of #[fail]
evdokimovs Sep 5, 2019
d24bed2
Fix docker-compose [run ci]
evdokimovs Sep 5, 2019
cf29a44
Refactor control API specs
evdokimovs Sep 5, 2019
eb3beec
Rename dev to _dev dir
evdokimovs Sep 5, 2019
0d7b4c2
Fix some docs, reduce clones in ws_index
evdokimovs Sep 5, 2019
883fbc5
Fix docs and some code [run ci]
evdokimovs Sep 5, 2019
38ffdd8
Final reread [run ci]
evdokimovs Sep 5, 2019
bccc4f8
refactor, add todos
alexlapa Sep 5, 2019
495c4e3
Reread
evdokimovs Sep 5, 2019
891baa4
Remove events cloning in e2e tests [run ci]
evdokimovs Sep 6, 2019
45417ab
Reread [run ci]
evdokimovs Sep 6, 2019
3186fbf
minor refactor [run ci]
alexlapa Sep 6, 2019
913d8b9
stable rustfmt [run ci]
alexlapa Sep 6, 2019
2c4e830
Implement batch delete
evdokimovs Sep 6, 2019
847ab3c
whatever [run ci]
alexlapa Sep 6, 2019
83ff840
Dirty implementation of batch get
evdokimovs Sep 6, 2019
ad26b60
Some cleanup
evdokimovs Sep 6, 2019
486ef4c
Error handling for get
evdokimovs Sep 6, 2019
7e3ed6b
Error handling for Delete
evdokimovs Sep 6, 2019
b6e2f28
Return Create method
evdokimovs Sep 6, 2019
74f2e69
Refactor
evdokimovs Sep 6, 2019
7bd0c20
travis spec fix [run ci]
alexlapa Sep 6, 2019
dec9217
Some errors returning
evdokimovs Sep 6, 2019
1f74867
Return err on unimplemented Apply method call
evdokimovs Sep 9, 2019
2a7a517
Rewrite Endpoint serialization to proto with Into trait
evdokimovs Sep 9, 2019
61c27f7
Better error gRPC errors
evdokimovs Sep 9, 2019
4c18b57
Fix lints
evdokimovs Sep 9, 2019
255b188
Additional error text
evdokimovs Sep 9, 2019
b4eec93
Fix gRPC error
evdokimovs Sep 9, 2019
567db0e
Merge branch 'static-control-api' into 32-grpc-dynamic-control-api
evdokimovs Sep 9, 2019
5691e14
Refactor
evdokimovs Sep 9, 2019
e8972f8
Refactor to #[display] from #[fail] [run ci]
evdokimovs Sep 9, 2019
06fe0bc
Add config tests
evdokimovs Sep 9, 2019
bb832cf
Use _ci/install_protoc.sh in Dockerfile
evdokimovs Sep 10, 2019
d953be0
Add environment variables to example config, fix example config
evdokimovs Sep 10, 2019
002f813
Reread
evdokimovs Sep 10, 2019
e8d02c4
Reread
evdokimovs Sep 10, 2019
19181ce
Reread
evdokimovs Sep 10, 2019
c7f1acd
Get rid of LocalUriInner, rewrite LocalUri parsing
evdokimovs Sep 10, 2019
d7c62d9
Refactor
evdokimovs Sep 10, 2019
44c2be2
Refactor, fix doc links
evdokimovs Sep 10, 2019
e0d83eb
Add missing docs
evdokimovs Sep 10, 2019
7340fb4
Refactor, add missing docs
evdokimovs Sep 10, 2019
78d0f11
Reread [run ci]
evdokimovs Sep 10, 2019
a45af9a
Fix lints [run ci]
evdokimovs Sep 10, 2019
b30e6f4
Set permament nightly build date for rustfmt in CI [run ci]
evdokimovs Sep 10, 2019
edd527d
Disallow failures on check [run ci]
evdokimovs Sep 10, 2019
4c41e0d
Fix nightly rust version in Makefile [run ci]
evdokimovs Sep 10, 2019
e426438
Add TODO, fix broken formatting for testing [run ci]
evdokimovs Sep 10, 2019
3ec085e
Fix Pipeline deserialization [run ci]
evdokimovs Sep 11, 2019
69fe27b
Try to set last available nightly version with env variable [run ci]
evdokimovs Sep 11, 2019
8d0fa1d
Use last available rustfmt nightly rust version [run ci]
evdokimovs Sep 11, 2019
c1f641f
Install rust [run ci]
evdokimovs Sep 11, 2019
2ab9b0a
Meh [run ci]
evdokimovs Sep 11, 2019
488bc53
Fix e2e tests in CI, move rustfmt installation into CI bash script [r…
evdokimovs Sep 11, 2019
fef6ed2
Fix starting bash script [run ci]
evdokimovs Sep 11, 2019
8a1d3d7
Merge branch 'master' into 32-grpc-dynamic-control-api [run ci]
evdokimovs Sep 11, 2019
f720ee6
Reread [run ci]
evdokimovs Sep 11, 2019
644eedd
Fix building of medea-build in CI [run ci]
evdokimovs Sep 11, 2019
d3ca602
Reread
evdokimovs Sep 11, 2019
eb0d72f
Fix Clippy options
tyranron Sep 11, 2019
9c768f8
Refactor
evdokimovs Sep 11, 2019
36dd20e
Refactor
evdokimovs Sep 12, 2019
aa2d1aa
Generate medea-control-api-proto and add it to git index, refactor [r…
evdokimovs Sep 12, 2019
71b61a4
Fix CI [run ci]
evdokimovs Sep 12, 2019
23ab751
Final reread [run ci]
evdokimovs Sep 12, 2019
5f00db0
Fix tests in CI [run ci]
evdokimovs Sep 12, 2019
05dba39
add todos, minor refactor [run ci]
alexlapa Sep 15, 2019
5eecf24
Merge branch 'master' into 32-grpc-dynamic-control-api
evdokimovs Sep 15, 2019
167fd51
Fix seprator in conf tests [run ci]
evdokimovs Sep 15, 2019
61c1a74
Fix E2E tests [run ci]
evdokimovs Sep 16, 2019
b69444c
Abstract HTTP and gRPC listeners
evdokimovs Sep 16, 2019
abe3f10
Refactor config
evdokimovs Sep 16, 2019
71317e5
Add macro for auto removing overrided envs in conf tests [run ci]
evdokimovs Sep 16, 2019
a192445
Move start_static_rooms into control module [run ci]
evdokimovs Sep 16, 2019
d8276b5
Fix [run ci]
evdokimovs Sep 16, 2019
45d57d5
Reread [run ci]
evdokimovs Sep 16, 2019
9f257b7
Fix env in docker-compose [run ci]
evdokimovs Sep 16, 2019
7aea8e2
Add Dockerfile for medea-build [run ci]
evdokimovs Sep 17, 2019
95981fa
Fix travis [run ci]
evdokimovs Sep 17, 2019
395c3e4
refactor ControlApiService::create
alexlapa Sep 17, 2019
01f3b84
refactor
alexlapa Sep 17, 2019
07460bd
Merge branch 'master' into 32-grpc-dynamic-control-api
alexlapa Sep 17, 2019
b1da658
refactor [run ci]
alexlapa Sep 17, 2019
089892a
refactor [run ci]
alexlapa Sep 22, 2019
54760a8
added todos
alexlapa Sep 23, 2019
81fc987
Don't store global context
evdokimovs Sep 23, 2019
d05ea50
Add tests for DeleteElements validation
evdokimovs Sep 23, 2019
f915ef1
Delete AppContext from GrpcServer
evdokimovs Sep 23, 2019
a169801
Add test for creating room
evdokimovs Sep 23, 2019
37c62c8
Add delete room test
evdokimovs Sep 23, 2019
c913ab2
Use tempfile and macro in config tests
evdokimovs Sep 23, 2019
4c1964c
Refactor tests, add trailing comma to env test macro
evdokimovs Sep 23, 2019
a8ac8d5
Send description on close WebSocket
evdokimovs Sep 23, 2019
70c9c5d
Add member delete test
evdokimovs Sep 23, 2019
60de135
Refactor test, add test for member
evdokimovs Sep 24, 2019
29b10c0
Add delete and get endpoint test
evdokimovs Sep 24, 2019
eb1b353
Add test for endpoint creating
evdokimovs Sep 24, 2019
807ae57
Refactor tests
evdokimovs Sep 24, 2019
8f06e33
Fix, add docs, change tiny.cc to tinyurl
evdokimovs Sep 24, 2019
07f15dc
Reread [run ci]
evdokimovs Sep 24, 2019
1f0f8e7
Add E2E tests for gRPC Control API
evdokimovs Sep 25, 2019
28fbbaa
Add some tests, refactor
evdokimovs Sep 25, 2019
0f98e2d
Add docs for tests
evdokimovs Sep 25, 2019
fdbbc1e
Reread [run ci]
evdokimovs Sep 25, 2019
2abcd98
Remove outdated TODO
evdokimovs Sep 25, 2019
0f64167
Final reread [run ci]
evdokimovs Sep 25, 2019
9d25a59
Fix some docs
evdokimovs Sep 26, 2019
dee07e1
add todos
alexlapa Sep 27, 2019
5723833
Implement tests for dynamic Control API signaling, fix bugs
evdokimovs Sep 27, 2019
6370238
Add format_name_macro
evdokimovs Sep 27, 2019
00ffcea
Move some functions to Room
evdokimovs Sep 29, 2019
a20f528
Add docs in tests
evdokimovs Sep 29, 2019
e62c39e
Move Control API signaling tests into control_api_grpc module
evdokimovs Sep 29, 2019
dd8023f
Fix updating Member's endpoints on new endpoint create [run ci]
evdokimovs Sep 29, 2019
d572220
Increase timeout for Member disconnection in test, update deps [run ci]
evdokimovs Sep 29, 2019
6f1957a
Better fix for signaling e2e [run ci]
evdokimovs Sep 30, 2019
cbdda9d
Try geckodriver on CI [run ci]
evdokimovs Sep 30, 2019
dc15789
Run on geckodriver [run ci]
evdokimovs Sep 30, 2019
ffd142f
At least chromedriver? [run ci]
evdokimovs Sep 30, 2019
ac97846
Run jason tests on chrome and firefox [run ci]
evdokimovs Oct 1, 2019
f281dee
RUN with and in Dockerfile and try tests on stable [run ci]
evdokimovs Oct 1, 2019
f468d94
Don't return not 0 status code from uninstall [run ci]
evdokimovs Oct 1, 2019
cce3adc
Ok, test only on chromedriver [run ci]
evdokimovs Oct 1, 2019
000630e
Fix job name [run ci]
evdokimovs Oct 1, 2019
4e35407
Fix running unit tests for other crates [run ci]
evdokimovs Oct 1, 2019
4c8e5e5
Add docs for docker.up.webdriver and docker.down.webdriver
evdokimovs Oct 1, 2019
c3a950d
refactor [run ci]
alexlapa Oct 2, 2019
68dc6f1
alexlapa/geckodriver => instrumentisto/geckodriver
alexlapa Oct 3, 2019
ee75e3f
alexlapa/geckodriver => instrumentisto/geckodriver
alexlapa Oct 3, 2019
e2ca89a
instrumentisto/geckodriver shm = 512
alexlapa Oct 3, 2019
3c5bc6c
Toolchain corrections
tyranron Oct 8, 2019
d38bb25
Corrections
tyranron Oct 8, 2019
a7ad5dc
Merge branch 'master' into 32-grpc-dynamic-control-api
evdokimovs Oct 11, 2019
f8a08b7
Return cmake to Dockerfile
evdokimovs Oct 11, 2019
cb9d110
Reread [run ci]
evdokimovs Oct 11, 2019
80f5974
Fix tests [run ci]
evdokimovs Oct 11, 2019
80c11a3
Fix [run ci]
evdokimovs Oct 11, 2019
7a51e3f
refactor tests [run ci]
alexlapa Oct 14, 2019
20bf0e6
make clippy --tests happy
alexlapa Oct 14, 2019
98a4134
extend test [run ci]
alexlapa Oct 14, 2019
f5e5f7d
Create refs module
evdokimovs Oct 15, 2019
e1ea1d6
Refactor, add Fid
evdokimovs Oct 15, 2019
1266e80
Use Fid
evdokimovs Oct 15, 2019
d28ffdb
Fix e2e tests
evdokimovs Oct 15, 2019
1d19dbd
Use fids in protobuf, update tests, impl create room with fid
evdokimovs Oct 15, 2019
5a014c5
Update create logic, upd tests
evdokimovs Oct 15, 2019
146a75e
Fix lints, warns
evdokimovs Oct 15, 2019
10357d0
Some docs
evdokimovs Oct 15, 2019
c17a8a9
Fix some unit tests
evdokimovs Oct 15, 2019
d57a443
Fix all tests
evdokimovs Oct 16, 2019
037bc7a
Refactor
evdokimovs Oct 16, 2019
c43ee08
Add tests, rename variables as fid
evdokimovs Oct 16, 2019
a2607ca
Merge branch 'master' into 32-grpc-dynamic-control-api
evdokimovs Oct 16, 2019
87c8124
Reread [run ci]
evdokimovs Oct 16, 2019
b530ef8
Remove rustup add component clippy and rustfmt [run ci]
evdokimovs Oct 16, 2019
aff060f
Fix lints [run ci]
evdokimovs Oct 16, 2019
b7c92fa
Fix docs
evdokimovs Oct 16, 2019
3886462
Small fix
evdokimovs Oct 16, 2019
d20067d
some fixes
alexlapa Oct 17, 2019
a15e47c
Move sids to room_service
evdokimovs Oct 18, 2019
0da8c7a
Create Room on empty unparsed FID [run ci]
evdokimovs Oct 18, 2019
cb4f121
Merge branch 'master' into 32-grpc-dynamic-control-api [run ci]
evdokimovs Oct 18, 2019
48d7d8a
Use alexlapa in Jason Dockerfile [run ci]
evdokimovs Oct 18, 2019
e6148b4
Fix log level in config [run ci]
evdokimovs Oct 18, 2019
66d2e84
Run rustfmt on latests nightly [run ci]
evdokimovs Oct 18, 2019
2e68c94
Remove allow failure from rustfmt [run ci]
evdokimovs Oct 18, 2019
45ed048
Small naming changes [run ci]
evdokimovs Oct 18, 2019
f8f7cc9
extend grpc e2e tests [run ci]
alexlapa Oct 20, 2019
d748f63
Bump up chart version to 0.2.0
tyranron Oct 25, 2019
5a0a946
Correct docs in proto spec
tyranron Oct 25, 2019
a3db13d
Docs and code style corrections
tyranron Oct 25, 2019
3d29f44
Fix sink creating [run ci]
evdokimovs Oct 25, 2019
483fa74
Fix rustfmt installation [run ci]
evdokimovs Oct 25, 2019
2467eb0
Update Cargo.lock [run ci]
evdokimovs Oct 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ doc-valid-idents = [
"IPv4", "IPv6", "JavaScript", "NaN", "NaNs",
"OAuth", "OpenGL", "OpenSSH", "OpenSSL", "OpenStreetMap", "TrueType",
"iOS", "macOS", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW",
"WebRTC", "WebSocket",
"gRPC",
"MediaDeviceKind",
"MediaStream", "MediaStreamConstraints", "MediaStreamTrack",
"RTCConfiguration", "RTCIceCandidate", "RTCIceServer",
"RTCConfiguration",
"RTCIceCandidate", "RTCIceCandidateInit", "RTCIceServer",
"RTCPeerConnection", "RTCPeerConnectionIceEvent",
"RTCRtpTransceiver", "RTCRtpTransceiverDirection",
"RTCSdpType", "RTCIceCandidateInit"
"RTCSdpType",
"WebRTC", "WebSocket",
]
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
stage: check
rust: nightly
cache: false
before_script: rustup component add rustfmt
before_script: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
script: make fmt check=yes

- name: medea-jason (beta)
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,32 @@ All user visible changes to this project will be documented in this file. This p

[Milestone](/../../milestone/2) | [Roadmap](/../../issues/27)

### BC Breaks

- Configuration:
- Rename `[server]` section of Client API HTTP server as `[server.client.http]` ([#33]).

### Added

- Control API:
- Support for static Сontrol API specs ([#28]).
- Support for static Сontrol API specs ([#28]);
- Dynamic Control API exposed via gRPC ([#33]):
- `Create` method for `Room`, `Member`, `Endpoint`;
- `Get` method for `Room`, `Member`, `Endpoint`;
- `Delete` method for `Room`, `Member`, `Endpoint`.
- Signalling:
- Dynamic `Peer`s creation when client connects ([#28]);
- Auto-removing `Peer`s when `Member` disconnects ([#28]);
- Filter `SetIceCandidate` messages without `candidate` ([#50](/../../pull/50));
- Send reason of closing WebSocket connection as [Close](https://tools.ietf.org/html/rfc4566#section-5.14) frame's description ([#58](/../../pull/58)).
- Configuration:
- `[server.control.grpc]` section to configure Control API gRPC server ([#33]);
- `server.client.http.public_url` option to configure public URL of Client API HTTP server ([#33]).
- Testing:
- E2E tests for signalling ([#28]).

[#28]: /../../pull/28
[#33]: /../../pull/33



Expand Down
Loading