Add 'add' rev proxy feature, list az in table

The 'add' button in the reverseProxyPanel
will default to the az with the fewest reverse
proxies and allow the user to choose and instance type.
Then it creates the instance and adds it to the necessary target group.
A few utils were added to also fetch the availability zones
This commit is contained in:
Thomas Stokes
2023-11-09 17:59:40 +01:00
parent a1e4882c29
commit 29b7323442
16 changed files with 290 additions and 66 deletions
@@ -0,0 +1,9 @@
package com.sap.sailing.landscape.common;
import java.io.Serializable;
public enum AzFormat implements Serializable{
MIXED,
NAME,
ID;
}
@@ -75,4 +75,19 @@ public interface SharedLandscapeConstants {
* of a typical process instance.
*/
int DEFAULT_NUMBER_OF_PROCESSES_IN_MEMORY = 4;
/**
* Indicates that an instance only acts as a reverse proxy. ie. it is not hosting other services.
*/
String DISPOSABLE_PROXY = "disposableProxy";
/**
* The tag name for a target group which contains all the instances running httpd.
*/
String ALL_REVERSE_PROXIES = "allReverseProxies";
String IMAGE_TYPE_REVERSE_PROXY = "disposable-reverse-proxy";
String CENTRAL_REVERSE_PROXY_TAG_NAME = "CentralReverseProxy";
}