package org.onap.ccsdk.cds.controllerblueprints.core.annotations
-import org.onap.ccsdk.cds.controllerblueprints.core.BlueprintConstants
+import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintConstants
import kotlin.reflect.KClass
@Target(AnnotationTarget.CLASS)
-annotation class BlueprintsDataType(
+annotation class BluePrintsDataType(
val name: String,
- val version: String = BlueprintConstants.DEFAULT_VERSION_NUMBER,
+ val version: String = BluePrintConstants.DEFAULT_VERSION_NUMBER,
val description: String,
val derivedFrom: String = "tosca.datatypes.root"
)
@Target(AnnotationTarget.CLASS)
-annotation class BlueprintsWorkflowInput
+annotation class BluePrintsWorkflowInput
@Target(AnnotationTarget.CLASS)
-annotation class BlueprintsWorkflowOutput
+annotation class BluePrintsWorkflowOutput
@Target(AnnotationTarget.CLASS)
-annotation class BlueprintsNodeType(
+annotation class BluePrintsNodeType(
val propertiesType: KClass<*>,
val attributesType: KClass<*>,
val inputsType: KClass<*>,
)
@Target(AnnotationTarget.FIELD, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY)
-annotation class BlueprintsProperty(
+annotation class BluePrintsProperty(
val name: String = "",
val description: String = ""
)
@Target(AnnotationTarget.FIELD, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY)
@Repeatable
-annotation class BlueprintsConstrain()
+annotation class BluePrintsConstrain()
@Target(AnnotationTarget.FIELD, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY)
annotation class PropertyDefaultValue(val value: String)