* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ * Modifications Copyright (C) 2018 IBM
+ * ================================================================================
* 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
import java.util.Map;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
import org.onap.ccsdk.sli.core.sli.SvcLogicException;
import org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource;
public QueryStatus query(String resource, boolean localOnly, String select, String key, String prefix,
String orderBy, SvcLogicContext ctx) throws SvcLogicException {
QueryStatus status = QueryStatus.SUCCESS;
+ ctx.setAttribute("keys",key);
ctx.setAttribute("id", "testId");
ctx.setAttribute("VNF_TYPE", "testvnf");
ctx.setAttribute("maximum", "1");
@Override
public QueryStatus save(String resource, boolean force, boolean localOnly, String key, Map<String, String> parms,
String prefix, SvcLogicContext ctx) throws SvcLogicException {
+ ctx.setAttribute("keys", key);
return QueryStatus.SUCCESS;
}
-
-
}