Skip to content

Commit c39a013

Browse files
committed
Merge branch 'master' into test/acceptance-dc2dc
2 parents b3a0204 + b4139db commit c39a013

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1221
-168
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log
22

3+
## [Unreleased](https://github.com/arangodb/kube-arangodb/tree/HEAD)
4+
5+
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.2.2...HEAD)
6+
7+
**Closed issues:**
8+
9+
- Use go-upgrade-rules [\#234](https://github.com/arangodb/kube-arangodb/issues/234)
10+
- Spot the difference [\#225](https://github.com/arangodb/kube-arangodb/issues/225)
11+
- How to Delete ArangoDeployment [\#224](https://github.com/arangodb/kube-arangodb/issues/224)
12+
- Unable to delete pods, stuck in terminating state [\#220](https://github.com/arangodb/kube-arangodb/issues/220)
13+
14+
**Merged pull requests:**
15+
16+
- Include license in upgrade check [\#237](https://github.com/arangodb/kube-arangodb/pull/237)
17+
- Use new CurrentImage field to prevent unintended upgrades. [\#236](https://github.com/arangodb/kube-arangodb/pull/236)
18+
- Use go-upgrade-rules to make "is upgrade allowed" decision fixes \#234 [\#235](https://github.com/arangodb/kube-arangodb/pull/235)
19+
- Updated versions to known "proper" versions [\#233](https://github.com/arangodb/kube-arangodb/pull/233)
20+
- Applying defaults after immutable fields have been reset [\#232](https://github.com/arangodb/kube-arangodb/pull/232)
21+
- Updated go-driver to latest version [\#231](https://github.com/arangodb/kube-arangodb/pull/231)
22+
- EE note for Kubernetes DC2DC [\#222](https://github.com/arangodb/kube-arangodb/pull/222)
23+
- Load balancing tests [\#218](https://github.com/arangodb/kube-arangodb/pull/218)
24+
- Add links to other operators in dashboard menu [\#217](https://github.com/arangodb/kube-arangodb/pull/217)
25+
- Grouping style elements in 1 place [\#216](https://github.com/arangodb/kube-arangodb/pull/216)
26+
- Adding ArangoDeploymentReplication dashboard. [\#215](https://github.com/arangodb/kube-arangodb/pull/215)
27+
- Do not build initcontainer for imageid pod [\#214](https://github.com/arangodb/kube-arangodb/pull/214)
28+
- Dashboard for ArangoLocalStorage operator [\#213](https://github.com/arangodb/kube-arangodb/pull/213)
29+
- Adjust documentation based on new load balancer support. [\#212](https://github.com/arangodb/kube-arangodb/pull/212)
30+
- Feature/dashboard [\#211](https://github.com/arangodb/kube-arangodb/pull/211)
31+
- Use gin as HTTP server framework [\#210](https://github.com/arangodb/kube-arangodb/pull/210)
32+
- Dashboard design concept [\#209](https://github.com/arangodb/kube-arangodb/pull/209)
33+
334
## [0.2.2](https://github.com/arangodb/kube-arangodb/tree/0.2.2) (2018-06-29)
435
[Full Changelog](https://github.com/arangodb/kube-arangodb/compare/0.2.1...0.2.2)
536

Jenkinsfile.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def fetchParamsFromGitLog() {
2929
// Is this a LONG test?
3030
if ("${env.JOB_NAME}" == "kube-arangodb-long") {
3131
myParams["LONG"] = true;
32+
myParams["KUBECONFIGS"] = "gke-jenkins-1";
3233
}
3334

3435
// Fetch params configured in git commit messages

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ TESTLENGTHOPTIONS := -test.short
9191
TESTTIMEOUT := 20m
9292
ifeq ($(LONG), 1)
9393
TESTLENGTHOPTIONS :=
94-
TESTTIMEOUT := 120m
94+
TESTTIMEOUT := 180m
9595
endif
9696
ifdef VERBOSE
9797
TESTVERBOSEOPTIONS := -v
@@ -137,6 +137,8 @@ $(GOBUILDDIR):
137137
@mkdir -p $(ORGDIR)
138138
@rm -f $(REPODIR) && ln -sf ../../../.. $(REPODIR)
139139
GOPATH=$(GOBUILDDIR) $(PULSAR) go flatten -V $(VENDORDIR)
140+
# Note: Next library is not vendored, since we always want the latest version
141+
GOPATH=$(GOBUILDDIR) go get github.com/arangodb/go-upgrade-rules
140142

141143
$(CACHEVOL):
142144
@docker volume create $(CACHEVOL)
@@ -326,6 +328,8 @@ endif
326328

327329
.PHONY: cleanup-tests
328330
cleanup-tests:
331+
kubectl delete ArangoDeployment -n $(DEPLOYMENTNAMESPACE) --all
332+
sleep 10
329333
ifneq ($(DEPLOYMENTNAMESPACE), default)
330334
$(ROOTDIR)/scripts/kube_delete_namespace.sh $(DEPLOYMENTNAMESPACE)
331335
endif
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
# Change Log
2+
3+
## [Master](https://github.com/arangodb/go-driver/tree/HEAD)
4+
5+
**Closed issues:**
6+
7+
- Structs with key specified don't read the key [\#138](https://github.com/arangodb/go-driver/issues/138)
8+
- Edge document with user provided key is inserted as many times as the number of shards [\#137](https://github.com/arangodb/go-driver/issues/137)
9+
- Query "return null" make the panic: runtime error [\#117](https://github.com/arangodb/go-driver/issues/117)
10+
- driver does not seem to decode numeric timestamps to time.Time [\#102](https://github.com/arangodb/go-driver/issues/102)
11+
- stable and full feature? [\#100](https://github.com/arangodb/go-driver/issues/100)
12+
- collection with "Wait for sync:" setting, Create-/UpdateDocument return: ArangoError: Code 0, ErrorNum 0 [\#96](https://github.com/arangodb/go-driver/issues/96)
13+
- Error when connecting to ArangoDB with SSL enabled [\#95](https://github.com/arangodb/go-driver/issues/95)
14+
- Possible concurrency issues, using VST connection [\#86](https://github.com/arangodb/go-driver/issues/86)
15+
- An example of a transactional request [\#84](https://github.com/arangodb/go-driver/issues/84)
16+
- Multi-tenancy connection management [\#83](https://github.com/arangodb/go-driver/issues/83)
17+
- Cursor returned from a query with empty Count [\#82](https://github.com/arangodb/go-driver/issues/82)
18+
- CONTRIBUTING.md [\#79](https://github.com/arangodb/go-driver/issues/79)
19+
- Querying documents + [\#76](https://github.com/arangodb/go-driver/issues/76)
20+
- Is there an ArangoDB-Object on Struct? [\#75](https://github.com/arangodb/go-driver/issues/75)
21+
- DB Session [\#73](https://github.com/arangodb/go-driver/issues/73)
22+
- correct way to get multiple documents ? [\#70](https://github.com/arangodb/go-driver/issues/70)
23+
- Revalidate whether workaround can be removed [\#68](https://github.com/arangodb/go-driver/issues/68)
24+
- Makefile `SWTSECRET` vs `JWTSECRET` [\#66](https://github.com/arangodb/go-driver/issues/66)
25+
- Implement transactions [\#56](https://github.com/arangodb/go-driver/issues/56)
26+
- bulk import API [\#55](https://github.com/arangodb/go-driver/issues/55)
27+
- Question: how to write auto-inc feild? [\#51](https://github.com/arangodb/go-driver/issues/51)
28+
- add index attribute for new feature in arangodb3.2 [\#48](https://github.com/arangodb/go-driver/issues/48)
29+
- Unable to connect to server in macos [\#41](https://github.com/arangodb/go-driver/issues/41)
30+
- Handle 401 status code before checking content type. [\#38](https://github.com/arangodb/go-driver/issues/38)
31+
- Support for raw string in query return [\#37](https://github.com/arangodb/go-driver/issues/37)
32+
- \[ArangoDB Server 3.1.6\] Unsupported content type: client.DatabaseExists when Database already exists [\#36](https://github.com/arangodb/go-driver/issues/36)
33+
- Can't connect because of 'Unsupported content type'? [\#35](https://github.com/arangodb/go-driver/issues/35)
34+
- cursor implementation when running queries with non-Document return values [\#20](https://github.com/arangodb/go-driver/issues/20)
35+
- Make failover with cursors more explicit [\#16](https://github.com/arangodb/go-driver/issues/16)
36+
- Add non-context version of method calls [\#7](https://github.com/arangodb/go-driver/issues/7)
37+
38+
**Merged pull requests:**
39+
40+
- Properly closing idle VST connections [\#139](https://github.com/arangodb/go-driver/pull/139)
41+
- Improving performance of reading the body of large responses [\#134](https://github.com/arangodb/go-driver/pull/134)
42+
- Added Collection.ReadDocuments [\#133](https://github.com/arangodb/go-driver/pull/133)
43+
- Added support for fetching job ID in CleanoutServer [\#131](https://github.com/arangodb/go-driver/pull/131)
44+
- Exclude high load test on VST+3.2 [\#129](https://github.com/arangodb/go-driver/pull/129)
45+
- Test/prevent concurrent vst read write [\#128](https://github.com/arangodb/go-driver/pull/128)
46+
- Added single+ssl tests. All tests now use starter [\#127](https://github.com/arangodb/go-driver/pull/127)
47+
- Bugfix/read chunk loop [\#126](https://github.com/arangodb/go-driver/pull/126)
48+
- Prevent possible endless read chunk look in in VST connection [\#125](https://github.com/arangodb/go-driver/pull/125)
49+
- Fixing Query\(return nul\) resulting in panic [\#124](https://github.com/arangodb/go-driver/pull/124)
50+
- Added WithAllowNoLeader [\#123](https://github.com/arangodb/go-driver/pull/123)
51+
- Added Cluster.RemoveServer [\#122](https://github.com/arangodb/go-driver/pull/122)
52+
- Added mutex guarding message chunks. [\#121](https://github.com/arangodb/go-driver/pull/121)
53+
- Documentation/go refactor [\#120](https://github.com/arangodb/go-driver/pull/120)
54+
- VST stream cursor test fixes & VST fail-quick fix [\#119](https://github.com/arangodb/go-driver/pull/119)
55+
- Prevent a VST connection from being used before its configuration callback has finished [\#118](https://github.com/arangodb/go-driver/pull/118)
56+
- Fixed AgencyConnection in the context of authentication [\#116](https://github.com/arangodb/go-driver/pull/116)
57+
- Adding timeout for streaming cursor test [\#115](https://github.com/arangodb/go-driver/pull/115)
58+
- Added package level docs [\#114](https://github.com/arangodb/go-driver/pull/114)
59+
- Close the connection when the initial onCreatedCallback fails [\#113](https://github.com/arangodb/go-driver/pull/113)
60+
- Adding extra concurrency-safety for VST [\#112](https://github.com/arangodb/go-driver/pull/112)
61+
- Added upper limit to the number of concurrent requests to a single server. [\#111](https://github.com/arangodb/go-driver/pull/111)
62+
- Added support for multiple VST connections per server [\#110](https://github.com/arangodb/go-driver/pull/110)
63+
- Fixed expected status code for operations on collections that have waitForSync enabled [\#109](https://github.com/arangodb/go-driver/pull/109)
64+
- Added helper to determine agency health [\#108](https://github.com/arangodb/go-driver/pull/108)
65+
- Added ServerID function [\#107](https://github.com/arangodb/go-driver/pull/107)
66+
- Added exclusive lock using agency [\#106](https://github.com/arangodb/go-driver/pull/106)
67+
- Added helper for JWT secret based authentication [\#105](https://github.com/arangodb/go-driver/pull/105)
68+
- Added Agency API [\#104](https://github.com/arangodb/go-driver/pull/104)
69+
- Added option to not follow redirects and return the original response [\#103](https://github.com/arangodb/go-driver/pull/103)
70+
- Add support for stream query cursor [\#101](https://github.com/arangodb/go-driver/pull/101)
71+
- Active-Failover with Velocystream [\#99](https://github.com/arangodb/go-driver/pull/99)
72+
- Added API functions for shutting down a server and cleaning it out [\#98](https://github.com/arangodb/go-driver/pull/98)
73+
- Skip replication test on cluster [\#94](https://github.com/arangodb/go-driver/pull/94)
74+
- Documented behavior for custom http.Transport wrt MaxIdleConnsPerHost field [\#93](https://github.com/arangodb/go-driver/pull/93)
75+
- Fix ReturnOld/New for edge/vertex operations. [\#92](https://github.com/arangodb/go-driver/pull/92)
76+
- Database.Info\(\) added [\#91](https://github.com/arangodb/go-driver/pull/91)
77+
- Replication interface added. [\#90](https://github.com/arangodb/go-driver/pull/90)
78+
- Grouping server specific info calls in ClientServerInfo, exposing ServerRole API [\#89](https://github.com/arangodb/go-driver/pull/89)
79+
- Added `ReplicationFactor` to `SetCollectionPropertiesOptions` [\#88](https://github.com/arangodb/go-driver/pull/88)
80+
- Allow for some time to reach intended status [\#87](https://github.com/arangodb/go-driver/pull/87)
81+
- Fixing SWTSECRET -\> JWTSECRET [\#85](https://github.com/arangodb/go-driver/pull/85)
82+
- Added CONTRIBUTING.md [\#80](https://github.com/arangodb/go-driver/pull/80)
83+
- Resilientsingle support [\#77](https://github.com/arangodb/go-driver/pull/77)
84+
- Adding cluster specific operations [\#72](https://github.com/arangodb/go-driver/pull/72)
85+
- Added IsSmart, SmartGraphAttribute attributes to CreateCollectionOptions [\#71](https://github.com/arangodb/go-driver/pull/71)
86+
- Adding Response.Header\(string\) & tests [\#69](https://github.com/arangodb/go-driver/pull/69)
87+
- Server mode \(get/set\) [\#65](https://github.com/arangodb/go-driver/pull/65)
88+
- Adding `WithConfigured` [\#64](https://github.com/arangodb/go-driver/pull/64)
89+
- Added DistributeShardsLike field to CreateCollectionOptions [\#62](https://github.com/arangodb/go-driver/pull/62)
90+
- Added WithEnforceReplicationFactor [\#61](https://github.com/arangodb/go-driver/pull/61)
91+
- Added `WithIsSystem` [\#60](https://github.com/arangodb/go-driver/pull/60)
92+
- Support synchronising endpoints on resilient single server mode [\#59](https://github.com/arangodb/go-driver/pull/59)
93+
- Added `WithIgnoreRevisions` [\#58](https://github.com/arangodb/go-driver/pull/58)
94+
- Basic transaction implementation [\#57](https://github.com/arangodb/go-driver/pull/57)
95+
- Support `x-arango-dump` content type [\#54](https://github.com/arangodb/go-driver/pull/54)
96+
- Added WithIsRestore \(not internal for normal client use!!!!\) [\#53](https://github.com/arangodb/go-driver/pull/53)
97+
- Raw authentication [\#52](https://github.com/arangodb/go-driver/pull/52)
98+
- Include travis tests for arangodb 3.1 [\#50](https://github.com/arangodb/go-driver/pull/50)
99+
- Added NoDeduplicate field for hash & skiplist index options [\#49](https://github.com/arangodb/go-driver/pull/49)
100+
- Supporting additional user access functions [\#47](https://github.com/arangodb/go-driver/pull/47)
101+
- ftKnox - fix sprintf conversions [\#42](https://github.com/arangodb/go-driver/pull/42)
102+
- Convert 401 text/plain response to proper ArangoError [\#39](https://github.com/arangodb/go-driver/pull/39)
103+
- Adding Storage engine detection [\#34](https://github.com/arangodb/go-driver/pull/34)
104+
- Starter update [\#33](https://github.com/arangodb/go-driver/pull/33)
105+
- Fix reading the response body to ensure keep-alive [\#32](https://github.com/arangodb/go-driver/pull/32)
106+
- Velocy stream support \(wip\) [\#31](https://github.com/arangodb/go-driver/pull/31)
107+
- Supporting Velocypack content-type \(instead of JSON\) \(wip\) [\#29](https://github.com/arangodb/go-driver/pull/29)
108+
- Fixed Cursor.ReadDocument for queries returning non-documents [\#27](https://github.com/arangodb/go-driver/pull/27)
109+
- Added Collection.Statistics [\#25](https://github.com/arangodb/go-driver/pull/25)
110+
- Adding Database.ValidateQuery [\#24](https://github.com/arangodb/go-driver/pull/24)
111+
- Added Collection.DocumentExists [\#23](https://github.com/arangodb/go-driver/pull/23)
112+
- Added `Database.Remove\(\)` [\#22](https://github.com/arangodb/go-driver/pull/22)
113+
- Changing graph API to introduce VertexConstraints [\#21](https://github.com/arangodb/go-driver/pull/21)
114+
- Endpoint reconfiguration [\#19](https://github.com/arangodb/go-driver/pull/19)
115+
- Allow custom http.RoundTripper [\#18](https://github.com/arangodb/go-driver/pull/18)
116+
- Added WithEndpoint, used to force a specific endpoint for a request. [\#17](https://github.com/arangodb/go-driver/pull/17)
117+
- Adding failover tests [\#15](https://github.com/arangodb/go-driver/pull/15)
118+
- Adding simple performance benchmarks [\#14](https://github.com/arangodb/go-driver/pull/14)
119+
- Cluster tests [\#12](https://github.com/arangodb/go-driver/pull/12)
120+
- ImportDocuments [\#11](https://github.com/arangodb/go-driver/pull/11)
121+
- Adding Graph support \(wip\) [\#10](https://github.com/arangodb/go-driver/pull/10)
122+
- Added collection status,count,rename,load,unload,truncate,properties [\#9](https://github.com/arangodb/go-driver/pull/9)
123+
- Adding user API [\#8](https://github.com/arangodb/go-driver/pull/8)
124+
- Adding index support [\#6](https://github.com/arangodb/go-driver/pull/6)
125+
- Added Cursor support [\#5](https://github.com/arangodb/go-driver/pull/5)
126+
- Adding multi document requests [\#4](https://github.com/arangodb/go-driver/pull/4)
127+
- Creating interface. \(WIP\) [\#3](https://github.com/arangodb/go-driver/pull/3)
128+
- Revert "Creating interface" [\#2](https://github.com/arangodb/go-driver/pull/2)
129+
- Creating interface [\#1](https://github.com/arangodb/go-driver/pull/1)
130+
131+
132+
133+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Maintainer Instructions
2+
3+
- Always preserve backward compatibility
4+
- Build using `make clean && make`
5+
- After merging PR, alway run `make changelog` and commit changes
6+
- Set ArangoDB docker container (used for testing) using `export ARANGODB=<image-name>`
7+
- Run tests using:
8+
- `make run-tests-single`
9+
- `make run-tests-resilientsingle`
10+
- `make run-tests-cluster`.
11+
- Always create changes in a PR

deps/github.com/arangodb/go-driver/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ $(GOBUILDDIR):
113113
GOPATH=$(GOBUILDDIR) go get github.com/arangodb/go-velocypack
114114
GOPATH=$(GOBUILDDIR) go get github.com/dgrijalva/jwt-go
115115

116+
.PHONY: changelog
117+
changelog:
118+
@docker run --rm \
119+
-e CHANGELOG_GITHUB_TOKEN=$(shell cat ~/.arangodb/github-token) \
120+
-v "$(ROOTDIR)":/usr/local/src/your-app \
121+
ferrarimarco/github-changelog-generator \
122+
--user arangodb \
123+
--project go-driver \
124+
--no-author \
125+
--unreleased-label "Master"
126+
116127
run-tests: run-tests-http run-tests-single run-tests-resilientsingle run-tests-cluster
117128

118129
# Tests of HTTP package

0 commit comments

Comments
 (0)