diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2020-01-08 16:53:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-08 16:53:02 +0000 |
commit | 4ad1874d63c56d9b82df6c7f8aff118a3b0da391 (patch) | |
tree | c7bacb5469d1aa758ceb7ba16317efa893d925db /examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js | |
parent | 6fae58f0d1c3c2374d39d4f91fcbc0cf95780ee7 (diff) | |
parent | 7a8e49a16020f7d04724803659f365236987c5ed (diff) |
Merge "Update vCPE example to use Avro schemas"
Diffstat (limited to 'examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js')
-rw-r--r-- | examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js b/examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js new file mode 100644 index 000000000..c24e76523 --- /dev/null +++ b/examples/examples-onap-vcpe/src/main/resources/logic/standalone/DoControllerRequestActionTask.js @@ -0,0 +1,27 @@ +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2020 Nordix Foundation. + * ================================================================================ + * 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ +executor.logger.info(executor.subject.id); +executor.logger.info(executor.inFields); + +// Pass through to the log state + +executor.logger.info(executor.outFields); + +var returnValue = executor.isTrue; |