SUGAR endpoint

20 views
Skip to first unread message

lil...@nanopay.net

unread,
Feb 21, 2019, 2:55:37 PM2/21/19
to foam-framework-discuss
What does the acronym SUGAR stand for, in relation to the SUGAR endpoint?  A general definition of the endpoint would be most appreciated as well.

Sincerely,

Lillian 

min...@nanopay.net

unread,
Feb 21, 2019, 2:58:13 PM2/21/19
to foam-framework-discuss
"SUGAR" : Service Unified GAteway Relay which performs non-DAO operations against a web service

Kevin Greer

unread,
Feb 21, 2019, 3:58:01 PM2/21/19
to lil...@nanopay.net, foam-framework-discuss
"Web services expose one or more endpoints to which messages can be sent. A web service endpoint is an entity, processor, or resource that can be referenced and to which web services messages can be addressed. Endpoint references convey the information needed to address a web service endpoint. Clients need to know this information before they can access a service."

In a nanos application, end-points are URL's which are mapped under the /service/ path. For example, the /service/services end-point lists all end-points that the server includes (including itself). For the nanopay application, these are the endpoints:
AuthenticatedNSpecDAO (S)
CSPReportWebAgent
CSPViolationsDAO (S)
LogLevelFilterLogger
P2PTxnRequestDAO (S)
PIIWebAgent
RollingJournal
SPSConfig (S)
acceptanceDocumentDAO (S)
acceptanceDocumentService (S)
accountDAO (S)
agentAuth (S)
agentJunctionDAO (S)
appConfig
appRedirect
argumentDAO (S)
auth (S)
balanceDAO (S)
bankAccountVerification (S)
bankHolidayDAO (S)
bankIntegrationsDAO (S)
bareUserDAO
blacklistDAO (S)
blobService (S)
blobStore
branchDAO (S)
brokerDAO (S)
businessDAO (S)
businessInvitationDAO (S)
businessRegistrationDAO (S)
businessSectorDAO (S)
businessTypeDAO (S)
canReceiveCurrencyDAO (S)
classes
complianceHistoryDAO (S)
complianceRuleDAO (S)
complianceService
contactDAO (S)
corridorDAO (S)
countryAgentDAO (S)
countryDAO (S)
countryService (S)
cronDAO (S)
cronScheduler
currencyDAO (S)
currencyFXServiceDAO (S)
dateAndPlaceOfBirthDAO (S)
demoObjectDAO (S)
deviceAuth (S)
deviceDAO (S)
dig
digDAO (S)
digitalAccount (S)
disclosuresDAO (S)
doNotSolicitDAO (S)
documentDAO (S)
dugDAO (S)
email (S)
emailDocService (S)
emailMessageDAO (S)
emailTemplateDAO (S)
emailToken (S)
encryptedBankAccountDAO (S)
encryptedUserDAO (S)
exchangeRateDAO (S)
export
exportDriverRegistryDAO (S)
externalInvoiceToken (S)
feeDAO (S)
fileDAO (S)
firebaseInviteToken (S)
fxQuoteDAO (S)
fxService (S)
fxrate
groupDAO (S)
historyDAO (S)
htmlDocDAO (S)
http
httpBlobService
httpFileService
httprouter
identificationDAO (S)
identificationTypeDAO (S)
institutionDAO (S)
institutionPurposeCodeDAO (S)
invitationDAO (S)
inviteToken (S)
invoiceDAO (S)
invoiceHistoryDAO (S)
ipHistoryDAO (S)
iso8583
keyPairDAO (S)
keyStoreManager
languageDAO (S)
lineItemFeeDAO (S)
lineItemTaxDAO (S)
lineItemTypeAccountDAO (S)
lineItemTypeDAO (S)
liquidityService
liquiditySettingsDAO (S)
localAccountDAO
localBalanceDAO
localBusinessDAO
localContactDAO
localCorridorDAO
localFXService
localGroupDAO
localSessionDAO
localTransactionDAO
localTransactionQuotePlanDAO
localUserDAO
localUserUserDAO
localZeroAccountUserAssociationDAO (S)
logMessageDAO (S)
logger
login
loginAttemptDAO (S)
memory
menuDAO (S)
nSpecDAO (S)
nanopayDocumentDAO (S)
notificationDAO (S)
notificationTemplateDAO (S)
pacs008ISOPurposeDAO (S)
pacs008IndiaPurposeDAO (S)
pacsMsg
padCaptureDAO (S)
partnerJunctionDAO (S)
passwordEntropyService (S)
payeeDAO (S)
paymentCardDAO (S)
permissionDAO (S)
ping
pmInfoDAO (S)
pmLogger
privateKeyDAO
publicKeyDAO (S)
publicUserDAO (S)
push
qrcode
questionnaireDAO (S)
quick
quickAuth (S)
quickConfigDAO (S)
quickSignIn (S)
quickTokenStorageDAO (S)
receiptDAO (S)
recurringInvoiceDAO (S)
regionDAO (S)
regionService (S)
regulatoryNoticeAuditDAO (S)
regulatoryNoticeDAO (S)
reportDAO (S)
resetPasswordToken (S)
ruleDAO (S)
scriptDAO (S)
serviceProviderDAO (S)
services
sessionDAO (S)
shopperRegistrationDAO (S)
smeBusinessRegistrationDAO (S)
static
stripeCustomerDAO (S)
sugar
sugarDAO (S)
supportEmailDAO (S)
taxService (S)
terms
testDAO (S)
testReportDAO (S)
threadPool
threads
ticketDAO (S)
ticketMessageDAO (S)
tokenDAO (S)
trace
transactionDAO (S)
transactionFeeDAO (S)
transactionLimitDAO (S)
transactionPurposeDAO (S)
transactionQuotePlanDAO (S)
twofactor (S)
txnProcessorDAO (S)
txnProcessorUserReferenceDAO (S)
uptime
userAcceptanceDocumentDAO (S)
userDAO (S)
userHistoryDAO (S)
userTransactionLimit (S)
userUserDAO (S)
verifyEmail
viewPIIRequestDAO (S)
websockets
whitelistedEmailDAO (S)
xero
217 services, 154 served
Actually, just those with (S) at the end (S = Served) are endpoints, those without the (S) are internal services only.
So if an external system wanted to query our make updates to our user database, then would access the service/userDAO endpoint and send requests to that location using either XML or JSON.
Many of our endpoints are DAO's, meaning they are used to store data. DIG and DUG work with DAO's, but some endpoints aren't DAO's, and SUGAR is used to access those.


--
You received this message because you are subscribed to the Google Groups "foam-framework-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foam-framework-di...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages