function sdc-sim {
echo "docker run sdc-webSimulator..."
if [ ${LOCAL} = false ]; then
- docker pull ${PREFIX}/sdc-sim:${RELEASE}
+ docker pull ${PREFIX}/sdc-simulator:${RELEASE}
fi
probe_sim
private static final String CREDENTIALS_FILE = "credentials.yaml";
- public static void main(String[] args) throws Exception {
- System.out.println("Hello World!"); // Display the string.
- System.out.println("user.dir: " + System.getProperty("user.dir"));
- System.out.println(UserRoleEnum.DESIGNER.getFirstName());
- String file = readFile();
- convertToJson(file);
- Either<Service, RestResponse> createDefaultService1e = AtomicOperationUtils.createDefaultService(UserRoleEnum.DESIGNER, true);
-
-
-
- }
+// public static void main(String[] args) throws Exception {
+// System.out.println("Hello World!"); // Display the string.
+// System.out.println("user.dir: " + System.getProperty("user.dir"));
+// System.out.println(UserRoleEnum.DESIGNER.getFirstName());
+// String file = readFile();
+// convertToJson(file);
+// Either<Service, RestResponse> createDefaultService1e = AtomicOperationUtils.createDefaultService(UserRoleEnum.DESIGNER, true);
+//
+//
+//
+// }
private static String convertToJson(String yamlString) {
Yaml yaml = new Yaml();
<!-- Create the JAR file with its dependencies -->
<!-- ============================================= -->
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.0</version>
- <executions>
- <execution>
- <id>unpack-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <silent>true</silent>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
- <overWriteReleases>true</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>false</addClasspath>
- <mainClass>org.openecomp.sdc.ci.tests.execute.setup.SetupCDTest</mainClass>
- </manifest>
- </archive>
- <classifier>jar-with-dependencies</classifier>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
</configuration>
</execution>
</executions>
- </plugin-->
+ </plugin>
</plugins>
</build>