Page MenuHomeDevCentral

Bootstrap base SaaS library
ClosedPublic

Authored by dereckson on Mar 18 2018, 18:57.
Tags
None
Referenced Files
F3791699: D1443.id.diff
Wed, Nov 27, 13:15
F3791647: D1443.id3706.diff
Wed, Nov 27, 12:56
F3790200: D1443.id3693.diff
Wed, Nov 27, 04:48
Unknown Object (File)
Tue, Nov 26, 01:34
Unknown Object (File)
Tue, Nov 26, 01:34
Unknown Object (File)
Tue, Nov 26, 01:34
Unknown Object (File)
Tue, Nov 26, 01:34
Unknown Object (File)
Mon, Nov 25, 00:40
Subscribers
None

Details

Summary

Those base classes have been extracted from the MediaWiki SaaS
entry point.

The goal of the service is to check if the instance exists,
and then to load the instance required and specific configuration.

It also features a /status entry point to allow easy querying
from monitoring services.

The class methods have been inspired by the API microservice,
so a common foundation for a microservice and a SaaS could be
possible if we need to make them evolve more in the future.

Ref T845.

Test Plan

Those classes are used by saas-mediawiki, so they work with
a real implementation.

Unit tests cover helper methods.

Diff Detail

Repository
rSAASSVC SaaS base entry point
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
master
Build Status
Buildable 2276
Build 2524: arc lint + arc unit

Event Timeline

dereckson created this revision.

Tweak description, add mock test

dereckson retitled this revision from Initial revision to Bootstrap base SaaS library.Mar 19 2018, 11:20

I'd really like to get rid of the die constructs and refactor request serving code, but there is some emergency constraints to restore agora.nasqueron.org and Wolfplex wiki.

So I'm going to publish this as a 0.0.1 version, and refactor afterwards to a 0.1.0.

This revision is now accepted and ready to land.Mar 19 2018, 23:44
dereckson set the repository for this revision to rSAASSVC SaaS base entry point.
This revision was automatically updated to reflect the committed changes.