diff options
author | lj1412 <lji@research.att.com> | 2017-02-14 15:11:24 +0000 |
---|---|---|
committer | lj1412 <lji@research.att.com> | 2017-02-14 15:11:26 +0000 |
commit | 9a98a583855c9665c7171ca2e44e311095cdaac1 (patch) | |
tree | b9f784669b9d235bba8d9bf9354cd313ff051171 /ncomp-docker-adaptor/src/main/server/scripts/console.groovy | |
parent | 0453f7ce05dcb0affc9025c007db125128d0bf95 (diff) |
Init ncomp.docker
Change-Id: Ic87bcf77cff63ef6cd3004fbff9a69f11930d684
Signed-off-by: lj1412 <lji@research.att.com>
Diffstat (limited to 'ncomp-docker-adaptor/src/main/server/scripts/console.groovy')
-rw-r--r-- | ncomp-docker-adaptor/src/main/server/scripts/console.groovy | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ncomp-docker-adaptor/src/main/server/scripts/console.groovy b/ncomp-docker-adaptor/src/main/server/scripts/console.groovy new file mode 100644 index 0000000..4c186de --- /dev/null +++ b/ncomp-docker-adaptor/src/main/server/scripts/console.groovy @@ -0,0 +1,27 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * 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============================================ + */ + +import org.openecomp.ncomp.servers.docker.DockerDockerAdaptorConsole +import org.openecomp.ncomp.sirius.manager.console.Utils + +adaptor = new DockerDockerAdaptorConsole("console.properties","localhost") + +def p(x) { Utils.object2json(x).toString(2) } |