Last active
December 28, 2022 19:46
-
-
Save 007lva/52413fd66982a13fbdc8795ab1373055 to your computer and use it in GitHub Desktop.
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
# First of all, ensure farming-consumers is up and running | |
ct_attributes = FactoryBot.build(:es_concept_type).attributes | |
# in Staging you might need to do this before call Create service: | |
# transactions (sta):009> ct_attributes["uuid"] = SecureRandom.uuid | |
ES::ConceptTypes::Create.new(attributes: ct_attributes).call | |
# check concept type created consumer in Farming (devkit logs farming-consumers) | |
ct = ES::ConceptType.last | |
cn_attributes = FactoryBot.build(:es_concept_name, concept_type: ct).attributes | |
ES::ConceptNames::Create.new(attributes: cn_attributes).call | |
# check concept name created consumer in Farming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment