Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The project is built on-top of [Maven](https://maven.apache.org/) 3.9 and uses M

### Java compatibility

The SDK is compatible with the following Java LTS versions: 11, 17, 21 and 25.
The SDK is compatible with the following Java LTS versions: 17, 21 and 25.
It is **_strongly_** recommended to use one of those versions when integrating the SDK into custom applications and when running the samples.

### VCF component compatibility
Expand Down
4 changes: 2 additions & 2 deletions migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ From application-development perspective, there are 2 ways to declare dependenci

The VCF SDK is an evolution of previously existing SDKs \- the various SDKs are unified and integrated under a single umbrella. For the most part they are compatible with previous versions, but still require some amount of adaptation in the pre-existing consuming application code.

Different components of the VCF product have different APIs \- for example, the majority of the core vSphere stack exposes WSDL-based APIs. This is applicable for vCenter, STS, vSAN, SMS, PBM, VSLM and EAM. The maven artifacts contain automatically generated bindings which are compatible with Jakarta EE 9 (Jakarta XML Binding 3.0). The SDK-provided utility code is built on top of Apache CXF 4.0.
Different components of the VCF product have different APIs \- for example, the majority of the core vSphere stack exposes WSDL-based APIs. This is applicable for vCenter, STS, vSAN, SMS, PBM, VSLM and EAM. The maven artifacts contain automatically generated bindings which are compatible with Jakarta EE 10 (Jakarta XML Binding 4.0). The SDK-provided utility code is built on top of Apache CXF 4.1.

Additionally there are components (vCenter, SDDC Manager, VCF Installer) which have REST APIs, described with OpenAPI definitions. The SDK provides bindings, as well as utility code, for them as well.

Expand All @@ -155,7 +155,7 @@ The application’s build process has to be updated to one of the options below:
* In case the build system has Internet access, it can download the SDK components from Maven Central
* For air-gapped build environments, the application developer has to download vcf-sdk-java.zip from Broadcom’s developer portal. The archive contains a top-level maven directory with the SDK-provided components. The application developer should incorporate it in the build system (e.g. by uploading the Maven artifacts to an internal mirror) and should also make sure that all direct and transitive dependencies, specified in the POM descriptor, are available at compile and run time.

The VCF 9.1 SDK supports JDK 11, 17, 21 and 25\.
The VCF 9.1 SDK supports JDK 17, 21 and 25\.

Note 1: The SDK no longer provides \*-samples.jar(s). If the application code relied on such jars, it should be adapted to replace this dependency with the newly provided \*-utils alternatives e.g. **vsphere-utils**.

Expand Down
2 changes: 1 addition & 1 deletion nsx-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>nsx-samples</artifactId>
Expand Down
35 changes: 11 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ SPDX-License-Identifier: Apache-2.0 -->

<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
<packaging>pom</packaging>

<properties>
<maven.compiler.release>11</maven.compiler.release>
<slf4j.version>2.0.16</slf4j.version>
<cxf.version>4.0.9</cxf.version>
<maven.compiler.release>17</maven.compiler.release>
<slf4j.version>2.0.18</slf4j.version>
<cxf.version>4.1.7</cxf.version>
<vcf.sdk.groupId>com.vmware.sdk</vcf.sdk.groupId>
<vcf.sdk.version>9.1.0.0</vcf.sdk.version>
<vcf.sdk.version>9.1.1.0</vcf.sdk.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -79,32 +79,19 @@ SPDX-License-Identifier: Apache-2.0 -->
<dependency>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>3.0.1</version>
<version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-core</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-features-logging</artifactId>
<artifactId>cxf-bom</artifactId>
<version>${cxf.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -114,7 +101,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.20</version>
<version>1.5.34</version>
</dependency>
<!--
Use safe Angus version overriding the CXF dependency. See CVE-2021-44549.
Expand Down
2 changes: 1 addition & 1 deletion samples-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>samples-infrastructure</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion samples-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>samples-runner</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sddc-manager-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>sddc-manager-samples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion vcf-installer-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>vcf-installer-samples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion vcf-operations-samples/log-management-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion vcf-operations-samples/operations-networks-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>For the "get" operation, a valid cluster entity ID (obtained from the "list" operation)
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>For the "get" operation, a valid datastore entity ID (obtained from the "list" operation)
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>For the "get" operation, a valid host entity ID (obtained from the "list" operation)
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Before running these samples, ensure you have:
1. **VCF Operations for networks** instance running and accessible
2. **Valid credentials** (username/password) with appropriate permissions
3. **Network connectivity** to the VCF Operations for networks host
4. **Java 11 or later** installed
4. **Java 17 or later** installed
5. **Maven** for building and running the samples

## Common Parameters
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>For the "get" operation, a valid vCenter datacenter entity ID (obtained from the "list" operation)
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -41,7 +41,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>For the "get" operation, a valid VM entity ID (obtained from the "list" operation)
* </ul>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -56,7 +56,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* <li>Network traffic data collection enabled in your environment (for FLOW_BASED_DISCOVERY)
* <li>ServiceNow integration configured (for SERVICE_NOW discovery type, optional)
* </ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This workflow-based approach provides a comprehensive demonstration of the full

- VCF Operations for networks instance (hostname/IP address)
- Valid credentials (username and password) - BOTH REQUIRED
- Java 11 or later
- Java 17 or later
- Maven 3.6 or later

## Running the Sample
Expand Down Expand Up @@ -281,7 +281,7 @@ Unlike user-defined applications (see `Applications.java`), discovered applicati

- VCF Operations for networks instance (hostname/IP address)
- Valid credentials (username and password) - BOTH REQUIRED
- Java 11 or later
- Java 17 or later
- Maven 3.6 or later
- Network traffic data collection enabled in your environment (for FLOW_BASED_DISCOVERY)
- ServiceNow integration configured (for SERVICE_NOW discovery type, optional)
Expand Down Expand Up @@ -518,7 +518,7 @@ Tiered Applications are applications that are organized into multiple tiers (e.g

- VCF Operations for networks instance (hostname/IP address)
- Valid credentials (username and password) - BOTH REQUIRED
- Java 11 or later
- Java 17 or later
- Maven 3.6 or later

## Running the Sample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The Version sample shows how to:

- VCF Operations for networks instance (hostname/IP address)
- Valid credentials (username and password) - BOTH REQUIRED
- Java 11 or later
- Java 17 or later
- Maven 3.6 or later

## Running the Sample
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -43,7 +43,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* </ul>
*/
public class ExpandedNodes {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -42,7 +42,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* </ul>
*/
public class Nodes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This directory contains samples for VCF Operations for networks Infrastructure A

- VCF Operations for networks instance (hostname/IP address)
- Valid credentials (username and password) - BOTH REQUIRED
- Java 11 or later
- Java 17 or later
- Maven 3.6 or later

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* ******************************************************************
* Copyright (c) 2025 Broadcom. All Rights Reserved.
* Copyright (c) 2025-2026 Broadcom. All Rights Reserved.
* The term "Broadcom" refers to Broadcom Inc.
* and/or its subsidiaries.
*
Expand Down Expand Up @@ -43,7 +43,7 @@
* <li>VCF Operations for networks instance running and accessible
* <li>Valid credentials (username/password) with appropriate permissions
* <li>Network connectivity to the VCF Operations for networks host
* <li>Java 11 or later installed
* <li>Java 17 or later installed
* </ul>
*/
public class Watermark {
Expand Down
2 changes: 1 addition & 1 deletion vcf-operations-samples/operations-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion vsphere-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: Apache-2.0 -->
<parent>
<groupId>com.vmware.sdk</groupId>
<artifactId>vcf-java-sdk-samples</artifactId>
<version>9.1.0.0</version>
<version>9.1.1.0</version>
</parent>

<artifactId>vsphere-samples</artifactId>
Expand Down
Loading