How to move portal artifacts from one environment to another in Redhat's 3scale - redhat

We are working with Redhat's 3scale as our API management platform.
Currently we have a development environment and we are trying to build up another environment(Staging/Production).
Does anyone know how to move the artifacts(Pages, Files, Partials, Layouts, Sections etc.) of the Developer portal from one environment to another?

At the moment there is no API available yet for the Developers Portal, but it is on the product roadmap: https://issues.redhat.com/browse/THREESCALE-361?jql=project%20%3D%20THREESCALE%20AND%20description%20~%20%22api%20cms%22

Related

How do you set up multiple environments for a virtual Unity/C# development team using Google Cloud Platform?

Title - I've got a small team, me (novice coder, project manager/owner) and a lead developer (located abroad) and I've been tasked with hosting a cloud server or VM that will be used for the development of a video game in Unity. My goal is to have one environment spun up that is dedicated to testing and development sandbox, then a second environment that's considered the "production" or the master environment. We would then need to integrate BitBucket so that our repo feeds directly into the two environments. My understanding is that this would enable the international developer to write code and share it with me abroad.
I'm using Google Cloud Platform to set up the infrastructure but there does not appear to be a clear tutorial to accomplish my goal. I've looked into Kubernetes and Agones but both have led me down the path of creating multiplayer game servers which I don't need at this stage.
Any help would be appreciated - seems like the ask is simple enough but there doesn't appear to be a clear instruction for someone non-technical like me to pick up and use.

How to show a custom web page in 1 Azure DevOps project only

I understand I can build Extension, but it appears it will install on all projects in the collection. My custom web page is only relevant to 1 project.
I found this SO question How to install a TFS extension only on some project instead the whole collection but the 3 links in the answer aren't working.
Anyone have any work around suggestion?
As is shown in the ticket, the extension installed in the Collection Scope, the extension will be installed for all team projects.
Azure Devops doesn't support installing extensions for a single project now.
Since you are using the custom web page(custom extension), I am afraid that there is no method could limit the extension to users.
For some extensions and paid extension, you can restrict users from using this extension by assigning extension to user or changing access level.
You could refer to this doc about users access extension features.
Here are the User Voices about this feature, many customers have the same requirement.
Allow Extensions to be Installed only in Projects
Extensions scoped at a project level
You could vote it and add your thoughts in comment.

DevOpts tools for WMQ

I need a devOpts deployments tool that can do the following tasks:
Creating a project that can contain different queues or artifacts within a GUI application
Create Queues and artifacts via a GUI accessible to non WMQ experts within the DEV environment only (without relying on a script)
Once tested properly, having the tool deploy the project (more specifically the queues contained in the project) from DEV to INT via a GUI that is only accessible by the Deployment team
Does anyone have any suggestions of tools that can perform this other than using scripts
(I have heard mixed reviews about IBM uDeploy, that configurations can not be reused, etc)
There are lots of 3rd party MQ Administration/Configuration tools available for IBM MQ. You can find a list of them here.

Developing with Azure Mobile Services?

What is currently the "best" way to develop a back-end system in Azure Mobile Services?
Specifically, what tools are available? From what I've seen, most examples just go to the Management portal and manually add a few lines into the script window. This is worse than using just Notepad, and doesn't have any concept of version control...
Is there any way to make a project in VS 2012 that contains all the Node.js code that will run in the Azure Mobile service? Is there a way of fully running that code on a local development environment that mimics the Mobile Services?
I need to have server-side code with much more complexity than is shown in most of the Mobile Services samples or documentation that I've been able to find.
I have a web site, and a Win 8 Store App that need to authenticate against, and access relatively complex data structures from a back-end database. The solution being pushed right now all seem to include Mobile Services at the center of it, using simple REST against raw tables, but all the examples are too simple to be useful.
Can someone point me to a "real-life" sample of using Mobile Services, and a "mature" way of developing and testing such a system using the tools in Visual Studio?
Thanks.
Why you have no other option than the Management portal is really beyond me. It seems very awkward for a C#/.NET developer to go back to Notepad style programming with console.log() debugging.
What I would love to see is some Node.js entry points that you could connect to a regular C# assembly which could fulfill the request (as in ASP.NET MVC or Web API) having the full .NET Framework at your disposal.
What I could see as a possible architecture is to have:
ASP.NET MVC hosted on Azure
--- writes processed data with logic to --->
Azure SQL DB <--- reads from --- Azure Mobile Services ---- bridge to ---> Mobile devices
Or
Cloud Worker Role on Azure ---- crunching/processing ----> Azure SQL DB <---- reading/writing raw data ---- Azure Mobile Services ---- bridge to ---> Mobile devices
You can use the Mobile Services facility for mobile devices facilities, scheduling and push notifications with limited code and do most of the coding in a managed .NET environment.
The AMS (Azure Mobile Services) along with Azure has advanced dramatically since this post was written and the replied answers.
Some of this stuff still holds true. If you have a ton of node.js written not in the Azure cloud portal, you will want to copy and paste to the portal online, custom api calls section and even perhaps sql backend tables for CRUD operations.
The hope for C# developers is that it is NOW in preview mode in which YOU CAN skip node.js and build everything without node.js very shortly... Some bugs to work out, but in 6 months this will be fairly solid.
I had questions and issue and a guy named Carlos carlosfigueira was very helpful.
Azure Mobile Services - Getting more user information
Josh covers unit testing server-scripts here: http://www.thejoyofcode.com/Unit_testing_Mobile_Services_scripts_Day_7_.aspx
In this tutorial, he uses the Mocha testing framework for JS (id TDD mode) and walks through an example for testing an INSERT script that encrypts the value of a particular property (text) and a read script that decrypts it (value is encrypted at rest in SQL db).
You can also find aggregation of links and tutorials here.
I would suggest that you build this solution using Windows Azure Mobile solutions especially it supports the Node JS NPM right now, which means you can create the API you want on the Windows Azure using the Node JS NPM and can work with it using WAMS easily. have a look on the following link it will help you understand what I want to say more.
http://weblogs.asp.net/scottgu/archive/2013/06/14/windows-azure-major-updates-for-mobile-backend-development.aspx
For the Client I also suggest that you build it using SignalR which is designed for cases such yours where real time applications require a lot of transactions from the server side.
http://www.asp.net/signalr
you can also find more details about how you can integrate both of them in the following link: http://hhaggan.wordpress.com/2013/07/12/signalr-node-js/
I hope these help you, let me know if you need anything else.
For running locally, the mobile service has the same Kudu environment available in azure websites, so you can browse to https://your_service_name.scm.azure-mobile.net If you navigate to the Debug Console from the top nav, you can download everything running in the site/wwwroot folder.
You can run this nodejs project locally (On windows only if you require the SQL Server npm package). Your code is in App_Data/config/scripts. If you replace the downloaded content with your current local git working copy, you can develop and debug locally, and then push changes as usual.
Tools I use:
Eclipse with JS environment (or any nodejs IDE).
Git
Postman
Steps:
Enable source control to your azure mobile service.
Pull to your local and create a eclipse project with the source.
Make changes and push.
Test with POSTman
This procedure allows me to develop really fast and eclipse tell me the common JS errors. But it has obvious downside:
No debugging (I use console.log)
The project ended up with a lot of commits (its hard to use git for proper source control)
I just did a blog post on running Azure Mobile Services locally: http://www.mikelanzetta.com/2014/09/running-azure-mobile-services-locally/ - basically it interrogates the API and starts up express, and allows you to run mocha yourself locally. It's a bit cleaner than pulling down the full wwwroot from the scm link, and I found using my local runner as a git submodule made it easy to work with (and easy for me to use VSO for managing my tests).
Anyway, for actual development, I use the Git integration and WebStorm - it automatically figures out the tasks in my local Gruntfile and makes it easy to run and test. For once it's deployed, Postman is helpful.

managing publish profiles for mvc application

I am developing an MVC 4 web application, VS2012.
For such applications I normally created an msi to install the app but for this project I am moving to the more modern publishing mechanism. I normally install to different environments:
dev
qa (server 1, 2, 3)
staging
prod (server 1, 2, 3)
Question is, do I need to create a publish profile for each of the environments, including a profile for each of the servers on qa and prod (as 1 web config setting varies between servers).
It seems like a need to create alot of publish profiles for this. Am I correct? What is the best way to manage publish profiles.
Publish profiles were designed for what you are describing. They allow you to specify different publishing configurations on a per server basis.
I am not sure what you mean by What is the best way to manage the publish profiles?. VS 2012.2 will manage these for you within the solution.
You can also right click on a publish profile and add a web config transform for that specific publish profile.
Sayed Hashimi has a good video explaining this here. http://www.youtube.com/watch?v=HdPK8mxpKEI