Removal of useless files 75/6975/2
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Tue, 8 Aug 2017 10:15:42 +0000 (03:15 -0700)
committerSébastien Determe <sd378r@intl.att.com>
Tue, 8 Aug 2017 12:36:25 +0000 (12:36 +0000)
Removal of useless files like Helloworld or unused HTML files

Change-Id: Id82af9bb27eb53a7564cd42ab25960eb34bbf102
Issue-Id: CLAMP-1
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
13 files changed:
src/main/java/org/onap/clamp/clds/jsf/JsfExampleBean.java [deleted file]
src/main/java/org/onap/clamp/clds/model/CldsAsdcArtifact.java [deleted file]
src/main/java/org/onap/clamp/clds/model/CldsAsdcResource.java [deleted file]
src/main/java/org/onap/clamp/clds/model/CldsAsdcResourceBasicInfo.java [deleted file]
src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceDetail.java [deleted file]
src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceInfo.java [deleted file]
src/main/java/org/onap/clamp/clds/model/HelloWorld.java [deleted file]
src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogService.java [deleted file]
src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogServiceImpl.java [deleted file]
src/main/resources/META-INF/resources/designer/partials/invalid_login.html [deleted file]
src/main/resources/META-INF/resources/designer/partials/please_wait.html [deleted file]
src/main/resources/META-INF/resources/designer/partials/portfolios/running_instances.html [deleted file]
src/main/resources/META-INF/resources/login.html [deleted file]

diff --git a/src/main/java/org/onap/clamp/clds/jsf/JsfExampleBean.java b/src/main/java/org/onap/clamp/clds/jsf/JsfExampleBean.java
deleted file mode 100644 (file)
index 5fdcedd..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.jsf;
-
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.SessionScoped;
-import java.io.Serializable;
-import java.util.Date;
-
-@ManagedBean
-@SessionScoped
-public class JsfExampleBean implements Serializable {
-
-    private static final long serialVersionUID = 1L;
-
-    private String value;
-    private Date dateValue;
-
-    private static final java.text.SimpleDateFormat timestampFormat = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
-
-    public String getValue() {
-        return value;
-    }
-
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-    public Date getDateValue() {
-        return dateValue;
-    }
-
-    public void setDateValue(Date dateValue) {
-        this.dateValue = dateValue;
-    }
-
-    public String getDateValueText() {
-        return timestampFormat.format(dateValue);
-    }
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsAsdcArtifact.java b/src/main/java/org/onap/clamp/clds/model/CldsAsdcArtifact.java
deleted file mode 100644 (file)
index 43d5ab6..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-
-@JsonIgnoreProperties(ignoreUnknown = true)
-public class CldsAsdcArtifact {
-
-    private String artifactName;
-    private String artifactType;
-    private String artifactURL;
-    private String artifactDescription;
-    private String artifactTimeout;
-    private String artifactChecksum;
-    private String artifactUUID;
-    private String artifactVersion;
-    private String generatedFromUUID;
-
-    public String getArtifactName() {
-        return artifactName;
-    }
-
-    public void setArtifactName(String artifactName) {
-        this.artifactName = artifactName;
-    }
-
-    public String getArtifactType() {
-        return artifactType;
-    }
-
-    public void setArtifactType(String artifactType) {
-        this.artifactType = artifactType;
-    }
-
-    public String getArtifactURL() {
-        return artifactURL;
-    }
-
-    public void setArtifactURL(String artifactURL) {
-        this.artifactURL = artifactURL;
-    }
-
-    public String getArtifactDescription() {
-        return artifactDescription;
-    }
-
-    public void setArtifactDescription(String artifactDescription) {
-        this.artifactDescription = artifactDescription;
-    }
-
-    public String getArtifactTimeout() {
-        return artifactTimeout;
-    }
-
-    public void setArtifactTimeout(String artifactTimeout) {
-        this.artifactTimeout = artifactTimeout;
-    }
-
-    public String getArtifactChecksum() {
-        return artifactChecksum;
-    }
-
-    public void setArtifactChecksum(String artifactChecksum) {
-        this.artifactChecksum = artifactChecksum;
-    }
-
-    public String getArtifactUUID() {
-        return artifactUUID;
-    }
-
-    public void setArtifactUUID(String artifactUUID) {
-        this.artifactUUID = artifactUUID;
-    }
-
-    public String getArtifactVersion() {
-        return artifactVersion;
-    }
-
-    public void setArtifactVersion(String artifactVersion) {
-        this.artifactVersion = artifactVersion;
-    }
-
-    public String getGeneratedFromUUID() {
-        return generatedFromUUID;
-    }
-
-    public void setGeneratedFromUUID(String generatedFromUUID) {
-        this.generatedFromUUID = generatedFromUUID;
-    }
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsAsdcResource.java b/src/main/java/org/onap/clamp/clds/model/CldsAsdcResource.java
deleted file mode 100644 (file)
index 3210b69..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.logging.Logger;
-
-@JsonIgnoreProperties(ignoreUnknown = true)
-public class CldsAsdcResource implements Comparable<CldsAsdcResource> {
-    private static final Logger logger = Logger.getLogger(CldsAsdcServiceInfo.class.getName());
-
-    private String resourceInstanceName;
-    private String resourceName;
-    private String resourceInvariantUUID;
-    private String resourceVersion;
-    private String resoucreType;
-    private String resourceUUID;
-    private List<CldsAsdcArtifact> artifacts;
-
-    public String getResourceInstanceName() {
-        return resourceInstanceName;
-    }
-
-    public void setResourceInstanceName(String resourceInstanceName) {
-        this.resourceInstanceName = resourceInstanceName;
-    }
-
-    public String getResourceName() {
-        return resourceName;
-    }
-
-    public void setResourceName(String resourceName) {
-        this.resourceName = resourceName;
-    }
-
-    public String getResourceInvariantUUID() {
-        return resourceInvariantUUID;
-    }
-
-    public void setResourceInvariantUUID(String resourceInvariantUUID) {
-        this.resourceInvariantUUID = resourceInvariantUUID;
-    }
-
-    public String getResourceVersion() {
-        return resourceVersion;
-    }
-
-    public void setResourceVersion(String resourceVersion) {
-        this.resourceVersion = resourceVersion;
-    }
-
-    public String getResoucreType() {
-        return resoucreType;
-    }
-
-    public void setResoucreType(String resoucreType) {
-        this.resoucreType = resoucreType;
-    }
-
-    public String getResourceUUID() {
-        return resourceUUID;
-    }
-
-    public void setResourceUUID(String resourceUUID) {
-        this.resourceUUID = resourceUUID;
-    }
-
-    public List<CldsAsdcArtifact> getArtifacts() {
-        return artifacts;
-    }
-
-    public void setArtifacts(List<CldsAsdcArtifact> artifacts) {
-        this.artifacts = artifacts;
-    }
-
-    @Override
-    public int compareTo(CldsAsdcResource in) {
-        // Compares this object with the specified object for order.
-        // Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-
-        // first compare based on name
-        int rtn = resourceInstanceName.compareToIgnoreCase(in.resourceInstanceName);
-
-        if (rtn == 0) {
-            BigDecimal myVersion = convertVersion(resourceVersion);
-            BigDecimal inVersion = convertVersion(in.resourceVersion);
-            rtn = myVersion.compareTo(inVersion);
-        }
-        return rtn;
-    }
-
-    /**
-     * Convert version String into a BigDecimal
-     *
-     * @param versionText
-     * @return
-     */
-    private BigDecimal convertVersion(String versionText) {
-        BigDecimal rtn = new BigDecimal(0.0);
-        try {
-            rtn = new BigDecimal(versionText);
-        } catch (NumberFormatException nfe) {
-            logger.warning("ASDC version=" + versionText + " is not decimal for name=" + resourceInstanceName);
-        }
-        return rtn;
-    }
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsAsdcResourceBasicInfo.java b/src/main/java/org/onap/clamp/clds/model/CldsAsdcResourceBasicInfo.java
deleted file mode 100644 (file)
index c66428a..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-
-import java.math.BigDecimal;
-import java.util.logging.Logger;
-
-@JsonIgnoreProperties(ignoreUnknown = true)
-public class CldsAsdcResourceBasicInfo implements Comparable<CldsAsdcResourceBasicInfo> {
-    private static final Logger logger = Logger.getLogger(CldsAsdcServiceInfo.class.getName());
-
-    private String uuid;
-    private String invariantUUID;
-    private String name;
-    private String version;
-    private String toscaModelURL;
-    private String category;
-    private String subCategory;
-    private String resourceType;
-    private String lifecycleState;
-    private String lastUpdaterUserId;
-
-    @Override
-    public int compareTo(CldsAsdcResourceBasicInfo in) {
-        // Compares this object with the specified object for order.
-        // Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-        // first compare based on name
-        int rtn = name.compareToIgnoreCase(in.name);
-
-        if (rtn == 0) {
-            BigDecimal myVersion = convertVersion(version);
-            BigDecimal inVersion = convertVersion(in.version);
-            rtn = myVersion.compareTo(inVersion);
-        }
-        return rtn;
-    }
-
-    /**
-     * Convert version String into a BigDecimal
-     *
-     * @param version
-     * @return
-     */
-    private BigDecimal convertVersion(String version) {
-        BigDecimal rtn = new BigDecimal(0.0);
-        try {
-            rtn = new BigDecimal(version);
-        } catch (NumberFormatException nfe) {
-            logger.warning("ASDC version=" + version + " is not decimal for name=" + name);
-        }
-        return rtn;
-    }
-
-    public String getUuid() {
-        return uuid;
-    }
-
-    public void setUuid(String uuid) {
-        this.uuid = uuid;
-    }
-
-    public String getInvariantUUID() {
-        return invariantUUID;
-    }
-
-    public void setInvariantUUID(String invariantUUID) {
-        this.invariantUUID = invariantUUID;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void setVersion(String version) {
-        this.version = version;
-    }
-
-    public String getToscaModelURL() {
-        return toscaModelURL;
-    }
-
-    public void setToscaModelURL(String toscaModelURL) {
-        this.toscaModelURL = toscaModelURL;
-    }
-
-    public String getCategory() {
-        return category;
-    }
-
-    public void setCategory(String category) {
-        this.category = category;
-    }
-
-    public String getSubCategory() {
-        return subCategory;
-    }
-
-    public void setSubCategory(String subCategory) {
-        this.subCategory = subCategory;
-    }
-
-    public String getResourceType() {
-        return resourceType;
-    }
-
-    public void setResourceType(String resourceType) {
-        this.resourceType = resourceType;
-    }
-
-    public String getLifecycleState() {
-        return lifecycleState;
-    }
-
-    public void setLifecycleState(String lifecycleState) {
-        this.lifecycleState = lifecycleState;
-    }
-
-    public String getLastUpdaterUserId() {
-        return lastUpdaterUserId;
-    }
-
-    public void setLastUpdaterUserId(String lastUpdaterUserId) {
-        this.lastUpdaterUserId = lastUpdaterUserId;
-    }
-
-    public Logger getLOGGER() {
-        return logger;
-    }
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceDetail.java b/src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceDetail.java
deleted file mode 100644 (file)
index f50e09d..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-
-import java.util.List;
-
-@JsonIgnoreProperties(ignoreUnknown = true)
-public class CldsAsdcServiceDetail {
-
-    private String uuid;
-    private String invariantUUID;
-    private String name;
-    private String version;
-    private String toscaModelURL;
-    private String category;
-    private String lifecycleState;
-    private String lastUpdaterUserId;
-    private String distributionStatus;
-    private String lastUpdaterFullName;
-    private List<CldsAsdcResource> resources;
-    private List<CldsAsdcArtifact> artifacts;
-
-    public String getUuid() {
-        return uuid;
-    }
-
-    public void setUuid(String uuid) {
-        this.uuid = uuid;
-    }
-
-    public String getInvariantUUID() {
-        return invariantUUID;
-    }
-
-    public void setInvariantUUID(String invariantUUID) {
-        this.invariantUUID = invariantUUID;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void setVersion(String version) {
-        this.version = version;
-    }
-
-    public String getToscaModelURL() {
-        return toscaModelURL;
-    }
-
-    public void setToscaModelURL(String toscaModelURL) {
-        this.toscaModelURL = toscaModelURL;
-    }
-
-    public String getCategory() {
-        return category;
-    }
-
-    public void setCategory(String category) {
-        this.category = category;
-    }
-
-    public String getLifecycleState() {
-        return lifecycleState;
-    }
-
-    public void setLifecycleState(String lifecycleState) {
-        this.lifecycleState = lifecycleState;
-    }
-
-    public String getLastUpdaterUserId() {
-        return lastUpdaterUserId;
-    }
-
-    public void setLastUpdaterUserId(String lastUpdaterUserId) {
-        this.lastUpdaterUserId = lastUpdaterUserId;
-    }
-
-    public String getDistributionStatus() {
-        return distributionStatus;
-    }
-
-    public void setDistributionStatus(String distributionStatus) {
-        this.distributionStatus = distributionStatus;
-    }
-
-    public String getLastUpdaterFullName() {
-        return lastUpdaterFullName;
-    }
-
-    public void setLastUpdaterFullName(String lastUpdaterFullName) {
-        this.lastUpdaterFullName = lastUpdaterFullName;
-    }
-
-    public List<CldsAsdcResource> getResources() {
-        return resources;
-    }
-
-    public void setResources(List<CldsAsdcResource> resources) {
-        this.resources = resources;
-    }
-
-    public List<CldsAsdcArtifact> getArtifacts() {
-        return artifacts;
-    }
-
-    public void setArtifacts(List<CldsAsdcArtifact> artifacts) {
-        this.artifacts = artifacts;
-    }
-
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceInfo.java b/src/main/java/org/onap/clamp/clds/model/CldsAsdcServiceInfo.java
deleted file mode 100644 (file)
index 3ed5753..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-import java.math.BigDecimal;
-import java.util.logging.Logger;
-
-public class CldsAsdcServiceInfo implements Comparable<CldsAsdcServiceInfo> {
-    private static final Logger logger = Logger.getLogger(CldsAsdcServiceInfo.class.getName());
-
-    private String uuid;
-    private String invariantUUID;
-    private String name;
-    private String version;
-    private String toscaModelURL;
-    private String category;
-    private String lifecycleState;
-    private String lastUpdaterUserId;
-    private String distributionStatus;
-
-    public String getUuid() {
-        return uuid;
-    }
-
-    public void setUuid(String uuid) {
-        this.uuid = uuid;
-    }
-
-    public String getInvariantUUID() {
-        return invariantUUID;
-    }
-
-    public void setInvariantUUID(String invariantUUID) {
-        this.invariantUUID = invariantUUID;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getVersion() {
-        return version;
-    }
-
-    public void setVersion(String version) {
-        this.version = version;
-    }
-
-    public String getToscaModelURL() {
-        return toscaModelURL;
-    }
-
-    public void setToscaModelURL(String toscaModelURL) {
-        this.toscaModelURL = toscaModelURL;
-    }
-
-    public String getCategory() {
-        return category;
-    }
-
-    public void setCategory(String category) {
-        this.category = category;
-    }
-
-    public String getLifecycleState() {
-        return lifecycleState;
-    }
-
-    public void setLifecycleState(String lifecycleState) {
-        this.lifecycleState = lifecycleState;
-    }
-
-    public String getLastUpdaterUserId() {
-        return lastUpdaterUserId;
-    }
-
-    public void setLastUpdaterUserId(String lastUpdaterUserId) {
-        this.lastUpdaterUserId = lastUpdaterUserId;
-    }
-
-    public String getDistributionStatus() {
-        return distributionStatus;
-    }
-
-    public void setDistributionStatus(String distributionStatus) {
-        this.distributionStatus = distributionStatus;
-    }
-
-    /**
-     * Compare using name and then version.  Version is converted to a decimal.
-     */
-    @Override
-    public int compareTo(CldsAsdcServiceInfo in) {
-        // Compares this object with the specified object for order.
-        // Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-        // first compare based on name
-        int rtn = name.compareToIgnoreCase(in.name);
-
-        if (rtn == 0) {
-            BigDecimal myVersion = convertVersion(version);
-            BigDecimal inVersion = convertVersion(in.version);
-            rtn = myVersion.compareTo(inVersion);
-        }
-
-        return rtn;
-    }
-
-    /**
-     * Convert version String into a BigDecimal
-     *
-     * @param versionText
-     * @return
-     */
-    private BigDecimal convertVersion(String versionText) {
-        try {
-            return new BigDecimal(versionText);
-        } catch (NumberFormatException nfe) {
-            logger.warning("ASDC version=" + versionText + " is not decimal for name=" + name);
-        }
-        return new BigDecimal(0.0);
-    }
-
-}
diff --git a/src/main/java/org/onap/clamp/clds/model/HelloWorld.java b/src/main/java/org/onap/clamp/clds/model/HelloWorld.java
deleted file mode 100644 (file)
index 1165f5d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.model;
-
-public class HelloWorld {
-
-    private String message;
-
-    public HelloWorld() {
-        // needed for deserializer
-    }
-
-    public HelloWorld(String message) {
-        this.message = message;
-    }
-
-    public String getMessage() {
-        return message;
-    }
-
-    public void setMessage(String message) {
-        this.message = message;
-    }
-
-    @Override
-    public String toString() {
-        return "message = " + getMessage();
-    }
-}
diff --git a/src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogService.java b/src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogService.java
deleted file mode 100644 (file)
index d0ef135..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.service.rs;
-
-import io.swagger.annotations.Api;
-
-import javax.ws.rs.*;
-import javax.ws.rs.core.MediaType;
-
-
-/**
- * Service to invoke example Camunda process.
- * <p>
- * Try testing by using:
- * http://[hostname]:[serverPort]/jaxrsservices/log/log-message/your-message-here
- */
-@Api(value = "/log")
-@Path("/log")
-@Produces({MediaType.TEXT_PLAIN})
-public interface JaxrsLogService {
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param logMessageText
-     * @return output from service - comment on what was done
-     */
-    @GET
-    @Path("/log-message/{logMessageText}")
-    @Produces(MediaType.TEXT_PLAIN)
-    String logMessage(@PathParam("logMessageText") String logMessageText, @QueryParam("javamail") String javamail, @QueryParam("springmail") String springmail, @QueryParam("commonsmail") String commonsmail);
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @return output from service - comment on what was done
-     */
-    @POST
-    @Path("/postLogHist")
-    @Produces(MediaType.TEXT_PLAIN)
-    @Consumes(MediaType.APPLICATION_JSON)
-    String postLogMessage(String histEventList);
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param startTime
-     * @param endTime
-     * @param serviceName
-     * @return output from service - comment on what was done
-     */
-    @GET
-    @Path("/createLog/{startTime}/{endTime}/{serviceName}")
-    @Produces(MediaType.TEXT_PLAIN)
-    String createLogMessage(@PathParam("startTime") String startTime, @PathParam("endTime") String endTime, @PathParam("serviceName") String serviceName);
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param procInstId
-     * @param histEventList
-     * @return output from service - comment on what was done
-     */
-    @GET
-    @Path("/createLogHist/{procInstId}/{histEventList}")
-    @Produces(MediaType.TEXT_PLAIN)
-    String createLogMessageUsingHistory(@PathParam("procInstId") String procInstId, @PathParam("histEventList") String histEventList);
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param procInstId
-     * @return output from service - comment on what was done
-     */
-    @GET
-    @Path("/histLog/{procInstId}")
-    @Produces(MediaType.TEXT_PLAIN)
-    String CreateHistLog(@PathParam("procInstId") String procInstId);
-
-}
diff --git a/src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogServiceImpl.java b/src/main/java/org/onap/clamp/clds/service/rs/JaxrsLogServiceImpl.java
deleted file mode 100644 (file)
index 4ef7d2e..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CLAMP
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- */
-
-package org.onap.clamp.clds.service.rs;
-
-import com.att.ajsc.common.AjscService;
-import org.onap.clamp.clds.service.LogService;
-import org.springframework.beans.factory.annotation.Autowired;
-
-/**
- * Service to invoke example Camunda process.
- * <p>
- * Try testing by using:
- * http://[hostname]:[serverPort]/services/log/log-message/your-message-here
- */
-@AjscService
-public class JaxrsLogServiceImpl implements JaxrsLogService {
-
-    @Autowired
-    private LogService logService;
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param logMessageText
-     * @return output from service - comment on what was done
-     */
-    public String logMessage(String logMessageText, String javamail, String springmail, String commonsmail) {
-        return logService.logMessage(logMessageText, javamail, springmail, commonsmail);
-    }
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @return output from service - comment on what was done
-     */
-    public String postLogMessage(String histEventList) {
-        return logService.postLogMessage(histEventList);
-    }
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param startTime
-     * @param endTime
-     * @param serviceName
-     * @return output from service - comment on what was done
-     */
-    public String createLogMessage(String startTime, String endTime, String serviceName) {
-        return logService.createLogMessage(startTime, endTime, serviceName);
-    }
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param procInstId
-     * @param histEventList
-     * @return output from service - comment on what was done
-     */
-    public String createLogMessageUsingHistory(String procInstId, String histEventList) {
-        return logService.createLogMessageUsingHistory(procInstId, histEventList);
-    }
-
-    /**
-     * REST service that executes example camunda process to log input message.
-     *
-     * @param procInstId
-     * @return output from service - comment on what was done
-     */
-    public String CreateHistLog(String procInstId) {
-        return logService.CreateHistLog(procInstId);
-    }
-
-}
diff --git a/src/main/resources/META-INF/resources/designer/partials/invalid_login.html b/src/main/resources/META-INF/resources/designer/partials/invalid_login.html
deleted file mode 100644 (file)
index 7c279c0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-  ONAP CLAMP
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END============================================
-  ===================================================================
-  ECOMP is a trademark and service mark of AT&T Intellectual Property.
-  -->
-
-
-<div attribute-test="invalidlogin" class="warning">
-       <h2>CSP Authentication not available for {{host}}.</h2>
-</div>
diff --git a/src/main/resources/META-INF/resources/designer/partials/please_wait.html b/src/main/resources/META-INF/resources/designer/partials/please_wait.html
deleted file mode 100644 (file)
index 8068e4c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-  ONAP CLAMP
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END============================================
-  ===================================================================
-  ECOMP is a trademark and service mark of AT&T Intellectual Property.
-  -->
-
-
-<div attribute-test="pleasewait">
-       <h1>Please Wait.....{{urlparam}}</h1>
-
-</div>
diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/running_instances.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/running_instances.html
deleted file mode 100644 (file)
index 1117c16..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-  ONAP CLAMP
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END============================================
-  ===================================================================
-  ECOMP is a trademark and service mark of AT&T Intellectual Property.
-  -->
-
-<style>
-table, th, td {
-   border: 1px solid black;
-   padding:2px 5px 2px 5px;
-   font-size:120%;
-   
-}
-th{
-background-color:#5D99D8;
-}
-tr:nth-child(2n){
-background-color:#D2DDEF;
-}
-</style>
-<div attribute-test="runningInstances" id="configure-widgets">
-
-       <div attribute-test="runningInstancesh" class="modal-header">
-               <button type="button" class="close" ng-click="close(false)"
-                       aria-hidden="true" style="margin-top: -3px">&times;</button>
-               <h4>Running Instances</h4>
-       </div>
-       <div class="modal-body" style="" align="center">
-               <div style="height: 30px"></div>
-
-                       
-                               <table id="runningTable">
-                               <tr><th>NAME</th><th>LOCATION</th><th>STATUS</th><th>VIEW</th></tr>
-                               
-                               </table>
-                       
-               
-       </div>
-       <div attribute-test="runningInstancesf" class="modal-footer">
-               <button ng-click="close(true)" class="btn btn-primary">Close</button>
-       </div>
-       <script>
-       console.log(runningInstances)
-       for(var key in runningInstances){
-               $("#runningTable").append("<tr><td>"+runningInstances[key].vmName+"</td>"+"<td>"+runningInstances[key].location+"</td>"+"<td>"+runningInstances[key].status+"</td>"+"<td>"+runningInstances[key].view+"</td>");
-       }
-       
-       </script>
-</div>
-
diff --git a/src/main/resources/META-INF/resources/login.html b/src/main/resources/META-INF/resources/login.html
deleted file mode 100644 (file)
index 76cb7a6..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!--
-  ============LICENSE_START=======================================================
-  ONAP CLAMP
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END============================================
-  ===================================================================
-  ECOMP is a trademark and service mark of AT&T Intellectual Property.
-  -->
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
-      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
-    <head>
-        <title>CLDS</title>
-    </head>
-    <body>
-
-        <p th:case="${error}">Welcome to Clamp. Please login first.</p>
-
-        <form th:action="@{/login}" method="post">
-            <div><label> User Name : <input type="text" name="username"/> </label></div>
-            <div><label> Password: <input type="password" name="password"/> </label></div>
-            <div><input type="submit" value="Sign In"/></div>
-        </form>
-    </body>
-</html>
\ No newline at end of file