Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a730a87
US-3198016 Implement Test Data Converter (MfMIAgentConverter)
dorin7bogdan Jul 31, 2026
fc725c4
test commit
dradu-opentext Jul 31, 2026
da27769
add tests for ConverterBuilder, normalizeRunStepsInput
dradu-opentext Aug 4, 2026
5a384de
US-3198017 Implement Aute Builder (RunFromAuteAgentBuilder) for Seque…
dorin7bogdan Aug 4, 2026
ef06701
fix resolveCredentialSecret
dorin7bogdan Aug 5, 2026
6972833
fix args to use delimiter '='
dorin7bogdan Aug 5, 2026
138ebe8
use actual data format
dradu-opentext Aug 5, 2026
2b75355
improve uploadAttachment error handling to log details
dorin7bogdan Aug 5, 2026
b5d6c19
remove unuse fields from config.json
dorin7bogdan Aug 5, 2026
b7459f1
remove logging
dradu-opentext Aug 5, 2026
0a37875
add unit test for builder execution
dradu-opentext Aug 5, 2026
d142849
US-3226014 Continuation of Implement Custom Results Publisher (AuteAg…
dorin7bogdan Aug 6, 2026
f8f876e
clean-up unused method and small optimization
dorin7bogdan Aug 6, 2026
3160db3
expect mi-agent.exe to live in the shared workspace
dradu-opentext Aug 7, 2026
6a8ea0e
improve the upload attachments logic to run in parallel using virtual…
dorin7bogdan Aug 7, 2026
bf678f5
fix compile errors:
dorin7bogdan Aug 7, 2026
17787ea
Added Explicit Test Release = java 21
dorin7bogdan Aug 7, 2026
d8d12f3
remove misleading unction collectResultFiles, add a few error handlin…
dorin7bogdan Aug 10, 2026
81ffcab
us #3233006: preflight check validate mi-agent.exe
dradu-opentext Aug 10, 2026
389a8b5
us #3233006: preflight check validate mi-agent.exe
dradu-opentext Aug 10, 2026
fec2ab3
Implemented stack-trace sanitization for MI Agent attachment publish …
dorin7bogdan Aug 10, 2026
cc6c8dc
us #3233006: preflight check validate mi-agent.exe status as well
dradu-opentext Aug 11, 2026
15b6f0c
clean logging
dradu-opentext Aug 11, 2026
2dc27e4
clean logging
dradu-opentext Aug 11, 2026
6ffb734
re-enable once mi-agent contains the certificate authority
dradu-opentext Aug 11, 2026
254c279
clean logs
dradu-opentext Aug 11, 2026
e659060
update upload mechanism to use the bulk method API instead of paralle…
dorin7bogdan Aug 11, 2026
b721652
fix upload mechanism to use the bulk correctly
dorin7bogdan Aug 12, 2026
6463deb
second fix to upload mechanism to use the bulk correctly
dorin7bogdan Aug 12, 2026
349221f
add stream/resource handling and buffer reuse for bulk attachment upload
dorin7bogdan Aug 12, 2026
48b55dd
remove CLIENT_TYPE header, upload works without it
dorin7bogdan Aug 12, 2026
b7280f4
print the failed to be uploaded files, remove recording.mp4 from uplo…
dorin7bogdan Aug 13, 2026
8fc0163
`Add MI Agent result cleanup, failure handling options, centralized c…
dorin7bogdan Aug 14, 2026
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
39 changes: 34 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@
<hpi.bundledArtifacts>SVConfigurator,bcpg-jdk18on,bcpkix-jdk18on,bcprov-jdk18on,bcutil-jdk18on,commons-cli,commons-csv,commons-lang,integrations-dto,integrations-sdk,log4j-api,log4j-core,log4j-web,plugins-common,poi,tape,zip4j</hpi.bundledArtifacts>
<jenkins-test-harness.version>2545.va_5c4d760c7ef
</jenkins-test-harness.version> <!-- TODO newer versions than 2.55 require debugging an issue with open file handles -->
<java.level>21</java.level>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<!-- java.level is deprecated and ignored by maven-hpi-plugin's ValidateMojo; it creates
target/java-level/17 based on the Jenkins baseline, activating a parent-POM profile that
resets maven.compiler.release to 17. Configure the compiler plugin directly below so
that the explicit <release> value always wins over that profile property. -->

<!-- The ending year for copyright information -->
<copyright.end.year>2026</copyright.end.year>
Expand Down Expand Up @@ -246,10 +246,39 @@
</plugins>
</pluginManagement>

<plugins>
<!-- maven-hpi-plugin's ValidateMojo derives the Java level from the Jenkins baseline
(2.504 -> 17) and writes the target/java-level/17 marker, which activates a parent-POM
profile that resets maven.compiler.release to 17. Pin both release and testRelease
here: explicit plugin configuration wins over that profile property. Note the parent
defaults maven.compiler.testRelease to ${maven.compiler.release}, so testRelease must
be set too, otherwise tests would still compile at 17. -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>21</release>
<testRelease>21</testRelease>
</configuration>
</plugin>

<!-- The plugin is compiled to class file version 65, so it cannot load on a controller
running Java 17 (still supported by Jenkins 2.504). Declaring the requirement makes
Jenkins reject it with a clear message instead of an UnsupportedClassVersionError. -->
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Minimum-Java-Version>21</Minimum-Java-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>

<!-- This is the plugin that is used to add license headers to the source files
Run the following Maven command to apply the license headers to your files
mvn license:format-->
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* Certain versions of software accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company.
* This software was acquired by Micro Focus on September 1, 2017, and is now
* offered by OpenText.
* Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical
* in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the
* property of their respective owners.
* OpenText is a trademark of Open Text.
* __________________________________________________________________
* MIT License
*
* Copyright 2012-2026 Open Text.
*
* The only warranties for products and services of Open Text and
* its affiliates and licensors ("Open Text") are as may be set forth
* in the express warranty statements accompanying such products and services.
* Nothing herein should be construed as constituting an additional warranty.
* Open Text shall not be liable for technical or editorial errors or
* omissions contained herein. The information contained herein is subject
* to change without notice.
*
* Except as specifically indicated otherwise, this document contains
* confidential information and a valid license is required for possession,
* use or copying. If this work is provided to the U.S. Government,
* consistent with FAR 12.211 and 12.212, Commercial Computer Software,
* Computer Software Documentation, and Technical Data for Commercial Items are
* licensed to the U.S. Government under vendor's standard commercial license.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ___________________________________________________________________
*/
package com.microfocus.application.automation.tools.mi;

public final class CommonConstants {
public static final String RESULT_FOLDER = "mi-agent-results";
public static final String MANIFEST_FILE_NAME = "manifest.json";
public static final String CONFIG_FILE_NAME = "conf.json";
public static final String RUN_STEPS_FILE_NAME = "run_steps.json";
public static final String RUN_STEPS_RESULT_FILE_NAME = "run_steps_result.json";

private CommonConstants() {
// Prevent instantiation
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* Certain versions of software accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company.
* This software was acquired by Micro Focus on September 1, 2017, and is now
* offered by OpenText.
* Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical
* in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the
* property of their respective owners.
* OpenText is a trademark of Open Text.
* __________________________________________________________________
* MIT License
*
* Copyright 2012-2026 Open Text.
*
* The only warranties for products and services of Open Text and
* its affiliates and licensors ("Open Text") are as may be set forth
* in the express warranty statements accompanying such products and services.
* Nothing herein should be construed as constituting an additional warranty.
* Open Text shall not be liable for technical or editorial errors or
* omissions contained herein. The information contained herein is subject
* to change without notice.
*
* Except as specifically indicated otherwise, this document contains
* confidential information and a valid license is required for possession,
* use or copying. If this work is provided to the U.S. Government,
* consistent with FAR 12.211 and 12.212, Commercial Computer Software,
* Computer Software Documentation, and Technical Data for Commercial Items are
* licensed to the U.S. Government under vendor's standard commercial license.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ___________________________________________________________________
*/
package com.microfocus.application.automation.tools.mi;

import hudson.model.InvisibleAction;

import java.io.Serializable;

/**
* Invisible marker action attached to a Run when the MI Agent (Autonomous-Tester) builder executes.
* Used by JUnitExtension and other extensions to detect an AU/MI job and skip the default JUnit
* -> mqmTests.xml transport chain (results are published by {@link MIAgentResultPublisher} instead).
*/
public class MIAgentBuildAction extends InvisibleAction implements Serializable {

private static final long serialVersionUID = 1L;

private final String executorId;
private final String executorLogicalName;
private final String configurationId;
private final String workspaceId;

public MIAgentBuildAction(String executorId, String executorLogicalName, String configurationId, String workspaceId) {
this.executorId = executorId;
this.executorLogicalName = executorLogicalName;
this.configurationId = configurationId;
this.workspaceId = workspaceId;
}

public String getExecutorId() {
return executorId;
}

public String getExecutorLogicalName() {
return executorLogicalName;
}

public String getConfigurationId() {
return configurationId;
}

public String getWorkspaceId() {
return workspaceId;
}
}
Loading