$http.get('flags').then(function (results) {\r
var flags = [];\r
for (var key in results.data) {\r
- flags.push({"key":key, "active":results.data[key]})\r
+ flags.push({"key":key, "active":results.data[key]});\r
}\r
featureFlags.set(flags);\r
- })\r
+ });\r
});\r
* VID
* ================================================================================
* Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public class AaiGetNetworkCollectionDetails {
+ @JsonProperty("results")
+ private Result results = null;
+
public AaiGetNetworkCollectionDetails(){
results = new Result();
}
- @JsonProperty("results")
- private Result results = null;
-
+
@JsonProperty("results")
public Result getResults() {
return results;
* VID
* ================================================================================
* Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.vid.aai.model;
public class InstanceGroupInfo {
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- private String type;
+
+ private String type;
private String name;
public InstanceGroupInfo(String name){
this.type = "instance-group";
}
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
public String getName() {
return name;
private final SystemPropertyHelper systemPropertyHelper;
private final SSLContextProvider sslContextProvider;
+ private final String certFilePath;
+ FeatureManager featureManager;
+
+ /** The logger. */
+ static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(org.onap.vid.aai.util.HttpsAuthClient.class);
+
public HttpsAuthClient(String certFilePath, SystemPropertyHelper systemPropertyHelper, SSLContextProvider sslContextProvider, FeatureManager featureManager) {
this.certFilePath = certFilePath;
this.featureManager = featureManager;
}
- private final String certFilePath;
-
- FeatureManager featureManager;
-
- /** The logger. */
- static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(org.onap.vid.aai.util.HttpsAuthClient.class);
-
/**
* Gets the client.
* VID
* ================================================================================
* Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import com.fasterxml.jackson.annotation.JsonProperty;
public class GetVnfWorkflowRelationRequest {
+
+ @JsonProperty("vnfsDetails")
+ private List<VnfDetails> vnfsDetails;
public GetVnfWorkflowRelationRequest() {
}
public GetVnfWorkflowRelationRequest(List<VnfDetails> vnfsDetails) {
this.vnfsDetails = vnfsDetails;
}
-
- @JsonProperty("vnfsDetails")
- private List<VnfDetails> vnfsDetails;
@JsonProperty("vnfsDetails")
public List<VnfDetails> getVnfDetails() {
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class LeanCloudConfiguration {
+
+ public String lcpCloudRegionId;
+
+ public String tenantId;
+
+ public String cloudOwner;
public LeanCloudConfiguration() {
}
this.cloudOwner = cloudConfiguration.getCloudOwner();
}
- public String lcpCloudRegionId;
-
- public String tenantId;
-
- public String cloudOwner;
}
private FeatureManager featureManager;
private JobCommandFactory jobCommandFactory;
private EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(JobSchedulerInitializer.class);
+ public static final List<Job.JobStatus> WORKERS_TOPICS = ImmutableList.of(
+ Job.JobStatus.PENDING,
+ Job.JobStatus.CREATING,
+ Job.JobStatus.IN_PROGRESS,
+ Job.JobStatus.RESOURCE_IN_PROGRESS,
+ Job.JobStatus.PENDING_RESOURCE
+ );
+
@Autowired
public JobSchedulerInitializer(
}
- public static final List<Job.JobStatus> WORKERS_TOPICS = ImmutableList.of(
- Job.JobStatus.PENDING,
- Job.JobStatus.CREATING,
- Job.JobStatus.IN_PROGRESS,
- Job.JobStatus.RESOURCE_IN_PROGRESS,
- Job.JobStatus.PENDING_RESOURCE
- );
-
@PostConstruct
public void init() {
WORKERS_TOPICS.forEach(topic->scheduleJobWorker(topic, 1));
import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate;
import org.onap.vid.aai.AaiClientInterface;
import org.onap.vid.aai.AaiGetVnfResponse;
-import org.onap.vid.aai.AaiOverTLSClientInterface;
import org.onap.vid.aai.AaiResponse;
import org.onap.vid.aai.AaiResponseTranslator;
import org.onap.vid.aai.ExceptionWithRequestInfo;
import org.hibernate.SessionFactory;
import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate;
import org.onap.vid.aai.AaiClientInterface;
-import org.onap.vid.aai.ExceptionWithRequestInfo;
import org.onap.vid.aai.model.ResourceType;
import org.onap.vid.dal.AsyncInstantiationRepository;
import org.onap.vid.exceptions.DbFailureUncheckedException;
\r
}\r
return null;\r
- }\r
+ };\r
$scope.hasVfModules = function (vnfInstance) {\r
if ($scope.returnVfModules(vnfInstance) != null) {\r
return true;\r
}\r
return false;\r
- }\r
+ };\r
$scope.returnVolumeGroups = function (vnfInstance) {\r
\r
var svcModel = $scope.service.convertedModel;\r
\r
}\r
return null;\r
- }\r
+ };\r
$scope.hasVolumeGroups = function (vnfInstance) {\r
if ($scope.returnVolumeGroups(vnfInstance) != null) {\r
return true;\r
}\r
return false;\r
- }\r
+ };\r
$scope.deleteNetwork = function (serviceObject, network) {\r
\r
console.log("Removing Network " + network.name);\r
\r
//Display popup with additional VF-Module information\r
DataService.setVfModuleInstanceId(vfModule[FIELD.ID.VF_MODULE_ID]);\r
- DataService.setInventoryItem(vfModule)\r
+ DataService.setInventoryItem(vfModule);\r
\r
DataService.setSubscriberName(serviceObject[COMPONENT.SUBSCRIBER_NAME]);\r
DataService.setServiceType(serviceObject[COMPONENT.SERVICE_TYPE]);\r
\r
var deleteCallbackFunction = function () {\r
console.log('hi')\r
- }\r
+ };\r
\r
$scope.resetProgress = function () {\r
$scope.percentProgress = 0;\r
else {\r
return true;\r
}\r
- }\r
+ };\r
$scope.isMacro = function () {\r
return $scope.service && AsdcService.isMacro($scope.service.model);\r
- }\r
+ };\r
$scope.reloadRoute = function () {\r
$route.reload();\r
- }\r
+ };\r
\r
\r
/*\r
+ FIELD.STATUS.IS_SUCCESSFUL + response.isSuccessful;\r
if (response.isSuccessful) {\r
color = FIELD.ID.COLOR_8F8;\r
- $location.path(COMPONENT.SERVICEMODELS_MODELS_SERVICES_PATH)\r
+ $location.path(COMPONENT.SERVICEMODELS_MODELS_SERVICES_PATH);\r
} else {\r
color = FIELD.ID.COLOR_F88;\r
}\r