mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 21:20:45 +00:00
Support api-key in query-string for backend-api;
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user