Skip to content

Commit

Permalink
Updated references to the legacy repo
Browse files Browse the repository at this point in the history
  • Loading branch information
asdaraujo committed Jan 5, 2021
1 parent 7a13fac commit 19eb814
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .build
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
20201113165654
Previous commit: 9fa7743 Set TLS parameters of Oozie on CDP 7.1.4 and later
20210105175822
Previous commit: 7a13fac Added license and notices
6 changes: 3 additions & 3 deletions AC_Demo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ image::images/queued_events.png[width=300]
[[lab_4, Lab 4]]
== Lab 4 - Registering our schema in Schema Registry

The data produced by the temperature sensors is described by the schema in file `link:https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc[sensor.avsc]`. In this lab we will register this schema in Schema Registry so that our flows in NiFi can refer to schema using an unified service. This will also allow us to evolve the schema in the future, if needed, keeping older versions under version control, so that existing flows and flowfiles will continue to work.
The data produced by the temperature sensors is described by the schema in file `link:https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc[sensor.avsc]`. In this lab we will register this schema in Schema Registry so that our flows in NiFi can refer to schema using an unified service. This will also allow us to evolve the schema in the future, if needed, keeping older versions under version control, so that existing flows and flowfiles will continue to work.

. Go the following URL, which contains the schema definition we'll use for this lab. Select all contents of the page and copy it.
+
`link:https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc[https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc, window="_blank"]`
`link:https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc[https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc, window="_blank"]`

. In the Schema Registry Web UI, click the `+` sign to register a new schema.

Expand Down Expand Up @@ -912,7 +912,7 @@ image::images/engines.png[width=800]

=== STEP 2: Create the project

. Return to the main page and click on *New Project*, using this GitHub project as the source: `https://github.com/asdaraujo/edge2ai-workshop`
. Return to the main page and click on *New Project*, using this GitHub project as the source: `https://github.com/cloudera-labs/edge2ai-workshop`
+
image::images/create_project.png[width=800]

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If you want to supply your own schema for testing, save it locally and export th

[source,shell]
----
wget https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc
wget https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/trunk/sensor.avsc
export SCHEMA_FILE=$PWD/sensor.avsc
----

Expand Down
2 changes: 1 addition & 1 deletion datascience.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image::images/engines.png[width=800]

=== STEP 2: Create the project

. Return to the main page and click on *New Project*, using this GitHub project as the source: `https://github.com/asdaraujo/edge2ai-workshop`
. Return to the main page and click on *New Project*, using this GitHub project as the source: `https://github.com/cloudera-labs/edge2ai-workshop`
+
image::images/create_project.png[width=800]

Expand Down
2 changes: 1 addition & 1 deletion setup/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ docker pull asdaraujo/edge2ai-workshop:latest
sudo yum install -y git
# Clone the repo
git clone https://github.com/asdaraujo/edge2ai-workshop.git
git clone https://github.com/cloudera-labs/edge2ai-workshop.git
----

. Review software versions and edit them as needed. All the versions and locations of the software used for the setup are defined in the `edge2ai-workshop/setup/scripts/stack.sh` file. If this file does not exist, create it with one of the commands below:
Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:alpine

LABEL maintainer="Dan Chaffelson <chaffelson@gmail.com>"
LABEL maintainer="Andre Araujo <araujo@cloudera.com>"
LABEL site="https://github.com/asdaraujo/edge2ai-workshop/tree/master/setup"

ENV PYTHONUNBUFFERED=0
Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export PS4='+ [${BASH_SOURCE#'"$BASE_DIR"/'}:${LINENO}]: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'

DEFAULT_DOCKER_IMAGE=asdaraujo/edge2ai-workshop:latest
GITHUB_REPO=asdaraujo/edge2ai-workshop
GITHUB_REPO=cloudera-labs/edge2ai-workshop
GITHUB_BRANCH=master

BUILD_FILE=.build
Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/resources/cdsw_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
r = s.post(CDSW_API + '/users/admin/projects', json={'template': 'git',
'project_visibility': 'private',
'name': project_name,
'gitUrl': 'https://github.com/asdaraujo/edge2ai-workshop'})
'gitUrl': 'https://github.com/cloudera-labs/edge2ai-workshop'})
project_id = r.json()['id']
print('Project ID: %s'% (project_id,))

Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/resources/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
_SCHREG_API_URL = 'http://edge2ai-1.dim.local:7788/api/v1'
_SMM_API_URL = 'http://edge2ai-1.dim.local:8585'

_SCHEMA_URI = 'https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc'
_SCHEMA_URI = 'https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc'

_CDSW_MODEL_NAME = 'IoT Prediction Model'
_CDSW_USERNAME = 'admin'
Expand Down
4 changes: 2 additions & 2 deletions streaming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ image::images/queued_events.png[width=300]
[[lab_3, Lab 3]]
== Lab 3 - Registering our schema in Schema Registry

The data produced by the temperature sensors is described by the schema in file `link:https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc[sensor.avsc]`. In this lab we will register this schema in Schema Registry so that our flows in NiFi can refer to schema using an unified service. This will also allow us to evolve the schema in the future, if needed, keeping older versions under version control, so that existing flows and flowfiles will continue to work.
The data produced by the temperature sensors is described by the schema in file `link:https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc[sensor.avsc]`. In this lab we will register this schema in Schema Registry so that our flows in NiFi can refer to schema using an unified service. This will also allow us to evolve the schema in the future, if needed, keeping older versions under version control, so that existing flows and flowfiles will continue to work.

. Go to the following URL, which contains the schema definition we'll use for this lab. Select all contents of the page and copy it.
+
`link:https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc[https://raw.githubusercontent.com/asdaraujo/edge2ai-workshop/master/sensor.avsc, window="_blank"]`
`link:https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc[https://raw.githubusercontent.com/cloudera-labs/edge2ai-workshop/master/sensor.avsc, window="_blank"]`

. In the Schema Registry Web UI, click the `+` sign to register a new schema.

Expand Down

0 comments on commit 19eb814

Please sign in to comment.