-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First checkin of the export configuration files introduced when defin…
…ing this feed
- Loading branch information
Showing
37 changed files
with
1,243 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0.1.0 20221027 JP | ||
- First checkin of the export configuration files introduced when defining this feed |
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 @@ | ||
© 2022. This software and its content are copyright of the partner institutions of | ||
The Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support (ACCESS) | ||
affiliated Track 3: COre National Ecosystem for CyberinfrasTructure (CONECT) project. | ||
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file | ||
except in compliance with the License. All other rights reserved. You may obtain a copy of | ||
the License at: http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software distributed under | ||
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF | ||
ANY KIND, either express or implied. See the License for the specific language | ||
governing permissions and limitations under the License. |
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,53 @@ | ||
# ACCESS CONECT Information Sharing Platform | ||
# Drupal Feed of ACCESS Integrated Resources | ||
|
||
## Summary | ||
|
||
Mirrors Basic Information about ACCESS Active RP Resources into a Drupal content type. | ||
|
||
Includes a URL for retrieving all available CiDeR information in JSON format. | ||
|
||
Information comes from an Information Sharing Platform API with built-in filters defining ACCESS Active. | ||
|
||
## Basic Information | ||
|
||
Basic information includes: | ||
- Resource Descriptive Name (Title) | ||
- Detail View URL - link to a public CiDeR page of the resource | ||
- Raw Data URL - link to a public API returning all availailble resource information in JSON | ||
- Resource type | ||
- Latest resource status, begin and end dates | ||
- Organization name, URL, and logo URL | ||
- Affiliation, XSEDE for now, eventually ACCESS | ||
- CiDeR Resource ID | ||
- Global Information Sharing Platform Resource ID | ||
|
||
## Implementation Details | ||
|
||
Creates these Drupal elements: | ||
- Content Type: ACCESS Active Resources from CiDeR | ||
Machine name: access_active_resources_from_cid | ||
|
||
- Feed Type: ACCESS Active Resources from CiDeR Feed | ||
Machine name: cider_active_resources_feed | ||
|
||
- Feed: Retrieve CiDeR from Operations API | ||
|
||
|
||
Developed and tested using: | ||
- Drupal 9.4.8 | ||
|
||
- Feeds 8.x-3.0-beta2 | ||
https://www.drupal.org/project/feeds | ||
|
||
- Feeds Extensible Parsers 8.x-1.0-beta1 | ||
https://www.drupal.org/project/feeds_ex | ||
|
||
|
||
## Developer Notes | ||
|
||
1. Full Drupal export before implementation | ||
2. Define Content Tyupe, Feed Type, Feed | ||
3. Full Drupal export after implementation | ||
4. tar -C export_after -czvf new_files.tgz `diff -n export_before export_after|awk '{print $4}'` | ||
5. extrac new_files.tgz into the export/ directory |
22 changes: 22 additions & 0 deletions
22
export/core.base_field_override.node.access_active_resources_from_cid.promote.yml
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,22 @@ | ||
uuid: 2bd85984-7b54-4e4d-9cee-dae162d251f9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.access_active_resources_from_cid | ||
id: node.access_active_resources_from_cid.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: access_active_resources_from_cid | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
18 changes: 18 additions & 0 deletions
18
export/core.base_field_override.node.access_active_resources_from_cid.title.yml
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,18 @@ | ||
uuid: 129b8117-87bf-4641-b997-9cc381253b18 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.access_active_resources_from_cid | ||
id: node.access_active_resources_from_cid.title | ||
field_name: title | ||
entity_type: node | ||
bundle: access_active_resources_from_cid | ||
label: 'Descriptive Name' | ||
description: '' | ||
required: true | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
137 changes: 137 additions & 0 deletions
137
export/core.entity_form_display.node.access_active_resources_from_cid.default.yml
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,137 @@ | ||
uuid: 13af182e-0033-46f2-b97f-6085628c5eea | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.access_active_resources_from_cid.body | ||
- field.field.node.access_active_resources_from_cid.feeds_item | ||
- field.field.node.access_active_resources_from_cid.field_access_global_resource_id | ||
- field.field.node.access_active_resources_from_cid.field_access_org_logo_url | ||
- field.field.node.access_active_resources_from_cid.field_access_org_name | ||
- field.field.node.access_active_resources_from_cid.field_access_org_url | ||
- field.field.node.access_active_resources_from_cid.field_cider_detail_view_url | ||
- field.field.node.access_active_resources_from_cid.field_cider_latest_status | ||
- field.field.node.access_active_resources_from_cid.field_cider_latest_status_begin | ||
- field.field.node.access_active_resources_from_cid.field_cider_latest_status_end | ||
- field.field.node.access_active_resources_from_cid.field_cider_project_affiliation | ||
- field.field.node.access_active_resources_from_cid.field_cider_raw_data_url | ||
- field.field.node.access_active_resources_from_cid.field_cider_resource_id | ||
- field.field.node.access_active_resources_from_cid.field_cider_resource_type | ||
- node.type.access_active_resources_from_cid | ||
module: | ||
- datetime | ||
- link | ||
id: node.access_active_resources_from_cid.default | ||
targetEntityType: node | ||
bundle: access_active_resources_from_cid | ||
mode: default | ||
content: | ||
field_access_global_resource_id: | ||
type: string_textfield | ||
weight: 2 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_access_org_logo_url: | ||
type: link_default | ||
weight: 10 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
field_access_org_name: | ||
type: string_textfield | ||
weight: 8 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_access_org_url: | ||
type: link_default | ||
weight: 9 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
field_cider_detail_view_url: | ||
type: link_default | ||
weight: 11 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
field_cider_latest_status: | ||
type: string_textfield | ||
weight: 5 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_cider_latest_status_begin: | ||
type: datetime_default | ||
weight: 6 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_cider_latest_status_end: | ||
type: datetime_default | ||
weight: 7 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_cider_project_affiliation: | ||
type: string_textfield | ||
weight: 4 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_cider_raw_data_url: | ||
type: link_default | ||
weight: 12 | ||
region: content | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
field_cider_resource_id: | ||
type: string_textfield | ||
weight: 1 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_cider_resource_type: | ||
type: string_textfield | ||
weight: 3 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
body: true | ||
created: true | ||
feeds_item: true | ||
path: true | ||
promote: true | ||
status: true | ||
sticky: true | ||
uid: true |
Oops, something went wrong.