summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/service
diff options
context:
space:
mode:
authorSerban Jora <sj2381@att.com>2018-02-16 10:12:54 -0500
committerSerban Jora <sj2381@att.com>2018-02-16 10:31:54 -0500
commit740c665b1201afb0f24267802a999e8f3dc6e103 (patch)
treebe123ef54c6ac7091a78cfba659463b59f821a95 /javatoscachecker/service
parent331fe622c8b4612b0e1d57f46403ffabae46a12f (diff)
Adds LICENSE information to non-java files
Change-Id: I7ef8cecc84c8fe2df6f6fd7c9557fac3093a642c Issue-ID: MODELING-63 Signed-off-by: Serban Jora <sj2381@att.com>
Diffstat (limited to 'javatoscachecker/service')
-rw-r--r--javatoscachecker/service/README13
-rw-r--r--javatoscachecker/service/application.properties12
-rw-r--r--javatoscachecker/service/src/main/docker/Dockerfile12
-rw-r--r--javatoscachecker/service/src/main/resources/checker.xml14
-rw-r--r--javatoscachecker/service/src/test/resources/standalone.yaml12
-rw-r--r--javatoscachecker/service/src/test/resources/standalone_with_errors.yaml12
-rw-r--r--javatoscachecker/service/src/test/resources/test_schema.yaml12
-rw-r--r--javatoscachecker/service/src/test/resources/test_template.yaml12
8 files changed, 99 insertions, 0 deletions
diff --git a/javatoscachecker/service/README b/javatoscachecker/service/README
index 8853dd7..2624fc5 100644
--- a/javatoscachecker/service/README
+++ b/javatoscachecker/service/README
@@ -1,3 +1,16 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
+
This sub-project exposes the TOSCA yaml checker functionality as a REST based service.
The service implemetation is based on the spring framework and contains a built-in default configuration that will run the service at port 8080 over plain http.
diff --git a/javatoscachecker/service/application.properties b/javatoscachecker/service/application.properties
index ad2bf49..9c8c92d 100644
--- a/javatoscachecker/service/application.properties
+++ b/javatoscachecker/service/application.properties
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
#beans.config=config/checker.xml
spring.profiles.active=default
server.port = 8080
diff --git a/javatoscachecker/service/src/main/docker/Dockerfile b/javatoscachecker/service/src/main/docker/Dockerfile
index 2287b7d..ecc667f 100644
--- a/javatoscachecker/service/src/main/docker/Dockerfile
+++ b/javatoscachecker/service/src/main/docker/Dockerfile
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
FROM openjdk:8
MAINTAINER "sj2381@att.com"
diff --git a/javatoscachecker/service/src/main/resources/checker.xml b/javatoscachecker/service/src/main/resources/checker.xml
index b0e254a..306a380 100644
--- a/javatoscachecker/service/src/main/resources/checker.xml
+++ b/javatoscachecker/service/src/main/resources/checker.xml
@@ -1,3 +1,17 @@
+<!--
+
+ Copyright (c) 2017 <AT&T>. 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.
+
+-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
diff --git a/javatoscachecker/service/src/test/resources/standalone.yaml b/javatoscachecker/service/src/test/resources/standalone.yaml
index 26797ab..882fa94 100644
--- a/javatoscachecker/service/src/test/resources/standalone.yaml
+++ b/javatoscachecker/service/src/test/resources/standalone.yaml
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
tosca_definitions_version: tosca_simple_yaml_1_0
topology_template:
diff --git a/javatoscachecker/service/src/test/resources/standalone_with_errors.yaml b/javatoscachecker/service/src/test/resources/standalone_with_errors.yaml
index d5c1a15..36a0373 100644
--- a/javatoscachecker/service/src/test/resources/standalone_with_errors.yaml
+++ b/javatoscachecker/service/src/test/resources/standalone_with_errors.yaml
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
tosca_definitions_version: tosca_simple_yaml_1_0
description: uses unknown capability propertya to trigger an error
diff --git a/javatoscachecker/service/src/test/resources/test_schema.yaml b/javatoscachecker/service/src/test/resources/test_schema.yaml
index 9575e27..73f41fe 100644
--- a/javatoscachecker/service/src/test/resources/test_schema.yaml
+++ b/javatoscachecker/service/src/test/resources/test_schema.yaml
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
tosca_definitions_version: tosca_simple_yaml_1_1
data_types:
diff --git a/javatoscachecker/service/src/test/resources/test_template.yaml b/javatoscachecker/service/src/test/resources/test_template.yaml
index 478aec0..ee049ab 100644
--- a/javatoscachecker/service/src/test/resources/test_template.yaml
+++ b/javatoscachecker/service/src/test/resources/test_template.yaml
@@ -1,3 +1,15 @@
+#
+# Copyright (c) 2017 <AT&T>. 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.
+#
tosca_definitions_version: tosca_simple_yaml_1_0
imports: