Bulk upload changes and music health check apis
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / annotation / ApiVersion.java
@@ -1,3 +1,4 @@
+
 /*-
  * ============LICENSE_START==========================================
  * ONAP Portal
  *
  * 
  */
-package org.onap.portalapp.portal.ueb;
+package org.onap.portalapp.annotation;
 
-import org.onap.portalsdk.core.onboarding.ueb.UebMsgTypes;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
 
-public interface EPUebMsgTypes extends UebMsgTypes {
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ApiVersion {
+       
+       String service() default "";
+       String max()  default "";
+       int min()  default 0;   
+       String method() default "";
 
-       public static final String UEB_MSG_TYPE_HEALTH_CHECK = "uebHealthCheckPing";
 }