Commit Graph

187 Commits

Author SHA1 Message Date
imbajin caa4b26a98
refact: address some code alert (#115) 2022-11-09 17:50:27 +08:00
Simon Cheung 952975a3c7
add dep check ci (#116) 2022-11-08 21:13:45 +08:00
青年 7347b17a47
fix apache revision (#114) 2022-11-04 20:56:00 +08:00
青年 16602cc839
support custom content-type (#113)
* support custom content-type

* support custom content-type v2
2022-11-01 18:16:44 +08:00
imbajin 4361a51d9d
chore: fix missing mail address & other configs (#112) 2022-10-27 00:39:09 +08:00
imbajin dc3e9e2bbd
chore: enable ci in all prs (#111) 2022-10-26 19:38:51 +08:00
imbajin ae54f28308
refact: upgrade a string of dependencies to address CVEs report & clean code (#110)
Note: after use junit-2.13, some assert-api's error messages has changed, check it in other repos (and avoid use long & fixed error message)
2022-10-26 19:02:36 +08:00
imbajin b783da5bde
feat(apache): support check license header with RAT (#108)
use "mvn apache-rat:check" to see the report, and use find ./ -name rat.txt -print0 | xargs -0 -I file cat file > merged-rat.txt
2022-10-20 12:18:49 +08:00
imbajin be72d20f8a
chore: setup for apache maven release (#107) 2022-10-19 23:42:31 +08:00
imbajin e85ab38c6b
refact: clean code & typo & update the name of getTimeZone (#105)
* refact:  clean code & typo & update the name of getTimeZone

Typo: getTimeZome() -> getTimeZone()

And we need check/update the class used it later

* Update RestClient.java
2022-09-15 16:36:13 +08:00
ShouJing 3b1bcb1a99
rename package name `com.baidu` to `org.apache` (#104) 2022-09-08 17:28:03 +08:00
DamonXue(Fibonacci) 42ef9c4d95
chore: upgrade CodeQL version to v2 (#106) 2022-09-06 19:14:59 +08:00
seagle 09b18191ed
update checkstyle (#97)
Co-authored-by: yuanbingze <yuanbingze@yy.com>
Co-authored-by: imbajin <jin@apache.org>
2022-06-13 20:37:54 +08:00
imbajin 745bd861af
chore: use .asf.yaml for apache workflow rule (#98)
* add asf.yaml file

* Update .asf.yaml

* add required
2022-06-07 09:54:42 +08:00
Jermy Li 4af14a9998
add Cnm and Anm to CollectionUtil (#101)
* add Cmn to CollectionUtil

Change-Id: I873e5c41229a8743ca5753d11c3b5e608b2e9298

* add Anm function

Change-Id: Idcb24ba80c61fb53c9744d7ab5d2a379e16a4ad3
2022-05-27 14:21:09 +08:00
Jermy Li 589ee2ca10
support assert-throws return future (#102)
Change-Id: I8fe115a7518dd84e22c9e28f777515e74e48d5d2
2022-05-27 14:19:10 +08:00
imbajin db84121d5d
refact: unify pom & remove useless file (#100) 2022-04-29 12:33:19 +08:00
Jermy Li deac513c43
improve Whitebox.setInternalState() (#99)
* add Whitebox.setInternalFinalState()

* delete Whitebox.setInternalFinalState() method since ineffective
2022-04-27 10:27:59 +08:00
zyxxoo f2e838443d
version 2.1.2 (#96) 2022-04-11 16:11:14 +08:00
zyxxoo d0e5971c7e
fix: can't delete conf file when drop graph (#93) 2022-03-21 19:47:40 +08:00
imbajin 88d2f897ed
chore: support code security check with codeQL (#94) 2022-03-21 17:24:35 +08:00
imbajin 05fe7a4c92
chore: use cla assistant to support robot pr (#92)
Co-authored-by: imbajin <imbajin@users.noreply.github.com>
2022-03-03 19:27:08 +08:00
zyxxoo 4b21e94ad2
chore: support java 11 (#83)
* chore: support java 17

* fix: unitest

* fix: server JAX-B API not found warning

* chore: improve code

* fix: hugeconfig test

* chore: resolve conflict

* fix: version unit test

* chore: improve code

* chore: improve impl version

* chore: improve code

* refactor: hugeconfig get

* chore: improve code
2022-01-14 10:55:34 +08:00
Jermy Li d695bd494d
fix some test cases naming (#90)
Change-Id: I89eaf2b7ff13e6909e057970542fff60ab552785
2021-12-21 20:59:44 +08:00
zhoney 922a4f6334
upgrade log4j to version 2.17.0 (#89) 2021-12-21 17:51:38 +08:00
coderzc 8f0f2ba012
release maven package by actions (#88) 2021-12-21 14:12:35 +08:00
zhoney 4a1926fe40
improve java doc (#87) 2021-12-17 17:43:29 +08:00
Jermy Li fbb743afeb
bump up version to 2.0.0 (#86)
* refactor license module

Change-Id: Ia4041f88994490c1bc0519e0f8ff01d27577bafb
2021-12-17 10:57:40 +08:00
zhoney 3b8933c3d3
fix log4j error (#85) 2021-12-15 20:30:27 +08:00
Jermy Li f5383d5541
Merge pull request #84 (merge rpc module into commons)
refact(rpc): merge rpc module into commons
2021-12-07 16:26:18 +08:00
imbajin ee08712120 chore: new pom & README for module 2021-12-07 14:38:05 +08:00
imbajin 24c3390379 chore: merge license & checkstyle & ci
1. root pom.xml, license, checkstyle, ci,
2021-12-01 20:38:09 +08:00
imbajin 0789b1c8c1 merge rpc module into commons 2021-11-30 15:48:37 +08:00
imbajin c572c2bedd first rename 2021-11-30 15:29:35 +08:00
guoygang 1d27452994
add bearer token support (#81) 2021-11-02 19:43:38 +08:00
imbajin 53c6503cde
chore: update ubuntu version for ci actions (#79) 2021-10-09 11:40:54 +08:00
coderzc 3881b86697
fix: unable to close the rpc thread pool at destroy (#3) 2021-07-28 11:23:55 +08:00
imbajin 49e8599d8f
chore: add issue template & auto stale issues and pr (#78) 2021-07-02 16:35:24 +08:00
ShouJing 535ae072f4
add Auth Context to store request header(Authorization) (#76) 2021-06-24 16:00:29 +08:00
Linary efa8e97c4f
chore: use github action to run ci (#77) 2021-06-23 16:57:12 +08:00
dependabot[bot] 9101842200
Bump jackson.version from 2.10.2 to 2.12.1 (#63)
Bumps `jackson.version` from 2.10.2 to 2.12.1.

Updates `jackson-annotations` from 2.10.2 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-core` from 2.10.2 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.10.2...jackson-core-2.12.1)

Updates `jackson-databind` from 2.10.2 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-module-jaxb-annotations` from 2.10.2 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson-modules-base/releases)
- [Commits](https://github.com/FasterXML/jackson-modules-base/compare/jackson-modules-base-2.10.2...jackson-modules-base-2.12.1)

Updates `jackson-jaxrs-base` from 2.10.2 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson-jaxrs-providers/releases)
- [Commits](https://github.com/FasterXML/jackson-jaxrs-providers/compare/jackson-jaxrs-providers-2.10.2...jackson-jaxrs-providers-2.12.1)

Updates `jackson-jaxrs-json-provider` from 2.10.2 to 2.12.1

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 16:06:27 +08:00
dependabot[bot] 27dfd9d5a2
Bump commons-io from 2.4 to 2.7 (#75)
Bumps commons-io from 2.4 to 2.7.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 15:50:56 +08:00
houzhizhen 74b954acf2
disable delimiter parsing when construct from MapConfiguration (#74) 2021-04-26 16:16:31 +08:00
Linary f72fac400f
Improve some license params (#73) 2021-04-16 14:58:22 +08:00
Linary 185a926a94
Fix senstive mail address (#71) 2021-04-15 18:05:21 +08:00
shzcore aecaf4e86a
remove inner hostname from cacerts.jks (#72) 2021-04-15 16:54:02 +08:00
Jermy Li fe190141cc
improve profile performance (#69)
* improve profile performance
* support profile nested class
* support total_wasted time
* calculate totalChildrenWasted time for echarts
* only profile super class in the same package
* improve perf through local-tree,local-timer,local-stack
* improve test case
* add Stopwatch remove-child test
* fix can't profile parent class with 2 class not in the same package
* add totalChildrenTimes
* improve LocalTimer perf
* add PerfUtil.useLightStopwatch(true)
* define behavior of switching light-stopwatch process
* ignore other threads if profileSingleThread(true) with multi-threads
* improve the empty judgment the first call in useLightStopwatch()

Change-Id: Id1ae075ddffec77b95b31142d7ebcdae87371943
2021-04-13 14:53:42 +08:00
Jermy Li d51efb6120
add some test cases for util package (#70)
* add check for CollectionUtil.subSet from > to

Change-Id: I32d83f5738250eca23ae16c2ccbf52059a874bf6
2021-04-12 16:28:18 +08:00
Jermy Li 6c800388a1
support random port to start rpc server (#2)
* add rpc.server_adaptive_port option
* use bolt v1.6.2 instead of v1.5.6 to get RemotingServer.port()
2021-03-25 14:06:05 +08:00
Jermy Li 159143c04d
add rpc framework based on sofa-rpc (#1)
* add rpc framework based on sofa-rpc
* allowed to start server or client separately
* add destroy() method for rpc client
* complete the supplement of test cases
* remove sleep in destroy-server and improve comments of test block
* add fanout exception test case
* travis use oraclejdk8
* fix log4j config and remove test/resources from pom to avoid including log4j2.xml in tar

Co-authored-by: Jermy Li <lizhangmei@baidu.com>
Co-authored-by: xuliguov5 <xuliguo@baidu.com>
2021-03-23 18:59:43 +08:00