Page MenuHomeDevCentral

Bootstrap base SaaS library
ClosedPublic

Authored by dereckson on Mar 18 2018, 18:57.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 18:10
Unknown Object (File)
Fri, Nov 22, 05:03
Unknown Object (File)
Sun, Nov 17, 19:06
Unknown Object (File)
Sun, Nov 17, 19:06
Unknown Object (File)
Sun, Nov 17, 19:06
Unknown Object (File)
Sun, Nov 17, 19:06
Unknown Object (File)
Sun, Nov 17, 19:06
Unknown Object (File)
Sun, Nov 17, 19:06
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 2270
Build 2518: 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.