Page MenuHomeDevCentral

Bootstrap base SaaS library
ClosedPublic

Authored by dereckson on Mar 18 2018, 18:57.
Tags
None
Referenced Files
F3948653: D1443.id3707.diff
Fri, Dec 27, 13:11
Unknown Object (File)
Tue, Dec 24, 09:28
Unknown Object (File)
Sun, Dec 15, 20:40
Unknown Object (File)
Fri, Dec 13, 21:22
Unknown Object (File)
Thu, Dec 12, 23:16
Unknown Object (File)
Thu, Dec 12, 16:45
Unknown Object (File)
Thu, Dec 12, 11:47
Unknown Object (File)
Wed, Dec 11, 21:43
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

Lint
No Lint Coverage
Unit
No Test Coverage
Branch
master
Build Status
Buildable 2284
Build 2532: 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.