2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-28 12:57:43 +00:00

45 Commits

Author SHA1 Message Date
Jay07GIT
c736d95877
update
Signed-off-by: Jay07GIT <jeyraj931@gmail.com>
2025-03-11 10:00:36 +05:30
Jay07GIT
173f33bf88
updated generate zones config
Signed-off-by: Jay07GIT <jeyraj931@gmail.com>
2025-03-07 16:52:26 +05:30
Nicholas Spadaccino
7d9937d4af
Merge pull request #1374 from Jay07GIT/latency_fix_batch_change
Fix for latency issue in batch change upload
2024-08-14 21:19:40 -04:00
Aravindh-Raju
14300b3b15
update hikari log level 2024-08-14 19:15:29 +05:30
Jay07GIT
d90ab4c319
commented the request-timeout config 2024-08-12 18:06:53 +05:30
Jay07GIT
59fd320a5a
removed future await and increased akka http timeout limit 2024-07-23 16:54:30 +05:30
nspadaccino
330c5156d3
Merge branch 'master' into groups-maxitems-config 2023-07-20 15:46:25 -04:00
Aravindh-Raju
ac7f9d17e1
add details to doc 2023-06-23 18:06:14 +05:30
Aravindh-Raju
f27967d0aa
add filter hosts config 2023-06-23 17:59:46 +05:30
nspadaccino
2085ae74c4
Add socket timeout to jdbc url, upgrade hikari version to 5.0.1 (latest), upgrade logback and slf4j-api deps for compatibility with hikari 2023-05-11 16:57:30 -04:00
nspadaccino
2bb26c7930
Added additional hikari connection settings to application config 2023-05-03 16:34:34 -04:00
nspadaccino
ecc3a2f79a
Enable debug logging for hikariCP, can now view pool stats on console 2023-04-25 20:16:13 -04:00
Aravindh-Raju
62ec7a6a52
add config for zone sync scheduler 2023-03-08 15:40:07 +05:30
Nicholas Spadaccino
a24436766c
Update limits config
Signed-off-by: Nicholas Spadaccino <nicholas_spadaccino@comcast.com>
2022-11-17 17:07:08 -05:00
Nicholas Spadaccino
bc66767b85
Add gorups maxitems config to meta class 2022-11-11 16:55:05 -05:00
Emerle, Ryan
20c283dc7a
Logging updates
- Allow log level to be set via environment
- Remove `envsubst` from `quickstart.sh` for macOS compat
2022-05-17 16:23:45 -04:00
Emerle, Ryan
b24cf8db54
Updates
- Rename RecordSetData as RecordSetCache
- Refactoring
- Fix ip address storage to be binary instead of string
- Align recordset_data table contents with migration tooling
- Add feature flag for recordset cache `use-recordset-cache`
- Add feature flag for loading test data `load-test-data`
2022-05-13 13:31:37 -04:00
corubba
433c6efe19 Disable illegal header warning from akka-http
Fixes #864
2022-04-17 21:03:49 +02:00
corubba
ee481c2e0a Reduce flyway log output
Let's establish a sane default by not having flyway run on full-blast
debug output by default. For normal operation I found INFO to be verbose
enough (as the flyway devs intended I guess).
2022-04-17 21:03:44 +02:00
corubba
1292564bf1 Remove duplicate log output
Appenders in logback are additive [0], specifying them multiple times
leads to log lines being output multiple times. It is usually enough to
set the appender on the root logger, and nowhere else.
Setting the same log level on multiple package levels is also kind of
unneeded, the top-most one would be enough; but not touching that here.

[0] https://logback.qos.ch/manual/configuration.html#cumulative
2022-04-17 21:03:29 +02:00
Nicholas Spadaccino
230c7f7420
Fix Dev Deployment Failure due to Flyway DB Migration Issue (#1104) 2022-04-12 10:07:22 -04:00
Aravindh R
4b31f8b9d9
Update log levels and adopt ECS (#1103)
* Update log messages, log levels, and log formatting
2022-04-04 16:06:05 -04:00
Ryan Emerle
c0be3b329d
Add init script support to portal image 2022-03-11 11:18:31 -05:00
Emerle, Ryan
be9990db39
Update Dockerfile for API
- Fix issue with loading external JARs
- Bump version to 0.10.5
2022-02-07 14:52:58 -05:00
Ryan Emerle
7f90042c2c
Fix for running locally
- Fix issues with SQS and the Localstack external name
2021-12-15 10:42:32 -05:00
Emerle, Ryan
dd8c15e365
Fix for vNext tagging 2021-12-15 07:44:22 -05:00
Emerle, Ryan
8b97ba589d
Fix for vNext tagging 2021-12-15 07:43:41 -05:00
Emerle, Ryan
af5bc89c4f
Updates
- Tweak JVM memory parameters for build
- Add GitHub action for releasing vNext docker images
- Upgrade jQuery to 3.5.1 due to SECVULN
- Update Java in all containers to v11 (LTS)
2021-12-14 14:47:35 -05:00
Ryan Emerle
ce793ad30a
Fix build/verify 2021-12-09 11:25:46 -05:00
Ryan Emerle
85577a27f0
Consistency Updates
- Clean up documentation
- Update architecure diagram
- Fix discrepencies between local and docker test execution
- Fix inconsistencies in various configuration files used for tests and
execution
2021-12-08 14:36:00 -05:00
Emerle, Ryan
945a4179b0
Add release workflow 2021-12-06 13:46:47 -05:00
Emerle, Ryan
df31fedf4c
Fix for assemble_api/assemble_portal 2021-12-03 14:56:38 -05:00
Emerle, Ryan
5fccf67a2d
Fix build and TTY issue 2021-12-03 12:35:47 -05:00
Emerle, Ryan
c3d4e16da4
Updates
- Fix issues with `SSHFP` record type
- Add `sbt.sh` helper script
- Update configuration file (`application.conf`) for consistency
- Update documentation
2021-12-03 12:16:21 -05:00
Emerle, Ryan
e1743e5342
Updates
- Simplify build config
- Add TTY check to Makefiles for running Docker containers
- Update `fs2` to latest patch
- Update `sbt-assembly` plugin
- Update portal to remove chatty console
- Update portal scripts to add license header
- Update prepare-portal/Gruntfile to combine js and css where applicable
- Remove unused gentelella files from final portal artifact
- Add support for shared zones to quickstart/docker images
- Consolidate built artifacts in `artifacts/` to make eventual release easier
2021-11-02 17:06:24 -04:00
Emerle, Ryan
45e7ce6a6a
Update docker run statements
- Update Makefiles to _optionally_ include TTY
2021-11-01 12:36:21 -04:00
Emerle, Ryan
c4d10a201e
Update Release
- Added images to `build/docker`
- Update `quickstart` script to be more functional
2021-11-01 12:25:17 -04:00
Ryan Emerle
5e9b794d8d
Fix permissions 2021-10-27 13:43:57 -04:00
Emerle, Ryan
b143e975a7
Updates
- Move quickstart from `utils` to `quickstart`
- Update quickstart script to add more container manipulation
- Move API functional tests back under `modules/api`
- Move build-related scripts to `build/` directory
- Add quickstart containers that can run the local version of the code
2021-10-27 13:43:21 -04:00
Emerle, Ryan
a075c3c35e Updates
- Move away from using multiple images for "quickstart" and instead use a single "integration" image which provides all of the dependencies

- Update `docker-up-vinyldns.sh` to support the new `integration` image
- Update `remove-vinyl-containers.sh` to more cleanly.. clean up
- Update `verify.sh` to more reliably run `sbt` targets
- Update `build/docker/api/application.conf` to allow for overrides and default to the `vinyldns-integration` image
- Update `build/docker/portal/application.conf` to allow overrides and use `vinyldns-integration` image
  - Update `build/docker/portal/Dockerfile` to use `vinyldns/build:base-build-portal` to reduce need to download dependencies over and over
- Update `api/assembly` sbt target to output to `assembly` rather than some deeply nested folder in `**/target`
- Update documentation to reflect changes

- Move `docker/` directory to `quickstart/` to reduce confusion with the `build/docker` directory
- Move `bin/` to `utils/` since the files are binaries

- Add `.dockerignore` to root
2021-10-20 09:07:19 -04:00
Emerle, Ryan
07b683cbd0 Updates
- Remove old, unused scripts in `bin/`
- Remove old images from release
  - `test` and `test-bind` are no longer necessary. Test images are in a different repo now
- Remove Docker image creation from sbt build config - actual `Dockerfile` files are easier to deal with

- Update scripts in `bin/` to utilize new Docker images
- Update documentation for changes
- Update all Docker Compose and configuration to use exposed ports on the `integration` image (19001, 19002, etc) both inside the container and outside to make testing more consistent irrespective of method
- Update FlywayDB dependency to v8 to fix a weird logging bug that showed up during integration testing. See: https://github.com/flyway/flyway/issues/2270

- Add `test/api/integration` Docker container definition to be used for any integration testing

- Move `module/api/functional_test` to `test/api/functional` to centralize the "integration-type" external tests and testing utilities

- Move functional testing and integration image to the `test/` folder off of the root to reduce confusion with `bin/` and `docker/`
2021-10-15 15:06:04 -04:00
Ryan Emerle
2b65d11af4 Update file permissions 2021-09-28 12:46:07 -04:00
Paul Cleary
6b5ec824f9
Update docker build (#987)
The default docker build was no longer running as setup.  Needed some small tweaks to the docker files to get it back building again.

Tested this locally and everything started up
2020-09-30 19:16:56 -04:00
Paul Cleary
1de710b991
Update dependencies (#939)
* Updating dependencies

Updated almost all dependencies to current.  There were some issues with
akka-http 10.1.11 so I stayed with 10.1.10 for the time being.

Func tests passed locally and manual review of the UI looks to be good

Significant changes are:

- `pureconfig` - this update had breaking syntax, so I had to update everywhere
  we use pureconfig.  Functionally it is the same, just different syntax
- `scalatest` - this was a big change, as scalatest has refactored out things
  like Mockito and scalacheck.  Many imports changed.
- `Java11` - formally moved everything to java 11.  This required some new
  dependencies like `javax.activation` and `java.xml.bind`

* Updating travis to JDK 11

* Finishing JDK 11 update

In order to update to JDK 11, needed to modify several docker things.

Removed timeout test that was causing issues as timeout tests here are not good
for running in travis.
2020-04-28 09:08:03 -05:00
Paul Cleary
9a81d0fa06
Support building docker images locally and without SBT (#753)
Fixes #744 

Overhauls our docker release process to run releases of docker outside of SBT.  This was tested through the signing process deploying SNAPSHOT images to docker hub.

All images do a git clone to pull vinyldns, and perform the build of the container based on that git clone.

- A new `build` directory contains the things to be built, for this PR only the docker images are here.  Anticipate possibly pulling in other artifacts in the future.
- `build/docker` contains all of the docker setup
- `build/docker/test` contains a func test docker image that can be used to test any VinylDNS API instance
- `build/docker/test-bind9` contains our bind9 setup
- `build/docker/api` is a MySQL only API distribution
- `build/docker/portal` is a MySQL only Portal distribution

In addition, a few files are added to make the build easier:

- `build/start.sh` starts a given vinyldns version
- `build/stop.sh` stops the current running vinyldns setup
- `build/release.sh` this is the **MAIN** guy that performs the build.  Lots of arguments that are useful for testing.  Can provide a repository (for publishing to a docker register that is not docker hub), for building clean vs. assuming docker images.  Besides building everything, also runs func tests (smoke tests) against the docker image before completing.

Added a `README.md` for others to follow along with

To test..

1. Make sure you increase your docker machine settings to 4GB (the default of 2GB failed)
2. Go to the `build` directory
3. From there, run `./release.sh -c -t 111` to only build the docker images, this should build `0.9.4-b111`
4. Start it up, run `./start.sh -v 0.9.4-b111`
5. Login to the portal at http://localhost:9001
6. When finished, run `./stop.sh` from the build directory
*If you see an error code 137 error, you need to increase your memory*
2019-10-22 19:11:28 -04:00