diff options
author | 2019-02-28 12:14:17 +0100 | |
---|---|---|
committer | 2019-02-28 12:34:32 +0100 | |
commit | 33a2978ce2114d860d73e41084b8e917c4233118 (patch) | |
tree | 4759d707ac97094d8975c1d176086090971dcd9e /rest-services/common-dependency/src/main | |
parent | 5e6c996472969e50b3da60a06559c3231218637e (diff) |
Emit CBS config updates only
Add an update method to CbsClient which emits an item only when the
configuration has accentually changed.
Change-Id: I6023fb1cc069b06bd2c4baf94406538965b6534c
Issue-ID: DCAEGEN2-1233
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'rest-services/common-dependency/src/main')
-rw-r--r-- | rest-services/common-dependency/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/annotations/ExperimentalApi.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rest-services/common-dependency/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/annotations/ExperimentalApi.java b/rest-services/common-dependency/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/annotations/ExperimentalApi.java new file mode 100644 index 00000000..9b577688 --- /dev/null +++ b/rest-services/common-dependency/src/main/java/org/onap/dcaegen2/services/sdk/rest/services/annotations/ExperimentalApi.java @@ -0,0 +1,41 @@ +/* + * ============LICENSE_START==================================== + * DCAEGEN2-SERVICES-SDK + * ========================================================= + * Copyright (C) 2019 Nokia. 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===================================== + */ + +package org.onap.dcaegen2.services.sdk.rest.services.annotations; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Annotate experimental API. + * + * @author <a href="mailto:piotr.jaszczyk@nokia.com">Piotr Jaszczyk</a> + * @since 1.1.2 + */ +@Documented +@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE}) +@Retention(RetentionPolicy.SOURCE) +public @interface ExperimentalApi { + String value() default "Experimental API. Might be deleted or changed in the future SDK versions."; + String expectedInVersion() default "unknown"; +} |