Commit Graph
427 Commits
Author SHA1 Message Date
Axel Uhl b90aba337e fixed construction of vpcZoneIdentifier for auto-scaling-group creation 2023-05-08 14:34:52 +02:00
Axel Uhl ca9160ba55 bug5787: use LoadBalancerRuleInserter logic to replace shiftRulesToMakeSpace in ApplicationLoadBalancer 2023-05-05 17:27:34 +02:00
Axel Uhl 3765e0a45c bug5787: fixed exception handling for "before" rule not found; added tests 2023-05-05 17:22:26 +02:00
Axel Uhl 457a020d5e bug5787: added test class with a first few tests regarding ALB rule inserter 2023-05-05 00:59:15 +02:00
Axel Uhl 2d00697117 bug5787: interims backup commit, starting to extract rule inserting logic 2023-05-04 18:14:21 +02:00
Axel Uhl 1659daf36d bug5787: fixed old bug in ShardProcedure.getFreeLoadBalancerAndMoveReplicaSet();
the count of the total number of rules requires as computed incorrectly,
only considering the replica set's rules, not all existing rules in the
load balancer so far
2023-05-03 17:59:15 +02:00
Axel Uhl f36809ae61 Merge branch 'master' into bug5787 2023-05-03 11:49:01 +02:00
Axel Uhl 9dc9b761d9 bug5838: hand down VPC ID for target group creation 2023-04-27 01:19:58 +02:00
Axel Uhl 23a370881d bug5838: ALBs are now created in the VPC where "Sailing Analytics App" SG lives;
the subnet mappings for the AZs are obtained from the full subnet list,
intersected with the VPC ID taken from the "Sailing Analytics
App"-Name-tagged security group. This puts the ALB into the right VPC
and hopefully lets us assign targets to its target groups where the
targets are deployed into that VPC, too.
2023-04-26 23:33:59 +02:00
Axel Uhl 9dadbfdc68 bug5838: make creation of auto-scaling group and launch configuration aware of VPCs 2023-04-26 15:10:34 +02:00
Axel Uhl 26fef91b84 bug5838: when launching an instance, find security group by "Sailing Analytics App" Name tag;
additionally, set the subnet to which to deploy explicitly by
intersecting the subnets that match the desired availability zone with
the VPC ID of the security group used. This way, the VPC of the "Sailing
Analytics App"-name-tagged security group decides into which VPC the
instance(s) will be deployed.
2023-04-26 14:20:23 +02:00
Axel Uhl 8531f7424c bug5838: starting to work on non-default VPC support 2023-04-25 18:41:02 +02:00
Axel Uhl 46c96fe850 bug5787: started with a TODO / FIXME comment 2023-04-20 21:38:11 +02:00
Axel Uhl dea45bdf31 bug5765: removed more unused methods around private keys and added comments regarding RSA-only to some places 2023-03-24 14:57:56 +01:00
Axel Uhl 96cef5666d bug5765: passing ssh key passphrase to Cipher.addIdentity, avoiding need to decrypt private key ourselves 2023-03-24 00:14:30 +01:00
Axel Uhl f8e1d5d5e2 bug5765: use bcprov-ext for newer ssh kex algorithms 2023-03-23 13:37:33 +01:00
Axel Uhl eaeb0fb55c bug5765: first green workspace after switching to JSch from com.github.mwiede 2023-03-23 10:01:14 +01:00
Axel Uhl b92f41243f bug5775: implemented UI and REST API; first test against eu-west-2 looking good 2023-03-07 17:20:14 +01:00
Axel Uhl 655f1a7bae bug5775: started by implementing a LandscapeServiceImpl method for moving all processes from one host to another 2023-03-06 22:55:07 +01:00
Axel Uhl ef3b62e33a bug5627: mostly formatting and naming details 2023-01-05 18:45:28 +01:00
Axel Uhl e140566914 bug5627: see comment #32/33; fixing regression in upgrading replica set with replica set not managed by auto-scaling group 2023-01-05 16:04:24 +01:00
Axel Uhl e426979370 bug5627: renamed AppendShardingKeyToShard to AddShardingKeyToShard; Javadoc;
also removed now obsolete methods around sharding from
ApplicationReplicaSet; they are superseded by the new ShardProcedure
types.
2023-01-05 11:17:54 +01:00
Axel Uhl 379f19ecd1 bug5627: added Javadoc for AwsApplicationReplicaSet.removeShard 2023-01-05 11:12:18 +01:00
Axel Uhl c9fd774c80 bug5627: fixed parameter name 2023-01-05 10:58:26 +01:00
Axel Uhl 90cba84cdc bug5627: pass through sharding path prefix from sailing domain 2023-01-04 15:28:38 +01:00
Axel Uhl 7da8ac143f bug5627: refactored to using ShardingKey type argument;
this brings more clarity about use of path conditions vs. sharding keys,
both previously were simply of type String and could therefore be
confused easily.
2023-01-04 11:02:50 +01:00
Axel Uhl 963d21b683 bug5627: handling creation of empty shard properly 2023-01-04 00:08:59 +01:00
Axel Uhl 73bd56e290 bug5627: fixed endless loop in removing key from shard 2023-01-03 18:58:11 +01:00
Axel Uhl 68c3f0b0ca bug5627: identify shards running empty, adding proxy rule;
replace proxy rule when adding a key to a shard
2023-01-03 18:48:38 +01:00
Axel Uhl 58898968ef bug5627: change ShardingType such that encoding is not idempotent 2023-01-03 18:23:03 +01:00
Axel Uhl 141af431f6 bug5627: introduced IPAddressUtil plus test to shorten replica look-up 2023-01-03 18:07:52 +01:00
Axel Uhl 92bb477cea bug5627: refactored the sharding rule and condition construction 2023-01-03 17:18:23 +01:00
Axel Uhl dd7988c738 bug5627: several sharding-related UI fixes 2023-01-03 15:26:16 +01:00
Axel Uhl 2fa1c149b6 bug5627: further refactored naming for shard target groups 2023-01-03 13:23:50 +01:00
Axel Uhl f611653c23 bug5627: refactored shard target group name handling 2023-01-03 12:15:36 +01:00
Axel Uhl bf098a5b5e bug5627: (untested) made new shard name entry into a DataEntryDialog 2023-01-02 18:59:44 +01:00
Axel Uhl 5def7e07e2 bug5627: added AwsShardImpl.toString() which now uses the replica set name 2023-01-02 18:30:46 +01:00
Axel Uhl 362a7c8e64 bug5627: fixed ShardName and renamed to ShardTargetGroupName; added test 2023-01-02 18:26:05 +01:00
Axel Uhl c1af4ee492 bug5627: fixed name of replicaSetName field in AwsShardImpl 2023-01-02 17:31:27 +01:00
Axel Uhl c53286b833 bug5627: made all fields of AwsShardImpl final and initialize all in constructor 2023-01-02 17:29:45 +01:00
Axel Uhl e4b94f546b bug5627: fixed tagging of shard auto-scaling groups 2022-12-31 11:07:44 +01:00
Axel Uhl fcc5f71695 bug5627: copying tags to new target groups; various smaller fixes 2022-12-31 01:14:50 +01:00
Axel Uhl ee9cb08ccf bug5627: removed obsolete imports and redundant local variable assignments, avoiding warnings 2022-12-30 15:54:14 +01:00
Niklas Opiela 5afccbbb78 code improvement and fixed getFirstShardingPriority 2022-12-22 13:13:44 +01:00
Niklas Opiela 1450424f77 changed where the autoscaling group name gets constructed 2022-12-22 13:13:38 +01:00
Niklas Opiela f37a5d3aad removed constants, formatting, code improvement 2022-12-22 13:13:31 +01:00
Niklas Opiela dcf7aa88da doc formatting usw 2022-12-22 13:13:24 +01:00
Niklas Opiela 0fc068a3e1 changed parsing, doc and constants 2022-12-22 13:12:30 +01:00
Niklas Opiela 39f88ccf9e doc 2022-12-22 13:12:23 +01:00
Niklas Opiela 8b9ed8296c added logger and changed loop structure 2022-12-22 13:12:16 +01:00