Skip to content

Commit

Permalink
Merge pull request #328 from SalesforceFoundation/feature/optionalUnp…
Browse files Browse the repository at this point in the history
…acakgedObject

Move objects to a separate folder and add a new optional step to deploy them
  • Loading branch information
Sarah Pinkelman authored Aug 12, 2021
2 parents 0dbd29e + d5eba58 commit 81d9b3e
Show file tree
Hide file tree
Showing 36 changed files with 131 additions and 108 deletions.
15 changes: 15 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,15 @@ tasks:
options:
path: unpackaged/config/installer

deploy_unpackaged_objects:
description: Deploys the K12 Kit Unpackaged Objects
class_path: cumulusci.tasks.salesforce.Deploy
group: "K-12: Installer Tasks"
ui_options:
name: Deploy K12 Architecture Kit Unpackaged Objects
options:
path: unpackaged/config/objects

deploy_trial_config:
description: Deploys metadata and configuration for TSOs.
class_path: cumulusci.tasks.salesforce.Deploy
Expand Down Expand Up @@ -618,6 +627,12 @@ flows:
config:
name: K-12 Architecture Kit Metadata and Configuration
6:
task: deploy_unpackaged_objects
ui_options:
name: Deploy K-12 Architecture Kit Unpackaged Objects
is_required: False
is_recommended: False
7:
task: deploy_k12_app
ui_options:
name: Deploy K-12 Architecture Kit App Tile
Expand Down
6 changes: 5 additions & 1 deletion metadeploy/labels_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
"EDA - Education Data Architecture App": {
"message": "EDA - Education Data Architecture App",
"description": "title of installation step"
},
"Deploy K-12 Architecture Kit Unpackaged Objects": {
"message": "Deploy K-12 Architecture Kit Unpackaged Objects",
"description": "title of installation step"
}
},
"checks": {
Expand All @@ -125,4 +129,4 @@
"description": "shown after successful installation (markdown)"
}
}
}
}
File renamed without changes.
110 changes: 110 additions & 0 deletions unpackaged/config/objects/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account.K12_Household_Compact_Layout</members>
<members>Account.hed__HEDA_Account_Compact_Layout</members>
<members>Case.K12_Case_Compact_Layout</members>
<members>Contact.K12_Faculty_Contact_Compact_Layout</members>
<members>Contact.K12_Guardian_Contact_Compact_Layout</members>
<members>Contact.K12_Student_Contact_Compact_Layout</members>
<members>Contact.hed__HEDA_Contact_Compact_Layout</members>
<members>hed__Affiliation__c.hed__HEDA_Affiliation_Compact_Layout</members>
<members>hed__Application__c.K12_Application_Compact_Layout</members>
<members>hed__Attendance_Event__c.K12_Attendance_Event_Compact_Layout</members>
<members>hed__Attribute__c.K12_Credential_Compact_Layout</members>
<members>hed__Attribute__c.K12_Student_Characteristic_Compact_Layout</members>
<members>hed__Behavior_Involvement__c.K12_Behavior_Involvement_Compact_Layout</members>
<members>hed__Behavior_Response__c.K12_Behavior_Response_Compact_Layout</members>
<members>hed__Contact_Language__c.hed__HEDA_Contact_Language_Compact_Layout</members>
<members>hed__Course_Enrollment__c.K12_Faculty_Course_Connection_Compact_Layout</members>
<members>hed__Course_Enrollment__c.K12_Student_Course_Connection_Compact_Layout</members>
<members>hed__Course_Enrollment__c.hed__HEDA_Course_Enrollment_Compact_Layout</members>
<members>hed__Course_Offering_Schedule__c.K12_Course_Offering_Schedule_Compact_Layout</members>
<members>hed__Course__c.hed__HEDA_Course_Compact_Layout</members>
<members>hed__Education_History__c.K12_Education_History_Compact_Layout</members>
<members>hed__Facility__c.K12_Facility_Compact_Layout</members>
<members>hed__Facility__c.hed__HEDA_Facility_Compact_Layout</members>
<members>hed__Plan_Requirement__c.hed__HEDA_Plan_Requirement_Compact_Layout</members>
<members>hed__Program_Enrollment__c.K12_Program_Enrollment_Compact_Layout</members>
<members>hed__Program_Enrollment__c.hed__HEDA_Program_Enrollment_Compact_Layout</members>
<members>hed__Program_Plan__c.K12_Program_Plan_Compact_Layout</members>
<members>hed__Program_Plan__c.hed__HEDA_Program_Plan_Compact_Layout</members>
<members>hed__Relationship__c.K12_Relationship_Compact_Layout</members>
<members>hed__Relationship__c.hed__HEDA_Relationship_Compact_Layout</members>
<members>hed__Term_Grade__c.K12_Term_Grade_Compact_Layout</members>
<members>hed__Term__c.hed__HEDA_Term_Compact_Layout</members>
<members>hed__Test__c.K12_Test_Compact_Layout</members>
<members>hed__Test_Score__c.K12_Test_Score_Compact_Layout</members>
<members>hed__Time_Block__c.K12_Time_Block_Compact_Layout</members>
<name>CompactLayout</name>
</types>
<types>
<members>*</members>
<name>CustomObject</name>
</types>
<types>
<members>%%%NAMESPACE%%%Grade_Enrollment__c.Grade_Number__c</members>
<name>CustomField</name>
</types>
<types>
<members>*</members>
<name>CustomObjectTranslation</name>
</types>
<types>
<members>Account.K12_All_Academic_Departments</members>
<members>Account.K12_All_Academic_Programs</members>
<members>Account.K12_All_Educational_Institutions</members>
<members>Account.K12_All_Households</members>
<members>Case.K12_All_Incident_Cases</members>
<members>Case.K12_All_Positive_Behavior_Cases</members>
<members>Contact.K12_All_Faculty</members>
<members>Contact.K12_All_Guardians</members>
<members>Contact.K12_All_Students</members>
<members>%%%NAMESPACE%%%Grade_Enrollment__c.K_12_All_Grade_Enrollments</members>
<members>hed__Affiliation__c.K12_All_Affiliations</members>
<members>hed__Application__c.K_12_All_Applications</members>
<members>hed__Attribute__c.K_12_All_Student_Characteristics</members>
<members>hed__Attribute__c.K_12_All_Credentials</members>
<members>hed__Behavior_Involvement__c.K12_All_Incident_Involvements</members>
<members>hed__Behavior_Involvement__c.K12_All_Positive_Behavior_Involvements</members>
<members>hed__Behavior_Response__c.K12_All_Incident_Responses</members>
<members>hed__Behavior_Response__c.K12_All_Positive_Behavior_Responses</members>
<members>hed__Contact_Language__c.K12_All_Contact_Languages</members>
<members>hed__Course_Enrollment__c.K12_All_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_All_Faculty_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_All_Student_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_Students_Current_Course_Connections</members>
<members>hed__Course_Offering_Schedule__c.K12_All_Course_Offering_Schedules</members>
<members>hed__Course_Offering__c.K12_All_Course_Offerings</members>
<members>hed__Course__c.K12_All_Courses</members>
<members>hed__Education_History__c.K12_All_Education_Histories</members>
<members>hed__Facility__c.K12_All_Facilities</members>
<members>hed__Plan_Requirement__c.K12_All_Plan_Requirements</members>
<members>hed__Program_Enrollment__c.K12_All_Program_Enrollments</members>
<members>hed__Program_Plan__c.K12_All_Program_Plans</members>
<members>hed__Relationship__c.K_12_All_Relationships</members>
<members>hed__Term_Grade__c.K12_All_Term_Grades</members>
<members>hed__Term__c.K12_All_Terms</members>
<members>hed__Test__c.K_12_All_Tests</members>
<members>hed__Test_Score__c.K_12_All_Test_Scores</members>
<members>hed__Time_Block__c.K12_All_Time_Blocks</members>
<name>ListView</name>
</types>
<types>
<members>Account.HH_Account</members>
<members>Case.Positive_Behavior</members>
<members>Contact.Faculty</members>
<members>Contact.Guardian</members>
<members>Contact.Student</members>
<members>hed__Attribute__c.hed__Credential</members>
<members>hed__Attribute__c.hed__Student_Characteristic</members>
<members>hed__Behavior_Involvement__c.Incident_Involvement</members>
<members>hed__Behavior_Involvement__c.Positive_Behavior_Involvement</members>
<members>hed__Behavior_Response__c.Incident_Response</members>
<members>hed__Behavior_Response__c.Positive_Behavior_Response</members>
<members>hed__Course_Enrollment__c.Faculty</members>
<members>hed__Course_Enrollment__c.Student</members>
<name>RecordType</name>
</types>
<version>48.0</version>
</Package>
108 changes: 1 addition & 107 deletions unpackaged/post/config/package.xml
Original file line number Diff line number Diff line change
@@ -1,43 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Account.K12_Household_Compact_Layout</members>
<members>Account.hed__HEDA_Account_Compact_Layout</members>
<members>Case.K12_Case_Compact_Layout</members>
<members>Contact.K12_Faculty_Contact_Compact_Layout</members>
<members>Contact.K12_Guardian_Contact_Compact_Layout</members>
<members>Contact.K12_Student_Contact_Compact_Layout</members>
<members>Contact.hed__HEDA_Contact_Compact_Layout</members>
<members>hed__Affiliation__c.hed__HEDA_Affiliation_Compact_Layout</members>
<members>hed__Application__c.K12_Application_Compact_Layout</members>
<members>hed__Attendance_Event__c.K12_Attendance_Event_Compact_Layout</members>
<members>hed__Attribute__c.K12_Credential_Compact_Layout</members>
<members>hed__Attribute__c.K12_Student_Characteristic_Compact_Layout</members>
<members>hed__Behavior_Involvement__c.K12_Behavior_Involvement_Compact_Layout</members>
<members>hed__Behavior_Response__c.K12_Behavior_Response_Compact_Layout</members>
<members>hed__Contact_Language__c.hed__HEDA_Contact_Language_Compact_Layout</members>
<members>hed__Course_Enrollment__c.K12_Faculty_Course_Connection_Compact_Layout</members>
<members>hed__Course_Enrollment__c.K12_Student_Course_Connection_Compact_Layout</members>
<members>hed__Course_Enrollment__c.hed__HEDA_Course_Enrollment_Compact_Layout</members>
<members>hed__Course_Offering_Schedule__c.K12_Course_Offering_Schedule_Compact_Layout</members>
<members>hed__Course__c.hed__HEDA_Course_Compact_Layout</members>
<members>hed__Education_History__c.K12_Education_History_Compact_Layout</members>
<members>hed__Facility__c.K12_Facility_Compact_Layout</members>
<members>hed__Facility__c.hed__HEDA_Facility_Compact_Layout</members>
<members>hed__Plan_Requirement__c.hed__HEDA_Plan_Requirement_Compact_Layout</members>
<members>hed__Program_Enrollment__c.K12_Program_Enrollment_Compact_Layout</members>
<members>hed__Program_Enrollment__c.hed__HEDA_Program_Enrollment_Compact_Layout</members>
<members>hed__Program_Plan__c.K12_Program_Plan_Compact_Layout</members>
<members>hed__Program_Plan__c.hed__HEDA_Program_Plan_Compact_Layout</members>
<members>hed__Relationship__c.K12_Relationship_Compact_Layout</members>
<members>hed__Relationship__c.hed__HEDA_Relationship_Compact_Layout</members>
<members>hed__Term_Grade__c.K12_Term_Grade_Compact_Layout</members>
<members>hed__Term__c.hed__HEDA_Term_Compact_Layout</members>
<members>hed__Test__c.K12_Test_Compact_Layout</members>
<members>hed__Test_Score__c.K12_Test_Score_Compact_Layout</members>
<members>hed__Time_Block__c.K12_Time_Block_Compact_Layout</members>
<name>CompactLayout</name>
</types>
<types>
<members>k12_architecture_kit_1_lines_2</members>
<name>ContentAsset</name>
Expand All @@ -46,18 +8,6 @@
<members>*</members>
<name>CustomApplication</name>
</types>
<types>
<members>%%%NAMESPACE%%%Grade_Enrollment__c.Grade_Number__c</members>
<name>CustomField</name>
</types>
<types>
<members>*</members>
<name>CustomObject</name>
</types>
<types>
<members>*</members>
<name>CustomObjectTranslation</name>
</types>
<types>
<members>Sample_Dashboards</members>
<members>Sample_Dashboards/fPczBaMKgApKGhzefAcauJRBijCZvI</members>
Expand All @@ -67,66 +17,10 @@
<members>*</members>
<name>FlexiPage</name>
</types>
<types>
<members>Account.K12_All_Academic_Departments</members>
<members>Account.K12_All_Academic_Programs</members>
<members>Account.K12_All_Educational_Institutions</members>
<members>Account.K12_All_Households</members>
<members>Case.K12_All_Incident_Cases</members>
<members>Case.K12_All_Positive_Behavior_Cases</members>
<members>Contact.K12_All_Faculty</members>
<members>Contact.K12_All_Guardians</members>
<members>Contact.K12_All_Students</members>
<members>%%%NAMESPACE%%%Grade_Enrollment__c.K_12_All_Grade_Enrollments</members>
<members>hed__Affiliation__c.K12_All_Affiliations</members>
<members>hed__Application__c.K_12_All_Applications</members>
<members>hed__Attribute__c.K_12_All_Student_Characteristics</members>
<members>hed__Attribute__c.K_12_All_Credentials</members>
<members>hed__Behavior_Involvement__c.K12_All_Incident_Involvements</members>
<members>hed__Behavior_Involvement__c.K12_All_Positive_Behavior_Involvements</members>
<members>hed__Behavior_Response__c.K12_All_Incident_Responses</members>
<members>hed__Behavior_Response__c.K12_All_Positive_Behavior_Responses</members>
<members>hed__Contact_Language__c.K12_All_Contact_Languages</members>
<members>hed__Course_Enrollment__c.K12_All_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_All_Faculty_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_All_Student_Course_Connections</members>
<members>hed__Course_Enrollment__c.K12_Students_Current_Course_Connections</members>
<members>hed__Course_Offering_Schedule__c.K12_All_Course_Offering_Schedules</members>
<members>hed__Course_Offering__c.K12_All_Course_Offerings</members>
<members>hed__Course__c.K12_All_Courses</members>
<members>hed__Education_History__c.K12_All_Education_Histories</members>
<members>hed__Facility__c.K12_All_Facilities</members>
<members>hed__Plan_Requirement__c.K12_All_Plan_Requirements</members>
<members>hed__Program_Enrollment__c.K12_All_Program_Enrollments</members>
<members>hed__Program_Plan__c.K12_All_Program_Plans</members>
<members>hed__Relationship__c.K_12_All_Relationships</members>
<members>hed__Term_Grade__c.K12_All_Term_Grades</members>
<members>hed__Term__c.K12_All_Terms</members>
<members>hed__Test__c.K_12_All_Tests</members>
<members>hed__Test_Score__c.K_12_All_Test_Scores</members>
<members>hed__Time_Block__c.K12_All_Time_Blocks</members>
<name>ListView</name>
</types>
<types>
<members>*</members>
<name>Profile</name>
</types>
<types>
<members>Account.HH_Account</members>
<members>Case.Positive_Behavior</members>
<members>Contact.Faculty</members>
<members>Contact.Guardian</members>
<members>Contact.Student</members>
<members>hed__Attribute__c.hed__Credential</members>
<members>hed__Attribute__c.hed__Student_Characteristic</members>
<members>hed__Behavior_Involvement__c.Incident_Involvement</members>
<members>hed__Behavior_Involvement__c.Positive_Behavior_Involvement</members>
<members>hed__Behavior_Response__c.Incident_Response</members>
<members>hed__Behavior_Response__c.Positive_Behavior_Response</members>
<members>hed__Course_Enrollment__c.Faculty</members>
<members>hed__Course_Enrollment__c.Student</members>
<name>RecordType</name>
</types>
</types>
<types>
<members>unfiled$public/Course_Offering_Roster</members>
<members>unfiled$public/Faculty_Grouped_by_School</members>
Expand Down

0 comments on commit 81d9b3e

Please sign in to comment.