Support api-key in query-string for backend-api;

This commit is contained in:
2023-06-29 11:15:24 -05:00
parent b75fd29a57
commit 3ae938ac6e
7 changed files with 169 additions and 32 deletions

View File

@ -337,6 +337,17 @@ public class GetAction
/*******************************************************************************
** Run a GetAction by using the QueryAction instead (e.g., with a filter made
** from the pkey/ukey, and returning the single record if found).
*******************************************************************************/
public GetOutput executeViaQuery(GetInput getInput) throws QException
{
return (new DefaultGetInterface().execute(getInput));
}
/*******************************************************************************
**
*******************************************************************************/

View File

@ -38,7 +38,7 @@ import com.kingsrook.qqq.backend.core.modules.backend.QBackendModuleInterface;
**
*******************************************************************************/
@JsonDeserialize(using = QBackendMetaDataDeserializer.class)
public class QBackendMetaData
public class QBackendMetaData implements TopLevelMetaDataInterface
{
private String name;
private String backendType;
@ -409,4 +409,14 @@ public class QBackendMetaData
return (this);
}
/*******************************************************************************
**
*******************************************************************************/
@Override
public void addSelfToInstance(QInstance qInstance)
{
qInstance.addBackend(this);
}
}