Fix 'Optional license in onboarding'-bug
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-license-lib / openecomp-sdc-vendor-license-api / src / main / java / org / openecomp / sdc / vendorlicense / VendorLicenseConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 package org.openecomp.sdc.vendorlicense;
21
22 import static org.openecomp.sdc.common.api.Constants.VENDOR_LICENSE_MODEL;
23 import static org.openecomp.sdc.common.api.Constants.VF_LICENSE_MODEL;
24
25 import java.io.File;
26 import lombok.AccessLevel;
27 import lombok.NoArgsConstructor;
28
29 public final class VendorLicenseConstants {
30
31     public static final String VENDOR_LICENSE_MODEL_VERSIONABLE_TYPE = "VendorLicenseModel";
32     public static final String EXTERNAL_ARTIFACTS_DIR = "Artifacts";
33     //todo change when separating external from internal artifacts
34     public static final String VNF_ARTIFACT_NAME_WITH_PATH = EXTERNAL_ARTIFACTS_DIR + File.separator + VF_LICENSE_MODEL;
35     public static final String VENDOR_LICENSE_MODEL_ARTIFACT_NAME_WITH_PATH = EXTERNAL_ARTIFACTS_DIR + File.separator + VENDOR_LICENSE_MODEL;
36     public static final String VENDOR_LICENSE_MODEL_ARTIFACT_REGEX_REMOVE = " xmlns=\"\"";
37     public static final String UNSUPPORTED_OPERATION_ERROR = "An error has occurred: Unsupported operation for 1707 release.";
38
39     @NoArgsConstructor(access = AccessLevel.PRIVATE)
40     public final class UniqueValues {
41
42         public static final String VENDOR_NAME = "Vendor name";
43         public static final String LICENSE_AGREEMENT_NAME = "License Agreement name";
44         public static final String FEATURE_GROUP_NAME = "Feature Group name";
45         public static final String ENTITLEMENT_POOL_NAME = "Entitlement Pool name";
46         public static final String LICENSE_KEY_GROUP_NAME = "License Key Group name";
47     }
48 }