blob: 29115ba1fee33532139cb7aae84ea530833cee3a [file] [log] [blame]
Matteo Scandolo35113f72017-08-08 13:05:25 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Scott Baker1bfb91b2017-03-20 11:00:23 -070017from service import XOSService
Zack Williams1ce6c382016-10-05 18:02:09 -070018from services.exampleservice.models import ExampleService
Scott Baker619de672016-06-20 12:49:38 -070019
Scott Baker1bfb91b2017-03-20 11:00:23 -070020class XOSExampleService(XOSService):
Scott Baker619de672016-06-20 12:49:38 -070021 provides = "tosca.nodes.ExampleService"
22 xos_model = ExampleService
23 copyin_props = ["view_url", "icon_url", "enabled", "published", "public_key", "private_key_fn", "versionNumber", "service_message"]
24
Scott Baker619de672016-06-20 12:49:38 -070025