• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

geosolutions-it / geostore / 38
39%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2017 09:47AM UTC
Jobs 3
Files 179
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
38

push

travis-ci

web-flow
In memory implementation of session token service #153 (#155)

In memory implementation of session token service as from #153

API: 
 * POST to `/session/login` returns a json similar to the oauth2 format
```
{
  "access_token": "fb431280-a11d-4d56-9da9-1cc0287e7546", // the token
  "expires": 3600, //token validity
  "refresh_token": "22122101-ce8a-4bc9-8e36-1a5c8cdffe19", // refresh token
  "token_type": "bearer" // token type
}

```
* POST to `/session/refresh/<access_token>/<refresh_token>/` allows to refresh token
* DELETE `/session/` does the logout
* GET `/session/username/<access_token>` return the username associated to the token (if enabled you can automatically refresh the session using `refresh=true` parameter)
* GET `/session/user/<access_token>` get full user details (if enabled you can automatically refresh the session using `refresh=true` parameter)

You can configure the expiration interval timeout in `geostore-ovr.properties`

```
# change session duration interval
restSessionService.sessionTimeout=3600
# allow to refresh without refresh token, using /session/user and session/username
restSessionService.autoRefresh=true
```

1909 of 6071 relevant lines covered (31.44%)

71.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 (m0vxvQKaatE4BRB7Z+fvfUGSBGWSPY3W79EVgYHpAEWxta2Eqegr9p9RwJTJt8W9IMbbodp7HpEINdOaMl81XZPDfBN/nM5a9H7sgvJUTjnF2TvjHEiL7QQHFa0u8P2mDtvE5y/2TC08kxRwVPrFIsVAzcRG5TjfvNRGjQJrIWyckBHwSuBarMk+OevNTwqp3cTvVJGBOvneJQ676Eqhcpch6gk9W8KfpAvTxvErCwRRYugYDKJtfNc1vg0jdYS2TtWn78NjlZaq6ddSABDHs5BrEdx20gfKp452SrNS+ZY0xUocAV+qEqPpEKSdju764jndF0kWUYauxtoQmmncA7lYylRS3LJt1AW2EllwNQ5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TC 0
31.69
Travis Job 38.2
3 38.3 (m0vxvQKaatE4BRB7Z+fvfUGSBGWSPY3W79EVgYHpAEWxta2Eqegr9p9RwJTJt8W9IMbbodp7HpEINdOaMl81XZPDfBN/nM5a9H7sgvJUTjnF2TvjHEiL7QQHFa0u8P2mDtvE5y/2TC08kxRwVPrFIsVAzcRG5TjfvNRGjQJrIWyckBHwSuBarMk+OevNTwqp3cTvVJGBOvneJQ676Eqhcpch6gk9W8KfpAvTxvErCwRRYugYDKJtfNc1vg0jdYS2TtWn78NjlZaq6ddSABDHs5BrEdx20gfKp452SrNS+ZY0xUocAV+qEqPpEKSdju764jndF0kWUYauxtoQmmncA7lYylRS3LJt1AW2EllwNQ5SEaaJk9crHePSwpqjsyUaCVG4JB3lu6y6lO8ZSg9TGNE9y+KinHiwkLvV97XcqbfSXmeyNow9+asMB23x7MM0t2cek6XHNfUVi6wc0iHU7/i5zqvZs9HjJVtQXZ4mJ1WJlJmPnXOXK3hbSs4lhcj/ZE8C85ehax/9n+t2wzDdWJoz2ww8I0KcrbVEM81uZWtpSR62F9kIMsXNQsxKz8BBHCl5HBgSakmoIk7rjNp+TTqMC2lLCmzXU9TQ22Ev8+0a5+97SO60rt+8w4M6S0Vq2QQO4dEyl2ppWC5hl60oaCU/KbJe79WeNfixBNVuOwY=[secure]) 14 Feb 2017 09:52AM UTC 0
31.69
Travis Job 38.3
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • 998b8d42 on github
  • Prev Build on master (#31)
  • Next Build on master (#39)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc