From 25e3f7a0d6cd5e364e4fd69eef310fcdb8a58b55 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 4 Sep 2020 11:03:24 +0100 Subject: Remove client code from apex-pdp Removal of the deployment and monitoring client from the apex-pdp as the functionality is replaced by the Policy Framework deployment using PAP and the Policy Framework monitoring GUI. Code in the engine proper that was used to administer apex-pdp over the Web Socket port is also removed, as this code was only used by the apex-pdp legacy GUIs. Issue-ID: POLICY-2621 Change-Id: Ib9fc4a667a4bc79377bb7b82fae6a2bd520a3e3d Signed-off-by: liamfallon --- client/client-full/pom.xml | 248 -- .../apex/client/full/rest/ApexServicesRest.java | 87 - .../client/full/rest/ApexServicesRestMain.java | 212 -- .../rest/ApexServicesRestParameterException.java | 49 - .../full/rest/ApexServicesRestParameterParser.java | 115 - .../full/rest/ApexServicesRestParameters.java | 122 - .../apex/client/full/rest/ParameterCheck.java | 252 -- .../policy/apex/client/full/rest/package-info.java | 27 - .../src/main/resources/webapp/WEB-INF/web.xml | 46 - .../main/resources/webapp/css/interfaceAssets.css | 3454 -------------------- .../src/main/resources/webapp/css/styles.css | 296 -- .../src/main/resources/webapp/images/Apex.png | Bin 161205 -> 0 bytes .../src/main/resources/webapp/images/logo_onap.png | Bin 21360 -> 0 bytes .../src/main/resources/webapp/index.html | 94 - .../src/main/resources/webapp/js/ApexMain.js | 43 - .../resources/webapp/js/jquery/jquery-3.4.1.min.js | 2 - .../webapp/resources/16px/deploy_white_16px.svg | 16 - .../webapp/resources/16px/eye_white_16px.svg | 13 - .../webapp/resources/16px/note_white_16px.svg | 1 - .../resources/16px/rowCollapsed_black_16px.svg | 19 - .../resources/16px/rowExpanded_black_16px.svg | 18 - .../webapp/resources/16px/settings_black_16px.svg | 20 - .../src/main/resources/webapp/resources/screen.svg | 28 - .../webapp/resources/systemBar/help_black.svg | 19 - .../webapp/resources/systemBar/logout_black.svg | 15 - .../src/main/resources/webapp/resources/video.svg | 30 - .../apex/client/full/rest/ParameterCheckTest.java | 189 -- .../client/full/rest/ServicesExceptionTest.java | 38 - .../client/full/rest/ServicesRestMainTest.java | 211 -- .../full/rest/ServicesRestParameterTest.java | 48 - 30 files changed, 5712 deletions(-) delete mode 100644 client/client-full/pom.xml delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRest.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestMain.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterException.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterParser.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameters.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ParameterCheck.java delete mode 100644 client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/package-info.java delete mode 100644 client/client-full/src/main/resources/webapp/WEB-INF/web.xml delete mode 100644 client/client-full/src/main/resources/webapp/css/interfaceAssets.css delete mode 100644 client/client-full/src/main/resources/webapp/css/styles.css delete mode 100644 client/client-full/src/main/resources/webapp/images/Apex.png delete mode 100644 client/client-full/src/main/resources/webapp/images/logo_onap.png delete mode 100644 client/client-full/src/main/resources/webapp/index.html delete mode 100644 client/client-full/src/main/resources/webapp/js/ApexMain.js delete mode 100644 client/client-full/src/main/resources/webapp/js/jquery/jquery-3.4.1.min.js delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/deploy_white_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/eye_white_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/note_white_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/rowCollapsed_black_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/rowExpanded_black_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/16px/settings_black_16px.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/screen.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/systemBar/help_black.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/systemBar/logout_black.svg delete mode 100644 client/client-full/src/main/resources/webapp/resources/video.svg delete mode 100644 client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ParameterCheckTest.java delete mode 100644 client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesExceptionTest.java delete mode 100644 client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestMainTest.java delete mode 100644 client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestParameterTest.java (limited to 'client/client-full') diff --git a/client/client-full/pom.xml b/client/client-full/pom.xml deleted file mode 100644 index 5d9bcbd9c..000000000 --- a/client/client-full/pom.xml +++ /dev/null @@ -1,248 +0,0 @@ - - - 4.0.0 - - org.onap.policy.apex-pdp.client - apex-client - 2.4.1-SNAPSHOT - - - apex-client-full - ${project.artifactId} - Web clients for managing Apex engines - - - src/main/resources/webapp - ${project.basedir}/src/main/resources/webapp/node/node - ${project.basedir}/src/main/java,${project.basedir}/src/main/resources/webapp/js - src/main/resources/webapp/js/__test__/**,src/main/resources/webapp/js/jquery/** - - - - - org.onap.policy.apex-pdp.client - apex-client-monitoring - ${project.version} - - - org.onap.policy.apex-pdp.client - apex-client-deployment - ${project.version} - - - org.onap.policy.apex-pdp.client - apex-client-monitoring - ${project.version} - resources - zip - provided - - - org.onap.policy.apex-pdp.client - apex-client-deployment - ${project.version} - resources - zip - provided - - - org.onap.policy.apex-pdp.client - apex-client-editor - ${project.version} - resources - zip - provided - - - org.assertj - assertj-core - test - - - - - install - ${project.build.directory}/classes - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-MONITOR-resources - - unpack-dependencies - - generate-resources - - ${project.build.directory}/classes/webapp - - org.onap.policy.apex-pdp.client - apex-client-monitoring, apex-client-deployment, apex-client-editor - true - jar - zip - provided - - - - - - - org.apache.maven.plugins - maven-shade-plugin - - - package - - shade - - - - - ${project.artifactId}-uber-${project.version} - true - full - - - *:* - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - reference.conf - - - log4j.properties - - - org.onap.policy.apex.client.full.rest.ApexServicesRestMain - - - - - - org.apache.maven.plugins - maven-war-plugin - - ui - target/classes/webapp - src/main/resources/webapp/WEB-INF/web.xml - - - - prepare-package - - war - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.0.0 - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.directory}/${project.artifactId}-${project.version}-ui.war - war - - - ${project.build.directory}/${project.artifactId}-uber-${project.version}.jar - uber.jar - - - - - - - - - - - - only-eclipse - - - m2e.version - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [2.0,) - - unpack-dependencies - - - - - - - - - - - - - - - - diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRest.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRest.java deleted file mode 100644 index 41890e70f..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRest.java +++ /dev/null @@ -1,87 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * Modifications Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import org.glassfish.grizzly.http.server.HttpServer; -import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; -import org.glassfish.jersey.media.multipart.MultiPartFeature; -import org.glassfish.jersey.server.ResourceConfig; -import org.onap.policy.common.utils.validation.Assertions; -import org.slf4j.ext.XLogger; -import org.slf4j.ext.XLoggerFactory; - -/** - * This class is used to launch the services. It creates a Grizzly embedded web server and runs the - * services. - */ -public class ApexServicesRest { - // Logger for this class - private static final XLogger logger = XLoggerFactory.getXLogger(ApexServicesRest.class); - - // The HTTP server exposing JAX-RS resources defined in this application. - private HttpServer server; - - /** - * Starts the HTTP server for the Apex services client on the default base URI and with the - * default REST packages. - */ - public ApexServicesRest() { - this(new ApexServicesRestParameters()); - } - - /** - * Starts the HTTP server for the Apex services client. - * - * @param parameters The Apex parameters to use to start the server - */ - public ApexServicesRest(final ApexServicesRestParameters parameters) { - Assertions.argumentNotNull(parameters, "parameters may not be null"); - - logger.debug("Apex services RESTful client starting . . ."); - - // Create a resource configuration that scans for JAX-RS resources and providers - // in org.onap.policy.apex.client.full.rest package - final ResourceConfig rc = new ResourceConfig().packages(parameters.getRestPackages()); - - // Add MultiPartFeature class for jersey-media-multipart - rc.register(MultiPartFeature.class); - - // create and start a new instance of grizzly http server - // exposing the Jersey application at BASE_URI - server = GrizzlyHttpServerFactory.createHttpServer(parameters.getBaseUri(), rc); - - // Add static content - server.getServerConfiguration().addHttpHandler(new org.glassfish.grizzly.http.server.CLStaticHttpHandler( - ApexServicesRest.class.getClassLoader(), "/webapp/"), parameters.getStaticPath()); - - logger.debug("Apex services RESTful client started"); - } - - /** - * Shut down the web server. - */ - public void shutdown() { - logger.debug("Apex services RESTful client shutting down . . ."); - server.shutdown(); - logger.debug("Apex services RESTful client shut down"); - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestMain.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestMain.java deleted file mode 100644 index 8343189a0..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestMain.java +++ /dev/null @@ -1,212 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * Modifications Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import java.io.PrintStream; -import org.slf4j.ext.XLogger; -import org.slf4j.ext.XLoggerFactory; - -/** - * This class is the main class that is used to launch the Apex editor from the command line. - * - */ -public class ApexServicesRestMain { - // Logger for this class - private static final XLogger LOGGER = XLoggerFactory.getXLogger(ApexServicesRestMain.class); - - // Recurring string constants - private static final String REST_ENDPOINT_PREFIX = "Apex Editor REST endpoint ("; - - /** - * The Enum EditorState holds the current state of the editor. - */ - // Editor state - public enum EditorState { - /** The editor is stopped. */ - STOPPED, - /** The editor is ready to run. */ - READY, - /** The editor is getting ready to run. */ - INITIALIZING, - /** The editor is running. */ - RUNNING - } - - private static final int EDITOR_RNNING_CHECK_TIMEOUT = 1000; - - private EditorState state = EditorState.STOPPED; - - // The Apex editor this class is running - private ApexServicesRest apexServices = null; - - // The parameters for the editor - private ApexServicesRestParameters parameters = null; - - // Output and error streams for messages - private final PrintStream outStream; - - /** - * Constructor, kicks off the editor. - * - * @param args The command line arguments for the editor - * @param outStream The stream for output messages - */ - public ApexServicesRestMain(final String[] args, final PrintStream outStream) { - // Save the streams for output and error - this.outStream = outStream; - - // Editor parameter parsing - final ApexServicesRestParameterParser parser = new ApexServicesRestParameterParser(); - - try { - // Get and check the parameters - parameters = parser.parse(args); - } catch (final ApexServicesRestParameterException e) { - throw new ApexServicesRestParameterException(REST_ENDPOINT_PREFIX + this.toString() + ") parameter error, " - + e.getMessage() + '\n' + parser.getHelp(ApexServicesRestMain.class.getName()), e); - } - - if (parameters.isHelpSet()) { - throw new ApexServicesRestParameterException(parser.getHelp(ApexServicesRestMain.class.getName())); - } - - // Validate the parameters - final String validationMessage = parameters.validate(); - if (validationMessage.length() > 0) { - throw new ApexServicesRestParameterException( - REST_ENDPOINT_PREFIX + this.toString() + ") parameters invalid, " + validationMessage + '\n' - + parser.getHelp(ApexServicesRestMain.class.getName())); - } - - state = EditorState.READY; - } - - /** - * Initialize the Apex editor. - */ - public void init() { - outStream.println(REST_ENDPOINT_PREFIX + this.toString() + ") starting at " + parameters.getBaseUri().toString() - + " . . ."); - - try { - state = EditorState.INITIALIZING; - - // Start the editor - apexServices = new ApexServicesRest(parameters); - - // Add a shutdown hook to shut down the editor when the process is exiting - Runtime.getRuntime().addShutdownHook(new Thread(new ApexServicesRestShutdownHook())); - - state = EditorState.RUNNING; - - if (parameters.getTimeToLive() == ApexServicesRestParameters.INFINITY_TIME_TO_LIVE) { - outStream.println(REST_ENDPOINT_PREFIX + this.toString() + ") started at " - + parameters.getBaseUri().toString()); - } else { - outStream.println(REST_ENDPOINT_PREFIX + this.toString() + ") started"); - } - - // Find out how long is left to wait - long timeRemaining = parameters.getTimeToLive(); - while (timeRemaining == ApexServicesRestParameters.INFINITY_TIME_TO_LIVE || timeRemaining > 0) { - // decrement the time to live in the non-infinity case - if (timeRemaining > 0) { - timeRemaining--; - } - - // Wait for a second - Thread.sleep(EDITOR_RNNING_CHECK_TIMEOUT); - } - } catch (final Exception e) { - String message = REST_ENDPOINT_PREFIX + this.toString() + ") failed at with error: " + e.getMessage(); - outStream.println(message); - LOGGER.warn(message, e); - } finally { - if (apexServices != null) { - apexServices.shutdown(); - apexServices = null; - } - state = EditorState.STOPPED; - } - } - - /** - * Get the editor state. - * - * @return the state - */ - public EditorState getState() { - return state; - } - - /** - * {@inheritDoc}. - */ - @Override - public String toString() { - final StringBuilder ret = new StringBuilder(); - ret.append(this.getClass().getSimpleName()).append(": Config=[").append(parameters).append("], State=") - .append(this.getState()); - return ret.toString(); - } - - /** - * Explicitly shut down the editor. - */ - public void shutdown() { - if (apexServices != null) { - outStream.println(REST_ENDPOINT_PREFIX + this.toString() + ") shutting down"); - apexServices.shutdown(); - } - state = EditorState.STOPPED; - outStream.println(REST_ENDPOINT_PREFIX + this.toString() + ") shut down"); - } - - /** - * This class is a shutdown hook for the Apex editor command. - */ - private class ApexServicesRestShutdownHook implements Runnable { - /** - * {@inheritDoc}. - */ - @Override - public void run() { - if (apexServices != null) { - apexServices.shutdown(); - } - } - } - - /** - * Main method, main entry point for command. - * - * @param args The command line arguments for the editor - */ - public static void main(final String[] args) { - try { - final ApexServicesRestMain editorMain = new ApexServicesRestMain(args, System.out); - editorMain.init(); - } catch (final Exception e) { - LOGGER.error("error starting REST client", e); - } - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterException.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterException.java deleted file mode 100644 index f78de67c6..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterException.java +++ /dev/null @@ -1,49 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -/** - * A run time exception used to report parsing and parameter input errors. - * - * @author Michael Watkins (michael.watkins@ericsson.com) - */ -public class ApexServicesRestParameterException extends IllegalArgumentException { - private static final long serialVersionUID = 6520231162404452427L; - - /** - * Create an ApexServicesRestParameterException with a message. - * - * @param message the message - */ - public ApexServicesRestParameterException(final String message) { - super(message); - } - - /** - * Create an ApexServicesRestParameterException with a message and an exception. - * - * @param message the message - * @param throwable The exception that caused the exception - */ - public ApexServicesRestParameterException(final String message, final Throwable throwable) { - super(message, throwable); - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterParser.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterParser.java deleted file mode 100644 index 6535379f8..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameterParser.java +++ /dev/null @@ -1,115 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import java.io.PrintWriter; -import java.io.StringWriter; -import java.util.Arrays; -import org.apache.commons.cli.CommandLine; -import org.apache.commons.cli.DefaultParser; -import org.apache.commons.cli.HelpFormatter; -import org.apache.commons.cli.Option; -import org.apache.commons.cli.Options; -import org.apache.commons.cli.ParseException; - -/** - * This class reads and handles command line parameters to the Apex RESTful services. - * - * @author Michael Watkins (michael.watkins@ericsson.com) - */ -public class ApexServicesRestParameterParser { - // Apache Commons CLI options - private Options options; - - /** - * Construct the options for the CLI RESTful services. - */ - public ApexServicesRestParameterParser() { - options = new Options(); - options.addOption("h", "help", false, "outputs the usage of this command"); - options.addOption(Option.builder("p").longOpt("port").desc("port to use for the Apex Services REST calls") - .hasArg().argName("PORT").required(false).type(Number.class).build()); - options.addOption(Option.builder("t").longOpt("time-to-live") - .desc("the amount of time in seconds that the server will run for before terminating").hasArg() - .argName("TIME_TO_LIVE").required(false).type(Number.class).build()); - } - - /** - * Parse the command line options. - * - * @param args the arguments - * @return parsed parameters - */ - public ApexServicesRestParameters parse(final String[] args) { - CommandLine commandLine = null; - try { - commandLine = new DefaultParser().parse(options, args); - } catch (final ParseException e) { - throw new ApexServicesRestParameterException( - "invalid command line arguments specified : " + e.getMessage()); - } - - final ApexServicesRestParameters parameters = new ApexServicesRestParameters(); - final String[] remainingArgs = commandLine.getArgs(); - - if (commandLine.getArgs().length > 0) { - throw new ApexServicesRestParameterException( - "too many command line arguments specified : " + Arrays.toString(remainingArgs)); - } - - if (commandLine.hasOption('h')) { - parameters.setHelp(true); - } - try { - if (commandLine.hasOption('p')) { - parameters.setRestPort(((Number) commandLine.getParsedOptionValue("port")).intValue()); - } - } catch (final ParseException e) { - throw new ApexServicesRestParameterException("error parsing argument \"port\" :" + e.getMessage(), e); - } - try { - if (commandLine.hasOption('t')) { - parameters.setTimeToLive(((Number) commandLine.getParsedOptionValue("time-to-live")).longValue()); - } - } catch (final ParseException e) { - throw new ApexServicesRestParameterException("error parsing argument \"time-to-live\" :" + e.getMessage(), - e); - } - - return parameters; - } - - /** - * Get help information. - * - * @param mainClassName the main class name for the help output - * @return help string - */ - public String getHelp(final String mainClassName) { - final StringWriter stringWriter = new StringWriter(); - final PrintWriter stringPrintWriter = new PrintWriter(stringWriter); - - final HelpFormatter helpFormatter = new HelpFormatter(); - helpFormatter.printHelp(stringPrintWriter, 120, mainClassName + " [options...] ", "", options, 0, 0, ""); - - return stringWriter.toString(); - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameters.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameters.java deleted file mode 100644 index f5f9d4c35..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ApexServicesRestParameters.java +++ /dev/null @@ -1,122 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import java.net.URI; - -/** - * This class reads and handles command line parameters to the Apex RESTful services. - * - * @author Michael Watkins (michael.watkins@ericsson.com) - */ -public class ApexServicesRestParameters { - public static final int DEFAULT_REST_PORT = 18989; - public static final int INFINITY_TIME_TO_LIVE = -1; - - // Base URI the HTTP server will listen on - private static final String DEFAULT_SERVER_URI_ROOT = "http://localhost:"; - private static final String DEFAULT_REST_PATH = "/apexservices/"; - private static final String DEFAULT_STATIC_PATH = "/"; - - // Package that will field REST requests - private static final String[] DEFAULT_PACKAGES = new String[] { - "org.onap.policy.apex.client.deployment.rest", - "org.onap.policy.apex.client.editor.rest", - "org.onap.policy.apex.client.monitoring.rest" - }; - - // The services parameters - private boolean helpSet = false; - private int restPort = DEFAULT_REST_PORT; - private long timeToLive = INFINITY_TIME_TO_LIVE; - - /** - * Validate the parameters. - * @return the result of the validation - */ - public String validate() { - String validationMessage = ""; - validationMessage += validatePort(); - validationMessage += validateTimeToLive(); - - return validationMessage; - } - - public URI getBaseUri() { - return URI.create(DEFAULT_SERVER_URI_ROOT + restPort + DEFAULT_REST_PATH); - } - - public String[] getRestPackages() { - return DEFAULT_PACKAGES; - } - - public String getStaticPath() { - return DEFAULT_STATIC_PATH; - } - - private String validatePort() { - if (restPort < 1024 || restPort > 65535) { - return "port must be greater than 1023 and less than 65536\n"; - } else { - return ""; - } - } - - private String validateTimeToLive() { - if (timeToLive < -1) { - return "time to live must be greater than -1 (set to -1 to wait forever)\n"; - } else { - return ""; - } - } - - public boolean isHelpSet() { - return helpSet; - } - - public void setHelp(final boolean helpSet) { - this.helpSet = helpSet; - } - - public int getRestPort() { - return restPort; - } - - public void setRestPort(final int restPort) { - this.restPort = restPort; - } - - public long getTimeToLive() { - return timeToLive; - } - - public void setTimeToLive(final long timeToLive) { - this.timeToLive = timeToLive; - } - - @Override - public String toString() { - final StringBuilder ret = new StringBuilder(); - ret.append(this.getClass().getSimpleName()).append(": URI=").append(this.getBaseUri()).append(", TTL=") - .append(this.getTimeToLive()).append("sec"); - return ret.toString(); - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ParameterCheck.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ParameterCheck.java deleted file mode 100644 index 1fb01c86e..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/ParameterCheck.java +++ /dev/null @@ -1,252 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import java.util.Map; -import org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey; -import org.slf4j.ext.XLogger; -import org.slf4j.ext.XLoggerFactory; - -/** - * The Class ParameterCheck is used to check parameters passed to the servlet. - * - * @author Liam Fallon (liam.fallon@ericsson.com) - */ -public final class ParameterCheck { - private static final XLogger LOGGER = XLoggerFactory.getXLogger(ParameterCheck.class); - - private static final String HOSTNAME_PAR = "hostname"; - private static final String PORT_PAR = "port"; - private static final String AXARTIFACTKEY_PAR = "AxArtifactKey"; - - // Recurring string constants - private static final String PARAMETER = "parameter \""; - private static final String NOT_FOUND = "\" not found"; - - private static final int MAX_PORT = 65535; - - /** - * private constructor to prevent subclassing of this utility class. - */ - private ParameterCheck() { - } - - /** - * The Enum StartStop is used to hold. - * - * @author Liam Fallon (liam.fallon@ericsson.com) - */ - public enum StartStop { - /** Start of an Apex engine has been ordered. */ - START, - /** Stop of an Apex engine has been ordered. */ - STOP - } - - /** - * Gets the host name. - * - * @param parameterMap the parameter map - * @return the host name - */ - public static String getHostName(final Map parameterMap) { - if (parameterMap == null) { - return null; - } - - if (!parameterMap.containsKey(HOSTNAME_PAR)) { - LOGGER.warn(PARAMETER + HOSTNAME_PAR + NOT_FOUND); - return null; - } - - final String[] hostNameValue = parameterMap.get(HOSTNAME_PAR); - - if (hostNameValue == null) { - return null; - } - - if (hostNameValue.length == 0 || hostNameValue[0].trim().length() == 0) { - LOGGER.warn("value of parameter \"" + HOSTNAME_PAR + NOT_FOUND); - return null; - } - - return hostNameValue[0]; - } - - /** - * Gets the port. - * - * @param parameterMap the parameter map - * @return the port - */ - public static int getPort(final Map parameterMap) { - if (parameterMap == null) { - return -1; - } - - if (!parameterMap.containsKey(PORT_PAR)) { - LOGGER.warn(PARAMETER + PORT_PAR + NOT_FOUND); - return -1; - } - - final String[] portValue = parameterMap.get(PORT_PAR); - - if (portValue.length == 0 || portValue[0].trim().length() == 0) { - LOGGER.warn("value of parameter \"" + PORT_PAR + NOT_FOUND); - return -1; - } - - int port = -1; - try { - port = Integer.parseInt(portValue[0]); - } catch (final Exception e) { - LOGGER.warn("value \"{}\"of parameter \"" + PORT_PAR + "\" not a valid integer", portValue[0], e); - return -1; - } - - if (port <= 0 || port > MAX_PORT) { - LOGGER.warn("value \"{}\"of parameter \"" + PORT_PAR + "\" not a valid port between 0 and 65535", - portValue[0]); - return -1; - } - - return port; - } - - /** - * Gets the engine key. - * - * @param parameterMap the parameter map - * @return the engine key - */ - public static AxArtifactKey getEngineKey(final Map parameterMap) { - if (parameterMap == null) { - return null; - } - - String artifactKeyParameter = null; - for (final String parameter : parameterMap.keySet()) { - // Check for an AxArtifactKey parameter - if (parameter.startsWith(AXARTIFACTKEY_PAR)) { - artifactKeyParameter = parameter; - break; - } - } - if (artifactKeyParameter == null) { - LOGGER.warn(PARAMETER + AXARTIFACTKEY_PAR + NOT_FOUND); - return null; - } - - final String[] axArtifactKeyArray = artifactKeyParameter.split("#"); - - if (axArtifactKeyArray.length != 2) { - LOGGER.warn("value \"{}\" of parameter \"" + AXARTIFACTKEY_PAR + "\" not valid", artifactKeyParameter); - return null; - } - - try { - return new AxArtifactKey(axArtifactKeyArray[1]); - } catch (Exception apEx) { - LOGGER.trace("invalid artifact key ID {}", axArtifactKeyArray[1], apEx); - return null; - } - } - - /** - * Gets the start stop. - * - * @param parameterMap the parameter map - * @param engineKey the engine key - * @return the start stop - */ - public static ParameterCheck.StartStop getStartStop(final Map parameterMap, - final AxArtifactKey engineKey) { - if (parameterMap == null || engineKey == null) { - return null; - } - - final String startStopPar = AXARTIFACTKEY_PAR + '#' + engineKey.getId(); - if (!parameterMap.containsKey(startStopPar)) { - LOGGER.warn("parameter \"{}\" not found", startStopPar); - return null; - } - - final String[] startStopValue = parameterMap.get(startStopPar); - - if (startStopValue == null) { - return null; - } - - if (startStopValue.length == 0 || startStopValue[0].trim().length() == 0) { - LOGGER.warn("value of parameter \"{}\" not found", startStopPar); - return null; - } - - ParameterCheck.StartStop startStop; - if ("start".equalsIgnoreCase(startStopValue[0])) { - startStop = ParameterCheck.StartStop.START; - } else if ("stop".equalsIgnoreCase(startStopValue[0])) { - startStop = ParameterCheck.StartStop.STOP; - } else { - LOGGER.warn("value \"{}\" of parameter \"{}\" not \"start\" or \"stop\"", startStopValue[0], startStopPar); - return null; - } - - return startStop; - } - - /** - * Find and return a long value with the given name. - * - * @param parameterMap The parameter map containing the value - * @param longName The name of the long parameter - * @return The long value - */ - public static long getLong(final Map parameterMap, final String longName) { - if (parameterMap == null || longName == null) { - return -1; - } - - if (!parameterMap.containsKey(longName)) { - LOGGER.warn("parameter \"{}\" not found", longName); - return -1; - } - - final String[] longValue = parameterMap.get(longName); - - if (longValue == null) { - return -1; - } - - if (longValue.length == 0 || longValue[0].trim().length() == 0) { - LOGGER.warn("value of parameter \"{}\" not found", longName); - return -1; - } - - try { - return Long.parseLong(longValue[0]); - } catch (final Exception e) { - LOGGER.warn("value \"{}\"of parameter \"{}\" not a valid long", longValue[0], longName, e); - return -1; - } - } -} diff --git a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/package-info.java b/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/package-info.java deleted file mode 100644 index de6130363..000000000 --- a/client/client-full/src/main/java/org/onap/policy/apex/client/full/rest/package-info.java +++ /dev/null @@ -1,27 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -/** - * Implements the RESTful client with full functionality. - * - * @author Liam Fallon (liam.fallon@ericsson.com) - */ - -package org.onap.policy.apex.client.full.rest; diff --git a/client/client-full/src/main/resources/webapp/WEB-INF/web.xml b/client/client-full/src/main/resources/webapp/WEB-INF/web.xml deleted file mode 100644 index b0507cf26..000000000 --- a/client/client-full/src/main/resources/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - apex-services.rest - org.glassfish.jersey.servlet.ServletContainer - - jersey.config.server.provider.packages - org.onap.policy.apex.client - - - jersey.config.server.provider.classnames - org.glassfish.jersey.media.multipart.MultiPartFeature - - 1 - - - apex-services.rest - /apexservices/* - - - \ No newline at end of file diff --git a/client/client-full/src/main/resources/webapp/css/interfaceAssets.css b/client/client-full/src/main/resources/webapp/css/interfaceAssets.css deleted file mode 100644 index af56e816a..000000000 --- a/client/client-full/src/main/resources/webapp/css/interfaceAssets.css +++ /dev/null @@ -1,3454 +0,0 @@ -/* - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -@charset "utf-8"; - -html { - position: relative; - font-family: Arial, Helvetica, sans-serif; - font-size: 10px !important; - line-height: 10px !important; - margin: 0; - padding: 0; - width: 100%; - height: 100%; -} - -body { - font-size: 1.6rem; - line-height: 1.2rem; - color: #333333; - background-color: #ffffff; - margin: 0; - padding: 0; -} - -*:focus, .ebInput:focus, .ebIcon:focus, .ebCheckbox:focus+.ebCheckbox-inputStatus:after, - .ebRadioBtn:focus+.ebRadioBtn-inputStatus:after, textarea:focus, button:focus, - i:focus { - /** - * FF outline do not looks same as Chrome so adding box shadow - * FF outline is not working as expected - **/ - /* - * one way of outline - outline: #4d90fe auto 5px; - box-shadow: 0 0 0 1px #4d90fe; - -webkit-box-shadow: none; - */ - outline: none; // - box-shadow: 0 0 2px 1px #FFFFFF; -} - -h1, h2, h3, h4, h5, h6 { - color: #4d4d4d; - font-weight: bold; -} - -h1 { - line-height: 3.2rem; - font-size: 3.2rem; - font-weight: normal; - padding: 0.6rem 0; - margin: 0 0 0.6rem 0; -} - -h2 { - border-bottom: #000000 solid 1px; - line-height: 2.0rem; - font-size: 2.0rem; - font-weight: normal; - padding: 1.2rem 0 0.7rem 0; - margin: 0 0 0.4rem 0; -} - -h3 { - border-bottom: #7f7f7f solid 1px; - line-height: 1.6rem; - font-size: 1.6rem; - padding: 1.2rem 0 0.7rem 0; - margin: 0 0 0.4rem 0; - font-weight: normal; - color: #333333; -} - -h4 { - border-bottom: #b2b2b2 solid 1px; - line-height: 1.2rem; - font-size: 1.2rem; - padding: 0.6rem 0; - margin: 0 0 0.6rem 0; - font-weight: bold; - color: #333333; -} - -.ebLayout-SectionSubheading h3 { - float: left; - margin: 0; - border-bottom: none; -} - -/* System Bar */ -.ebSystemBar { - position: relative; - width: 100%; - height: 40px; - border-top: 4px solid #0066b3; - background-image: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%); - box-shadow: 0 1px 2px #D2D2D2; -} - -.ebSystemBar::before { - position: absolute; - top: -4px; - left: 0; - width: 100%; - height: 4px; - content: ""; - font-size: 0; - background: #0066b3; - background: -o-linear-gradient(left, #a2c517 10%, #009046 30%, #0082b6 50%, #151f77 - 75%, #db0050 100%); - background: -moz-linear-gradient(left, #a2c517 10%, #009046 30%, #0082b6 50%, - #151f77 75%, #db0050 100%); - background: -webkit-linear-gradient(left, #a2c517 10%, #009046 30%, #0082b6 50%, - #151f77 75%, #db0050 100%); - background: -ms-linear-gradient(left, #a2c517 10%, #009046 30%, #0082b6 50%, #151f77 - 75%, #db0050 100%); - background: -webkit-gradient(linear, left top, right top, color-stop(0.1, #a2c517), - color-stop(0.3, #009046), color-stop(0.5, #0082b6), - color-stop(0.75, #151f77), color-stop(1, #db0050)); - background: linear-gradient(left, #a2c517 10%, #009046 30%, #0082b6 50%, #151f77 75% - , #db0050 100%); -} - -.ebSystemBar-logo { - position: absolute; - top: 0; - bottom: 0; - left: 0; - height: 40px; - width: 20px; - padding: 0 10px; - background: url('../resources/systemBar/econ01.svg') no-repeat center - center transparent; - background-size: 20px; -} - -.ebSystemBar-topMenuName { - display: inline-block; - padding: 0 5px 0 40px; - margin: 0; - line-height: 40px; - font-size: 16.8px; - color: #58585A; -} - -.ebSystemBar-topMenu { - position: absolute; - top: 0; - bottom: 0; - left: 50px; - list-style: none; - height: 40px; - margin: 0; - padding: 0; -} - -.ebSystemBar-topMenu li { - display: inline-block; -} - -.ebSystemBar-topMenu a { - padding: 0 5px 0 15px; - margin: 0; - font-size: 1.6em; - line-height: 40px; - color: #58585a; - cursor: pointer; - text-decoration: none; -} - -.ebSystemBar-topMenu a:hover { - color: #0066B3; -} - -.ebSystemBar-rightButton { - float: right; - display: inline-block; - line-height: 40px; - vertical-align: middle; -} - -.ebSystemBar-rightButton a { - display: block; - padding: 0 18px 0 18px; - font-size: 1.3rem; - color: #0066B3; - background-color: transparent; - background-repeat: no-repeat; - background-position: 18px center; - border-left: solid 1px #D2D2D2; -} - -.ebSystemBar-rightButton a:hover { - text-decoration: underline; -} - -.ebSystemBar-rightButton:hover { - background-image: linear-gradient(180deg, #f2f2f2 0%, #e8e8e8 100%); -} - -@media screen and (max-width: 640px) { - .ebSystemBar-topBar-rightButton a { - width: 0; - padding-left: 34px; - text-indent: -9999px; - } -} - -/* Inline Message */ -.ebInlineMessage { - padding: 5px 15px 0px 7px; - font-size: 0; - position: fixed; - bottom: 0; - left: 2; - width: calc(100% - 30px); - height: 66px; - border: 3px solid #adadad; - background-color: #FFFFFF; -} - -.ebInlineMessage-iconHolder, .ebInlineMessage-contentHolder { - display: inline-block; - vertical-align: top; -} - -.ebInlineMessage-iconHolder { - width: 20px; - margin: 0 12px 0 0; -} - -.ebInlineMessage-contentHolder { - width: calc(100% - 32px); - font-size: 1.2rem; -} - -.ebInlineMessage-header { - margin-top: 3px; - font-size: 14px; - line-height: 14px; -} - -.ebInlineMessage-separator { - height: 1px; - margin: 12px 0; - background-color: #adadad; - opacity: 0.3; -} - -.ebInlineMessage-description { - color: #666666; - white-space: pre; -} - -/* Table */ -.ebTable { - margin: 0; - padding: 0; - table-layout: fixed; - border-left: 1px solid #cccccc; // - ewatkmi: added for visible border; - border-right: 1px solid #cccccc; // - ewatkmi: added for visible border; - border-bottom: 1px solid #cccccc; // - ewatkmi: added for visible border; - border-collapse: collapse; - border-spacing: 0; - color: #1a1a1a; -} - -.ebTable_fullW { - width: 100%; -} - -.ebTable-th_resizable, .ebTable-th_sortable { - position: relative; -} - -.ebTable-th_resizable .ebTable-headerResize { - position: absolute; - top: -20px; - bottom: -20px; - right: -12px; - width: 10px; - cursor: col-resize; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -.ebTable-th_sortable { - cursor: pointer !important; -} - -.ebTable-th_sortable .ebTable-header { - display: flex; - flex-wrap: nowrap; - flex-direction: row; - align-items: center; -} - -.ebTable-th_sortable .ebTable-headerText { - flex-shrink: 1; - flex-grow: 0; - margin-right: 8px; - box-sizing: border-box; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -.ebTable-th_sortable .ebTable-headerSort { - flex-grow: 0; - flex-shrink: 0; - flex-basis: 10px; - margin-left: 4px; -} - -.ebTable-th_sortable .ebTable-headerSortOrder { - flex-grow: 1; - color: #999999; - font-weight: normal; -} - -.ebTable-header { - position: relative; - display: block; - width: 100%; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.ebTable-headerText { - padding: 4px 0; - display: inline-block; - vertical-align: middle; - width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -.ebTable thead tr { - height: 3.2rem; - font-size: 1.2rem; - font-weight: bold; - text-align: left; -} - -.ebTable thead tr th { - padding-left: 1.2rem; - padding-right: 1.2rem; - text-align: left; - cursor: default; - border-top: #cccccc solid 1px; - border-bottom: #cccccc solid 1px; - border-right: #e6e6e6 solid 1px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.ebTable thead tr th:last-child { - border-right: none; -} - -.ebTable thead tr:hover { - background: none; -} - -.ebTable thead tr:active { - background: none; -} - -.ebTable tbody tr { - height: 3.2rem; - font-size: 1.2rem; - border-bottom: #e6e6e6 solid 1px; -} - -.ebTable tbody tr td { - margin: 0; - padding: 0 1.2rem; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - cursor: default; - border-right: #e6e6e6 solid 1px; -} - -.ebTable tbody tr td:last-child { - border-right: none; -} - -.ebTable_striped tbody tr { - border-bottom: none; -} - -.ebTable_striped tbody tr td { - border-right: none; -} - -.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #f2f2f2; -} - -.ebTable_striped tbody tr:nth-of-type(odd) { // - ewatkmi: added for nested tables; - background-color: #ffffff; -} - -.ebTable_compact tbody tr { - height: 2.6rem; -} - -.ebTable_expandableStriped { - border-collapse: separate; -} - -.ebTable_expandableStriped tbody tr { - border-bottom: none; -} - -.ebTable_expandableStriped tbody tr td { - border-right: none; -} - -.ebTable_expandableStriped tbody tr:nth-of-type(4n-1), - .ebTable_expandableStriped tbody tr:nth-of-type(4n) { - background-color: #f2f2f2; -} - -.ebTable_pinstripe tr td { - border-bottom: #e6e6e6 solid 1px; -} - -.ebTable_color_paleBlue.ebTable thead tr th { - background-color: #99ddee; - border-top: none; - border-bottom: none; -} - -.ebTable_color_paleBlue.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #e6f6fb; -} - -.ebTable_color_purple.ebTable thead tr th { - background-color: #ca9bc1; - border-top: none; - border-bottom: none; -} - -.ebTable_color_purple.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #f2e6ef; -} - -.ebTable_color_darkGreen.ebTable thead tr th { - background-color: #99c0bf; - border-top: none; - border-bottom: none; -} - -.ebTable_color_darkGreen.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #e6efef; -} - -.ebTable_color_green.ebTable thead tr th { - background-color: #d0e3a2; - border-top: none; - border-bottom: none; -} - -.ebTable_color_green.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #f3f8e8; -} - -.ebTable_color_yellow.ebTable thead tr th { - background-color: #fde499; - border-top: none; - border-bottom: none; -} - -.ebTable_color_yellow.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #fff8e6; -} - -.ebTable_color_orange.ebTable thead tr th { - background-color: #f9d099; - border-top: none; - border-bottom: none; -} - -.ebTable_color_orange.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #fef3e6; -} - -.ebTable_color_red.ebTable thead tr th { - background-color: #f4a6a3; - border-top: none; - border-bottom: none; -} - -.ebTable_color_red.ebTable_striped tbody tr:nth-of-type(even) { - background-color: #fce9e8; -} - -.ebTable_borderTop_none thead tr th { - border-top: none; -} - -.ebTable_verticalBorders_none thead tr th, .ebTable_verticalBorders_none tr td - { - border-right: none !important; - border-left: none !important; -} - -.ebTable_wrapHeaders th { - white-space: normal !important; - text-overflow: inherit !important; -} - -.ebTable_wrapHeaders th .ebTable-headerText { - white-space: normal !important; - text-overflow: inherit !important; -} - -.ebTable-expandableRow { - height: inherit !important; - display: none; -} - -.ebTable-expandableRow_expanded { - display: table-row; -} - -.ebTable-expandableRow>td { - padding: 0 !important; -} - -.ebTable-expandableRow>td>div { - overflow: hidden; - height: 0; - transition: height 0.3s ease-in-out; -} -/** - * Hover/Active/Selected Effects - * - * Modifiers: - * .ebTable_hoverActive_none (disables native hover and active selectors, primarily for pin columns plugin) - */ -.ebTable { - /** Hover effect **/ - -} - -.ebTable.ebTable:not (.ebTable_hoverActive_none ) tbody tr:not (.ebTable-expandableRow - ):not (.headerRow ):hover>*, .ebTable tbody tr:not (.ebTable-expandableRow - ):not (.headerRow ).ebTableRow_hover>* { - background-image: linear-gradient(0deg, rgba(0, 102, 179, 0.1), - rgba(0, 102, 179, 0.1)); -} - -.ebTable.ebTable_highlightedEffect_solid tbody tr:not (.ebTable-expandableRow - ).ebTableRow_highlighted>* { - background-color: #ffffff !important; -} - -/* Context Menu */ -.ebContextMenu { - position: relative; - width: 16px; - height: 16px; -} - -.ebContextMenu:focus { - outline: none; -} - -.ebContextMenu-ExpandBtn, .ebContextMenu-expandBtn { - width: 16px; - height: 16px; - position: relative; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -.ebContextMenu-ExpandBtn:focus, .ebContextMenu-expandBtn:focus { - outline: none; -} - -.ebContextMenu-Dropdown, .ebContextMenu-body { - position: absolute; - z-index: 1500; - min-width: 60px; - width: auto; - height: auto; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; - box-shadow: 5px 5px 5px #87888A; -} - -.ebContextMenu-Dropdown_corner_default, - .ebContextMenu-body_corner_default { - position: absolute; - top: 20px; - left: 0px; -} - -.ebContextMenu-Dropdown_corner_topRight, - .ebContextMenu-body_corner_topRight { - position: absolute; - top: 20px; - right: 0px; -} - -.ebContextMenu-Dropdown_corner_bottomLeft, - .ebContextMenu-body_corner_bottomLeft { - position: absolute; - bottom: 20px; - left: 0px; -} - -.ebContextMenu-Dropdown_corner_bottomRight, - .ebContextMenu-body_corner_bottomRight { - position: absolute; - bottom: 20px; - right: 0px; -} - -.ebContextMenu-Dropdown_visible_false, .ebContextMenu-body_visible_false - { - visibility: hidden; -} - -.ebContextMenu-Dropdown_visible_true, .ebContextMenu-body_visible_true { - display: block; -} - -/* Component List */ -.ebComponentList { - position: relative; - z-index: 1500; - padding: 4px 0; - margin: 0; - color: #333333; - list-style: none; - background-color: #ffffff; - border: #bfbfbf solid 1px; - box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); - border-radius: 3px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.ebComponentList-group, .ebComponentList-item { - padding: 0 0.8rem; - line-height: 2.4rem; - font-size: 1.2rem; - background-color: #ffffff; -} - -.ebComponentList-iconHolder { - display: inline-block; - vertical-align: middle; - width: 16px; - padding-right: 8px; -} - -.ebComponentList-item { - cursor: pointer; -} - -.ebComponentList-item-name { - display: inline-block; - font-size: 12px; - text-overflow: ellipsis; - overflow: hidden; - width: calc(100% - 24px); - vertical-align: middle; -} - -.ebComponentList-item_icon { - font-size: 0; -} - -.ebComponentList-link, .ebComponentList-item, .ebComponentList-item>*, - .ebComponentList-group-header { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -.ebComponentList-group { - display: block; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-group-header, - .ebComponentList-group_expandable_expanded>.ebComponentList-group-header - { - font-size: 0; - cursor: pointer; - white-space: nowrap; - height: 24px; - vertical-align: middle; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-group-header .ebComponentList-iconHolder+.ebComponentList-group-name, - .ebComponentList-group_expandable_expanded>.ebComponentList-group-header .ebComponentList-iconHolder+.ebComponentList-group-name - { - width: calc(100% - 40px); -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-inner, - .ebComponentList-group_expandable_expanded>.ebComponentList-inner { - padding: 0 0 0 24px; - margin: 0 -0.8rem; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-group-header - { - border: none; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-inner .ebComponentList-item - { - overflow: hidden; - padding: 0; - margin: 0; - height: 0; - opacity: 0; - transition: height 0.2s linear, padding 0.075s 0.075s linear, margin - 0.075s 0.075s linear, opacity 0.075s linear; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-inner .ebComponentList-group_expandable_collapsed .ebComponentList-group-header, - .ebComponentList-group_expandable_collapsed>.ebComponentList-inner .ebComponentList-group_expandable_expanded .ebComponentList-group-header - { - overflow: hidden; - padding: 0; - margin: 0; - height: 0; - opacity: 0; - transition: height 0.2s linear, padding 0.075s 0.075s linear, margin - 0.075s 0.075s linear, opacity 0.075s linear; -} - -.ebComponentList-group_expandable_collapsed>.ebComponentList-inner .ebComponentList-group>.ebComponentList-inner - { - padding: 0; - margin: 0; - transition: padding 0.1s 0.1s linear, margin 0.1s 0.1s linear; -} - -.ebComponentList-group_expandable_expanded>.ebComponentList-group-header - { - border-bottom: 1px solid #999; -} - -.ebComponentList-group_expandable_expanded>.ebComponentList-inner>.ebComponentList-item - { - overflow: hidden; - height: 24px; - transition: height 0.2s linear, padding 0.075s linear, margin 0.075s - linear, opacity 0.15s 0.15s linear; -} - -.ebComponentList-group_expandable_expanded>.ebComponentList-inner>.ebComponentList-group_expandable_expanded>.ebComponentList-group-header, - .ebComponentList-group_expandable_expanded>.ebComponentList-inner>.ebComponentList-group_expandable_collapsed>.ebComponentList-group-header - { - overflow: hidden; - height: 24px; - text-overflow: ellipsis; - transition: height 0.2s linear, padding 0.075s linear, margin 0.075s - linear, opacity 0.15s 0.15s linear; -} - -.ebComponentList-group:not (.ebComponentList-group_expandable_collapsed - ):not (.ebComponentList-group_expandable_expanded ) >.ebComponentList-group-header - { - cursor: default !important; - pointer-events: none !important; - -ms-touch-action: none !important; - touch-action: none !important; - -khtml-user-select: none !important; - -moz-user-select: none !important; - -o-user-select: none !important; - -webkit-user-select: none !important; - user-select: none; -} - -.ebComponentList-group-header { - font-size: 1.2rem; - font-weight: bold; - line-height: 2.4rem; - border-bottom: 1px solid #999; - background-color: #ffffff; -} - -.ebComponentList-group-header_icon { - font-size: 0; -} - -.ebComponentList-group-header_icon>.ebComponentList-group-name { - width: calc(100% - 24px); -} - -.ebComponentList-group-name { - display: inline-block; - width: calc(100% - 16px); - font-size: 1.2rem; - line-height: 2.4rem; - font-weight: bold; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - vertical-align: middle; -} - -.ebComponentList-inner { - margin: 0 -0.8rem; - padding: 4px 0 0 0; -} - -.ebComponentList-link { - display: block; -} - -.ebComponentList-link:hover { - text-decoration: none; -} - -.ebComponentList-separator { - height: 1px; - margin: 0.4rem; - background-color: #E6E6E6; -} - -.ebComponentList_focus_forced .ebComponentList-item:hover { - background-color: transparent; -} - -.ebComponentList_focus_forced .ebComponentList-item_focused:hover { - background-color: #e6f0f7; -} - -.ebComponentList:not (.ebComponentList_focus_forced ) .ebComponentList-item:hover - { - background-color: #e6f0f7; -} - -.ebComponentList_focus_forced .ebComponentList-item:active, - .ebComponentList:not (.ebComponentList_focus_forced ) .ebComponentList-item:active - { - background-color: #cce0f0; -} - -.ebComponentList-item { - /* Fixes MultiSelectBox ellipsis bug in Firefox */ - margin: 0px !important; - font-size: 1em !important; -} - -.ebComponentList-item_focused { - background-color: #e6f0f7; -} - -.ebComponentList-item_disabled { - color: #b0b0af; - cursor: not-allowed !important; -} - -.ebComponentList-item_disabled:hover, .ebComponentList-item_disabled:active - { - background-color: inherit !important; -} - -.ebComponentList-item_selected { - position: relative; - cursor: default; -} - -.ebComponentList-item_selected>.ebComponentList-link { - cursor: default; - color: #333333; - cursor: default !important; - pointer-events: none !important; - -ms-touch-action: none !important; - touch-action: none !important; - -khtml-user-select: none !important; - -moz-user-select: none !important; - -o-user-select: none !important; - -webkit-user-select: none !important; - user-select: none; -} - -.ebComponentList-item_selected:before { - position: absolute; - content: ""; - left: 0; - top: 0; - bottom: 0; - width: 100%; - opacity: .2; - background-color: #0967b2; -} - -.ebComponentList-item>.ebComponentList-checkboxHolder>.ebCheckbox { - margin-left: 1px; -} - -.ebComponentList-item>.ebComponentList-checkboxHolder>.ebCheckbox-label - { - padding-left: 3px; - overflow: hidden; - font-size: 12px; - line-height: 2.4rem; - text-overflow: ellipsis; - width: calc(100% - 24px); -} - -.ebComponentList-info { - color: #333333; - font-style: italic; - text-align: center; -} - -.ebComponentList-info:hover { - background-color: #ffffff; -} - -.ebComponentList-info:active { - background-color: #ffffff; -} - -.ebComponentList-info, .ebComponentList-loader { - display: none; - margin: 0.6rem; - cursor: default; -} - -.ebComponentList_info .ebComponentList-group, .ebComponentList_info .ebComponentList-separator, - .ebComponentList_info .ebComponentList-item { - display: none; -} - -.ebComponentList_info .ebComponentList-info { - display: block; -} - -.ebComponentList_loading { - min-height: 34px; -} - -.ebComponentList_loading .ebComponentList-loader { - display: block; -} - -.ebComponentList_loading .ebComponentList-item_selected:before { - display: none; -} - -.ebComponentList_loading>.ebComponentList-group, - .ebComponentList_loading>.ebComponentList-item, - .ebComponentList_loading>.ebComponentList-items>.ebComponentList-group, - .ebComponentList_loading>.ebComponentList-items>.ebComponentList-item { - opacity: 0.4; -} - -/* Scrollbar */ -.eb_scrollbar { - -webkit-overflow-scrolling: touch; - overflow: auto; -} - -.eb_scrollbar::-webkit-scrollbar { - width: 14px; - height: 14px; -} - -.eb_scrollbar::-webkit-scrollbar-track { - background-color: #f0f0f0; - background-clip: content-box; -} - -.eb_scrollbar::-webkit-scrollbar-thumb { - background-color: #cccccc; - border-radius: 3px; - transition: all 0.2s linear; - background-clip: content-box; -} - -.eb_scrollbar::-webkit-scrollbar-thumb:hover { - background-color: #999999; -} - -.eb_scrollbar::-webkit-scrollbar-button { - width: 14px; - height: 14px; - background-repeat: no-repeat; - background-color: #f0f0f0; - background-position: center; -} - -.eb_scrollbar::-webkit-scrollbar-button:hover { - background-color: #cccccc; -} - -.eb_scrollbar::-webkit-scrollbar-button:vertical:decrement { - background-position: center 4px; - background-image: - url("data:image/svg+xml;utf8,"); - border-top-left-radius: 2px; - border-top-right-radius: 2px; -} - -.eb_scrollbar::-webkit-scrollbar-button:vertical:increment { - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; -} - -.eb_scrollbar::-webkit-scrollbar-button:horizontal:decrement { - background-position: 4px center; - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-left-radius: 2px; - border-top-left-radius: 2px; -} - -.eb_scrollbar::-webkit-scrollbar-button:horizontal:increment { - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-right-radius: 2px; - border-top-right-radius: 2px; -} - -/* Input */ -.ebInput { - display: inline-block; - vertical-align: middle; - text-align: left; - font-size: 1.2rem; - width: 140px; - height: 2.4rem; - padding: 0.4rem 0.6rem; - border: 1px solid #b3b3b3; - -moz-box-sizing: border-box; - box-sizing: border-box; - border-radius: 3px; - box-shadow: inset 1px 1px 0 0 #cccccc; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; -} - -.ebInput_wMargin { - margin: 6px; -} - -.ebInput_txtCenter { - text-align: center; -} - -.ebInput_miniW, .ebInput_width_mini { - width: 40px; -} - -.ebInput_smallW, .ebInput_width_small { - width: 80px; -} - -.ebInput_longW, .ebInput_width_long { - width: 180px; -} - -.ebInput_xLongW, .ebInput_width_xLong { - width: 220px; -} - -.ebInput_width_full { - min-width: 40px; - width: 100%; -} - -.ebInput_noRightSide { - border-width: 1px 0 1px 1px; - border-radius: 3px 0 0 3px; -} - -.ebInput_noLeftSide { - border-width: 1px 1px 1px 0; - border-radius: 0 3px 3px 0; - box-shadow: inset 0 1px 0 0 #cccccc; -} - -.ebInput:hover { - border-color: #666666; -} - -.ebInput[readonly] { - cursor: text; // - box-shadow: none; - border-color: #E3E3E3; - background-color: #f0f0f0; - color: #b2b2b2; -} - -.ebInput[readonly]:hover { // - border-color: #E3E3E3; -} - -.ebInput_disabled, .ebInput:disabled { - color: #B2B2B2; - border-color: #B2B2B2; - background-color: rgba(0, 0, 0, 0.05); - -webkit-text-fill-color: #b2b2b2; - opacity: 1; - -ms-touch-action: none !important; - touch-action: none !important; - box-shadow: inset 1px 1px 0 0 #cccccc; -} - -.ebInput_borderColor { - border-color: #b3b3b3; -} - -.ebInput_borderColor_red { - border-color: #e32119; -} - -.ebInput_status_none { - border-color: #b3b3b3; -} - -.ebInput_status_warning { - border-color: #f08a00; -} - -.ebInput_status_error { - border-color: #e32119; -} - -.ebInput.eb_wMargin+.ebInput-status { - margin: -0.2rem 0.8rem 0 0.6rem; -} - -.ebInput-status { - display: block; - margin: 0.4rem 0 0 0; - line-height: 1.2rem; - min-height: 1.8rem; - font-size: 1.2rem; - font-weight: normal; -} - -.ebInput-statusOk, .ebInput-statusError { - vertical-align: middle; -} - -.ebInput-statusOk:before, .ebInput-statusError:before { - display: inline-block; - vertical-align: middle; - margin: 0 0.6rem 0 0; - width: 1.2rem; - height: 1.2rem; - content: ''; - background-repeat: no-repeat; -} - -.ebInput-statusInfo { - vertical-align: middle; - color: #8d8d8d; -} - -.ebInput-statusOk { - color: #89ba17; - display: none; -} - -.ebInput-statusOk:before { - background-image: url('../resources/form/valid_icon.svg'); -} - -.ebInput-statusError { - color: #e32119; - display: none; -} - -.ebInput-statusError:before { - background-image: url('../resources/form/invalid_icon.svg'); -} - -.ebInput-status_none { - display: none; -} - -.ebInput-status_hide .ebInput-statusOk, .ebInput-status_hide .ebInput-statusError, - .ebInput-status_hide .ebInput-statusInfo { - display: none; -} - -.ebInput-status_info .ebInput-statusInfo { - display: inline-block; -} - -.ebInput-status_info .ebInput-statusOk, .ebInput-status_info .ebInput-statusError - { - display: none; -} - -.ebInput-status_ok .ebInput-statusOk { - display: inline-block; -} - -.ebInput-status_ok .ebInput-statusError, .ebInput-status_ok .ebInput-statusInfo - { - display: none; -} - -.ebInput-status_error .ebInput-statusError { - display: inline-block; -} - -.ebInput-status_error .ebInput-statusOk, .ebInput-status_error .ebInput-statusInfo - { - display: none; -} - -.ebInput:not (.ebInput_validation_focusLost ):valid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusOk { - display: inline-block; -} - -.ebInput:not (.ebInput_validation_focusLost ):invalid:not (.ebInput_borderColor - ):not (.ebInput_status_warning ):not (.ebInput_status_none ) { - border-color: #e32119; -} - -.ebInput:not (.ebInput_validation_focusLost ):invalid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusError { - display: inline-block; -} - -.ebInput:not (.ebInput_validation_focusLost ):invalid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusInfo { - display: none; -} - -.ebInput.ebInput_validation_focusLost:not (:focus ):valid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusOk { - display: inline-block; -} - -.ebInput.ebInput_validation_focusLost:not (:focus ):invalid:not (.ebInput_borderColor - ):not (.ebInput_status_warning ):not (.ebInput_status_none ) { - border-color: #e32119; -} - -.ebInput.ebInput_validation_focusLost:not (:focus ):invalid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusError { - display: inline-block; -} - -.ebInput.ebInput_validation_focusLost:not (:focus ):invalid+.ebInput-status:not - (.ebInput-status_hide ):not (.ebInput-status_info ):not (.ebInput-status_ok - ):not (.ebInput-status_error ) .ebInput-statusInfo { - display: none; -} - -/* Textarea */ -.ebTextArea { - -webkit-overflow-scrolling: touch; - overflow: auto; - display: inline-block; - vertical-align: middle; - text-align: left; - font-size: 1.2rem; - width: 140px; - padding: 0.4rem 0.6rem; - margin: 0; - border: 1px solid #b3b3b3; - font-family: arial; - -moz-box-sizing: border-box; - box-sizing: border-box; - border-radius: 3px; - box-shadow: inset 1px 1px 0 0 #cccccc; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; -} - -.ebTextArea::-webkit-scrollbar { - width: 14px; - height: 14px; -} - -.ebTextArea::-webkit-scrollbar-track { - background-color: #f0f0f0; - background-clip: content-box; -} - -.ebTextArea::-webkit-scrollbar-thumb { - background-color: #cccccc; - border-radius: 3px; - transition: all 0.2s linear; - background-clip: content-box; -} - -.ebTextArea::-webkit-scrollbar-thumb:hover { - background-color: #999999; -} - -.ebTextArea::-webkit-scrollbar-button { - width: 14px; - height: 14px; - background-repeat: no-repeat; - background-color: #f0f0f0; - background-position: center; -} - -.ebTextArea::-webkit-scrollbar-button:hover { - background-color: #cccccc; -} - -.ebTextArea::-webkit-scrollbar-button:vertical:decrement { - background-position: center 4px; - background-image: - url("data:image/svg+xml;utf8,"); - border-top-left-radius: 2px; - border-top-right-radius: 2px; -} - -.ebTextArea::-webkit-scrollbar-button:vertical:increment { - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; -} - -.ebTextArea::-webkit-scrollbar-button:horizontal:decrement { - background-position: 4px center; - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-left-radius: 2px; - border-top-left-radius: 2px; -} - -.ebTextArea::-webkit-scrollbar-button:horizontal:increment { - background-image: - url("data:image/svg+xml;utf8,"); - border-bottom-right-radius: 2px; - border-top-right-radius: 2px; -} - -.ebTextArea_noMargin { - margin: 0; -} - -.ebTextArea_txtCenter { - text-align: center; -} - -.ebTextArea_miniW, .ebTextArea_width_mini { - width: 40px; -} - -.ebTextArea_smallW, .ebTextArea_width_small { - width: 80px; -} - -.ebTextArea_longW, .ebTextArea_width_long { - width: 180px; -} - -.ebTextArea_xLongW, .ebTextArea_width_xLong { - width: 220px; -} - -.ebTextArea_width_full { - min-width: 40px; - width: 100%; -} - -.ebTextArea_noRightSide { - border-width: 1px 0 1px 1px; - border-radius: 3px 0 0 3px; -} - -.ebTextArea_noLeftSide { - border-width: 1px 1px 1px 0; - border-radius: 0 3px 3px 0; -} - -.ebTextArea:hover { - border-color: #666666; -} - -.ebTextArea[readonly] { - cursor: text; - border-color: #E3E3E3; - background-color: #f0f0f0; - color: #b2b2b2; -} - -.ebTextArea[readonly]:hover { // - border-color: #E3E3E3; -} - -.ebTextArea_disabled, .ebTextArea:disabled { - color: #B2B2B2; - border-color: #B2B2B2; - background-color: rgba(0, 0, 0, 0.05); - -ms-touch-action: none; - touch-action: none; - -webkit-text-fill-color: #b2b2b2; - opacity: 1; - box-shadow: inset 1px 1px 0 0 #cccccc; -} - -.ebTextArea_status_none { - border-color: #b3b3b3; -} - -.ebTextArea_status_warning { - border-color: #f08a00; -} - -.ebTextArea_status_error { - border-color: #e32119; -} - -.ebTextArea:invalid:not (.ebTextArea_status_warning ):not (.ebTextArea_status_none - ) { - border-color: #e32119; -} - -/* Button */ -.ebBtn { - position: relative; - display: inline-block; - vertical-align: middle; - color: #333333; - background-color: #ffffff; - border: none; - min-width: 60px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); - border-radius: 3px; - -moz-box-sizing: border-box; - box-sizing: border-box; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.1) 100%); - padding: 0 8px; - height: 2.4rem; - font-size: 1.2rem; - white-space: nowrap; - text-decoration: none; - text-align: center; - cursor: pointer; -} - -a.ebBtn:hover { - color: #333; -} - -a.ebBtn:focus, a.ebBtn:active, a.ebBtn_active { - text-decoration: none; -} - -.ebBtn:focus { - outline: none; - box-shadow: 0 0 2px 1px #4d90fe, 0 0 0 1px rgba(0, 0, 0, 0.2) inset; -} - -.ebBtn_color_blue, .ebBtn_color_darkBlue, .ebBtn_color_paleBlue, - .ebBtn_color_darkGreen, .ebBtn_color_green, .ebBtn_color_orange, - .ebBtn_color_red, .ebBtn_color_purple { - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.3) 100%); - color: #F0F0F0 !important; -} - -.ebBtn_color_blue:hover, .ebBtn_color_darkBlue:hover, - .ebBtn_color_paleBlue:hover, .ebBtn_color_darkGreen:hover, - .ebBtn_color_green:hover, .ebBtn_color_orange:hover, .ebBtn_color_red:hover, - .ebBtn_color_purple:hover { - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.1) 100%); -} - -.ebBtn_color_blue { - background-color: #0966b3; -} - -.ebBtn_color_darkBlue { - background-color: #0066b3; -} - -.ebBtn_color_paleBlue { - background-color: #00A9D4; -} - -.ebBtn_color_darkGreen { - background-color: #00625F; -} - -.ebBtn_color_green { - background-color: #89BA17; -} - -.ebBtn_color_orange { - background-color: #F08A00; -} - -.ebBtn_color_red { - background-color: #E32119; -} - -.ebBtn_color_purple { - background-color: #953882; -} - -.ebBtn_small { - font-size: 1.1rem; - padding: 0 6px; - height: 2rem; -} - -.ebBtn_large { - font-size: 1.4rem; - padding: 0 10px; - height: 3.8rem; -} - -.ebBtn:hover { - text-decoration: none; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.15) 100%); -} - -.ebBtn_active, .ebBtn:active, .ebBtn_active:hover { - text-decoration: none; - box-shadow: inset 2px 2px 2.5px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px - rgba(0, 0, 0, 0.2); - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, - rgba(0, 0, 0, 0.2) 100%); -} - -.ebBtn:disabled, .ebBtn_disabled, .ebBtn:disabled:hover, .ebBtn_disabled:hover, - .ebBtn:disabled:active, .ebBtn_disabled:active { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; - background: rgba(0, 0, 0, 0.1); - color: #8d8d8d !important; -} - -.ebBtn:disabled .ebIcon, .ebBtn_disabled .ebIcon { - opacity: 0.3; -} - -.ebBtn_subtle { - background-image: none; - background-color: transparent; - box-shadow: none; - min-width: auto; -} - -.ebBtn_subtle:hover { - background-image: none; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); -} - -.ebBtn_subtle:focus { - box-shadow: 0 0 2px 1px #4d90fe, 0 0 0 1px rgba(0, 0, 0, 0.2) inset; -} - -.ebBtn_subtle:active, .ebBtn_subtle.ebBtn_subtle_active { - text-decoration: none; - box-shadow: inset 2px 2px 2.5px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px - rgba(0, 0, 0, 0.2); - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, - rgba(0, 0, 0, 0.2) 100%); -} - -.ebBtn_subtle:disabled, .ebBtn_subtle.ebBtn_subtle_disabled, - .ebBtn_subtle:disabled:hover, .ebBtn_subtle.ebBtn_subtle_disabled:hover, - .ebBtn_subtle:disabled:active, .ebBtn_subtle.ebBtn_subtle_disabled:active - { - background-color: transparent; - box-shadow: none; -} - -.ebBtn:active:focus, .ebBtn_active:focus { - box-shadow: inset 2px 2px 2.5px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px - rgba(0, 0, 0, 0.2), 0 0 2px 1px #4d90fe; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, - rgba(0, 0, 0, 0.2) 100%); -} - -/* Combobox */ -.ebCombobox { - position: relative; - display: inline-block; - vertical-align: middle; - white-space: nowrap; - margin: 0; - padding: 0; - height: 2.4rem; -} - -.ebCombobox_width_full { - min-width: 70px; - width: 100%; -} - -.ebCombobox_width_full .ebInput { - width: calc(100% - 30px); -} - -.ebCombobox-list, .ebCombobox-body { - position: absolute; - margin-top: 6px; - display: none; - width: 100%; -} - -.ebCombobox-list_rightAlign, .ebCombobox-body_rightAlign { - right: 0; -} - -.ebCombobox-Helper, .ebCombobox-helper { - position: relative; - display: inline-block; - vertical-align: middle; - width: 30px; - /*height: 100%; ewwatkmi: replaced with 2.4rem below*/ - height: 2.4rem; - cursor: pointer; - border: 1px solid #999999; - background-color: #ffffff; - -moz-box-sizing: border-box; - box-sizing: border-box; - border-radius: 0 3px 3px 0; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.1) 100%); -} - -.ebCombobox-Helper:hover, .ebCombobox-helper:hover { - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.15) 100%); -} - -.ebCombobox-Helper:active, .ebCombobox-helper:active { - box-shadow: inset 2px 2px 3px 0 rgba(0, 0, 0, 0.35); - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, - rgba(0, 0, 0, 0.2) 100%); -} - -.ebCombobox-Helper:disabled, .ebCombobox-helper:disabled { - border-color: #b2b2b2; -} - -.ebCombobox-Helper:disabled, .ebCombobox-helper:disabled, - .ebCombobox-Helper:disabled:hover, .ebCombobox-helper:disabled:hover, - .ebCombobox-Helper:disabled:active, .ebCombobox-helper:disabled:active - { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; - background: #e5e5e5; - color: #B2B2B2; - cursor: not-allowed; - box-shadow: none; -} - -.ebCombobox-Helper .ebCombobox-iconHolder, .ebCombobox-helper .ebCombobox-iconHolder - { - display: inline-block; - opacity: 0.7; - cursor: pointer; - line-height: 2.2rem; -} - -.ebCombobox-Helper .ebCombobox-iconHolder .ebIcon, .ebCombobox-helper .ebCombobox-iconHolder .ebIcon - { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - margin: auto; -} - -.ebCombobox:hover>.ebCombobox-Helper, .ebCombobox:hover>.ebCombobox-helper - { - border-color: #666666; -} - -.ebCombobox - -.ebInput -:focus - -~ -.ebCombobox-list -, /*.ebCombobox .ebInput:focus ~ .ebCombobox-body,*/ -.ebCombobox -:active -> -.ebCombobox-list -, /*.ebCombobox:active > .ebCombobox-body*/ -{ -display -: - -block -; - - -} -.ebCombobox>.ebCombobox-list, .ebCombobox>.ebCombobox-body { - display: none; -} - -.ebCombobox_noMargin { - margin: 0; -} - -.ebCombobox_disabled, .ebCombobox_disabled *:hover { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; -} - -.ebCombobox_disabled .ebCombobox-iconHolder, .ebCombobox_disabled .ebCombobox-iconHolder:hover, - .ebCombobox_disabled .ebCombobox-iconHolder:active { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; - opacity: 0.3; -} - -.ebCombobox_disabled:hover>.ebCombobox-Helper, .ebCombobox_disabled:hover>.ebCombobox-helper - { - border-color: #b2b2b2; -} - -.ebCombobox_disabled:active>.ebCombobox-list, .ebCombobox_disabled:active>.ebCombobox-body - { - display: none; -} - -.ebCombobox_disabled .ebInput:focus ~ .ebCombobox-list, - .ebCombobox_disabled .ebInput:focus ~ .ebCombobox-body { - display: none; -} - -.ebCombobox_status_warning .ebInput { - border-color: #f08a00; -} - -.ebCombobox_status_error .ebInput { - border-color: #e32119; -} - -/* Switcher */ -.ebSwitcher { - position: relative; - height: 24px; - width: 84px; - display: block; - overflow: hidden; - cursor: pointer; - border: 1px solid #ccc; - border-radius: 3px; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -.ebSwitcher-checkbox { - display: none; -} - -.ebSwitcher-body { - position: relative; - font-size: 0; - white-space: nowrap; - top: 0; - left: 0; - width: 100%; - height: 100%; - transition: left 0.2s linear; -} - -.ebSwitcher-onLabel, .ebSwitcher-switch, .ebSwitcher-offLabel { - display: inline-block; - vertical-align: top; - overflow: hidden; - height: 100%; -} - -.ebSwitcher-onLabel, .ebSwitcher-offLabel { - width: calc(100% - 24px); - line-height: 2.4rem; - color: white; - text-align: center; - font-size: 1.2rem; -} - -.ebSwitcher-onLabel { - background-color: red; -} - -.ebSwitcher-onLabel2 { - background-color: #89ba17; -} - -.ebSwitcher-offLabel { - background-color: #89ba17; -} - -.ebSwitcher-offLabel2 { - background-color: red; -} - -.ebSwitcher-switch { - height: 24px; - width: 24px; - transition: left 0.2s; -} - -.ebSwitcher-switch::after { - content: ""; - position: absolute; - margin: -1px; - width: 24px; - height: 24px; - display: inline-block; - background: #ffffff; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.1) 100%); - border-radius: 3px; - border: 1px solid rgba(0, 0, 0, 0.2); -} - -.ebSwitcher-checkbox:not (:checked ) +.ebSwitcher-body { - left: calc(-100% + 24px); -} - -.ebSwitcher:focus { - /* - outline: #4d90fe auto 5px; - box-shadow: 0 0 0 1px #4d90fe; - -webkit-box-shadow: none; - */ - outline: none; - box-shadow: 0 0 2px 1px #4d90fe; -} - -.ebSwitcher_status_warning { - border-color: #f08a00; -} - -.ebSwitcher_status_error { - border-color: #e32119; -} - -.ebSwitcher_disabled { - cursor: not-allowed; -} - -.ebSwitcher_disabled .ebSwitcher-onLabel, .ebSwitcher_disabled .ebSwitcher-offLabel, - .ebSwitcher_disabled .ebSwitcher-switch::after { - background-color: #e5e5e5; - background-image: none; - color: #8d8d8d; -} - -/* Dropdown */ -.ebDropdown { - position: relative; - display: inline-block; - height: 2.4rem; - padding: 0; - margin: 0; -} - -.ebDropdown-list, .ebDropdown-body { - position: absolute; - margin-top: 6px; - display: none; - min-width: 100%; -} - -.ebDropdown-list_rightAlign, .ebDropdown-body_rightAlign { - right: 0; -} - -.ebDropdown-Header, .ebDropdown-header { - position: relative; - display: inline-block; - vertical-align: middle; - height: 100%; - min-width: 60px; - margin: 0; - padding: 6px 8px; - line-height: 1.2rem; - font-size: 1.2rem; - text-align: left; - text-decoration: none; - white-space: nowrap; - color: #333333; - background-color: #ffffff; - border: none; - cursor: pointer; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); - border-radius: 3px; - -moz-box-sizing: border-box; - box-sizing: border-box; - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.1) 100%); -} - -.ebDropdown-Header:hover, .ebDropdown-header:hover { - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 0.15) 100%); -} - -.ebDropdown-Header:active, .ebDropdown-header:active { - box-shadow: inset 2px 2px 2.5px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px - rgba(0, 0, 0, 0.2); - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, - rgba(0, 0, 0, 0.2) 100%); -} - -.ebDropdown-Header .ebDropdown-caption, .ebDropdown-header .ebDropdown-caption - { - display: inline-block; - padding: 0 4px 0 0; - vertical-align: middle; - min-width: 27px; -} - -.ebDropdown-Header .ebDropdown-iconHolder, .ebDropdown-header .ebDropdown-iconHolder - { - display: inline-block; - cursor: pointer; - opacity: 0.7; -} - -.ebDropdown .ebDropdown-Header:focus+.ebDropdown-list, .ebDropdown .ebDropdown-header:focus+.ebDropdown-body, - .ebDropdown .ebDropdown-Header:active+.ebDropdown-list, .ebDropdown .ebDropdown-header:active+.ebDropdown-body, - .ebDropdown:focus>.ebDropdown-list, .ebDropdown:focus>.ebDropdown-body, - .ebDropdown:active>.ebDropdown-list, .ebDropdown:active>.ebDropdown-body - { - display: block; -} - -.ebDropdown_disabled .ebDropdown-Header, .ebDropdown_disabled .ebDropdown-header - { - background: rgba(0, 0, 0, 0.1); - color: #B2B2B2; -} - -.ebDropdown_disabled .ebDropdown-Header, .ebDropdown_disabled .ebDropdown-header, - .ebDropdown_disabled .ebDropdown-Header:hover, .ebDropdown_disabled .ebDropdown-header:hover, - .ebDropdown_disabled .ebDropdown-Header:active, .ebDropdown_disabled .ebDropdown-header:active - { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; -} - -.ebDropdown_disabled .ebDropdown-Header:hover, .ebDropdown_disabled .ebDropdown-header:hover, - .ebDropdown_disabled .ebDropdown-Header:active, .ebDropdown_disabled .ebDropdown-header:active - { - background: rgba(0, 0, 0, 0.1); - color: #B2B2B2; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); -} - -.ebDropdown_disabled .ebDropdown-Header .ebDropdown-iconHolder, - .ebDropdown_disabled .ebDropdown-header .ebDropdown-iconHolder, - .ebDropdown_disabled .ebDropdown-Header .ebDropdown-iconHolder:hover, - .ebDropdown_disabled .ebDropdown-header .ebDropdown-iconHolder:hover, - .ebDropdown_disabled .ebDropdown-Header .ebDropdown-iconHolder:active, - .ebDropdown_disabled .ebDropdown-header .ebDropdown-iconHolder:active { - -ms-touch-action: none !important; - cursor: not-allowed !important; - touch-action: none !important; - opacity: 0.3; -} - -.ebDropdown_disabled .ebDropdown-Header:focus+.ebDropdown-list, - .ebDropdown_disabled .ebDropdown-header:focus+.ebDropdown-body, - .ebDropdown_disabled .ebDropdown-Header:active+.ebDropdown-list, - .ebDropdown_disabled .ebDropdown-header:active+.ebDropdown-body, - .ebDropdown_disabled:focus>.ebDropdown-list, .ebDropdown_disabled:focus>.ebDropdown-body, - .ebDropdown_disabled:active>.ebDropdown-list, .ebDropdown_disabled:active>.ebDropdown-body - { - display: none; -} - -/* Icons */ -.ebIcon { - display: inline-block; - vertical-align: middle; - border: none; - height: 16px; - width: 16px; - line-height: 1.6rem; - background-repeat: no-repeat; - background-position: center; - background-color: transparent; - background-size: 100%; - -khtml-user-select: none; - -moz-user-select: none; - -o-user-select: none; - -webkit-user-select: none; - user-select: none; - /*small icons */ - /*16px icons*/ -} - -.ebIcon_interactive { - opacity: 0.7; - cursor: pointer; -} - -.ebIcon_interactive:hover { - opacity: 1.0; -} - -.ebIcon_interactive:active { - opacity: 0.4; -} - -.ebIcon_button { - margin: 10px; -} - -.ebIcon_noVertAlign { - vertical-align: inherit; -} - -.ebIcon_disabled { - cursor: default; -} - -.ebIcon_disabled, .ebIcon_disabled:hover, .ebIcon_disabled:active { - opacity: 0.3; -} - -.ebIcon_small { - width: 1rem; - height: 1rem; - line-height: 1rem; -} - -.ebIcon_big { - width: 2rem; - height: 2rem; - line-height: 2rem; -} - -.ebIcon_large { - width: 2.8rem; - height: 2.8rem; - line-height: 2.8rem; -} - -.ebIcon_wMargin { - margin: 4px; -} - -.ebIcon_upArrow { - background-image: url('../resources/16px/ArrowUpSmall_black_16px.svg'); -} - -.ebIcon_upArrow_white { - background-image: url('../resources/16px/arrowUpSmall_white_16px.svg'); -} - -.ebIcon_downArrow { - background-image: url('../resources/16px/ArrowDownSmall_black_16px.svg'); -} - -.ebIcon_downArrow_white { - background-image: url('../resources/16px/ArrowDownSmall_white_16px.svg'); -} - -.ebIcon_leftArrow { - background-image: url('../resources/16px/ArrowLeftSmall_black_16px.svg'); -} - -.ebIcon_leftArrow_white { - background-image: url('../resources/16px/ArrowLeftSmall_white_16px.svg'); -} - -.ebIcon_rightArrow { - background-image: - url('../resources/16px/ArrowRightSmall_black_16px.svg'); -} - -.ebIcon_rightArrow_white { - background-image: - url('../resources/16px/ArrowRightSmall_white_16px.svg'); -} - -.ebIcon_prevArrow { - background-image: - url('../resources/16px/ArrowDoubleLeftSmall_black_16px.svg'); -} - -.ebIcon_nextArrow { - background-image: - url('../resources/16px/ArrowDoubleRightSmall_black_16px.svg'); -} - -.ebIcon_upArrow_10px { - background-image: url('../resources/10px/ArrowUpSmall_black_10px.svg'); -} - -.ebIcon_downArrow_10px { - background-image: url('../resources/10px/ArrowDownSmall_black_10px.svg'); -} - -.ebIcon_leftArrow_10px { - background-image: url('../resources/10px/ArrowLeftSmall_black_10px.svg'); -} - -.ebIcon_rightArrow_10px { - background-image: - url('../resources/10px/ArrowRightSmall_black_10px.svg'); -} - -.ebIcon_prevArrow_10px { - background-image: - url('../resources/10px/ArrowDoubleLeftSmall_black_10px.svg'); -} - -.ebIcon_nextArrow_10px { - background-image: - url('../resources/10px/ArrowDoubleRightSmall_black_10px.svg'); -} - -.ebIcon_errorSmall { - background-image: url('../resources/other/errorSmall_red_10px.svg'); -} - -.ebIcon_tickSmallBlack { - background-image: url('../resources/other/tick_black_10x8px.svg'); -} - -.ebIcon_tickSmallGreen { - background-image: url('../resources/other/tick_green_10x8px.svg'); -} - -.ebIcon_upArrowLarge { - background-image: url('../resources/16px/ArrowUp_black_16px.svg'); -} - -.ebIcon_upArrowLarge_white { - background-image: url('../resources/16px/ArrowUp_white_16px.svg'); -} - -.ebIcon_downArrowLarge { - background-image: url('../resources/16px/ArrowDown_black_16px.svg'); -} - -.ebIcon_downArrowLarge_white { - background-image: url('../resources/16px/ArrowDown_white_16px.svg'); -} - -.ebIcon_downArrowLarge_blue { - background-image: url('../resources/16px/ArrowDown_blue_16px.svg'); -} - -.ebIcon_leftArrowLarge { - background-image: url('../resources/16px/ArrowLeft_black_16px.svg'); -} - -.ebIcon_leftArrowLarge_white { - background-image: url('../resources/16px/ArrowLeft_white_16px.svg'); -} - -.ebIcon_rightArrowLarge { - background-image: url('../resources/16px/ArrowRight_black_16px.svg'); -} - -.ebIcon_rightArrowLarge_white { - background-image: url('../resources/16px/ArrowRight_white_16px.svg'); -} - -.ebIcon_circleArrowDown { - background-image: - url('../resources/16px/circleArrowDown_black_16px.svg'); -} - -.ebIcon_circleArrowDown_white { - background-image: - url('../resources/16px/circleArrowDown_white_16px.svg'); -} - -.ebIcon_circleArrowLeft { - background-image: - url('../resources/16px/circleArrowLeft_black_16px.svg'); -} - -.ebIcon_circleArrowLeft_white { - background-image: - url('../resources/16px/circleArrowLeft_white_16px.svg'); -} - -.ebIcon_circleArrowRight { - background-image: - url('../resources/16px/circleArrowRight_black_16px.svg'); -} - -.ebIcon_circleArrowRight_white { - background-image: - url('../resources/16px/circleArrowRight_white_16px.svg'); -} - -.ebIcon_circleArrowUp { - background-image: url('../resources/16px/circleArrowUp_black_16px.svg'); -} - -.ebIcon_circleArrowUp_white { - background-image: url('../resources/16px/circleArrowUp_white_16px.svg'); -} - -.ebIcon_circleCaretDown { - background-image: - url('../resources/16px/circleCaretDown_black_16px.svg'); -} - -.ebIcon_circleCaretDown_white { - background-image: - url('../resources/16px/circleCaretDown_white_16px.svg'); -} - -.ebIcon_circleCaretLeft { - background-image: - url('../resources/16px/circleCaretLeft_black_16px.svg'); -} - -.ebIcon_circleCaretLeft_white { - background-image: - url('../resources/16px/circleCaretLeft_white_16px.svg'); -} - -.ebIcon_circleCaretRight { - background-image: - url('../resources/16px/circleCaretRight_black_16px.svg'); -} - -.ebIcon_circleCaretRight_white { - background-image: - url('../resources/16px/circleCaretRight_white_16px.svg'); -} - -.ebIcon_circleCaretUp { - background-image: url('../resources/16px/circleCaretUp_black_16px.svg'); -} - -.ebIcon_circleCaretUp_white { - background-image: url('../resources/16px/circleCaretUp_white_16px.svg'); -} - -.ebIcon_eLogo { - background-image: url('../resources/systemBar/econ01.svg'); -} - -.ebIcon_comment { - background-image: url('../resources/16px/Comment_black_16px.svg'); -} - -.ebIcon_comment_white { - background-image: url('../resources/16px/comment_white.svg'); -} - -.ebIcon_copy { - background-image: url('../resources/16px/copy_black_16px.svg'); -} - -.ebIcon_copy_white { - background-image: url('../resources/16px/copy_white_16px.svg'); -} - -.ebIcon_cut { - background-image: url('../resources/16px/cut_black.svg'); -} - -.ebIcon_cut_white { - background-image: url('../resources/16px/cut_white.svg'); -} - -.ebIcon_delete { - background-image: url('../resources/16px/delete_black_16px.svg'); -} - -.ebIcon_delete_white { - background-image: url('../resources/16px/delete_white_16px.svg'); -} - -.ebIcon_duplicate { - background-image: url('../resources/16px/duplicate_black_16px.svg'); -} - -.ebIcon_duplicate_white { - background-image: url('../resources/16px/duplicate_white_16px.svg'); -} - -.ebIcon_edit { - background-image: url('../resources/16px/edit_black_16px.svg'); -} - -.ebIcon_editWhite { - background-image: url('../resources/16px/edit_white_16px.svg'); -} - -.ebIcon_newFile { - background-image: url('../resources/16px/newFile_black_16px.svg'); -} - -.ebIcon_newFile_white { - background-image: url('../resources/16px/newFile_white_16px.svg'); -} - -.ebIcon_save { - background-image: url('../resources/16px/save_black_16px.svg'); -} - -.ebIcon_save_white { - background-size: contain; - background-image: url('../resources/16px/save_white.svg'); -} - -.ebIcon_filter { - background-image: url('../resources/16px/filter_black_16px.svg'); -} - -.ebIcon_filterOn { - background-image: url('../resources/16px/filters_on.svg'); -} - -.ebIcon_filterOff { - background-image: url('../resources/16px/filters_off.svg'); -} - -.ebIcon_filter_white { - background-image: url('../resources/16px/filter_white_16px.svg'); -} - -.ebIcon_folder { - background-image: url('../resources/16px/folder_black_16px.svg'); -} - -.ebIcon_folder_white { - background-image: url('../resources/16px/folder_white_16px.svg'); -} - -.ebIcon_folderClosed { - background-image: url('../resources/16px/folderClosed_black.svg'); -} - -.ebIcon_folderClosed_white { - background-image: url('../resources/16px/folderClosed_white.svg'); -} - -.ebIcon_detach { - background-image: url('../resources/16px/detach_black_16px.svg'); -} - -.ebIcon_detach_white { - background-size: contain; - background-image: url('../resources/16px/detach_white.svg'); -} - -.ebIcon_import { - background-image: url('../resources/16px/import_black.svg'); -} - -.ebIcon_import_white { - background-image: url('../resources/16px/import_white.svg'); -} - -.ebIcon_export { - background-image: url('../resources/16px/export_black_16px.svg'); -} - -.ebIcon_export_white { - background-image: url('../resources/16px/export_white.svg'); -} - -.ebIcon_undo { - background-image: url('../resources/16px/undo_black_16px.svg'); -} - -.ebIcon_undo_white { - background-image: url('../resources/16px/undo_white_16px.svg'); -} - -.ebIcon_cancelled { - background-image: url('../resources/16px/Cancelled_Black_16px.svg'); -} - -.ebIcon_draft { - background-size: contain; - background-image: url('../resources/16px/draft.svg'); -} - -.ebIcon_importExport { - background-image: url('../resources/16px/import_export.svg'); -} - -.ebIcon_login { - background-image: url('../resources/16px/login.svg'); -} - -.ebIcon_move { - background-image: url('../resources/16px/move.svg'); -} - -.ebIcon_remove { - background-image: url('../resources/16px/remove.svg'); -} - -.ebIcon_valid { - background-image: url('../resources/16px/valid_icon.svg'); -} - -.ebIcon_invalid { - background-image: url('../resources/16px/invalid_icon.svg'); -} - -.ebIcon_error { - background-image: url('../resources/16px/error_red_16px.svg'); -} - -.ebIcon_warning { - background-image: url('../resources/16px/warning_yellow_16px.svg'); -} - -.ebIcon_warningOrange { - background-image: url('../resources/16px/warning_orange_16px.svg'); -} - -.ebIcon_warning_white { - background-image: url('../resources/16px/warning_white.svg'); -} - -.ebIcon_warningShield { - background-image: url('../resources/16px/warningShield_black_16px.svg'); -} - -.ebIcon_warningShield_white { - background-size: contain; - background-image: url('../resources/16px/warningShield_white.svg'); -} - -.ebIcon_mail { - background-image: url('../resources/16px/mail_black_16px.svg'); -} - -.ebIcon_mail_white { - background-image: url('../resources/16px/mail_white_16px.svg'); -} - -.ebIcon_mailRead { - background-image: url('../resources/16px/mailRead_black_16px.svg'); -} - -.ebIcon_mailRead_white { - background-image: url('../resources/16px/mailRead_white_16px.svg'); -} - -.ebIcon_link { - background-image: url('../resources/16px/Link_black_16px.svg');; -} - -.ebIcon_lock { - background-image: url('../resources/16px/lock_black_16px.svg'); -} - -.ebIcon_lock_white { - background-image: url('../resources/16px/lock_white_16px.svg'); -} - -.ebIcon_unlock { - background-image: url('../resources/16px/unlock_black_16px.svg'); -} - -.ebIcon_unlock_white { - background-image: url('../resources/16px/unlock_white_16px.svg'); -} - -.ebIcon_logout { - background-image: url('../resources/16px/logout_black_16px.svg'); -} - -.ebIcon_menu { - background-image: url('../resources/16px/menu_black_16px.svg'); -} - -.ebIcon_menu_white { - background-image: url('../resources/16px/menu_white_16px.svg'); -} - -.ebIcon_search { - background-image: url('../resources/16px/search_black_16px.svg'); -} - -.ebIcon_searchWhite { - background-image: url('../resources/16px/search_white_16px.svg'); -} - -.ebIcon_advancedSearch { - background-image: - url('../resources/16px/advanced_search_black_16px.svg'); -} - -.ebIcon_advancedSearchWhite { - background-image: - url('../resources/16px/advanced_search_white_16px.svg'); -} - -.ebIcon_share { - background-image: url('../resources/16px/share_black_16px.svg'); -} - -.ebIcon_share_white { - background-image: url('../resources/16px/share_white.svg'); -} - -.ebIcon_star { - background-image: url('../resources/16px/star_black_16px.svg'); -} - -.ebIcon_star_white { - background-image: url('../resources/16px/star_white_16px.svg'); -} - -.ebIcon_star_yellow { - background-image: url('../resources/16px/star_yellow_16px.svg'); -} - -.ebIcon_starOutline { - background-image: url('../resources/16px/star_outline_black_16px.svg'); -} - -.ebIcon_starOutline_white { - background-image: url('../resources/16px/star_outline_white_16px.svg'); -} - -.ebIcon_starOutline_yellow { - background-image: url('../resources/16px/star_outline_yellow_16px.svg'); -} - -.ebIcon_tick { - background-image: url('../resources/16px/tick_green_16px.svg'); -} - -.ebIcon_tick_black { - background-image: url('../resources/16px/tick_16px.svg'); -} - -.ebIcon_simpleGreenTick { - background-image: url('../resources/16px/simple_green_tick.svg'); -} - -.ebIcon_simpleTick_black { - background-image: url('../resources/16px/simple_tick.svg'); -} - -.ebIcon_download { - background-image: url('../resources/16px/download_black.svg'); -} - -.ebIcon_download_white { - background-image: url('../resources/16px/download_white.svg'); -} - -.ebIcon_downloadWhite { - background-image: url('../resources/16px/download_white_16px.svg'); -} - -.ebIcon_documentWhite { - background-image: url('../resources/16px/document_white_16px.svg'); -} - -.ebIcon_expand { - background-image: url('../resources/16px/expand_black_16px.svg'); -} - -.ebIcon_rowCollapsed { - background-image: url('../resources/16px/rowCollapsed_black_16px.svg'); -} - -.ebIcon_rowExpanded { - background-image: url('../resources/16px/rowExpanded_black_16px.svg'); -} - -.ebIcon_rowView { - background-image: url('../resources/16px/rowView_black_16px.svg'); -} - -.ebIcon_rowView_white { - background-image: url('../resources/16px/rowView_white.svg'); -} - -.ebIcon_externalApp { - background-image: url('../resources/16px/externalApp_black_16px.svg'); -} - -.ebIcon_externalApp_white { - background-image: url('../resources/16px/externalApp_white_16px.svg'); -} - -.ebIcon_fullscreen { - background-image: url('../resources/16px/fullscreen_black_16px.svg'); -} - -.ebIcon_fullscreenMinimize { - background-image: - url('../resources/16px/fullscreenMinimise_black_16px.svg'); -} - -.ebIcon_help { - background-image: url('../resources/16px/help_black_16px.svg'); -} - -.ebIcon_help_white { - background-image: url('../resources/16px/help_white.svg'); -} - -.ebIcon_info { - background-image: url('../resources/16px/info_black.svg'); -} - -.ebIcon_info_white { - background-image: url('../resources/16px/info_white.svg'); -} - -.ebIcon_dialogInfo { - background-image: url('../resources/16px/dialogInfo_blue.svg'); -} - -.ebIcon_dialogInfo_white { - background-image: url('../resources/16px/dialogInfo_white.svg'); -} - -.ebIcon_infoMsgIndicator { - background-image: url('../resources/16px/infoMsgIndicator_16px.svg'); -} - -.ebIcon_exitFullscreen { - background-image: - url('../resources/16px/minimiseFullscreen_black_16px.svg'); -} - -.ebIcon_refresh { - background-image: url('../resources/16px/refresh_black_16px.svg'); -} - -.ebIcon_refresh_white { - background-image: url('../resources/16px/refresh_white_16px.svg'); -} - -.ebIcon_settings { - background-image: url('../resources/16px/settings_black_16px.svg'); -} - -.ebIcon_settings_white { - background-image: url('../resources/16px/settings_white_16px.svg'); -} - -.ebIcon_user { - background-image: url('../resources/16px/user_black_16px.svg'); -} - -.ebIcon_user_white { - background-image: url('../resources/16px/user_white_16px.svg'); -} - -.ebIcon_close { - background-image: url('../resources/16px/X_black_16px.svg'); -} - -.ebIcon_close_white { - background-image: url('../resources/16px/close_white_16px.svg'); -} - -.ebIcon_close_blue { - background-image: url('../resources/16px/X_blue_16px.svg'); -} - -.ebIcon_close_paleBlue { - background-image: url('../resources/16px/X_paleBlue_16px.svg'); -} - -.ebIcon_close_green { - background-image: url('../resources/16px/X_green_16px.svg'); -} - -.ebIcon_close_orange { - background-image: url('../resources/16px/X_orange_16px.svg'); -} - -.ebIcon_close_red { - background-image: url('../resources/16px/X_red_16px.svg'); -} - -.ebIcon_close_yellow { - background-image: url('../resources/16px/X_yellow_16px.svg'); -} - -.ebIcon_minus { - background-image: url('../resources/16px/minus_black_16px.svg'); -} - -.ebIcon_plus { - background-image: url('../resources/16px/plus_black_16px.svg'); -} - -.ebIcon_add { - background-image: url('../resources/16px/add_black_16px.svg'); -} - -.ebIcon_add_white { - background-image: url('../resources/16px/add_white_16px.svg'); -} - -.ebIcon_multiSelect { - background-image: url('../resources/16px/multiSelect_black_16px.svg'); -} - -.ebIcon_multiSelect_white { - background-size: contain; - background-image: url('../resources/16px/multiSelect_white.svg'); -} - -.ebIcon_multiSort { - background-image: url('../resources/16px/multi-sort.svg'); -} - -.ebIcon_multiSort_white { - background-image: url('../resources/16px/multi-sort_white.svg'); -} - -.ebIcon_sort { - background-image: url('../resources/16px/sort.svg'); -} - -.ebIcon_sort_white { - background-image: url('../resources/16px/sort_white.svg'); -} - -.ebIcon_stop { - background-image: url('../resources/16px/stop_black_16px.svg'); -} - -.ebIcon_pause { - background-image: url('../resources/16px/pause_black_16px.svg'); -} - -.ebIcon_suspend { - background-image: url('../resources/16px/suspend_black_16px.svg'); -} - -.ebIcon_resume { - background-image: url('../resources/16px/resume_black_16px.svg'); -} - -.ebIcon_play { - background-image: url('../resources/16px/play_black_16px.svg'); -} - -.ebIcon_fastForward { - background-image: url('../resources/16px/fastForward_black_16px.svg'); -} - -.ebIcon_fastRewind { - background-image: url('../resources/16px/fastRewind_black_16px.svg'); -} - -.ebIcon_print { - background-image: url('../resources/16px/print_black_16px.svg'); -} - -.ebIcon_print_white { - background-image: url('../resources/16px/print_white_16px.svg'); -} - -.ebIcon_calendar { - background-image: url('../resources/16px/calendar_black_16px.svg'); -} - -.ebIcon_calendar_white { - background-image: url('../resources/16px/calendar_white_16px.svg'); -} - -.ebIcon_addToFolder { - background-image: url('../resources/16px/addToFolder_black.svg'); -} - -.ebIcon_addToFolder_white { - background-image: url('../resources/16px/addToFolder_white.svg'); -} - -.ebIcon_alarmCleared { - background-image: url('../resources/16px/alarmCleared_16px.svg'); -} - -.ebIcon_alarmCleared_white { - background-image: url('../resources/16px/alarmCleared_white_16px.svg'); -} - -.ebIcon_alarmCritical { - background-image: url('../resources/16px/alarmCritical_16px.svg'); -} - -.ebIcon_alarmCritical_white { - background-image: url('../resources/16px/alarmCritical_white_16px.svg'); -} - -.ebIcon_alarmHeartbeat { - background-image: url('../resources/16px/alarmHeartbeat_16px.svg'); -} - -.ebIcon_alarmIndeterminate { - background-image: url('../resources/16px/alarmIndeterminate_16px.svg'); -} - -.ebIcon_alarmIndeterminate_white { - background-image: - url('../resources/16px/alarmIndeterminate_white_16px.svg'); -} - -.ebIcon_alarmMajor { - background-image: url('../resources/16px/alarmMajor_16px.svg'); -} - -.ebIcon_alarmMajor_white { - background-image: url('../resources/16px/alarmMajor_white_16px.svg'); -} - -.ebIcon_alarmMinor { - background-image: url('../resources/16px/alarmMinor_16px.svg'); -} - -.ebIcon_alarmMinor_white { - background-image: url('../resources/16px/alarmMinor_white_16px.svg'); -} - -.ebIcon_alarmWarning { - background-image: url('../resources/16px/alarmWarning_16px.svg'); -} - -.ebIcon_alarmWarning_white { - background-image: url('../resources/16px/alarmWarning_white_16px.svg'); -} - -.ebIcon_alarmOtherGrouping { - background-image: url('../resources/16px/alarmOtherGrouping_16px.svg'); -} - -.ebIcon_alarmUnacknowledged { - background-image: url('../resources/16px/alarmUnacknowledged.svg'); -} - -.ebIcon_alarmUnacknowledged_white { - background-image: url('../resources/16px/alarmUnacknowledged_white.svg'); -} - -.ebIcon_alarmUnspecified { - background-image: url('../resources/16px/alarmUnspecified_16px.svg'); -} - -.ebIcon_acknowledgeAlarm { - background-image: url('../resources/16px/acknowledgeAlarm.svg'); -} - -.ebIcon_acknowledgeAlarm_white { - background-image: url('../resources/16px/acknowledgeAlarm_white.svg'); -} - -.ebIcon_clearAlarm { - background-image: url('../resources/16px/clearAlarm.svg'); -} - -.ebIcon_clearAlarm_white { - background-image: url('../resources/16px/clearAlarm_white.svg'); -} - -.ebIcon_bsc { - background-image: url('../resources/16px/BSC_black_16px.svg'); -} - -.ebIcon_bscYellow { - background-image: url('../resources/16px/BSC_Yellow_16px.svg'); -} - -.ebIcon_bscFunction { - background-image: url('../resources/16px/BSCFunction_black_16px.svg'); -} - -.ebIcon_bscFunctionYellow { - background-image: url('../resources/16px/BSCFunction_Yellow_16px.svg'); -} - -.ebIcon_cabinet { - background-image: url('../resources/16px/cabinet_black_16px.svg'); -} - -.ebIcon_cellGray { - background-image: url('../resources/16px/cell_gray_16px.svg'); -} - -.ebIcon_cellGreen { - background-image: url('../resources/16px/cell_green_16px.svg'); -} - -.ebIcon_cellRed { - background-image: url('../resources/16px/cell_red_16px.svg'); -} - -.ebIcon_cellAdjacent { - background-image: url('../resources/16px/cellAdjacent_16px.svg'); -} - -.ebIcon_cellExternal { - background-image: url('../resources/16px/cellExternal_16px.svg'); -} - -.ebIcon_charging { - background-image: url('../resources/16px/charging_black.svg'); -} - -.ebIcon_charging_white { - background-size: contain; - background-image: url('../resources/16px/charging_white.svg'); -} - -.ebIcon_connected { - background-image: url('../resources/16px/connected_black_16px.svg'); -} - -.ebIcon_disconnected { - background-image: url('../resources/16px/disconnected_black_16px.svg'); -} - -.ebIcon_connectionError { - background-image: - url('../resources/16px/connectionError_black_16px.svg'); -} - -.ebIcon_core { - background-image: url('../resources/16px/core_black_16px.svg'); -} - -.ebIcon_coreSubscriber { - background-image: url('../resources/16px/coreSubscriber_black_16px.svg'); -} - -.ebIcon_database { - background-image: url('../resources/16px/database_black_16px.svg'); -} - -.ebIcon_ftpServer { - background-image: url('../resources/16px/ftpServer_black_16px.svg'); -} - -.ebIcon_ftpServerFunction { - background-image: - url('../resources/16px/ftpServerFunction_black_16px.svg'); -} - -.ebIcon_gatewayFunction { - background-image: - url('../resources/16px/gatewayFunction_black_16px.svg'); -} - -.ebIcon_grabHandle { - background-image: url('../resources/16px/grabHandle_black_16px.svg'); -} - -.ebIcon_grabHandle_white { - background-size: contain; - background-image: url('../resources/16px/grabHandle_white.svg'); -} - -.ebIcon_managedFunction { - background-image: - url('../resources/16px/managedFunction_black_16px.svg'); -} - -.ebIcon_managedGroup { - background-image: url('../resources/16px/managedGroup_black_16px.svg'); -} - -.ebIcon_managementNode { - background-image: url('../resources/16px/managementNode_black_16px.svg'); -} - -.ebIcon_network { - background-image: url('../resources/16px/network_black_16px.svg'); -} - -.ebIcon_networkElement { - background-image: url('../resources/16px/networkElement_black_16px.svg'); -} - -.ebIcon_networkElement_white { - background-image: url('../resources/16px/networkElement_white_16px.svg'); -} - -.ebIcon_rbs { - background-image: url('../resources/16px/RBS_black_16px.svg'); -} - -.ebIcon_rbs_white { - background-image: url('../resources/16px/RBS_white_16px.svg'); -} - -.ebIcon_routeSwitch { - background-image: url('../resources/16px/routeSwitch.svg'); -} - -.ebIcon_rxi { - background-image: url('../resources/16px/rxi_black_16px.svg'); -} - -.ebIcon_switchFunction { - background-image: url('../resources/16px/switchFunction_black_16px.svg'); -} - -.ebIcon_technicianPresent { - background-image: url('../resources/16px/technicianPresent_16px.svg'); -} - -.ebIcon_terminal { - background-image: url('../resources/16px/terminal_black_16px.svg'); -} - -.ebIcon_topology { - background-image: url('../resources/16px/topology_black_16px.svg'); -} - -.ebIcon_access { - background-image: url('../resources/16px/access_black_16px.svg'); -} - -.ebIcon_access_white { - background-image: url('../resources/16px/access_white_16px.svg'); -} - -.ebIcon_accessSettings { - background-image: url('../resources/16px/accessSettings_black_16px.svg'); -} - -.ebIcon_accessSettings_white { - background-image: url('../resources/16px/accessSettings_white_16px.svg'); -} - -.ebIcon_alignCenter { - background-image: url('../resources/16px/alignCenter_black_16px.svg'); -} - -.ebIcon_alignCenter_white { - background-image: url('../resources/16px/alignCenter_white.svg'); -} - -.ebIcon_alignLeft { - background-image: url('../resources/16px/alignLeft_black_16px.svg'); -} - -.ebIcon_alignLeft_white { - background-image: url('../resources/16px/alignLeft_white.svg'); -} - -.ebIcon_alignRight { - background-image: url('../resources/16px/alignRight_black_16px.svg'); -} - -.ebIcon_alignRight_white { - background-image: url('../resources/16px/alignRight_white.svg'); -} - -.ebIcon_cli { - background-image: - url('../resources/16px/CommandLineInterface_black_16px.svg'); -} - -.ebIcon_cli_white { - background-image: - url('../resources/16px/CommandLineInterface_white_16px.svg'); -} - -.ebIcon_controllingNode { - background-image: url('../resources/16px/controllingNode.svg'); -} - -.ebIcon_grid3x3 { - background-image: url('../resources/16px/grid3X3_black_16px.svg'); -} - -.ebIcon_grid3x3_white { - background-image: url('../resources/16px/grid3x3_white.svg'); -} - -.ebIcon_grid4x4 { - background-image: url('../resources/16px/grid4X4_black_16px.svg'); -} - -.ebIcon_grid4x4_white { - background-image: url('../resources/16px/grid4x4_white.svg'); -} - -.ebIcon_gridView { - background-image: url('../resources/16px/gridView_black_16px.svg'); -} - -.ebIcon_gridView_white { - background-image: url('../resources/16px/gridView_white.svg'); -} - -.ebIcon_jumpTo { - background-image: url('../resources/16px/jumpTo_black_16px.svg'); -} - -.ebIcon_microwave { - background-image: url('../resources/16px/microwave.svg'); -} - -.ebIcon_mo { - background-image: url('../resources/16px/mo.svg'); -} - -.ebIcon_security { - background-image: url('../resources/16px/security_black_16px.svg'); -} - -.ebIcon_security_white { - background-image: url('../resources/16px/security_white_16px.svg'); -} - -.ebIcon_site { - background-image: url('../resources/16px/site_black_16px.svg'); -} - -.ebIcon_siteManager { - background-image: url('../resources/16px/siteManager_black_16px.svg'); -} - -.ebIcon_subnetwork { - background-image: url('../resources/16px/subnetwork.svg'); -} - -.ebIcon_gateway, .ebIcon_switch { - background-image: url('../resources/16px/switch.svg'); -} - -.ebIcon_tip { - background-image: url('../resources/16px/tip_black_16px.svg'); -} - -.ebIcon_tip_white { - background-image: url('../resources/16px/tip_white_16px.svg'); -} - -.ebIcon_attach { - background-image: url('../resources/16px/attach_black_16px.svg'); -} - -.ebIcon_attach_white { - background-size: contain; - background-image: url('../resources/16px/attach_white.svg'); -} - -.ebIcon_clock { - background-image: url('../resources/16px/clock_black_16px.svg'); -} - -.ebIcon_clock_white { - background-image: url('../resources/16px/clock_white_16px.svg'); -} - -.ebIcon_windowMaximize { - background-image: url('../resources/16px/WindowMaximize_black_16px.svg'); -} - -.ebIcon_windowMinimize { - background-image: url('../resources/16px/WindowMinimize_black_16px.svg'); -} - -.ebIcon_deprecated { - background-image: url('../resources/16px/deprecated_16px.svg'); -} - -.ebIcon_obsolete { - background-image: url('../resources/16px/obsolete_16px.svg'); -} - -.ebIcon_newStatus_blue { - background-image: url('../resources/16px/newStatus_blue_16px.svg'); -} - -.ebIcon_newStatus_green { - background-image: url('../resources/16px/newStatus_green_16px.svg'); -} - -.ebIcon_upload { - background-image: url('../resources/16px/upload_black_16px.svg'); -} - -.ebIcon_activate { - background-image: url('../resources/16px/activate_black_16px.svg'); -} - -.ebIcon_activate_white { - background-size: contain; - background-image: url('../resources/16px/activate_white.svg'); -} - -.ebIcon_deactivate { - background-image: url('../resources/16px/deactivate_black_16px.svg'); -} - -.ebIcon_deactivate_white { - background-size: contain; - background-image: url('../resources/16px/deactivate_white.svg'); -} - -.ebIcon_switchBetween { - background-image: url('../resources/16px/switchBetween_black_16px.svg'); -} - -.ebIcon_switchBetween_white { - background-image: url('../resources/16px/switchBetween_white_16px.svg'); -} - -.ebIcon_eye { - background-image: url('../resources/16px/eye_black_16px.svg'); -} - -.ebIcon_eye_white { - background-image: url('../resources/16px/eye_white_16px.svg'); -} - -.ebIcon_eyeLine { - background-image: url('../resources/16px/eyeLine_black_16px.svg'); -} - -.ebIcon_eyeLine_white { - background-image: url('../resources/16px/eyeLine_white.svg'); -} - -.ebIcon_activityTray { - background-image: url('../resources/16px/activity_16px_black.svg'); -} - -.ebIcon_note { - background-image: url('../resources/16px/note_black_16px.svg'); - background-size: contain; -} - -.ebIcon_note_white { - background-image: url('../resources/16px/note_white_16px.svg'); -} - -.ebIcon_tableView { - background-image: url('../resources/16px/tableView_black_16px.svg'); -} - -.ebIcon_tableView_white { - background-image: url('../resources/16px/tableView_white_16px.svg'); -} - -.ebIcon_synced { - background-image: url('../resources/16px/Syncd_16px.svg'); -} - -.ebIcon_syncError { - background-image: url('../resources/16px/SyncError_16px.svg'); -} - -.ebIcon_syncing { - background-image: url('../resources/16px/Syncing_Static_16px.svg'); -} - -.ebIcon_syncing_animated { - background-image: url('../resources/16px/Syncing_Animated_16px.svg'); -} - -/* Breadcrumb */ -.ebBreadcrumbs { - position: relative; - display: block; - font-size: 0; - margin-top: 12px; - margin-bottom: 4px; -} - -.ebBreadcrumbs-link { - font-size: 1.2rem; - vertical-align: middle; - display: inline-block -} - -.ebBreadcrumbs-list { - position: absolute; - left: 0; - margin-top: 6px; - display: none; - min-width: calc(100% - 16px); - max-width: 250px; - z-index: 1500 -} - -.ebBreadcrumbs-arrow { - margin-left: .6rem; - vertical-align: middle; - outline: none; - display: inline-block; - line-height: 12px -} - -.ebBreadcrumbs-arrow:focus>* { - opacity: 1 -} - -.ebBreadcrumbs-arrow_hidden { - display: none -} - -.ebBreadcrumbs-arrow:focus+.ebBreadcrumbs-list { - display: block -} - -.ebBreadcrumbs-item { - position: relative; - font-size: 0; - white-space: nowrap; - display: inline-block; - margin-bottom: .8rem -} - -.ebBreadcrumbs-item:after { - vertical-align: middle; - display: inline-block; - width: 20px; - content: "/"; - font-size: 1.6rem; - text-align: center; - color: #999; - cursor: default !important; - pointer-events: none !important; - -ms-touch-action: none !important; - touch-action: none !important; - -khtml-user-select: none !important; - -moz-user-select: none !important; - -o-user-select: none !important; - -webkit-user-select: none !important; - user-select: none -} - -.ebBreadcrumbs-item:last-child { - margin-right: 0 -} - -.ebBreadcrumbs-item:last-child>.ebBreadcrumbs-link { - -ms-touch-action: none !important; - touch-action: none !important; - -khtml-user-select: none !important; - -moz-user-select: none !important; - -o-user-select: none !important; - -webkit-user-select: none !important; - user-select: none -} - -.ebBreadcrumbs-item:last-child:after { - content: ""; - padding: 0; - font-size: 0; - width: 0; -} - -.ebBreadcrumbs a { - font-size: 1.2rem; - color: #0066b3; - text-decoration: none; -} - -.ebBreadcrumbs a:hover { - text-decoration: underline; - outline: none; -} - -.ebBreadcrumbs a:active { - text-decoration: underline -} - -.ebBreadcrumbs a:focus { - outline: none; - text-decoration: underline; - box-shadow: none; -} \ No newline at end of file diff --git a/client/client-full/src/main/resources/webapp/css/styles.css b/client/client-full/src/main/resources/webapp/css/styles.css deleted file mode 100644 index 1592c2f09..000000000 --- a/client/client-full/src/main/resources/webapp/css/styles.css +++ /dev/null @@ -1,296 +0,0 @@ -/* - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -.GradientBlock { - display: block; - height: 150px; - border-radius: 4px; - vertical-align: top; - cursor: pointer; - margin-top: 0; - margin-bottom: 15px; - margin-left: 15px; - margin-right: 15px; - font-size: 0; - width: 700px; -} - -.GradientBlock-link { - font-size: inherit; -} - -.GradientBlock:after { - content: ""; -} - -.GradientBlock_gradient_green { - background-image: linear-gradient(to right bottom, #a2c517 0%, #30ab55 100%); -} - -.GradientBlock_gradient_purple { - background-image: linear-gradient(to right bottom, #5f1f70 0%, #db004f 100%); -} - -.GradientBlock_gradient_blue { - background-image: linear-gradient(to right bottom, #009f80 0%, #0082b9 100%); -} - -.GradientBlock_gradient_darkblue { - background-image: linear-gradient(to right bottom, #246ab3 0%, #5f1f70 100%); -} - -.GradientBlock_flat_darkGreen { - background-color: #00625f; -} - -.GradientBlock_flat_paleBlue { - background-color: #00a9d4; -} - -.GradientBlock_flat_yellow { - background-color: #fabb00; -} - -.GradientBlock_flat_green { - background-color: #89ba17; -} - -.GradientBlock_flat_purple { - background-color: #7b0663; -} - -.GradientBlock_flat_red { - background-color: #e32119; -} - -.GradientBlock-icon { - display: inline-block; - width: 54px; - margin-left: 16px; - height: 100%; - background-repeat: no-repeat; - background-size: 100%; - background-position: 0 30px; -} - -.GradientBlock-icon_icon_camera { - background-image: url('help/resources/help/camera.svg'); -} - -.GradientBlock-icon_icon_book { - background-image: url('help/resources/help/book.svg'); -} - -.GradientBlock-icon_icon_screen { - background-image: url('/resources/screen.svg'); -} - -.GradientBlock-icon_icon_note { - background-image: url('../resources/16px/note_white_16px.svg'); -} - -.GradientBlock-icon_icon_monitor { - background-image: url('../resources/16px/eye_white_16px.svg'); -} - -.GradientBlock-icon_icon_deploy { - background-image: url('../resources/16px/deploy_white_16px.svg'); -} - -.GradientBlock-icon_icon_faq { - background-image: url('help/resources/help/faq.svg'); -} - -.GradientBlock-icon_icon_page { - background-image: url('help/resources/help/page.svg'); -} - -.GradientBlock-icon_icon_video { - background-image: url('help/resources/help/video.svg'); -} - -.GradientBlock-content { - display: inline-block; - width: calc(100% - 70px); - padding: 0 16px 0 12px; - box-sizing: border-box; - -moz-box-sizing: border-box; - vertical-align: top; -} - -.GradientBlock-title { - font-size: 24px; - margin-top: 30px; - color: white; - line-height: 24px; -} - -.GradientBlock-desc { - margin-top: 12px; - line-height: 12px; - font-size: 12px; - color: white; -} - -.ebQuickActionBar { - margin-top: 1.2rem; - font-size: 0; - height: 32px; - padding: 0.4rem 0; - background-color: #e8e8e8; - position: relative; - width: 100%; - overflow: hidden; - line-height: 0; - box-sizing: border-box; - -webkit-transition: background-color 0.1s ease-in; - transition: background-color 0.1s ease-in; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - -ms-border-radius: 3px; - border-radius: 3px; -} - -.ebQuickActionBar_context { - background-color: #f3f3f3; - border-bottom: 2px solid #65cbe5; - box-sizing: border-box; - height: 32px; -} - -.ebQuickActionBar>* { - margin-left: 0.4rem; - margin-right: 0.4rem; - vertical-align: middle; -} - -.ebQuickActionBar-iconHolder { - display: inline-block; - vertical-align: middle; - height: 1.6rem; -} - -.ebQuickActionBar-separator { - display: inline-block; - vertical-align: middle; - border-left: 1px solid #CCCCCC; - margin: 0 8px; - height: 2.4rem; -} - -.ebQuickActionBar-Commands, .ebQuickActionBar-commands { - display: inline-block; - margin: 0; - font-size: 0; - line-height: 2.4rem; -} - -.ebQuickActionBar-Commands-iconHolder, - .ebQuickActionBar-commands-iconHolder { - display: inline-block; - vertical-align: middle; - height: 1.6rem; -} - -.ebQuickActionBar-Commands-separator, - .ebQuickActionBar-commands-separator { - display: inline-block; - vertical-align: middle; - border-left: 1px solid #CCCCCC; - margin: 0 8px; - height: 2.4rem; -} - -.ebQuickActionBar-Commands>*, .ebQuickActionBar-commands>* { - margin-left: 0.4rem; - margin-right: 0.4rem; - vertical-align: middle; -} - -.ebQuickActionBar-Commands-block, .ebQuickActionBar-commands-block, - .ebQuickActionBar-CommandsBlock, .ebQuickActionBar-commandsBlock { - margin: 0 0.8rem; - display: inline-block; -} - -.ebQuickActionBar-Commands-block>*, .ebQuickActionBar-commands-block>*, - .ebQuickActionBar-CommandsBlock>*, .ebQuickActionBar-commandsBlock>* { - margin-left: 0.4rem; - margin-right: 0.4rem; - vertical-align: middle; -} - -.ebQuickActionBar-Commands-block :last-child, - .ebQuickActionBar-commands-block :last-child, - .ebQuickActionBar-CommandsBlock :last-child, - .ebQuickActionBar-commandsBlock :last-child { - margin-right: 0; -} - -.layoutWrapper { - margin: 0 40px; -} - -.appHeading { - color: rgb(51, 51, 51); - display: block; - font-family: Arial, Helvetica, sans-serif; - font-size: 12px; - height: 32px; - line-height: 12px; - position: relative; -} - -.content { - margin-top: 14px; -} - -.banner { - opacity: 0; - margin-left: -25px; -} - -.title { - padding: 0px; -} - -.placeholder { - float: left; - text-align: center; - white-space: nowrap; - display: none; -} - -.onapLogo { - display: block; - height: 59px; - width: 325px; - padding-bottom: 31px; -} - -.apexLogo { - display: block; - height: 248px; - width: 325px; -} - -.banner_wrapper { - margin-left: 400px; // - width: calc(100% - 400px); -} \ No newline at end of file diff --git a/client/client-full/src/main/resources/webapp/images/Apex.png b/client/client-full/src/main/resources/webapp/images/Apex.png deleted file mode 100644 index e71451fee..000000000 Binary files a/client/client-full/src/main/resources/webapp/images/Apex.png and /dev/null differ diff --git a/client/client-full/src/main/resources/webapp/images/logo_onap.png b/client/client-full/src/main/resources/webapp/images/logo_onap.png deleted file mode 100644 index c6f6857a5..000000000 Binary files a/client/client-full/src/main/resources/webapp/images/logo_onap.png and /dev/null differ diff --git a/client/client-full/src/main/resources/webapp/index.html b/client/client-full/src/main/resources/webapp/index.html deleted file mode 100644 index f445368cb..000000000 --- a/client/client-full/src/main/resources/webapp/index.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - -Apex Clients - - - - - - - - - - - - -
-
Apex
-
-
- - - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/js/ApexMain.js b/client/client-full/src/main/resources/webapp/js/ApexMain.js deleted file mode 100644 index 47b9621d8..000000000 --- a/client/client-full/src/main/resources/webapp/js/ApexMain.js +++ /dev/null @@ -1,43 +0,0 @@ -/* - * ============LICENSE_START======================================================= - * Copyright (C) 2016-2018 Ericsson. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -$(document).ready(function() { - var widthIncrease = 30; - var slideEaseTime = 300; - var hoverIncreaseTime = 50; - $(".placeholder").fadeIn("slow"); - $(".banner").each(function(i) { - var width = $(this).width(); - $(this).delay(i * 250).animate({ - 'opacity' : 1, - "margin-left" : "15px" - }, slideEaseTime, function() { - $(this).hover(function() { - $(this).stop(true, false).animate({ - "width" : width + widthIncrease - }, hoverIncreaseTime); - }, function() { - $(this).stop(true, false).animate({ - "width" : width - }, hoverIncreaseTime); - }); - }) - }) -}); \ No newline at end of file diff --git a/client/client-full/src/main/resources/webapp/js/jquery/jquery-3.4.1.min.js b/client/client-full/src/main/resources/webapp/js/jquery/jquery-3.4.1.min.js deleted file mode 100644 index a1c07fd80..000000000 --- a/client/client-full/src/main/resources/webapp/js/jquery/jquery-3.4.1.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0 - - -]> - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/16px/eye_white_16px.svg b/client/client-full/src/main/resources/webapp/resources/16px/eye_white_16px.svg deleted file mode 100644 index 416aede3a..000000000 --- a/client/client-full/src/main/resources/webapp/resources/16px/eye_white_16px.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/16px/note_white_16px.svg b/client/client-full/src/main/resources/webapp/resources/16px/note_white_16px.svg deleted file mode 100644 index b6481a13e..000000000 --- a/client/client-full/src/main/resources/webapp/resources/16px/note_white_16px.svg +++ /dev/null @@ -1 +0,0 @@ -noteWhite \ No newline at end of file diff --git a/client/client-full/src/main/resources/webapp/resources/16px/rowCollapsed_black_16px.svg b/client/client-full/src/main/resources/webapp/resources/16px/rowCollapsed_black_16px.svg deleted file mode 100644 index 6878c863c..000000000 --- a/client/client-full/src/main/resources/webapp/resources/16px/rowCollapsed_black_16px.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - -]> - - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/16px/rowExpanded_black_16px.svg b/client/client-full/src/main/resources/webapp/resources/16px/rowExpanded_black_16px.svg deleted file mode 100644 index 5e3e46a66..000000000 --- a/client/client-full/src/main/resources/webapp/resources/16px/rowExpanded_black_16px.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - -]> - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/16px/settings_black_16px.svg b/client/client-full/src/main/resources/webapp/resources/16px/settings_black_16px.svg deleted file mode 100644 index c347888e9..000000000 --- a/client/client-full/src/main/resources/webapp/resources/16px/settings_black_16px.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - -]> - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/screen.svg b/client/client-full/src/main/resources/webapp/resources/screen.svg deleted file mode 100644 index b67d9db02..000000000 --- a/client/client-full/src/main/resources/webapp/resources/screen.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - -]> - - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/systemBar/help_black.svg b/client/client-full/src/main/resources/webapp/resources/systemBar/help_black.svg deleted file mode 100644 index 14fdf5d35..000000000 --- a/client/client-full/src/main/resources/webapp/resources/systemBar/help_black.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/systemBar/logout_black.svg b/client/client-full/src/main/resources/webapp/resources/systemBar/logout_black.svg deleted file mode 100644 index af297acde..000000000 --- a/client/client-full/src/main/resources/webapp/resources/systemBar/logout_black.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/client/client-full/src/main/resources/webapp/resources/video.svg b/client/client-full/src/main/resources/webapp/resources/video.svg deleted file mode 100644 index c109dd64a..000000000 --- a/client/client-full/src/main/resources/webapp/resources/video.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - -]> - - - - - diff --git a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ParameterCheckTest.java b/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ParameterCheckTest.java deleted file mode 100644 index 7203fdcc3..000000000 --- a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ParameterCheckTest.java +++ /dev/null @@ -1,189 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; - -import java.util.LinkedHashMap; -import java.util.Map; -import org.junit.Test; -import org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey; - -/** - * Test the parameter check class. - * - */ -public class ParameterCheckTest { - - @Test - public void testStartStop() { - assertEquals("START", ParameterCheck.StartStop.START.name()); - assertEquals("STOP", ParameterCheck.StartStop.STOP.name()); - } - - @Test - public void testHostName() { - assertNull(ParameterCheck.getHostName(null)); - - Map parameterMap = new LinkedHashMap<>(); - assertNull(ParameterCheck.getHostName(parameterMap)); - parameterMap.put("hostname", null); - assertNull(ParameterCheck.getHostName(parameterMap)); - - String[] hostnameBlankValue0 = {"", ""}; - parameterMap.put("hostname", hostnameBlankValue0); - assertNull(ParameterCheck.getHostName(parameterMap)); - - String[] hostnameBlankValue1 = {" ", " "}; - parameterMap.put("hostname", hostnameBlankValue1); - assertNull(ParameterCheck.getHostName(parameterMap)); - - String[] hostnameValue = {"hostname0", "hostname1"}; - parameterMap.put("hostname", hostnameValue); - assertEquals("hostname0", ParameterCheck.getHostName(parameterMap)); - } - - @Test - public void testPort() { - assertEquals(-1, ParameterCheck.getPort(null)); - - Map parameterMap = new LinkedHashMap<>(); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portBlankValue0 = {"", ""}; - parameterMap.put("port", portBlankValue0); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portBlankValue1 = {" ", " "}; - parameterMap.put("port", portBlankValue1); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portValueBad = {"port", "value"}; - parameterMap.put("port", portValueBad); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portValueRange0 = {"-1", "-1"}; - parameterMap.put("port", portValueRange0); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portValueRange1 = {"65536", "65536"}; - parameterMap.put("port", portValueRange1); - assertEquals(-1, ParameterCheck.getPort(parameterMap)); - - String[] portValue = {"12344", "23221"}; - parameterMap.put("port", portValue); - assertEquals(12344, ParameterCheck.getPort(parameterMap)); - } - - @Test - public void testEngineKey() { - assertEquals(null, ParameterCheck.getEngineKey(null)); - - Map parameterMap = new LinkedHashMap<>(); - parameterMap.put("Zooby", null); - assertEquals(null, ParameterCheck.getEngineKey(parameterMap)); - - parameterMap.put("AxArtifactKey", null); - assertEquals(null, ParameterCheck.getEngineKey(parameterMap)); - parameterMap.remove("AxArtifactKey"); - - parameterMap.put("AxArtifactKey#zooby", null); - assertEquals(null, ParameterCheck.getEngineKey(parameterMap)); - parameterMap.remove("AxArtifactKey#zooby"); - - parameterMap.put("AxArtifactKey#zooby#looby", null); - assertEquals(null, ParameterCheck.getEngineKey(parameterMap)); - parameterMap.remove("AxArtifactKey#zooby#looby"); - - parameterMap.put("AxArtifactKey#Name:0.0.1", null); - assertEquals(new AxArtifactKey("Name", "0.0.1"), ParameterCheck.getEngineKey(parameterMap)); - } - - @Test - public void testStartStopValue() { - assertEquals(null, ParameterCheck.getStartStop(null, null)); - - Map parameterMap = new LinkedHashMap<>(); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, null)); - - parameterMap.put("Zooby", null); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, null)); - - AxArtifactKey engineKey = new AxArtifactKey("Engine", "0.0.1"); - - parameterMap.put("Zooby", null); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String key = "AxArtifactKey#" + engineKey.getId(); - - parameterMap.put(key, null); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String[] startStopBlankValue0 = {"", ""}; - parameterMap.put(key, startStopBlankValue0); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String[] startStopBlankValue1 = {" ", " "}; - parameterMap.put(key, startStopBlankValue1); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String[] startStopValueBad = {key, "value"}; - parameterMap.put(key, startStopValueBad); - assertEquals(null, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String[] startValue = {"START", "STOP"}; - parameterMap.put(key, startValue); - assertEquals(ParameterCheck.StartStop.START, ParameterCheck.getStartStop(parameterMap, engineKey)); - - String[] stopValue = {"STOP", "START"}; - parameterMap.put(key, stopValue); - assertEquals(ParameterCheck.StartStop.STOP, ParameterCheck.getStartStop(parameterMap, engineKey)); - } - - @Test - public void testLong() { - assertEquals(-1, ParameterCheck.getLong(null, null)); - - Map parameterMap = new LinkedHashMap<>(); - assertEquals(-1, ParameterCheck.getLong(parameterMap, null)); - - parameterMap.put("long0", null); - assertEquals(-1, ParameterCheck.getLong(parameterMap, "longx")); - assertEquals(-1, ParameterCheck.getLong(parameterMap, "long0")); - - String[] longBlankValue0 = {"", ""}; - parameterMap.put("long1", longBlankValue0); - assertEquals(-1, ParameterCheck.getLong(parameterMap, "long1")); - - String[] longBlankValue1 = {" ", " "}; - parameterMap.put("long2", longBlankValue1); - assertEquals(-1, ParameterCheck.getLong(parameterMap, "long2")); - - String[] longValueBad = {"long", "value"}; - parameterMap.put("long3", longValueBad); - assertEquals(-1, ParameterCheck.getLong(parameterMap, "long3")); - - String[] longValue = {"12345", "6789"}; - parameterMap.put("long4", longValue); - assertEquals(12345, ParameterCheck.getLong(parameterMap, "long4")); - } -} diff --git a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesExceptionTest.java b/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesExceptionTest.java deleted file mode 100644 index 7504a7271..000000000 --- a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesExceptionTest.java +++ /dev/null @@ -1,38 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import static org.junit.Assert.assertEquals; - -import org.junit.Test; - -/** - * Test the REST Services exception. - * - */ -public class ServicesExceptionTest { - - @Test - public void test() { - ApexServicesRestParameterException ame = new ApexServicesRestParameterException("a message"); - assertEquals("a message", ame.getMessage()); - } -} diff --git a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestMainTest.java b/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestMainTest.java deleted file mode 100644 index 55c0c8fa9..000000000 --- a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestMainTest.java +++ /dev/null @@ -1,211 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2019-2020 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.api.Assertions.assertThatCode; -import static org.assertj.core.api.Assertions.catchThrowable; -import static org.awaitility.Awaitility.await; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.InputStream; -import java.io.PrintStream; -import java.util.concurrent.TimeUnit; -import org.junit.After; -import org.junit.Test; - -/** - * Test the periodic event manager utility. - */ -public class ServicesRestMainTest { - private static InputStream systemInStream = System.in; - - @Test - public void testServicesMainClientOk() { - final String[] eventArgs = {"-t", "1", "-p", "1256"}; - assertThatCode(() -> ApexServicesRestMain.main(eventArgs)).doesNotThrowAnyException(); - } - - @Test - public void testServicesClientNoOptions() { - final String[] eventArgs = new String[] {}; - - assertThat(testApexServicesRestMainConstructor(eventArgs)).isEqualTo("*** StdOut ***\n\n*** StdErr ***\n"); - - } - - @Test - public void testServicesClientBadOptions() { - final String[] eventArgs = {"-zabbu"}; - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class) - .hasMessageContaining("Apex Editor REST endpoint (ApexServicesRestMain: Config=[null], State=STOPPED) " - + "parameter error, invalid command line arguments specified " + ": Unrecognized option: -zabbu"); - } - - @Test - public void testServicesClientHelp() { - final String[] eventArgs = {"-h"}; - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class) - .hasMessageContaining("usage: org.onap.policy.apex.client.full.rest.ApexServicesRestMain [options...]"); - } - - @Test - public void testServicesClientPortBad() { - final String[] eventArgs = {"-p", "hello"}; - - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class) - .hasMessageContaining("Apex Editor REST endpoint (ApexServicesRestMain: Config=[null], State=STOPPED) " - + "parameter error, error parsing argument \"port\" :For input string: \"hello\""); - - } - - @Test - public void testServicesClientPortNegative() { - final String[] eventArgs = {"-p", "-1"}; - - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class).hasMessageContaining( - "Apex Editor REST endpoint (ApexServicesRestMain: Config=[ApexServicesRestParameters: " - + "URI=http://localhost:-1/apexservices/, TTL=-1sec], State=STOPPED) parameters invalid, " - + "port must be greater than 1023 and less than 65536"); - - } - - @Test - public void testServicesClientTtlTooSmall() { - final String[] eventArgs = {"-t", "-2"}; - - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class).hasMessageContaining( - "Apex Editor REST endpoint (ApexServicesRestMain: Config=[ApexServicesRestParameters: " - + "URI=http://localhost:18989/apexservices/, TTL=-2sec], State=STOPPED) parameters invalid, " - + "time to live must be greater than -1 (set to -1 to wait forever)"); - } - - @Test - public void testServicesClientTooManyPars() { - final String[] eventArgs = {"-t", "10", "-p", "12344", "aaa", "bbb"}; - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class) - .hasMessageContaining("Apex Editor REST endpoint (ApexServicesRestMain: Config=[null], State=STOPPED) " - + "parameter error, too many command line arguments specified : [aaa, bbb]"); - } - - @Test - public void testServicesClientTtlNotNumber() { - final String[] eventArgs = {"-t", "timetolive"}; - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class) - .hasMessageContaining("Apex Editor REST endpoint (ApexServicesRestMain: Config=[null], State=STOPPED) " - + "parameter error, error parsing argument \"time-to-live\" :" + "For input string: \"timetolive\""); - } - - @Test - public void testServicesClientTtlSetValue() { - final String[] eventArgs = {"-t", "3", "-p", "1257"}; - assertThatCode(() -> { - ApexServicesRestMain monRestMain = new ApexServicesRestMain(eventArgs, System.out); - monRestMain.init(); - monRestMain.shutdown(); - }).doesNotThrowAnyException(); - - } - - @Test - public void testServicesClientPortTooBig() { - final String[] eventArgs = {"-p", "65536"}; - Throwable thrown = catchThrowable(() -> new ApexServicesRestMain(eventArgs, System.out)); - - assertThat(thrown).isInstanceOf(Exception.class).hasMessageContaining( - "Apex Editor REST endpoint (ApexServicesRestMain: Config=[ApexServicesRestParameters: " - + "URI=http://localhost:65536/apexservices/, TTL=-1sec], State=STOPPED) parameters invalid, " - + "port must be greater than 1023 and less than 65536"); - } - - @Test - public void testServicesOneSecStart() { - final String[] eventArgs = {"-t", "1", "-p", "1258"}; - - assertThatCode(() -> { - ApexServicesRestMain monRestMain = new ApexServicesRestMain(eventArgs, System.out); - monRestMain.init(); - monRestMain.shutdown(); - }).doesNotThrowAnyException(); - } - - @Test - public void testServicesForeverStart() { - final String[] eventArgs = {"-t", "-1", "-p", "1259"}; - - ApexServicesRestMain monRestMain = new ApexServicesRestMain(eventArgs, System.out); - - Thread monThread = new Thread() { - @Override - public void run() { - monRestMain.init(); - } - }; - - assertThatCode(() -> { - monThread.start(); - await().atMost(6, TimeUnit.SECONDS) - .until(() -> monRestMain.getState().equals(ApexServicesRestMain.EditorState.RUNNING)); - monRestMain.shutdown(); - }).doesNotThrowAnyException(); - } - - @After - public void cleanUpStreamSetting() { - System.setIn(systemInStream); - } - - /** - * Run the application. - * - * @param eventArgs the command arguments - * @return a string containing the command output - */ - private String testApexServicesRestMainConstructor(final String[] eventArgs) { - final ByteArrayOutputStream baosOut = new ByteArrayOutputStream(); - final ByteArrayOutputStream baosErr = new ByteArrayOutputStream(); - - new ApexServicesRestMain(eventArgs, new PrintStream(baosOut, true)); - - InputStream testInput = new ByteArrayInputStream("Test Data for Input to WS".getBytes()); - System.setIn(testInput); - - String outString = baosOut.toString(); - String errString = baosErr.toString(); - - return "*** StdOut ***\n" + outString + "\n*** StdErr ***\n" + errString; - } -} diff --git a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestParameterTest.java b/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestParameterTest.java deleted file mode 100644 index 4c06d246f..000000000 --- a/client/client-full/src/test/java/org/onap/policy/apex/client/full/rest/ServicesRestParameterTest.java +++ /dev/null @@ -1,48 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2019 Nordix Foundation. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ - -package org.onap.policy.apex.client.full.rest; - -import static org.assertj.core.api.Assertions.assertThatCode; -import static org.junit.Assert.assertEquals; - -import org.junit.Test; - -/** - * Extra Services rest tests. - * - */ -public class ServicesRestParameterTest { - - @Test - public void test() { - ApexServicesRestParameters parameters = new ApexServicesRestParameters(); - parameters.setRestPort(12345); - assertEquals(12345, parameters.getRestPort()); - } - - @Test - public void testMainDefaultParameter() { - assertThatCode(() -> { - ApexServicesRest monRest = new ApexServicesRest(); - monRest.shutdown(); - }).doesNotThrowAnyException(); - } -} -- cgit 1.2.3-korg