Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
740ada8
Initial implementation of ansible scripts to deploy and update airava…
lahirujayathilake Oct 28, 2025
c17121d
Improve Ansible deployment automation and fix service startup issues
lahirujayathilake Nov 4, 2025
fd87264
Fix Ansible roles, Keycloak Quarkus config, template defaults, and re…
lahirujayathilake Nov 5, 2025
7b8463c
Switch RabbitMQ role to use distro packages instead of packagecloud r…
lahirujayathilake Nov 19, 2025
314a08f
Fix Keycloak database tasks to authenticate via root socket credentials
lahirujayathilake Nov 19, 2025
e4bd453
updated the deploy_user's shell
lahirujayathilake Nov 19, 2025
0891e97
start/stop services ansible scripts and conditional archiving logs wh…
lahirujayathilake Nov 19, 2025
e492186
Fix Keycloak DB connectivity, rely on env vars, drop optimized mode, …
lahirujayathilake Nov 20, 2025
8e6dfef
dev server encrypted configurations
lahirujayathilake Nov 20, 2025
047324e
include realm import when running keycloak via ansibles
lahirujayathilake Nov 20, 2025
b344522
Parameterize Keycloak realm template for PGA, JupyterLab, and CILogon
lahirujayathilake Nov 20, 2025
1d2f2fe
Updated ansible dev server vault configurations
lahirujayathilake Nov 20, 2025
8ac8243
included dev guides and updated documentation
lahirujayathilake Nov 20, 2025
a331e11
Fix service binding and HAProxy backend forwarding
lahirujayathilake Dec 5, 2025
dbd2d46
Support mariadb db server deployment for RH using ansibles
lahirujayathilake Dec 9, 2025
566b28f
Ansible scripts for staging environment
lahirujayathilake Dec 9, 2025
5fd8dcc
Updated the ansible branch
lahirujayathilake Dec 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public String updateGatewayResourceProfile(GatewayResourceProfile gatewayResourc
String gatewayId = gatewayResourceProfile.getGatewayID();
Mapper mapper = ObjectMapperSingleton.getInstance();
GatewayProfileEntity gatewayProfileEntity = mapper.map(gatewayResourceProfile, GatewayProfileEntity.class);
// Explicitly set gatewayId since Dozer mapping does not handle gatewayID -> gatewayId conversion
gatewayProfileEntity.setGatewayId(gatewayId);
if (get(gatewayId) != null) {
gatewayProfileEntity.setUpdateTime(AiravataUtils.getCurrentTimestamp());
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,26 +592,50 @@ CREATE TABLE GROUP_COMPUTE_RESOURCE_PREFERENCE
(
RESOURCE_ID VARCHAR(255) NOT NULL,
GROUP_RESOURCE_PROFILE_ID varchar(255) NOT NULL,
RESOURCE_TYPE VARCHAR(255) NOT NULL,
OVERRIDE_BY_AIRAVATA SMALLINT,
PREFERED_JOB_SUB_PROTOCOL VARCHAR(255),
PREFERED_DATA_MOVE_PROTOCOL VARCHAR(255),
PREFERED_BATCH_QUEUE VARCHAR(255),
SCRATCH_LOCATION VARCHAR(255),
ALLOCATION_PROJECT_NUMBER VARCHAR(255),
LOGIN_USERNAME VARCHAR(255),
RESOURCE_CS_TOKEN VARCHAR(255),
USAGE_REPORTING_GATEWAY_ID VARCHAR(255),
QUALITY_OF_SERVICE VARCHAR(255),
RESERVATION VARCHAR (255),
RESERVATION_START_TIME timestamp,
RESERVATION_END_TIME timestamp,
SSH_ACCOUNT_PROVISIONER VARCHAR(255),
SSH_ACCOUNT_PROVISIONER_ADDITIONAL_INFO VARCHAR(1000),
PRIMARY KEY(RESOURCE_ID,GROUP_RESOURCE_PROFILE_ID),
FOREIGN KEY (RESOURCE_ID) REFERENCES COMPUTE_RESOURCE(RESOURCE_ID) ON DELETE CASCADE,
FOREIGN KEY (GROUP_RESOURCE_PROFILE_ID) REFERENCES GROUP_RESOURCE_PROFILE(GROUP_RESOURCE_PROFILE_ID) ON DELETE CASCADE
)ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE SLURM_GROUP_COMPUTE_RESOURCE_PREFERENCE
(
RESOURCE_ID VARCHAR(255) NOT NULL,
GROUP_RESOURCE_PROFILE_ID VARCHAR(255) NOT NULL,
PREFERED_BATCH_QUEUE VARCHAR(255) DEFAULT NULL,
ALLOCATION_PROJECT_NUMBER VARCHAR(255) DEFAULT NULL,
USAGE_REPORTING_GATEWAY_ID VARCHAR(255) DEFAULT NULL,
QUALITY_OF_SERVICE VARCHAR(255) DEFAULT NULL,
RESERVATION VARCHAR(255) DEFAULT NULL,
RESERVATION_START_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
RESERVATION_END_TIME TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
SSH_ACCOUNT_PROVISIONER VARCHAR(255) DEFAULT NULL,
SSH_ACCOUNT_PROVISIONER_ADDITIONAL_INFO TEXT DEFAULT NULL,
PRIMARY KEY (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID),
CONSTRAINT FK_SLURM_PREF_TO_BASE FOREIGN KEY (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID)
REFERENCES GROUP_COMPUTE_RESOURCE_PREFERENCE (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID)
ON DELETE CASCADE
)ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE AWS_GROUP_COMPUTE_RESOURCE_PREFERENCE
(
RESOURCE_ID VARCHAR(255) NOT NULL,
GROUP_RESOURCE_PROFILE_ID VARCHAR(255) NOT NULL,
AWS_REGION VARCHAR(255) NOT NULL,
PREFERRED_AMI_ID VARCHAR(255) NOT NULL,
PREFERRED_INSTANCE_TYPE VARCHAR(255) NOT NULL,
PRIMARY KEY (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID),
CONSTRAINT FK_AWS_PREF_TO_BASE FOREIGN KEY (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID)
REFERENCES GROUP_COMPUTE_RESOURCE_PREFERENCE (RESOURCE_ID, GROUP_RESOURCE_PROFILE_ID)
ON DELETE CASCADE
)ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE COMPUTE_RESOURCE_RESERVATION -- ComputeResourceReservationEntity
(RESERVATION_ID VARCHAR(255) NOT NULL, END_TIME TIMESTAMP NOT NULL, RESERVATION_NAME VARCHAR(255) NOT NULL, START_TIME TIMESTAMP NOT NULL, RESOURCE_ID VARCHAR(255) NOT NULL, GROUP_RESOURCE_PROFILE_ID VARCHAR(255) NOT NULL, PRIMARY KEY (RESERVATION_ID)
)ENGINE=InnoDB DEFAULT CHARSET=latin1;
Expand Down
Loading
Loading