From 8944883589f74a9b1887469dbdba008e442edb20 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Tue, 9 May 2017 18:18:21 -0400 Subject: Initial commit with all the necessary files Change-Id: I2760ca1e2c661028be946a4335d07b1b7671a4b4 Signed-off-by: Venkata Harish K Kajur --- aai-annotations/.classpath | 26 +++ aai-annotations/.gitignore | 1 + aai-annotations/LICENSE.TXT | 23 +++ aai-annotations/pom.xml | 211 +++++++++++++++++++++ .../org/openecomp/aai/annotations/Metadata.java | 54 ++++++ 5 files changed, 315 insertions(+) create mode 100644 aai-annotations/.classpath create mode 100644 aai-annotations/.gitignore create mode 100644 aai-annotations/LICENSE.TXT create mode 100644 aai-annotations/pom.xml create mode 100644 aai-annotations/src/main/java/org/openecomp/aai/annotations/Metadata.java (limited to 'aai-annotations') diff --git a/aai-annotations/.classpath b/aai-annotations/.classpath new file mode 100644 index 00000000..af1430be --- /dev/null +++ b/aai-annotations/.classpath @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aai-annotations/.gitignore b/aai-annotations/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/aai-annotations/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/aai-annotations/LICENSE.TXT b/aai-annotations/LICENSE.TXT new file mode 100644 index 00000000..32bbcba4 --- /dev/null +++ b/aai-annotations/LICENSE.TXT @@ -0,0 +1,23 @@ +/*- + * ============LICENSE_START======================================================= + * org.openecomp.aai + * ================================================================================ + * Copyright © 2017 AT&T Intellectual Property. 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========================================================= + * + * ECOMP and OpenECOMP are trademarks + * and service marks of AT&T Intellectual Property. + * + */ diff --git a/aai-annotations/pom.xml b/aai-annotations/pom.xml new file mode 100644 index 00000000..06c1d194 --- /dev/null +++ b/aai-annotations/pom.xml @@ -0,0 +1,211 @@ + + + 4.0.0 + org.openecomp.aai + aai-annotations + 1.2.4-SNAPSHOT + aai-annotations + jar + + UTF-8 + https://nexus.onap.org + /content/sites/site/${project.artifactId}/${project.version} + + + + junit + junit + 3.8.1 + test + + + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.3 + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + + checkstyle + + + + + + + + + + org.codehaus.mojo + license-maven-plugin + 1.12 + + false + apache_v2 + 2017 + AT&T Intellectual Property. All rights reserved. + org.openecomp.aai + true + true + true + true + ============LICENSE_START======================================================= + ============LICENSE_END========================================================= + ================================================================================ + + **/*.java + **/*.ksh + **/*.sh + **/*.ftl + **/*.xsd + **/*.xjb + **/aai*.xml + **/*logback*.xml + **/*aaiconfig*.properties + **/*titan*.properties + + + + + first + + update-file-header + + process-sources + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + + + maven-release-plugin + 2.4.2 + + + org.apache.maven.scm + maven-scm-provider-gitexe + 1.8.1 + + + + + + + + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${nexusproxy}/content/repositories/snapshots/ + + + ecomp-site + dav:${nexusproxy}${sitePath} + + + + + + + central + http://repo1.maven.org/maven2 + + + EvoSuite + EvoSuite Repository + http://www.evosuite.org/m2 + + + + + + AJSC + AJSC repository + https://mvnrepository.com/artifact/com.att.ajsc + + + restlet + maven reslet + https://maven.restlet.com/ + + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + ecomp-releases + ECOMP Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-staging + ECOMP Staging Repository + ${nexusproxy}/content/repositories/staging/ + + + ecomp-snapshots + ECOMP Snapshot Repository + ${nexusproxy}/content/repositories/snapshots/ + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + -views + true + + + + + diff --git a/aai-annotations/src/main/java/org/openecomp/aai/annotations/Metadata.java b/aai-annotations/src/main/java/org/openecomp/aai/annotations/Metadata.java new file mode 100644 index 00000000..fa83aff6 --- /dev/null +++ b/aai-annotations/src/main/java/org/openecomp/aai/annotations/Metadata.java @@ -0,0 +1,54 @@ +/*- + * ============LICENSE_START======================================================= + * org.openecomp.aai + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. 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.openecomp.aai.annotations; + +import static java.lang.annotation.RetentionPolicy.RUNTIME; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +@Retention(RUNTIME) +@Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD}) +public @interface Metadata { + + boolean isKey() default false; + String description() default ""; + String nameProps() default ""; + String indexedProps() default ""; + String dependentOn() default ""; + String container() default ""; + String namespace() default ""; + String defaultValue() default ""; + String searchable() default ""; + String uniqueProps() default ""; + String extendsFrom() default ""; + String isAbstract() default ""; + String alternateKeys1() default ""; + String maximumDepth() default ""; + String crossEntityReference() default ""; + String dbAlias() default ""; + String dataLocation() default ""; + String containsSuggestibleProps() default ""; + String suggestionAliases() default ""; + String sourceOfTruthType() default ""; + +} -- cgit 1.2.3-korg