Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.1.X, Master
    • Component/s: Headless CMS
    • Labels:
      None

      Description

      Move the code

      
      String contentStructureId = ApioClientBuilder.given(
      		).basicAuth(
      			"test@liferay.com", "test"
      		).header(
      			"Accept", "application/hal+json"
      		).when(
      		).get(
      			_rootEndpointURL.toExternalForm()
      		).follow(
      			"_links.content-space.href"
      		).follow(
      			"_embedded.ContentSpace.find {it.name == '" +
      				StructuredContentApioTestBundleActivator.SITE_NAME +
      					"'}._links.contentStructures.href"
      		).then(
      		).extract(
      		).path(
      			"_embedded.Structure.find {it.name == '" +
      				StructuredContentApioTestBundleActivator.SITE_NAME +
      					"'}._links.self.href"
      		);
      

      To a utility module in content space

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              cristina.gonzalez Cristina Gonzalez
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                35 weeks, 2 days ago

                Packages

                Version Package
                7.1.X
                Master