This is an automated email from the ASF dual-hosted git repository.
yasith pushed a change to branch service-layer-improvements
in repository https://gitbox.apache.org/repos/asf/airavata.git
from ad9ede21d7 fix more test cases and config bugs
add 2262a54f19 update tests and testcontainers. fix bugs
No new revisions were added by this update.
Summary of changes:
.devcontainer/docker-compose.yml | 14 ++-
modules/airavata-api/pom.xml | 7 --
.../utils/DefaultKeyStorePasswordCallback.java | 12 +-
.../airavata/config/AiravataConfigUtils.java | 2 -
.../config/AiravataPropertySourceFactory.java | 7 +-
.../airavata/config/AiravataServerProperties.java | 7 +-
.../java/org/apache/airavata/config/JpaConfig.java | 7 ++
.../services/CredentialEntityService.java | 54 +++++++--
.../entities/expcatalog/ProcessEntity.java | 2 +-
.../entities/expcatalog/ProcessWorkflowEntity.java | 7 +-
.../entities/expcatalog/ProcessWorkflowPK.java | 12 +-
.../airavata/registry/mappers/ProcessMapper.java | 1 +
.../repositories/expcatalog/GatewayRepository.java | 2 +-
.../repositories/expcatalog/UserRepository.java | 2 +-
.../registry/services/ExperimentInputService.java | 31 ++++-
.../registry/services/ExperimentOutputService.java | 28 ++++-
.../registry/services/ExperimentService.java | 42 ++++++-
.../airavata/registry/services/ProcessService.java | 83 ++++++++++++-
.../SSHAccountProvisionerFactoryTest.java | 6 +-
.../airavata/accountprovisioning/SSHUtilTest.java | 11 +-
.../TestIULdapSSHAccountProvisioner.java | 6 +-
.../airavata/common/utils/NameValidatorTest.java | 9 +-
.../airavata/common/utils/SecurityUtilTest.java | 9 +-
.../config/BackgroundServicesStartupTest.java | 27 +----
.../airavata/config/DockerServiceStartupTest.java | 14 +--
.../apache/airavata/config/EntityLoadingTest.java | 3 -
.../config/ExternalServiceStartupTest.java | 18 +--
.../airavata/config/FlywayLocalStartupTest.java | 11 +-
.../airavata/config/FlywayMigrationTest.java | 1 -
.../apache/airavata/config/MinimalStartupTest.java | 9 +-
.../config/PersistenceConfigurationTest.java | 1 -
.../airavata/config/RestModeStartupTest.java | 16 +--
.../airavata/config/SchemaValidationTest.java | 4 -
.../airavata/config/ServiceDependencyTest.java | 5 -
.../config/ServiceStartupCombinationTest.java | 6 +-
.../airavata/config/ServiceStartupRangeTest.java | 40 -------
.../airavata/config/ServiceStartupTestBase.java | 6 +-
.../airavata/config/ServiceStatusVerifierTest.java | 4 +-
.../apache/airavata/config/ServiceToggleTest.java | 4 -
.../airavata/config/TestPropertiesHelper.java | 1 -
.../airavata/config/TestcontainersConfig.java | 133 +++++++++++++++++----
.../airavata/config/TestcontainersSetupTest.java | 20 ++--
.../airavata/config/ThriftModeStartupTest.java | 14 +--
.../config/UnifiedApplicationStartupTest.java | 15 +--
.../airavata/credential/SSHCredentialTest.java | 6 +-
.../apache/airavata/credential/SSHSummaryTest.java | 8 +-
.../messaging/MessageVerificationUtils.java | 18 +--
.../airavata/messaging/TestMessagingUtils.java | 11 +-
.../messaging/kafka/KafkaIntegrationTest.java | 88 ++++++++------
.../rabbitmq/RabbitMQIntegrationTest.java | 132 ++++++++++----------
.../airavata/messaging/rabbitmq/TestClient.java | 10 +-
.../orchestrator/core/BaseOrchestratorTest.java | 7 +-
.../orchestrator/core/NewOrchestratorTest.java | 76 ------------
.../airavata/profile/entities/SetupNewGateway.java | 18 +--
.../repositories/WorkspaceRepositoryTest.java | 6 +-
.../ApplicationDeploymentRepositoryTest.java | 8 +-
.../ApplicationInterfaceRepositoryTest.java | 5 +-
.../appcatalog/ComputeResourceRepositoryTest.java | 29 +----
.../appcatalog/GatewayGroupsRepositoryTest.java | 7 +-
.../appcatalog/GatewayProfileRepositoryTest.java | 5 +-
.../GroupResourceProfileRepositoryTest.java | 23 +---
.../JobSubmissionInterfaceRepositoryTest.java | 8 +-
.../appcatalog/StorageResourceRepositoryTest.java | 8 +-
.../UserResourceProfileRepositoryTest.java | 8 +-
.../registry/repositories/common/TestBase.java | 8 +-
.../expcatalog/ExperimentErrorRepositoryTest.java | 13 +-
.../expcatalog/ExperimentInputRepositoryTest.java | 10 +-
.../expcatalog/ExperimentOutputRepositoryTest.java | 10 +-
.../expcatalog/ExperimentRepositoryTest.java | 11 +-
.../expcatalog/ExperimentStatusRepositoryTest.java | 10 +-
.../ExperimentSummaryRepositoryTest.java | 23 +---
.../expcatalog/GatewayRepositoryTest.java | 10 +-
.../repositories/expcatalog/JobRepositoryTest.java | 13 +-
.../expcatalog/JobStatusRepositoryTest.java | 22 +---
.../expcatalog/NotificationRepositoryTest.java | 30 ++---
.../expcatalog/ProcessErrorRepositoryTest.java | 20 +---
.../expcatalog/ProcessInputRepositoryTest.java | 10 +-
.../expcatalog/ProcessOutputRepositoryTest.java | 10 +-
.../expcatalog/ProcessRepositoryTest.java | 10 +-
.../expcatalog/ProcessStatusRepositoryTest.java | 11 +-
.../expcatalog/ProjectRepositoryTest.java | 12 +-
.../expcatalog/QueueStatusRepositoryTest.java | 10 +-
.../expcatalog/TaskErrorRepositoryTest.java | 13 +-
.../expcatalog/TaskRepositoryTest.java | 9 +-
.../expcatalog/TaskStatusRepositoryTest.java | 11 +-
.../expcatalog/UserRepositoryTest.java | 9 +-
.../replicacatalog/DataProductRepositoryTest.java | 8 +-
.../DataReplicaLocationRepositoryTest.java | 7 +-
.../workflowcatalog/WorkflowRepositoryTest.java | 23 +---
.../security/GatewayGroupsInitializerTest.java | 5 +-
.../security/KeyCloakSecurityManagerTest.java | 21 +---
.../AiravataServiceIntegrationTest.java | 9 +-
.../AwsComputeResourceIntegrationTest.java | 10 +-
.../DataMovementStateMachineIntegrationTest.java | 44 ++++---
.../ExperimentLifecycleIntegrationTest.java | 29 ++---
.../JobSubmissionStateMachineIntegrationTest.java | 32 ++---
.../OrchestratorServiceIntegrationTest.java | 28 ++---
...rocessExecutionStateMachineIntegrationTest.java | 52 ++++----
.../RegistryServiceIntegrationTest.java | 51 ++++++--
.../integration/ServiceIntegrationTestBase.java | 38 ++++--
.../SharingRegistryServiceIntegrationTest.java | 67 ++++++-----
.../SlurmComputeResourceIntegrationTest.java | 9 +-
.../StateTransitionValidationIntegrationTest.java | 48 ++++----
.../TenantProfileServiceIntegrationTest.java | 25 ++--
.../airavata/service/integration/TestFixtures.java | 12 +-
.../UserProfileServiceIntegrationTest.java | 20 ++--
.../org/apache/airavata/sharing/CipresTest.java | 56 +++------
.../test/resources/conf/keystores/airavata.sym.p12 | Bin 0 -> 425 bytes
108 files changed, 917 insertions(+), 1156 deletions(-)
create mode 100644
modules/airavata-api/src/test/resources/conf/keystores/airavata.sym.p12