Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changes for CNP CSW-T support Adjusted indentation Added elasticsearch check to Paw [WIP] do not create services with supported extensions More robust creation of layers from arcgis folders and services Do not create layers for created services Provisional documentation for cswt using paw Verify that variable exists before accessing it, and give default value in case it doesn't Move to cnp pycsw Update migrations after uuid change Fix getattr for REGISTRY_HARVEST_SERVICES Updated cswt_insert.xml Added uuid field Only index Services if is_monitored is True Allow Service update. Use uuid in pycsw mappings Clear old pycsw Replace id_string with uuid Update tests flake8 Updated sample cswt_insert with uuid * flake8
- Loading branch information
1 parent
13c7652
commit 0e1608e
Showing
16 changed files
with
262 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## Layers creation applying CSW-T | ||
|
||
HHypermap Registry comes with the ability to create layers giving a CSW transactions. Provisionally we will use the software Paw https://paw.cloud/. | ||
|
||
### Using paw in development. | ||
|
||
We will use the example files found in the data directory. First, we need to open the project **cswt_paw.paw**. Also, we will use the example catalog *cnp*. Make sure to create the catalog in the database before executing the csw transaction. | ||
|
||
http://recordit.co/wIr24LD2EU | ||
|
||
**Note.** The first time paw asks for credentials. It is possible to solve it by reset and clear of passphrase. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('aggregator', '0002_multicatalog'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='layer', | ||
name='uuid', | ||
field=models.UUIDField(default=uuid.uuid4, editable=False), | ||
), | ||
migrations.AddField( | ||
model_name='service', | ||
name='uuid', | ||
field=models.UUIDField(default=uuid.uuid4, editable=False), | ||
), | ||
migrations.AlterField( | ||
model_name='layer', | ||
name='csw_last_updated', | ||
field=models.CharField(default=b'2016-09-05T22:37:56Z', max_length=32, null=True, blank=True), | ||
), | ||
migrations.AlterField( | ||
model_name='service', | ||
name='csw_last_updated', | ||
field=models.CharField(default=b'2016-09-05T22:37:56Z', max_length=32, null=True, blank=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('aggregator', '0003_uuid'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='service', | ||
name='is_monitored', | ||
field=models.BooleanField(default=True), | ||
), | ||
migrations.AlterField( | ||
model_name='layer', | ||
name='csw_last_updated', | ||
field=models.CharField(default=b'2016-09-05T23:11:51Z', max_length=32, null=True, blank=True), | ||
), | ||
migrations.AlterField( | ||
model_name='service', | ||
name='csw_last_updated', | ||
field=models.CharField(default=b'2016-09-05T23:11:51Z', max_length=32, null=True, blank=True), | ||
), | ||
] |
Oops, something went wrong.