Skip to main content

All Questions

Tagged with
0 votes
0 answers
69 views

Disable tenants in multi tenant SaaS app

I am building an app where I have tenants and each tenant can have multiple users. The users can do multiple things in the application and these functionalities also are kind of independent from each ...
securita's user avatar
-1 votes
1 answer
290 views

API request and response from event consumer

How to expose an API using the traditonal request-response style while internally it handles it in event driven way (pure or partially event driven), given that if callback style may not be possible ...
once's user avatar
  • 109
1 vote
2 answers
573 views

Authenticating requests from third party users to our APIs

We have a web app which has certain APIs. Users of our webapp will use these APIs when they login to our webapp (like how many records me as a user do I own, user specific, etc). We are creating ...
MilindaD's user avatar
  • 119
0 votes
2 answers
114 views

What to test when testing an API? [closed]

When testing an API (with, for example, Java), what parts should I actually be testing when calling methods of my Controller class (e.g. a Spring RestController)? For example, lets say I've got a ...
rezadru's user avatar
  • 21
57 votes
4 answers
11k views

Are there exceptional cases where we can accept duplicate code?

I'm working on a software project where we have to build three APIs. One for the home banking channel, one for the agency channel and a third for the mobile channel. The agency API is the most ...
Mohamed Amine Mrad's user avatar
0 votes
1 answer
368 views

Moving to a Micro-services style architecture

Use-case: As part of an Airline Application I am building - I am developing a set of (RESTful) API's each for Flights, Lounges, Loyalty etc. There are some common methods which should be accessible ...
Chillax's user avatar
  • 591
1 vote
1 answer
2k views

Spring4 error handling and HTTP status codes returned for REST services

We are writing Spring4 based REST services and had a question about returned HTTP status codes. It looks like the generally accepted approach is to let the app server or web server container handle ...
berlinbrown2's user avatar
13 votes
2 answers
21k views

Structure of RESTful Service with Java Spring for Beginner

I am relatively new in terms of Java web development skills. I have a project that I think would make a good candidate for a RESTful service from what little I understand about APIs. I'm trying to get ...
aCarella's user avatar
  • 329