debian/bullseye
|
Last change
on this file since cb39a77 was 74c3571, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago |
|
Added gnuboat_mapservice:
it is a REST webservice designed with Apigility to allow the user to upload data, create waters and so on
|
-
Property mode
set to
100644
|
|
File size:
496 bytes
|
| Line | |
|---|
| 1 | INSERT INTO oauth_users (
|
|---|
| 2 | username,
|
|---|
| 3 | password,
|
|---|
| 4 | first_name,
|
|---|
| 5 | last_name)
|
|---|
| 6 | VALUES (
|
|---|
| 7 | "testuser",
|
|---|
| 8 | "test",
|
|---|
| 9 | "Test",
|
|---|
| 10 | "User"
|
|---|
| 11 | );
|
|---|
| 12 |
|
|---|
| 13 | INSERT INTO oauth_clients (
|
|---|
| 14 | client_id,
|
|---|
| 15 | client_secret,
|
|---|
| 16 | redirect_uri,
|
|---|
| 17 | user_id)
|
|---|
| 18 | VALUES (
|
|---|
| 19 | "testclient",
|
|---|
| 20 | "$2y$14$f3qml4G2hG6sxM26VMq.geDYbsS089IBtVJ7DlD05BoViS9PFykE2",
|
|---|
| 21 | "/oauth/receivecode",
|
|---|
| 22 | "testuser"
|
|---|
| 23 | );
|
|---|
| 24 |
|
|---|
| 25 | INSERT INTO waters (
|
|---|
| 26 | label,
|
|---|
| 27 | osm_id,
|
|---|
| 28 | osm_type,
|
|---|
| 29 | osm_class)
|
|---|
| 30 | VALUES (
|
|---|
| 31 | "Forggensee",
|
|---|
| 32 | 897899,
|
|---|
| 33 | "R",
|
|---|
| 34 | 'natural'
|
|---|
| 35 | );
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.