anchor.diff:                    host: '{$.request.params.domain}'
                   body: '{$.request.body}'
   
  -      /{module:graphoid}:
  +      /{module:page_save}: &wp/sys/page_save
           x-modules:
  -          - name: simple_service
  +          - name: page_save
  +            type: file
  +
  +      /{module:parsoid}: &wp/sys/parsoid
  +        x-modules:
  +          - name: parsoid
               version: 1.0.0
               type: file
               options:
  -              paths:
  -                /v1/png/{title}/{revision}/{graph_id}:
  -                  get:
  -                    on_request:
  -                      - get_from_graphoid:
  -                          request:
  -                            uri: http://localhost:<%= @graphoid_port %>/{domain}/v1/png/{title}/{revision}/{graph_id}
  +              parsoidHost: http://localhost:<%= scope['::mediawiki::parsoid::port'] %>
   
  -      /{module:mobileapps}:
  -        x-modules:
  -          - name: simple_service
  -            version: 1.0.0
  -            type: file
  -            options:
  -              paths:
  -                /v1/html/{title}:
  -                  get:
  -                    on_request:
  -                      - get_from_backend:
  -                          request:
  -                            uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html/{title}
  -                /v1/sections/{title}:
  -                  get:
  -                    on_request:
  -                      - get_from_backend:
  -                          request:
  -                            uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections/{title}
  -                /v1/sections-lead/{title}:
  -                  get:
  -                    on_request:
  -                      - get_from_backend:
  -                          request:
  -                            uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections-lead/{title}
  -                /v1/sections-remaining/{title}:
  -                  get:
  -                    on_request:
  -                      - get_from_backend:
  -                          request:
  -                            uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections-remaining/{title}
  -                /v1/text/{title}:
  -                  get:
  -                    on_request:
  -                      - get_from_backend:
  -                          request:
  -                            uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-text/{title}
  +      /{module:graphoid}/v1/png/{title}/{revision}/{graph_id}:
  +        get:
  +          x-request-handler:
  +            - get_from_graphoid:
  +                request:
  +                  uri: http://localhost:<%= @graphoid_port %>/{domain}/v1/png/{title}/{revision}/{graph_id}
   
  -      /{module:page_save}:
  -        x-modules:
  -          - name: page_save
  -            type: file
  +      /{module:mobileapps}/v1/html/{title}:
  +        get:
  +          x-request-handler:
  +            - get_from_backend:
  +                request:
  +                  uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html/{title}
  +      /{module:mobileapps}/v1/sections/{title}:
  +        get:
  +          x-request-handler:
  +            - get_from_backend:
  +                request:
  +                  uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections/{title}
  +      /{module:mobileapps}/v1/sections-lead/{title}:
  +        get:
  +          x-request-handler:
  +            - get_from_backend:
  +                request:
  +                  uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections-lead/{title}
  +      /{module:mobileapps}/v1/sections-remaining/{title}:
  +        get:
  +          x-request-handler:
  +            - get_from_backend:
  +                request:
  +                  uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-html-sections-remaining/{title}
  +      /{module:mobileapps}/v1/text/{title}:
  +        get:
  +          x-request-handler:
  +            - get_from_backend:
  +                request:
  +                  uri: http://appservice.wmflabs.org/{domain}/v1/page/mobile-text/{title}
   
   #      /{module:revscore}:
   #        title: Simple revscore service wrapper
  
positive.code:               conf:
                  dbname: <%= @dbdir %>/mw-vagrant.sqlite3
  
        /{module:page_revisions}:
          x-modules:
              - name: page_revisions
                version: 1.0.0
                type: file
  
        /{module:key_rev_value}:
          x-modules:
            - name: key_rev_value
              version: 1.0.0
              type: file
  
        /{module:parsoid}:
          x-modules:
            - name: parsoid
              version: 1.0.0
              type: file
              options:
                parsoidHost: http://localhost:<%= scope['::mediawiki::parsoid::port'] %>
  
        /{module:action}:
          x-modules:
            - name: action
              type: file
  
negative.code: 
  salt: secret
  default_page_size: 100
  user_agent: RESTBase/MW-Vagrant
  