Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restcomm 2497: implement suspend account #2904

Open
wants to merge 7,348 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7348 commits
Select commit Hold shift + click to select a range
1a25c78
fixed assertions
jaimecasero Feb 20, 2018
a4ed10b
fixed filter list
jaimecasero Feb 20, 2018
6e1b411
fixed imports
jaimecasero Feb 20, 2018
ce81df6
run same in master/PR
jaimecasero Feb 20, 2018
11032af
fixed NPE for override
jaimecasero Feb 20, 2018
0689667
Merge branch 'master' into github2808
jaimecasero Feb 20, 2018
dd34f7f
Fix for defaultPlan to match with the JSON schema.
ghjansen Feb 20, 2018
dc88987
New unit test for defaultPlan JSON validation.
ghjansen Feb 20, 2018
2a33588
fixes restcom1757 allowing to override LINK/UNLINK methods
jaimecasero Feb 20, 2018
55500e2
Merge pull request #2834 from RestComm/restcomm1757
jaimecasero Feb 20, 2018
15f4f69
Merge branch 'master' into issue_2741
Feb 21, 2018
97ccd72
Fixing failing tests, adding some for Dial with SBC and fixed registr…
Feb 21, 2018
8a23815
Patch for NPE check
gvagenas Feb 21, 2018
91caa60
Fixes for testsuite
gvagenas Feb 21, 2018
3309869
Merge branch 'master' into issue_2741
Feb 21, 2018
1367fbc
printing stacktrace
jaimecasero Feb 22, 2018
981b955
Don't fail fast when destOrganization is null. First check for a numb…
gvagenas Feb 22, 2018
659aa59
added produces to profile update method,since it returns representati…
jaimecasero Feb 22, 2018
95a5714
Merge pull request #2837 from RestComm/restcomm-1782
gvagenas Feb 23, 2018
1f89225
Merge branch 'master' into issue_2741
Feb 23, 2018
75709ce
SecurityFilter patch to allow requests from `UNINITIALIZED` accounts …
gvagenas Feb 23, 2018
9aa17d3
Merge pull request #2838 from RestComm/restcomm-1784
gvagenas Feb 23, 2018
d1a3cb0
Merge branch 'master' into issue_2741
Feb 23, 2018
ff4daea
Fix syntax error in "ussdClientRequestBodyForMessageLengthExceeds".
Feb 25, 2018
5ca51be
Merge pull request #2728 from RestComm/MSB-326
abdulazizali77 Feb 25, 2018
6d1a3f2
Profiles API doc: Add additional examples. Add index link
abdulazizali77 Feb 25, 2018
4c0712c
Merge pull request #2840 from RestComm/ProfilesDocExamples
abdulazizali77 Feb 26, 2018
39f7809
Fix syntax error in "ussdClientRequestBodyForMessageLengthExceeds".
Feb 25, 2018
2d30619
Merge branch 'RESTCOMM-1741' of https://github.com/RestComm/Restcomm-…
Feb 26, 2018
1a943e8
Test-suite for additions for USSD fast-dial feature. Tied to Jira iss…
Feb 26, 2018
9224f13
fixes restcomm1786, unlink only removes given link
jaimecasero Feb 28, 2018
606b689
fixes restcomm1786 added extension mocks and int test cases
jaimecasero Feb 28, 2018
c4c5c0f
fixes restcomm1831, adjusted pre/post consistency
jaimecasero Feb 28, 2018
50e8dc7
added exec point for smpp inbound
jaimecasero Feb 28, 2018
6e3c742
removed not required file in branch
jaimecasero Feb 28, 2018
7c93800
Modify mysql profile-assc mapper deleteProfileAssociationByTargetSid
abdulazizali77 Feb 28, 2018
439b531
Merge pull request #2850 from RestComm/restcomm1786squash
abdulazizali77 Feb 28, 2018
be99803
Merge pull request #2851 from RestComm/restcomm1786
abdulazizali77 Feb 28, 2018
0717741
Merge pull request #2852 from RestComm/restcomm1831
abdulazizali77 Feb 28, 2018
b05aca3
Merge pull request #2845 from RestComm/RESTCOMM-1741
jaimecasero Feb 28, 2018
525b418
Merge branch 'master' into issue_2741
Feb 28, 2018
76bd092
fixed unlink profile to remove only given assoc
jaimecasero Feb 28, 2018
8e42cbf
Skip authentication for Logout API. Issue #2835
ghjansen Feb 28, 2018
3073eef
Merge branch 'master' into issue_2741
Mar 1, 2018
5a90fe1
fixes getting associated profile restcomm1840
jaimecasero Mar 1, 2018
2d9d4d9
Sdr service eventstream (#2749)
agafox Mar 2, 2018
765f9cf
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Mar 2, 2018
160c1f1
RESTCOMM-1595 #Reverting patch as it triggers a SMS loop on SMSC
ghjansen Mar 2, 2018
1223ff5
RESTCOMM-1595 #Including missing import
ghjansen Mar 2, 2018
17522b5
Fix issue where the SBC route is pushed twice on the INVITE
Mar 3, 2018
3eab3d7
Merge branch 'master' into issue_2741
Mar 3, 2018
49dac70
Enable USESBC configuration option.
Mar 5, 2018
1fbeea3
Merge branch 'master' into Issue2835_LogoutSecurityFilter
ghjansen Mar 5, 2018
45c235b
RESTCOMM-1847 #Default profile must allow all features
ghjansen Mar 5, 2018
bb770fa
Merge branch 'master' into issue_2741
Mar 5, 2018
f624765
Console: Send only modified fields on Profile update
ammendonca Mar 6, 2018
433ffd8
Enable RCUSESBC configuration option.
Mar 6, 2018
bb45b06
Merge branch 'issue_2741' of https://github.com/RestComm/Restcomm-Con…
Mar 6, 2018
7352f01
fixes restcomm1851, constraint about status check
jaimecasero Mar 6, 2018
2edf185
Don't add `X-` if already exists
gvagenas Mar 6, 2018
c35bf41
Support custom headers for Dial Client
gvagenas Mar 6, 2018
d76d4e6
Integration test for custom headers
gvagenas Mar 6, 2018
e68e1ed
doc adjusted to latest changes
jaimecasero Mar 6, 2018
9bbe8f7
Merge pull request #2859 from RestComm/restcomm1851
jaimecasero Mar 6, 2018
be5e28a
Merge branch 'master' into issue_2741
Mar 7, 2018
850893e
removed unnecary params
Mar 7, 2018
a40b67f
Fixes duplicate jars in classpath
gvagenas Mar 7, 2018
8de25ab
Merge pull request #2861 from RestComm/restcomm-1854
jaimecasero Mar 8, 2018
732ed7f
Merge branch 'master' into issue_2741
Mar 8, 2018
73db760
Fixes for TestDialPartOne test case
gvagenas Mar 8, 2018
66608e1
Tag Unstable CallLifeCycle test case
gvagenas Mar 8, 2018
977c1b5
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Mar 8, 2018
6da704d
Merge branch 'master' into restcomm-1580
gvagenas Mar 8, 2018
29f212e
Support Dial Client custom headers
gvagenas Mar 8, 2018
269b119
Extract custom headers as early as possible and CreateCall request co…
gvagenas Mar 8, 2018
6165d5b
Extract custom headers as early as possible and CreateCall request co…
gvagenas Mar 8, 2018
3340147
changed assertion mechanism
Mar 8, 2018
e83be6c
Support custom headers for Dial Number
gvagenas Mar 8, 2018
af2118a
Test case for custom headers on Dial Number
gvagenas Mar 8, 2018
9585bcc
Added test case for custom headers for Dial SIP
gvagenas Mar 8, 2018
2b4b146
Fix for proper handling of handling custom headers for Dial SIP
gvagenas Mar 8, 2018
5acfdef
Update #2741 making sure when using useSbc that we don't enable webRTC
Mar 8, 2018
6c89954
Support for custom headers when dialing SIP Uri, Client or Number at …
gvagenas Mar 8, 2018
861fa9b
Added test case for custom headers on CallsEndpoint
gvagenas Mar 8, 2018
da31708
UssdPushEndpoint doesn't support custom headers
gvagenas Mar 8, 2018
1f7498e
Changed project version to 8.3.1-SNAPSHOT
gvagenas Mar 8, 2018
f1c9727
Merge pull request #2860 from RestComm/restcomm-1758
Mar 9, 2018
4b6ffb2
Merge branch 'master' into github2808
jaimecasero Mar 9, 2018
9cc71b5
updated all impacted docs REST/RCML
jaimecasero Mar 9, 2018
c30759b
Merge branch 'master' into issue_2741
Mar 9, 2018
3aac6ce
RESTCOMM-1861 #Prototype of a service layer based on a core module
ghjansen Mar 9, 2018
dccef0b
Merge pull request #2810 from RestComm/github2808
jaimecasero Mar 11, 2018
f901eb9
Merge branch 'master' into restcomm-1580
gvagenas Mar 12, 2018
a013851
profile permission tests
Mar 12, 2018
a98b2f4
added explicit association
Mar 12, 2018
7696242
Pass custom headers from the Initial Request to Dial Client or Dial N…
gvagenas Mar 12, 2018
dbf8aef
Test cases for passing custom headers from the Initial Request to Dia…
gvagenas Mar 12, 2018
58c909a
doc updated with new sec constraints
jaimecasero Mar 12, 2018
97865f1
impl new sec constraint
jaimecasero Mar 12, 2018
79c8f5f
Support Custom Headers for B2BUAHelper calls
gvagenas Mar 12, 2018
f2edadc
Tests for Custom Headers for B2BUAHelper calls
gvagenas Mar 12, 2018
6aa4c26
Provide character constrains for client Login according the the needs…
gvagenas Mar 12, 2018
f1bac68
Test cases for character constrains for client Login according the th…
gvagenas Mar 12, 2018
4941169
Provide character constrains for client Login according the the needs…
gvagenas Mar 12, 2018
4b68bd1
Test cases for character constrains for client Login according the th…
gvagenas Mar 12, 2018
205d04b
Provide character constrains for account usernames (that will also be…
gvagenas Mar 12, 2018
91b18d8
Tests for character constrains for account usernames (that will also …
gvagenas Mar 12, 2018
4670820
Merge branch 'restcomm-1580' of github.com:RestComm/Restcomm-Connect …
gvagenas Mar 12, 2018
b86253e
added service provider and profile service
Mar 13, 2018
9daf543
renamed service provider
Mar 13, 2018
dd15b1a
refactored to model unprotected
jaimecasero Mar 13, 2018
9ceeb79
use service in account and organization endpoint
Mar 13, 2018
4fa0855
formatting
Mar 13, 2018
5dea75c
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
Mar 13, 2018
4d18cdf
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
jaimecasero Mar 13, 2018
f0c110e
removed unused var
Mar 13, 2018
aa98c79
profileservice integrated
jaimecasero Mar 13, 2018
3629962
service interfaces introduced in api pack
jaimecasero Mar 13, 2018
3a10b9e
using service interfaces
jaimecasero Mar 13, 2018
c8a31de
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
jaimecasero Mar 13, 2018
af1a898
use non default profile for link unlink tests
Mar 13, 2018
782c643
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
Mar 13, 2018
11e2580
xed a few compilation errors by change of service interfaces package …
Mar 13, 2018
e89a0bc
removed redundant modifier
Mar 13, 2018
774d11c
moved public methods to interface
Mar 13, 2018
ee36679
removed unused imports
Mar 13, 2018
82dc6da
fixed castexception
jaimecasero Mar 13, 2018
3f06aed
updates
Mar 13, 2018
06469dd
fixed bug in profile endpoint
Mar 13, 2018
434e7a4
corrected test
Mar 13, 2018
0a5879b
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
jaimecasero Mar 13, 2018
a625543
fixed wrong accoutn sid
jaimecasero Mar 13, 2018
853749b
removed unused import
Mar 13, 2018
a099af3
Fixes
gvagenas Mar 13, 2018
1055a6c
Merge branch 'master' into restcomm-1580
gvagenas Mar 13, 2018
551f912
Fixes
gvagenas Mar 13, 2018
dd068a6
changes as per comments
Mar 13, 2018
86e2f50
removed link header creation from profile service
Mar 13, 2018
d3b2e02
Handle SIP URI custom headers the same way as for `client` and `number`
gvagenas Mar 13, 2018
f757899
Merge pull request #2862 from RestComm/restcomm-1580
gvagenas Mar 13, 2018
a2c6b66
moved singleton to app module,since that is more app concern.supporti…
jaimecasero Mar 13, 2018
120e390
Fix unused import
gvagenas Mar 13, 2018
f2fac7a
Merge branch 'restcomm-1861-sl' of https://github.com/RestComm/Restco…
jaimecasero Mar 13, 2018
4c8a07f
removed unsued import
jaimecasero Mar 13, 2018
f0c2ebd
Merge branch 'master' into restcomm-1861-sl
jaimecasero Mar 13, 2018
df7a252
fixed imports
jaimecasero Mar 13, 2018
8d5f7a3
Provided override constructor of CreateCall for when `customHeaders` …
gvagenas Mar 13, 2018
1e65dca
Merge branch 'master' into restcomm-1861-sl
gvagenas Mar 13, 2018
a4f16f1
Handle SIP URI custom headers the same way as for `client` and `number`
gvagenas Mar 13, 2018
81e1a23
Provided override constructor of CreateCall for when `customHeaders` …
gvagenas Mar 13, 2018
396eff9
Merge branch 'master' into restcomm-1861-sl
gvagenas Mar 13, 2018
0663c32
fixed sid when email is used
jaimecasero Mar 13, 2018
b94324f
Merge pull request #2866 from RestComm/restcomm-1861-sl
jaimecasero Mar 13, 2018
3fbe98f
annotation scanning stopped in testsuite.shirkwrap updated
jaimecasero Mar 14, 2018
6b86816
sipservlets updated to support annotationScan param
jaimecasero Mar 14, 2018
a185817
web.xml copied from app
jaimecasero Mar 14, 2018
51baa5a
Merge branch 'master' into issue_2741
Mar 14, 2018
2d4d89f
Added profile service unit tests
Mar 14, 2018
30a47a2
corrected jdoc
Mar 14, 2018
ff27ad6
use proper scheme depending on runtime connector
jaimecasero Mar 14, 2018
9363a6f
Merge pull request #2870 from RestComm/restcomm1880
Mar 14, 2018
faf82ad
Fix to disable Speech Detector for Dial Record scenario
gvagenas Mar 14, 2018
ad49427
Merge branch 'master' of github.com:RestComm/Restcomm-Connect
gvagenas Mar 14, 2018
a28c461
using web.xml with annocationScan prevention
jaimecasero Mar 14, 2018
ca16a5a
using profile in tests
jaimecasero Mar 14, 2018
62f78aa
setting a defualt profile to prevent errors
jaimecasero Mar 14, 2018
dad77a4
Merge pull request #2869 from RestComm/github2868
jaimecasero Mar 14, 2018
710f440
updated forkcount for parallel testing
jaimecasero Mar 14, 2018
00155a6
removed forkCount default,is already 1 and prevents parallel
jaimecasero Mar 14, 2018
b6c4376
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Mar 14, 2018
cb59051
removed duplicated dependency
jaimecasero Mar 14, 2018
5bf97bb
removed depMng overrides, including bundle plugin conf in restcomm
jaimecasero Mar 14, 2018
86ae16e
Merge branch 'master' into issue_2741
Mar 15, 2018
41cd52b
Update #2741 Fixing tests compilation failing after latest master merge
Mar 15, 2018
39e74a6
Fix conf Script.
Mar 16, 2018
cbf5024
added many dependency management to allow BOM usage in telscale
jaimecasero Mar 16, 2018
71fc471
Added extra logging statement to check the callState at the end of a …
gvagenas Mar 16, 2018
459c5f0
Update SipServlet version to 3.2.0-98
gvagenas Mar 16, 2018
1e404b2
Merge branch 'master' into issue_2741
gvagenas Mar 16, 2018
b3f5177
Merge branch 'master' into RESTCOMM-1032_1a_D1
Mar 19, 2018
a353bb9
added missing import
Mar 19, 2018
57c3b19
removed realm config
Mar 19, 2018
b38fee4
Configure Web Olympus Domain.
Mar 19, 2018
b8baca3
Changed project's version to 8.3.2-SNAPSHOT
gvagenas Mar 19, 2018
71cf3d1
realm change to domain name
Mar 19, 2018
574dea5
Added inbound sms SDR event
agafox Mar 19, 2018
6b494b5
Remove unnecessary calls to updateWithOptions
ammendonca Mar 19, 2018
5102bd1
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect
jaimecasero Mar 19, 2018
211fe9d
removed extra config
Mar 20, 2018
a3c2ad7
updated hash
Mar 20, 2018
b3c00eb
Fixes for testsuite.
gvagenas Mar 21, 2018
b02288b
Patch to properly get destination organisation based on RURI first an…
gvagenas Mar 21, 2018
be5afaa
Add support for Feature Access Control in console
ammendonca Mar 21, 2018
368e559
RESTCOMM-1937 #Mapping new unstable tests
ghjansen Mar 21, 2018
5256196
Merge branch 'restcomm-1937'
ghjansen Mar 21, 2018
02e77c3
RESTCOM-1935: Add extensionHeaders for Call authenticate
abdulazizali77 Mar 22, 2018
35356bb
Fix.
Mar 22, 2018
c569a24
Merge remote-tracking branch 'origin/issue_2741' into issue_2741
Mar 22, 2018
6ae7589
Remove footer from console, except for sign in page
ammendonca Mar 22, 2018
f8c014e
made config centeralized and supported default values
Mar 23, 2018
8aa7cc4
check style fix
Mar 23, 2018
0df985a
corrected scripts
Mar 23, 2018
28fc5c5
corrested more scripts
Mar 23, 2018
ca86220
fixed more scripts
Mar 23, 2018
6cddd87
Update Olympus download location
ammendonca Mar 23, 2018
ce9b48b
Merge branch 'master' of https://github.com/RestComm/Restcomm-Connect…
Mar 23, 2018
8bffa1e
allows to set ssl protocols and cipher suites for SIP TLS/WSS
jaimecasero Mar 26, 2018
eceb793
Merge pull request #2887 from RestComm/restcomm1600
jaimecasero Mar 26, 2018
0dc0808
authenticate using organization domain name
Mar 26, 2018
44b7e1b
fixed the tests to use same domain in credentials as they belong to
Mar 26, 2018
bc7e48a
removed extra params to keep config centeralized
Mar 26, 2018
c4ec37b
refact
Mar 26, 2018
5b3dd4b
update client passwords when updating account password
Mar 27, 2018
39faf29
method fix
Mar 27, 2018
377c1b0
cs fix
Mar 27, 2018
82d307a
revert update all linked clients
Mar 27, 2018
05aff6e
removed default clients alice and bob
Mar 27, 2018
9439c2f
Merge branch 'master' into RESTCOMM-1032_1a_D1
Mar 27, 2018
416c72d
Fix Olympus configuration.
Mar 27, 2018
7712215
fixed cipher suite property name
jaimecasero Mar 27, 2018
7c5a489
Implement new console sign in page
ammendonca Mar 27, 2018
d9ab20a
Update console to match Restcomm look & feel
ammendonca Mar 28, 2018
6c0066e
Fix retrieving profile over http with https configured
ammendonca Mar 28, 2018
63621b2
Applying directory name standard to core module.
ghjansen Mar 28, 2018
3e72b2f
Added agpl license
Mar 29, 2018
aaa4025
Jira 1738 Dial Timeout does not cancel task when Callee is busy/Unava…
Mar 29, 2018
82f5c88
Merge pull request #2890 from RestComm/add-license
Mar 29, 2018
bf7981d
corrected typo
Mar 30, 2018
5db8b31
Merge pull request #2880 from RestComm/sdr-inbound-sms-bugfix
Mar 30, 2018
8b9ef6f
inherit MockMediaGateway to reduce dullpicated code
Mar 30, 2018
1dc9ac2
Merge pull request #2891 from RestComm/jira_1738_2
xhoaluu Mar 30, 2018
da9f694
Improved log statements and test case to reproduce issue
gvagenas Mar 30, 2018
b6d35fd
Minor fix for log statement
gvagenas Mar 31, 2018
37b4ba5
Merge pull request #2893 from RestComm/restcomm-1932
jaimecasero Apr 2, 2018
d6454c5
Merge branch 'master' into RESTCOMM-1032_1a_D1
Apr 2, 2018
468762c
Added JProfiler to acknowledgements
Apr 2, 2018
4804d6e
fixed RESTCOMM-1993
Apr 2, 2018
a0e0b73
updated comment
Apr 2, 2018
12d33a1
added testing categories
jaimecasero Apr 4, 2018
283e143
Merge branch 'master' into issue_2741
jaimecasero Apr 4, 2018
870a197
Merge pull request #2742 from RestComm/issue_2741
jaimecasero Apr 4, 2018
b4163bc
RESTCOMM-2000: check WebOlympusDomain before modifying olympus.xml
abdulazizali77 Apr 5, 2018
a0303fb
Merge branch 'master' into RESTCOMM-1032_1a_D1
Apr 6, 2018
da4971b
client password secured
Apr 6, 2018
54d1704
fixed the sbc tests
Apr 6, 2018
690c6fe
Merge pull request #2404 from RestComm/RESTCOMM-1032_1a_D1
Apr 6, 2018
b2d1a00
Fix PublicConfig service and use rvdUrl for Designer
ammendonca Apr 6, 2018
c15b9c6
Show error information on console state change fail
ammendonca Apr 6, 2018
bbf3367
fix suspend account & add regression tests
ddhuy Apr 7, 2018
60f1788
resolve merging issues
ddhuy Apr 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!-- This form is for bug reports and feature requests ONLY!

If you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/restcomm).
-->

**Is this a BUG REPORT or FEATURE REQUEST?**:

> Uncomment only one, leave it on its own line:
>
> /kind bug
> /kind feature


**What happened**:

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:


**Anything else we need to know?**:

**Environment**:
- Restcomm Connect version (from startup logs):
- Cloud provider or hardware configuration:
- OS (e.g. from /etc/os-release):
- Kernel (e.g. `uname -a`):
- Deployment method (e.g. `docker-compose`, with linked `docker-compose.yml` file,
or application server info + deployment option):
- Others:
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read the Telestax Open Source Playbook https://docs.google.com/document/d/1RZz2nd2ivCK_rg1vKX9ansgNF6NpK_PZl81GxZ2MSnM/edit?usp=sharing
2. If the PR is unfinished, add a `[WIP]` at the start of the PR title. You can remove it when it's ready to be reviewed.
-->

**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ bin/
*.class
logs
bin
.DS_Store
**/*~
csv
.metadata
.idea
13 changes: 13 additions & 0 deletions .idea/codeStyleSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- /^deploy-.*$/
email:
recipients:
- [email protected]
- [email protected]
on_success: never # default: change
on_failure: always # default: always
cache:
directories:
- $HOME/.m2
addons:
sonarqube:
organization: "restcomm-connect" # the key of the org you chose at step #3
script:
- ./build.sh
after_success:
- cd restcomm
- mvn com.blackducksoftware.integration:hub-maven-plugin:2.0.2:build-bom -Dhub.output.directory=. -Dhub.deploy.bdio=false
- bash <(curl -s https://copilot.blackducksoftware.com/bash/travis) ./*_bdio.jsonld
# Problem to run testsuite https://github.com/travis-ci/travis-ci/issues/1382
# - echo "About to run sonar-scanner"
# - cd restcomm
# - pwd
# - sed -i 's/\<root\>/\<!--root>/g' ./restcomm.testsuite/src/test/resources/log4j.xml
# - sed -i 's/\<\/root\>/\<\/root-->/g' ./restcomm.testsuite/src/test/resources/log4j.xml
# - sed -i 's/DEBUG/OFF/g' ./restcomm.testsuite/src/test/resources/akka_application.conf
# - sed -i 's/INFO/OFF/g' ./restcomm.application/src/main/resources/application.conf
# - mvn -q clean org.jacoco:jacoco-maven-plugin:prepare-agent surefire-report:report sonar:sonar > ./surefire-report-output.txt
# - curl -T restcomm.testsuite/target/site/surefire-report.html -ugvagenas:$BINTRAY_API_KEY -H "X-Bintray-Package:binaries" -H "X-Bintray-Version:8.2.0" https://api.bintray.com/content/gvagenas/Restcomm-Connect/bin/surefire-report-$MAJOR_VERSION_NUMBER.$BUILD_NUMBER.html
# - curl -T ./surefire-report-output.txt -ugvagenas:$BINTRAY_API_KEY -H "X-Bintray-Package:binaries" -H "X-Bintray-Version:8.2.0" https://api.bintray.com/content/gvagenas/Restcomm-Connect/bin/surefire-report-output-$MAJOR_VERSION_NUMBER.$BUILD_NUMBER.txt
1,223 changes: 1,223 additions & 0 deletions CHANGELOG_8.2.1.md

Large diffs are not rendered by default.

282 changes: 282 additions & 0 deletions CONTRIBUTING.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
= Contribute to Restcomm

Multiple types of contributions are possible :

* Using it in your product or project and providing feedback.
* Code & Algorithms: Core Projects, Incubator projects, Frameworks
* Use cases, feature requests: Roadmap influence
* Community Support, bug fixes, forum posts: Help to be helped
* Documentation: Everyone needs good docs, Code is a moving targed.
* Testing (Perf, load, security, unit tests, interop, ...) / CI

Here is specific types of contributions that requires a little more details if you want to get involved

* Fixing Bugs : See https://help.github.com/articles/closing-issues-via-commit-messages
* Reporting Bugs : To report a bug, if possible, provide a small example that illustrates the bug. You can pattern
the test case usually along the lines of ones found in the
link:https://github.com/Restcomm/Restcomm-Connect/tree/master/restcomm/restcomm.testsuite[testsuite].
Having a test case handy speeds up the bug fix. Your test case will be included in the project as a test case.
Open an Issue as defined in the section below so other users can know about the issue and its status.
Please attach your test case or bug description with debug log files there.
* Contributing Extensions and enhancements (i.e. support for extension RFCs and drafts that are not covered by
Restcomm) or Contributing code snippets and examples or Contributing test cases to be included with the
distribution: See Contribution Process below in Section "How to check out, change, review, and commit code".
Also open a thread on link:http://groups.google.com/group/restcomm[the mailing list of Restcomm google group]
to discuss it with the community and Restcomm Team Members.

Your contributions will be acknowledged individually in the code (as a comment) and in the
link:http://www.telestax.com/opensource/#Contribute[Acknowledgement page].


= Opening an Issue

link:https://github.com/Restcomm/Restcomm-Connect/issues/new[Open An Issue Here]

= Becoming a Contributor

In order to become a contributor with write access to the code, you will need to have demonstrated an understanding
of the codebase and testsuite by participating in the design discussions and submitting patches for bugs/enchancements
before we will grant developer access.

Contributing to Restcomm requires you to accept link:http://telestax.com/opensource/[the TeleStax Contributor Agreement]
(bottom of the page).

= How to check out, change, review, and commit code
== Introduction

Restcomm projects use Git, a distributed version control system. What this means is that, even though this page hosts
a central repository, there can be many clone repositories with changes of their own, and then some of those can be
merged back into the main repository.

*The great part is that you can start contributing and create our own clone without having write access to the
Restcomm repository*

This document describes the workflow for checking out code, making clones, reviewing patches, and committing code.

== Checking out Restcomm Connect (Linux)

For non-committers, checking out code is simple.

=== Install Git

Follow the installing Git instructions. Ubuntu users can simply type:

[source,bash]
----
sudo apt-get install git-core
----

Configure Git to convert line endings on commit

[source,bash]
----
git config --global core.autocrlf input
----

=== Checkout the code

To check out the code :

[source,bash]
----
git clone [email protected]:Restcomm/Restcomm-Connect.git
----


=== Building Restcomm From Source
To Build Restcomm from Source, follow those instructions : http://docs.telestax.com/restcomm-mobicents-building-from-source/


=== Committing code

The following License Header has to be placed on top of each source code file contributed

[source,java]
----
/*
* TeleStax, Open Source Cloud Communications
* Copyright 2011-2015, Telestax Inc and individual contributors
* by the @authors tag.
*
* This program is free software: you can redistribute it and/or modify
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
----

The model we've chosen for developing Restcomm is the following:

Each contributor creates their own fork of the Restcomm project (you want to contribute to) repository.

This clone is hosted on Github servers, and can be created by clicking *Fork* button from
https://github.com/Restcomm/Restcomm-Connect

The contributor then makes a local clone of their GitHub fork, which is stored on their local machine.
Instructions for checking it out is https://github.com/<contributor_github_account>/Restcomm

The contributor creates a new Issue explaining their contribution at
https://github.com/Restcomm/Restcomm-Connect/issues/new

The contributor then creates a new branch into their local clone

[source,bash]
----
git checkout -b feature-branch
----

Do the changes into their branch for their local branch for the contribution and commit them

[source,bash]
----
git commit -a -m "commit message"
----

**//IMPORTANT//:Please use the Github integration to use the commit message to tie the commits to the Issue you're
working on. More information on that can be found at https://help.github.com/articles/closing-issues-via-commit-messages**

**//IMPORTANT//: When your change is pulled into the main Restcomm source, the change description that you entered here
will show up as changes in the main Restcomm source, so please use a meaningful description - fixing bug, making
changes, etc. are not ok, please instead use something like fixing transform bug caused by NPE, etc. so that it makes
sense in the context of Restcomm as a whole, not just your clone.**

If you have any new files, make sure to use the following command before committing

[source,bash]
----
git add <file or directory>
----

Same thing if you want to remove some files

[source,bash]
----
git rm <file or directory>
----

== Pushing changes to your online clone

When a change is ready to be integrated back into the repository, that change is pushed from the developer's local
clone to their Github Fork clone.

[source,bash]
----
git push origin feature-branch
----

To avoid merge soup, please rebase your branch first

==== Bringing in new changes from the upstream repository

If the main repository has evolved since your last push to your clone repository, you will need to bring those changes
into your repository as well as potentially merge them.

You need to add a remote via which you will identify the upstream repository:

[source,bash]
----
git remote add upstream [email protected]:Restcomm/Restcomm-Connect.git
----

Now whenever you want to merge upstream changes into your clone, do the following:

[source,bash]
----
git fetch upstream
git merge upstream/master
----

==== Pushing changes to your clone repository

First pull in all of the latest changes from upstream, apply them to your master branch, then rebase your feature
branch against master before merging it into master and pushing it upstream:

[source,bash]
----
git checkout master
git fetch upstream
git merge upstream/master
git checkout awesome-feature
git rebase master
(fix any conflicts with upstream changes)
git push origin feature-branch
----

Browse to Source -> Changes from the project page for your clone and navigate to the page with details on the branch
to be reviewed. For example, https://github.com/<contributor_github_account>/Restcomm/tree/development

You will need to paste the URL for this page into the issue you created earlier.
Describe the code to be reviewed, its purpose, and paste in the URL for the relevant changeset(s) or branch(es).

The code will be reviewed on the contributor's clone - if any further changes are suggested, a couple of iterations
might be needed so the contributor will need to modify the code again, commit, push and comment on the issue.

Once the change is approved, a committer of Restcomm will merge it back into the main repository with the following
commands.

[source,bash]
----
git checkout -b feature-branch
git pull https://github.com/<contributor_github_account>/Restcomm/ feature-branch
git checkout master
git merge feature-branch
----

Even though this may sound complicated, this process makes code reviews easier and allows a lot of people to work on
changes in parallel.

==== Code formatting

In order to avoid merge conflicts, be it with new features or bug fixes, Restcomm takes advantage of maven code
formatting plugin. By default, all of our projects trigger this plugin during build. It provides information on code
style and violations of certain rules.
Example failure may look as follows:

[source,bash]
----
[INFO] Starting audit...
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:46: Line has trailing spaces.
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:47:1: '{' should be on the previous line.
/home/baranowb/Restcomm/git/test/src/main/java/Test.java:50: Line has trailing spaces.
Audit done.
----

Contributor responsibility is to provide us with code, which obeys formatting rules. If source does not pass code
style checks, it won't be accepted!

===== IDE formatting support

IDEs have native support for formatting. To take advantage of it, you need to import configuration files.
Restcomm has projects wide configuration for IDEs. It can be found here:
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.mobicents/checkstyle/1.0.0.FINAL/
or in any tagged relase of this artifact.

===== Eclipse
To import formatter rules into eclipse perform following:

* Window > Preferences > Java > Code Style > Clean Up > 'Import' -> cleanup.xml
* Window > Preferences > Java > Code Style > Formatter > 'Import' -> formatter.xml

Optionally:
* Window > Preferences > Java > Code Style > Code Templates > 'Import' -> templates.xml

===== Maven checkstyle configuration

The checkstyle plugin is pre-configured in mobicents-parent artifact. To enable it in any subproject which depends on it, you need to add only following lines in *plugins* section of master project pom:

[source,xml]
----
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
----
Loading