32 Commits

Author SHA1 Message Date
George Politis
c829b3a766
feat: Adds a coverage profile and configures Codecov. (#225) 2021-04-12 16:17:55 +01:00
Ingo Bauersachs
34c2ce50ec
Migrate tests to JUnit 5 and release Maven Central (#221)
* Migrate test to JUnit 5 and prepare POM for Maven Central

* Use random ports for transaction tests

* Apply ktlint format

* Fix flaky tests

* Use jicoco from Maven Central

* Remove semver checks

* Add Kotlin linting check

* Use bnd-maven-plugin for OSGi to avoid confusing Kotlin

* Release to Maven Central

Closes #213
Closes #95

* Fix braces formatting that crept in with a regex
2021-01-04 21:34:02 +01:00
dependabot[bot]
a86c4be742
build(deps-dev): bump junit from 4.11 to 4.13.1 (#217)
Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 13:54:10 -04:00
bgrozev
f8a506ef70
Use metaconfig, port some properties. (#212)
* Use metaconfig, port some properties.

* ref: Use the typesource config to read system properties.

* fix: Fix a typo.

* Add tests for AgentConfig.
2020-08-24 11:36:22 -05:00
Yura Yaroshevich
b504c2cc2e Updated java-sdp-nist-bridge to 1.2 2020-03-23 20:40:59 +03:00
Yura Yaroshevich
78e006cbac Remove unused dependency 2020-03-23 15:24:26 +03:00
bbaldino
e854e4efaf
use the jitsi-utils logger (#186)
* use new logger in agent

* use new logger in component, componentsocket, icemediastream, mergingdatagramsocket

* use new logger in localcandidate

* use new logger in checklist

* use new logger in defaultnominator

* use new logger in connectivitycheckclient, connectivitycheckserver

* fix typo, allow taking in a parent logger

* use jitsi-utils

* clean up uses of old logger and remove it
2019-09-19 08:11:18 -07:00
Brian Baldino
43fa07d9a5 increase major version number 2019-09-17 09:14:02 -07:00
Дамян Минков
c7c4719c45
Prepares for java 11. (#180)
* Prepares for java 11.

* Removes unused import.
2019-05-09 14:22:52 +01:00
Дамян Минков
17bbc9b97a Removes jitsi-universe dependency. (#177) 2019-03-27 16:01:44 +00:00
Yury Yaroshevich
ee4e8c9452 Eliminate "Stun4J Message Processor" by replacing it with thread pool. (#155)
* Use shared thread pool to execute stun messages decoding and processing. Set minimum required Java version to 1.8.

* Added missing argument comment.

* Added pooling of MessageProcessor objects to avoid extra allocations per RawMessage.

* Made MessageProcessor to be ForkJoinTask<Void> to avoid hidden allocation inside ForkJoinPool.

* Fixed comments according to last changes.

* Added dedicated method to reset state of pooled processor. More comments.

* Fixed comment typo.

* ForkJoinPool by default uses all available processors.

* Rollback JDK 8 changes in pom file since it looks they were only necessary for local build due to misconfigured IDE.

* Avoid usage of Java 8 features (lambda expressions & method references)

* Revert "Rollback JDK 8 changes in pom file since it looks they were only necessary for local build due to misconfigured IDE."

This reverts commit 840f18a554c4910f1af781aa729c58e833b0621f.

* Revert "Avoid usage of Java 8 features (lambda expressions & method references)"

This reverts commit b6ce70ebb40859be8f9249e070b6915feab59200.

* Renamed MessageProcessor into MessageProcessingTask to better reflect changed meaning of class.

* Use ForkJoinPool with prefixed threads to simplify debugging.

* Removed todo.

* Use well-known thread pool instead of ForkJoinPool. Could be easily changed back to ForkJoinPool.

* Fixed missing space.

* Fixes according to code review.

* Fixed active tasks tracking which was broken when pooling was added.

* Keep track of task processing throughput via QueueStatistics.

* Updated comment.

* Fixed comment.

* Updated comment.

* Updated comment.

* Updated comment.

* Renamed field to have better name.

* Fixed formatting.

* Restored old formatting corrupted by IDE.

* Fixed formatting.

* Fixed comment.

* Fixed comment.

* Updated comment.

* Updated log message.

* Code-style fixes to match rest of file.

* Fixed code style to match existing code.

* Fixed formatting.

* Restored accidentally removed comment.

* Added myself to list of authors.
2018-11-29 12:52:23 -08:00
Ingo Bauersachs
9da28850f5 Fail build when version doesn't adhere to semantic versioning 2017-07-20 10:01:45 -05:00
Ingo Bauersachs
3f97648918 Switch to semantic versioning 2017-07-20 10:01:45 -05:00
Ingo Bauersachs
c52dbf7956 Add id to non-JDK8 profile to fix pom error 2017-07-20 10:01:45 -05:00
Boris Grozev
c30ebeca53 mvn: Updates the ice4j version to 2.0. 2016-11-21 13:08:32 -06:00
Lyubomir Marinov
bed87bcbd3 Merge branch 'javadoc' 2016-08-26 13:39:21 -05:00
damencho
4ba7247480 Adds javadoc target. 2016-08-26 12:50:52 -05:00
Ingo Bauersachs
7e152e0367 Add run targets that used to existed in Ant
mvn test-compile
mvn exec:java -Prun-<whatever>
2016-04-18 22:18:59 +02:00
Ingo Bauersachs
0f0fb9d06f [maven-release-plugin] prepare for next development iteration 2016-04-04 23:40:28 +02:00
Ingo Bauersachs
a4aca5721d [maven-release-plugin] prepare release ice4j-1.0 2016-04-04 23:40:22 +02:00
Ingo Bauersachs
dde63d6fc3 Add SCM data for maven-release-plugin 2016-04-04 23:39:04 +02:00
Ingo Bauersachs
78b6449b37 Prepare releasing on Maven Central
jitsi-universe-public only references components already on Central
(including itself). Based on that, there's no need for the private
repositories on GitHub anymore.
2016-04-02 15:01:44 +02:00
Ingo Bauersachs
9cbedb3a95 Use only OSS components for jain-sdp
The embedded jain-sdp library includes some interface-files that are
covered by a non-free license. Remove them and use a free version instead
that is published on Maven Central.
2016-04-02 15:01:37 +02:00
Boris Grozev
9fb7d02869 Uses a fixed version of jitsi-universe. 2016-02-02 14:48:59 -06:00
Ingo Bauersachs
6c99040496 Make ice4j an OSGi bundle 2015-11-01 18:11:23 +01:00
Lyubomir Marinov
75c2a52f9e Fixes GitHub issue #24: Wrong preference for choosing default candidate (not in accordance with rfc5245). 2015-07-28 11:35:07 -05:00
Lyubomir Marinov
4d08a7764f Moves the src and test directories to their respective Maven standard directory layout locations. 2015-07-28 08:48:27 -05:00
Lyubomir Marinov
71b27db69f Adds jitsi-maven-repository, avoids jitsi-universe prerequisite. 2015-07-27 13:49:44 -05:00
Lyubomir Marinov
8862d9cc5a Removes obsolete source code. 2015-07-15 16:47:20 -05:00
Lyubomir Marinov
84f8559d35 Changes the URL of the ice4j project from Google Code to GitHub. 2015-07-14 13:17:00 -05:00
lubomir.marinov
ffa876fa04 Extends the ice4j Maven project from the jitsi-universe Maven project in order to inherit common characteristics such as groupId, dependency and plugin versions. 2015-07-10 19:39:33 +00:00
lubomir.marinov
eea3d27caa Adds Maven support. 2015-06-29 00:10:16 +00:00