Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

UrbanCode×

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How can I create a snapshot when a component gets a new version from RAM?

2700077Y4U gravatar image
Question by David__Jones  (7) | Mar 09, 2016 at 05:43 PM urbancodesnapshotjenkinsrational-team-concertrational-asset-manager

I'm trying to figure out how to create a snapshot of an application (which has a number components) when one or more of the components get a new version.

I could get snapshot component versions using a REST API call. First make a snapshot at 8am, then every 10 minutes create a new timestamped snapshot. Get snapshot component versions from the second snapshot, and compare the two snapshots' component versions. If there is a change then keep the newly created timestamped snapshot, if no change then delete the newly created timestamped snapshot.

Is there a simpler method?

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
2700031EPW gravatar image
Accepted answer

Answer by abhipatti (2677) | Mar 09, 2016 at 09:00 PM

@David__Jones

The following method, I have not tested yet but just throwing an idea out here. If anyone has a better way or find something wrong in my method, please correct it.

Basic Idea is to use the a feature in component , where we run process after a version is created. This way, whenever a component gets a new version from RAM, we run the application process, which either calls another component process or a generic process, that creates a snapshot. This way, we make sure that after each version import a snapshot is created.

Steps:

1) Create a application process that calls a component process which uses step Create Snapshot under IBM UrbanCode Deploy - Applications OR

2) Create a application process that calls a generic process which uses step Create Snapshot under IBM UrbanCode Deploy - Applications

Then

1) Goto Component which gets new versions from RAM and open configuration tab. 2) In configuration tab, select Basic Settings then check the checkbox "Run Process after a Version is Created and select Application process created earlier and environment.

Right Now, I cannot think of any disadvantages regarding above method or any obvious issues. But I will test it out tomorrow and make changes to my answer if I find something

Comment
Chris Ratcliffe
m.fatih
David__Jones

People who like this

  3   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
110000FX1T gravatar image Chris Ratcliffe (561)   Mar 10, 2016 at 09:30 AM 2
Share

@David__Jones , I would agree with @abhipatti suggestion. However, I would add a small suggested wrinkle. The automated process that gets kicked off should not just create a snapshot in my opinion, it should do a minimal deploy of the new component version, to a "component integration" environments, and if that works, then create the snapshot (and lock it) from that environment.

If you decide to go down that road, I have a little generic process utility that you can use to simplify the snapshot creation and locking process. I will ping it to you on slack.

Follow this question

61 people are following this question.

Answers

Answers & comments

Related questions

Jenkins urbancode plugin gets error publishing a second time 1 Answer

IBM UrbanCode Deploy Plugin at 1.2.4, doc pages say 1.2.9 is current version, but Jenkins does not show this 1 Answer

JSON Error occurred while checking the UCD server for the application process 0 Answers

Jenkins plugin fails with security certificate mismatch error in a distributed environment 1 Answer

[uDeploy] Is it possible to combine snapshot and environment gate? 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges