-
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.
- Loading branch information
1 parent
08032ef
commit 751e327
Showing
4 changed files
with
24 additions
and
12 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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
import com.aserto.directory.common.v3.ObjectDependency; | ||
import com.aserto.directory.exporter.v3.ExportResponse; | ||
import com.aserto.directory.exporter.v3.Option; | ||
import com.aserto.directory.importer.v3.Opcode; | ||
import com.aserto.directory.model.v3.GetManifestResponse; | ||
import com.aserto.directory.v3.Directory; | ||
import com.aserto.directory.v3.DirectoryClient; | ||
|
@@ -428,13 +429,15 @@ private List<ImportElement> importCitadelDataList() { | |
Relation mortyEditorRelation = Directory.buildRelation("group", "editor", "member", "user", "[email protected]"); | ||
Relation managerRelation = Directory.buildRelation("user", "[email protected]", "manager", "user", "[email protected]"); | ||
|
||
importElements.add(new ImportElement(rick)); | ||
importElements.add(new ImportElement(morty)); | ||
importElements.add(new ImportElement(adminGroup)); | ||
importElements.add(new ImportElement(editorGroup)); | ||
importElements.add(new ImportElement(rickAdminRelation)); | ||
importElements.add(new ImportElement(mortyEditorRelation)); | ||
importElements.add(new ImportElement(managerRelation)); | ||
|
||
Opcode opcode = Opcode.OPCODE_SET; | ||
importElements.add(new ImportElement(rick, opcode)); | ||
importElements.add(new ImportElement(morty, opcode)); | ||
importElements.add(new ImportElement(adminGroup, opcode)); | ||
importElements.add(new ImportElement(editorGroup, opcode)); | ||
importElements.add(new ImportElement(rickAdminRelation, opcode)); | ||
importElements.add(new ImportElement(mortyEditorRelation, opcode)); | ||
importElements.add(new ImportElement(managerRelation, opcode)); | ||
|
||
return importElements; | ||
} | ||
|
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