Commit graph

8910 commits

Author SHA1 Message Date
Pierre Souchay d8a6571683 Improve doc for async-cache 2018-07-01 23:50:30 +02:00
Pierre Souchay 6dfbbf1350 Updated documentation and adding more test case for async-cache 2018-07-01 23:50:30 +02:00
Pierre Souchay 382bec0897 Added async-cache with similar behaviour as extend-cache but asynchronously 2018-07-01 23:50:30 +02:00
Pierre Souchay 8ea69290ac Updated ACL guide 2018-07-01 23:50:30 +02:00
Pierre Souchay da9c91fd3d Only send one single ACL cache refresh across network when TTL is over
It will allow the following:

 * when connectivity is limited (saturated linnks between DCs), only one
   single request to refresh an ACL will be sent to ACL master DC instead
   of statcking ACL refresh queries
 * when extend-cache is used for ACL, do not wait for result, but refresh
   the ACL asynchronously, so no delay is not impacting slave DC
 * When extend-cache is not used, keep the existing blocking mechanism,
   but only send a single refresh request.

This will fix https://github.com/hashicorp/consul/issues/3524
2018-07-01 23:50:30 +02:00
Mitchell Hashimoto 85baa70294
Merge pull request #4319 from achanda/fix-tests
Fix broken tests
2018-06-30 16:55:08 +02:00
Abhishek Chanda 37377d8779 Change bind_port to an int 2018-06-30 14:18:13 +01:00
Mitchell Hashimoto 0c77bd0e14
Merge pull request #4317 from hashicorp/doc-segmentation-ensures-spelling
Fix "ensures all data" from original "ensure all data"
2018-06-30 07:24:33 +02:00
Geoffrey Grosenbach 81c586e25f Corrects formatting of JSON in snippet
The original snippet did not put the JSON output on its own line, which
made it look like it was part of the previous or next `curl` command.
This patch formats and highlights the command and output to appear as
they would in the terminal while also highlighting the multi-datacenter
elements of the output.
2018-06-29 18:36:47 -07:00
Geoffrey Grosenbach 84ca6a6848 Improve styling of discovery snippet
Original `discovery` snippet had a `curl` command that mentioned
multi-datacenter support. This removes part of the command that was
incorrect. It adds styling for the `dc2` section of the JSON output that
highlights the part of the query that relates to multiple data centers.
2018-06-29 18:27:48 -07:00
Geoffrey Grosenbach de6ed2ec21 Fix "ensures all data" from original "ensure all data"
The original text was "Using TLS...ensure all data in transit is
encrypted." It should be "ensures all data..." This patch fixes it.
2018-06-29 18:05:42 -07:00
Anubhav Mishra c0ea9f3942
website: make performance impact explicit for connect-native
I was going to the public feedback on Connect-Native app integration and came across [this](https://twitter.com/relistan/status/1012263110403555329) thread. Added a few statements in the Connect-Native app integration page.
2018-06-29 17:35:58 -07:00
Matt Keeler 02719c52ff
Move starting enterprise functionality 2018-06-29 17:38:29 -04:00
Siva Prasad b65a5047cc
Merge pull request #4310 from MagnumOpus21/IPDoc
Website : Errata in -bind option for the agent.
2018-06-29 16:54:43 -04:00
Siva 1522171e53 Website: Errata in -bind option for the agent 2018-06-29 16:43:12 -04:00
Mitchell Hashimoto 9091f2b108
command/connect/proxy: ignore check doesn't exist on -register 2018-06-29 10:58:06 -07:00
Mitchell Hashimoto c481985c33
update CHANGELOG 2018-06-29 06:19:15 -07:00
Mitchell Hashimoto 61dd602f06
Merge pull request #4308 from hashicorp/b-connect-services
agent/config: parse upstreams with multiple service definitions
2018-06-29 15:17:16 +02:00
Siva 6f22474661 Changes made :
1. Website
Changed some of the wordings and reorganized the content of the website.
2. Code:
Removed sleep and exit lines from the code.
2018-06-28 21:18:14 -04:00
Mitchell Hashimoto f213c55723
agent/config: parse upstreams with multiple service definitions 2018-06-28 15:13:33 -05:00
Matt Keeler 7f2ba5ae7a
Merge pull request #4286 from hashicorp/bugfix/ui-release-version
Post-release build updates
2018-06-28 15:10:12 -04:00
RJ Spiker 88b3641c56 website: an assortment of front-end updates (#4296)
* website: add object-fit-image polyfill for ie compatibility

* website: make entire carousel cards linkable

* website: adjust hero background positioning

* website: responsive updates to the home hero

* website: update home hero js to work better with turbolinks

* website: a few font weight adjustments

* website: add an overlay to ui video
2018-06-28 11:43:30 -07:00
Mike Wickett 48c5a35d1c website: optimize images (#4290) 2018-06-28 11:43:13 -07:00
Mitchell Hashimoto c4683fb570
Update CHANGELOG 2018-06-28 05:29:03 +02:00
Mitchell Hashimoto b6969b336b
Merge pull request #4297 from hashicorp/b-intention-500-2
agent: 400 error on invalid UUID format, api handles errors properly
2018-06-28 05:27:19 +02:00
Mitchell Hashimoto c6579598b6
Merge pull request #4299 from roidelapluie/patch-1
docs: Fix JSON in service configuration
2018-06-28 05:26:24 +02:00
Matt Keeler 1c7575f7cd Fix default make target to build everything 2018-06-27 14:25:49 -04:00
Matt Keeler 3435cde0f9
Update CHANGELOG.md 2018-06-27 12:50:44 -04:00
Matt Keeler 245a5bc997
Merge pull request #4294 from hashicorp/bugfix/4249-gen-ext-node-id
Catalog Register: Generate UUID for services registered without one
2018-06-27 12:49:11 -04:00
Matt Keeler 66af873639 Move default uuid test into the consul package 2018-06-27 09:21:58 -04:00
Matt Keeler dbc407cec9 go fmt changes 2018-06-27 09:07:22 -04:00
Julien Pivotto db2c4b3447
Fix JSON in service configuration 2018-06-27 09:06:27 +02:00
Mitchell Hashimoto 03b683f702
agent: 400 error on invalid UUID format, api handles errors properly 2018-06-27 07:40:06 +02:00
Siva dc72945380 Added guide for Windows Service 2018-06-26 18:23:55 -04:00
Jack Pearkes 00318bd8bb
Merge pull request #4295 from HowieLee/patch-1
Fixed typo
2018-06-26 15:12:26 -07:00
Howie Lee 405de930e8
Fixed typo 2018-06-26 17:26:22 -04:00
Matt Keeler 95291ec5ed Make sure to generate UUIDs when services are registered without one
This makes the behavior line up with the docs and expected behavior
2018-06-26 17:04:08 -04:00
Siva 2182e289a3 Merge branch 'master' of github.com:hashicorp/consul into WinService 2018-06-26 16:49:50 -04:00
Mitchell Hashimoto 3d6068f648
Merge pull request #4287 from hashicorp/bugfix/4273-doc-formatting
Fix layout issue with discovery_max_stale
2018-06-26 21:57:13 +02:00
Mitchell Hashimoto aa6323d5b2
Merge pull request #4288 from hashicorp/service-meta-docs
website: correct parameter for service meta on catalog register
2018-06-26 21:57:04 +02:00
Mitchell Hashimoto 2081595af5
Merge pull request #4289 from hashicorp/cbeckhashicorp-patch-1
Clarify beta release/feature and spelling
2018-06-26 21:56:52 +02:00
Mitchell Hashimoto c19891362c
Merge pull request #4291 from hashicorp/b-connect-edits
website: update vs. istio page and clarify control plane & pluggable data layer
2018-06-26 21:56:32 +02:00
Mitchell Hashimoto 8e9d1c584f
website: update vs. istio page and clarify pluggable data layer 2018-06-26 21:52:27 +02:00
Chris Beck faaf755b21
Clarify beta release/feature and spelling
Changed beta release to beta feature to clarify connect is beta feature and 1.2 is not beta release.
2018-06-26 15:19:25 -04:00
Jack Pearkes 45e9d5e009 website: correct paramater for service meta on catalog register
I believe this may have been missed as part of #3994. Note that the
API _returns_ `ServiceMeta`, but accepts `Meta`.

$ curl -X PUT -d \
  '{
    "Datacenter": "dc1",
    "Node": "example",
    "Address": "www.example.com",
    "Service": {
      "Service": "example-service",
      "Port": 80,
      "Meta": {"foo": "bar"}
      }
  }' \
  http://localhost:8500/v1/catalog/register

$ curl localhost:8500/v1/catalog/service/example-service
[
  {
    "ID": "",
    "Node": "example",
    "Address": "www.example.com",
    "Datacenter": "dc1",
    "TaggedAddresses": null,
    "NodeMeta": null,
    "ServiceKind": "",
    "ServiceID": "example-service",
    "ServiceName": "example-service",
    "ServiceTags": [],
    "ServiceAddress": "",
    "ServiceMeta": {
      "foo": "bar"
    },
    "ServicePort": 80,
    "ServiceEnableTagOverride": false,
    "ServiceProxyDestination": "",
    "ServiceConnect": {
      "Native": false,
      "Proxy": null
    },
    "CreateIndex": 11,
    "ModifyIndex": 37
  }
]
2018-06-26 12:15:23 -07:00
Matt Keeler 685838ea0e
Fix layout issue with discovery_max_stale
It was indented when it shouldn't have been.
2018-06-26 15:09:14 -04:00
Mitchell Hashimoto ef80f97cc1
Merge pull request #4275 from hashicorp/je.fix-config-progress-bars
Configuration page animation fix
2018-06-26 21:00:34 +02:00
Mitchell Hashimoto cc964dedbd
Merge pull request #4285 from sandstrom/patch-1
Fix spelling
2018-06-26 20:59:22 +02:00
Matt Keeler 579d6813f4 Make sure to disable cgo for dev builds without gox 2018-06-26 14:54:31 -04:00
Matt Keeler 82f2586a48 Default dev-build to not using GOX 2018-06-26 14:26:23 -04:00